public override void InitAbility(Ability Ab) { this.Ab = Ab; if (Ab.Info.RadiusAroundTarget) TargetHandler = new DealDamagesHandler(); if (TargetHandler != null) TargetHandler.InitAbility(Ab); }
public override void InitAbility(Ability Ab) { this.Ab = Ab; if (Ab.Info.RadiusAroundTarget) { TargetHandler = new DealDamagesHandler(); } if (TargetHandler != null) { TargetHandler.InitAbility(Ab); } }
public override void InitAbility(Ability Ab) { this.Ab = Ab; this.DamagesHandler = new DealDamagesHandler(); if (Ab.Info.Info.GroupMates) this.HealHandler = new SimpleHealGroupHandler(); else this.HealHandler = new SimpleHealHandler(); HealHandler.InitAbility(Ab); DamagesHandler.InitAbility(Ab); DamagesHandler.OnCastEvents += OnDealDamageTarget; }
public override void InitAbility(Ability Ab) { this.Ab = Ab; this.DamagesHandler = new DealDamagesHandler(); if (Ab.Info.Info.GroupMates) { this.HealHandler = new SimpleHealGroupHandler(); } else { this.HealHandler = new SimpleHealHandler(); } HealHandler.InitAbility(Ab); DamagesHandler.InitAbility(Ab); DamagesHandler.OnCastEvents += OnDealDamageTarget; }
public override void InitAbility(Ability Ab) { this.Ab = Ab; this.DealHandler = new DealDamagesHandler(); DealHandler.InitAbility(Ab); }