Spawner, Creature & Item work
Spawner work. Creatures & placeables in Kobold cave now respawn. Placeables in Forest of Hope: South now respawn. Fixed up a few more items & creatures.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
// void main (){}
|
||||
|
||||
|
||||
#include "pqj_inc"
|
||||
|
||||
int ParseFlagValue(string sName, string sFlag, int nDigits, int nDefault);
|
||||
int ParseSubFlagValue(string sName, string sFlag, int nDigits, string sSubFlag, int nSubDigits, int nDefault);
|
||||
@@ -143,12 +143,26 @@ int SpawnCheckPCs(object oSpawn)
|
||||
}
|
||||
}
|
||||
//
|
||||
|
||||
//:: Checks for non-completion of "The Outcasts" quest.
|
||||
if (nCheckPCs == 5)
|
||||
{
|
||||
//:: Check Journal Quest Entry
|
||||
int nQuest = RetrieveQuestState("outcasts", oPC);
|
||||
if (nQuest <= 2)
|
||||
{
|
||||
//:: Quest Entry is less than 3, Spawn!
|
||||
nProcessSpawn = TRUE;
|
||||
}
|
||||
}
|
||||
//:: Checks for non-completion of "The Outcasts" quest.
|
||||
|
||||
|
||||
//:: #52 - Spawn if Drusilla isn't dead
|
||||
if (nCheckPCs == 52)
|
||||
{
|
||||
// Check Journal Quest Entry
|
||||
int nQuest = GetLocalInt(oPC, "VengefulDruid");
|
||||
int nQuest = RetrieveQuestState("VengefulDruid", oPC);
|
||||
if (nQuest <= 89)
|
||||
{
|
||||
// Quest Entry is less to or equal to 89, Spawn!
|
||||
|
Reference in New Issue
Block a user