Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
36
_module/nss/evil_qst4.nss
Normal file
36
_module/nss/evil_qst4.nss
Normal file
@@ -0,0 +1,36 @@
|
||||
#include "rd_questinc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC;
|
||||
object oBoss;
|
||||
string sZone;
|
||||
int iCamp;
|
||||
int iCamps;
|
||||
int iLevel;
|
||||
int iLeader;
|
||||
int iDifficulty;
|
||||
location lHostage;
|
||||
string sHostage;
|
||||
|
||||
oPC=GetPCSpeaker();
|
||||
iLevel = GetHitDice(oPC);
|
||||
SetPartyInt(oPC,"EvilQuest",1);
|
||||
SetPartyInt(oPC,"QuestStep",1);
|
||||
|
||||
iLevel = GetHitDice(oPC);
|
||||
|
||||
sZone = GetZone(oPC);
|
||||
|
||||
iCamps = GetMaxQuestCampSpots(sZone);
|
||||
iCamp = Random(iCamps)+1;
|
||||
|
||||
oBoss = SpawnQuestCamp(sZone,iCamp,iLevel,0,"human");
|
||||
|
||||
SetPartyInt(oPC,"QuestType",1);
|
||||
SetPartyInt(oPC,"QuestCamp",iCamp);
|
||||
SetPartyString(oPC,"QuestCampzone",sZone);
|
||||
SetPartyString(oPC,"QuestTargetNPC",GetTag(OBJECT_SELF));
|
||||
iDifficulty =1;
|
||||
SetPartyInt(oPC,"QuestDifficulty",iDifficulty);
|
||||
}
|
Reference in New Issue
Block a user