Some missed stuff.

This commit is contained in:
hondacrx
2021-06-18 15:19:41 -04:00
parent 88c9b21ec2
commit fbd7df7c3f
10 changed files with 40 additions and 25 deletions
+2 -2
View File
@@ -434,13 +434,13 @@ namespace Scripts.Spells.Quest
void HandleEffectApply(AuraEffect aurEff, AuraEffectHandleModes mode)
{
Unit target = GetTarget();
target.AddUnitFlag(UnitFlags.ImmuneToPc);
target.SetImmuneToPC(true);
target.AddUnitState(UnitState.Root);
}
void HandleEffectRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
{
GetTarget().RemoveUnitFlag(UnitFlags.ImmuneToPc);
GetTarget().SetImmuneToPC(false);
}
public override void Register()