This commit is contained in:
Jaysyn904
2025-08-21 07:40:32 -04:00
parent 9c7b452b9a
commit 59b2630adf
3642 changed files with 96023 additions and 130017 deletions

View File

@@ -89,9 +89,9 @@ void main()
while(GetIsObjectValid(oTarget))
{
// Targeting limitations
if(oTarget != oManifester && //:: Don't hit self
spellsIsTarget(oTarget, SPELL_TARGET_SELECTIVEHOSTILE, oManifester) //:: Difficulty limits
) //:: Only hits enemies
if(oTarget != oManifester && // Don't hit self
spellsIsTarget(oTarget, SPELL_TARGET_STANDARDHOSTILE, oManifester) // Difficulty limits
)
{
// Let the AI know
PRCSignalSpellEvent(oTarget, TRUE, manif.nSpellID, oManifester);