Ejemplo n.º 1
0
        public override void InitAbility(Ability Ab)
        {
            this.Ab = Ab;
            if (Ab.Info.RadiusAroundTarget)
                TargetHandler = new DealDamagesHandler();

            if (TargetHandler != null)
                TargetHandler.InitAbility(Ab);
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 5
0
 public override void InitAbility(Ability Ab)
 {
     this.Ab          = Ab;
     this.DealHandler = new DealDamagesHandler();
     DealHandler.InitAbility(Ab);
 }
Ejemplo n.º 6
0
 public override void InitAbility(Ability Ab)
 {
     this.Ab = Ab;
     this.DealHandler = new DealDamagesHandler();
     DealHandler.InitAbility(Ab);
 }