Removed all instance scripts so we can have script project back and spells will work again.

This commit is contained in:
hondacrx
2020-12-07 15:29:06 -05:00
parent a702e070f3
commit 900362a7d7
104 changed files with 2273 additions and 41604 deletions
+1 -3
View File
@@ -483,8 +483,6 @@ namespace Scripts.Spells.Warrior
OnEffectHitTarget.Add(new EffectHandler(HandleEffect, 0, SpellEffectName.Any));
}
}
[Script] // 97462 - Rallying Cry
class spell_warr_rallying_cry : SpellScript
{
@@ -574,7 +572,7 @@ namespace Scripts.Spells.Warrior
{
PreventHitDefaultEffect(effIndex);
// remove shields, will still display immune to damage part
// Remove shields, will still display immune to damage part
Unit target = GetHitUnit();
if (target)
target.RemoveAurasWithMechanic(1 << (int)Mechanics.ImmuneShield, AuraRemoveMode.EnemySpell);