Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
25
_module/nss/qst_c1_setup.nss
Normal file
25
_module/nss/qst_c1_setup.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
#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);
|
||||
}
|
Reference in New Issue
Block a user