x0_i0_npckilled

Library to handle process of awarding victory after death in battle with NPCs, and also to handle NPC resurrection by the player.

Constants

NameValueBrief Description
sJustResurrectedVarnameX0_I_WAS_JUST_RESURRECTED
sKilledPrefixX0_KILLED_
sResurrectedPrefixX0_RESURRECTED_

Functions

NameBrief Description
CreateReplacementNPCCreate a replacement for the NPC.
GetNPCJustResurrectedCheck if the NPC was just resurrected.
GetNPCKilledDetermine if the player killed this NPC.
GetNPCResurrectedCheck if this PC resurrected this NPC
SetNPCJustResurrectedMark the NPC as just having been resurrected.
SetNPCKilledMark all members of the party as having killed the NPC.
SetNPCResurrectedMark the PC & friends as having resurrected this NPC and clear the 'just resurrected' variable.


  author: Mistress