26 lines
483 B
Plaintext
26 lines
483 B
Plaintext
|
#include "rd_questinc"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oPC;
|
||
|
object oBoss;
|
||
|
int iVariance;
|
||
|
|
||
|
oPC = GetPCSpeaker();
|
||
|
|
||
|
SetPartyInt(oPC,"QuestStep",1);
|
||
|
SetPartyInt(oPC,"QuestSteps",1);
|
||
|
|
||
|
SetCustomToken(111, "");
|
||
|
SetCustomToken(112, "");
|
||
|
SetCustomToken(113, "");
|
||
|
|
||
|
SetToken(oPC,OBJECT_SELF,103,GetName(OBJECT_SELF));
|
||
|
|
||
|
oBoss = GetRandomQuestMobs(oPC,OBJECT_SELF,0,"");
|
||
|
|
||
|
iVariance = GetLocalInt(OBJECT_SELF,"QuestVariance");
|
||
|
if (iVariance == 0)
|
||
|
SetLocalInt(OBJECT_SELF,"QuestVariance",Random(2)+1);
|
||
|
}
|