Esempio n. 1
0
 public Bottle(Ability ability)
     : base(ability)
 {
     this.bottle            = (Ensage.Items.Bottle)ability;
     this.healthRestoreData = new SpecialData(ability, "health_restore");
     this.manaRestoreData   = new SpecialData(ability, "mana_restore");
 }
Esempio n. 2
0
        public Bottle(Ability ability, Manager manager)
            : base(ability, manager)
        {
            bottle = ability as Ensage.Items.Bottle;

            ManaRestore   = ability.AbilitySpecialData.First(x => x.Name == "mana_restore").Value;
            HealthRestore = ability.AbilitySpecialData.First(x => x.Name == "health_restore").Value;

            PowerTreadsAttribute = Attribute.Agility;
            RestoredStats        = RestoredStats.All;
        }