Added helms and dynamic goblins. Added onEnter spawner scripts to all dungeon areas. Fixed the Dishonest Patrol to be dynamic & more like PnP. Full compile. Co-Authored-By: Draygoth <65428430+Draygoth@users.noreply.github.com>
33 lines
866 B
Plaintext
33 lines
866 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name ondeath_ostland
|
|
//:: Copyright (c) 2022 Project RATDOG
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Sheriff Ostland's OnDeath script
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Jaysyn
|
|
//:: Created On: 20221129
|
|
//:://////////////////////////////////////////////
|
|
|
|
#include "sql_db_partywide"
|
|
#include "pqj_inc"
|
|
|
|
void main()
|
|
{
|
|
object oNPC = OBJECT_SELF;
|
|
object oPC = GetLastKiller();
|
|
|
|
//:: Track which PC's have seen Ostland dead
|
|
SQL_SetLocalIntOnAll(oPC, "bKilledOstland", 1);
|
|
|
|
//:: Set quest stage & update DB.
|
|
AddPersistentJournalQuestEntry("DishonestPatrol", 1, oPC);
|
|
|
|
//:: Execute Default NPC OnDeath script
|
|
ExecuteScript("nw_c2_default7", OBJECT_SELF);
|
|
|
|
//:: Execute PRC NPC OnDeath script
|
|
ExecuteScript("prc_npc_death", OBJECT_SELF);
|
|
}
|