19 lines
646 B
Plaintext
19 lines
646 B
Plaintext
// prc_ondying,nw_o0_dying
|
|
/////////////////////////////////////////////////////////////////////
|
|
//
|
|
// This script has been auto-generated by HakInstaller to call
|
|
// multiple handlers for the onplayerdying event.
|
|
//
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
object oPC = GetLastPlayerDying();
|
|
AssignCommand(oPC, ClearAllActions());
|
|
effect eSanctuary = EffectSanctuary(80);
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eSanctuary, oPC);
|
|
ExecuteScript("prc_ondying", OBJECT_SELF);
|
|
//ExecuteScript("prc_timer_dying", OBJECT_SELF);
|
|
//ExecuteScript("nw_o0_dying", OBJECT_SELF);
|
|
}
|