示例#1
0
        public Spells(Druid newDruidSpells)
        {
            this.druidSpells = newDruidSpells;

            if (druidSpells.Equals(Druid.Regrowth))
            {
                this.spellName   = "Regrowth";
                this.spellValue  = 115;
                this.spellClass  = new Classes(Classes.Class.Druid);
                this.kindOfSpell = KindOfSpell.Heal;
                this.mana        = 50;
            }
            if (druidSpells.Equals(Druid.Swipe))
            {
                this.spellName   = "Swipe";
                this.spellValue  = 145;
                this.spellClass  = new Classes(Classes.Class.Druid);
                this.kindOfSpell = KindOfSpell.Damage;
                this.mana        = 30;
            }
            if (druidSpells.Equals(Druid.StarFire))
            {
                this.spellName   = "Star fire";
                this.spellValue  = 445;
                this.spellClass  = new Classes(Classes.Class.Druid);
                this.kindOfSpell = KindOfSpell.ArmorGain;
                this.mana        = 80;
            }
        }