//:://///////////////////////////////////////////// //:: Name x2_def_ondeath //:: Copyright (c) 2001 Bioware Corp. //::////////////////////////////////////////////// /* Default OnDeath script */ //::////////////////////////////////////////////// //:: Created By: Keith Warner //:: Created On: June 11/03 //::////////////////////////////////////////////// void main() { ExecuteScript("nw_c2_default7", OBJECT_SELF); object oPC = GetLastKiller(); while (GetIsObjectValid(GetMaster(oPC))) { oPC=GetMaster(oPC); } if (!GetIsPC(oPC)) return; int nInt; nInt=GetLocalInt(oPC, "NW_JOURNAL_ENTRYmerric"); if (!(nInt >= 3)) return; AddJournalQuestEntry("merric", 4, oPC, TRUE, FALSE); }