Aantioch_Infernum/_module/nss/69_hen_combat.nss
EpicValor 07f4ebed49 Added henchman rental
Many areas, items, and creatures were adjusted for balance and aesthetics.
2023-08-24 15:20:50 -05:00

35 lines
812 B
Plaintext

//::///////////////////////////////////////////////
//:: Associate: End of Combat End
//:: 69_HEN_COMBAT
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Calls the end of combat script every round
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Oct 16, 2001
//:: Modified: 69MEH69
//:://////////////////////////////////////////////
#include "69_inc_henai"
void main()
{
object oPC = GetMaster();
if(!GetSpawnInCondition(NW_FLAG_SET_WARNINGS))
{
HenchmenCombatRound(OBJECT_INVALID);
}
if(GetIsDead(oPC))
{
HenchRessurect69(oPC);
}
if(GetSpawnInCondition(NW_FLAG_END_COMBAT_ROUND_EVENT))
{
SignalEvent(OBJECT_SELF, EventUserDefined(1003));
}
}