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;
        }
Exemple #4
0
        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;
        }
Exemple #5
0
 public override void InitAbility(Ability Ab)
 {
     this.Ab          = Ab;
     this.DealHandler = new DealDamagesHandler();
     DealHandler.InitAbility(Ab);
 }
Exemple #6
0
 public override void InitAbility(Ability Ab)
 {
     this.Ab = Ab;
     this.DealHandler = new DealDamagesHandler();
     DealHandler.InitAbility(Ab);
 }