Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
32
_module/nss/nh_qst3_2.nss
Normal file
32
_module/nss/nh_qst3_2.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
#include "rd_questinc"
|
||||
|
||||
object GetNHUndead(object oPC, object oSender, int iRaceOnly=0, string sTag = "");
|
||||
object GetNHCreatures(object oPC,string sCampType, int iBase, int iBaseStart, int iBaseMax, int iCampType);
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC;
|
||||
object oBoss;
|
||||
int iAdjustedLevel;
|
||||
string sTag;
|
||||
|
||||
oPC = GetPCSpeaker();
|
||||
iAdjustedLevel = GetHitDice(oPC);
|
||||
|
||||
if (iAdjustedLevel<10)
|
||||
sTag = "summon2";
|
||||
else if (iAdjustedLevel<16)
|
||||
sTag = "summon5";
|
||||
else if (iAdjustedLevel<25)
|
||||
sTag = "summon6";
|
||||
else if (iAdjustedLevel<35)
|
||||
sTag = "fiend";
|
||||
else
|
||||
sTag = "demon";
|
||||
|
||||
oBoss = GetSpecificCamp(oPC,OBJECT_SELF,"NHC2",1,sTag);
|
||||
SetPartyInt(GetPCSpeaker(),"QuestType",2);
|
||||
|
||||
SetLocalString(OBJECT_SELF,"QuestCreatures",GetTag(oBoss));
|
||||
SetPartyInt(GetPCSpeaker(),"NHQuest",5);
|
||||
}
|
Reference in New Issue
Block a user