2025/12/15 Update

Updated PEPS
Hooked up new PRC8 GUI event.
Updated nim tools.
Updated readme.
This commit is contained in:
Jaysyn904
2025-12-15 21:37:12 -05:00
parent d897e0c598
commit e0803385be
1191 changed files with 139110 additions and 35267 deletions

View File

@@ -27,7 +27,10 @@ void main()
int nSpell = GetLastSpell();
if(AI_DEBUG) ai_Debug("nw_ch_acb", "21", GetName(OBJECT_SELF) + " has been hit by a harmful spell(" +
Get2DAString("spells", "Label", nSpell) + ")!");
if(ai_GetInAOEReaction(oCreature, oCaster, nSpell) &&
object oMaster = GetMaster(oCreature);
if((!GetLocalInt(oMaster, AI_TARGET_MODE_ON) ||
GetLocalObject(oMaster, AI_TARGET_MODE_ASSOCIATE) != oCreature) &&
ai_GetInAOEReaction(oCreature, oCaster, nSpell) &&
ai_IsInADangerousAOE(oCreature, AI_RANGE_BATTLEFIELD, TRUE)) return;
if(ai_GetIsBusy(oCreature)) return;
if(ai_CheckForCombat(oCreature, FALSE)) return;