Esempio n. 1
0
        public Spells(Priest newPriestSpells)
        {
            this.priestSpells = newPriestSpells;

            if (priestSpells.Equals(Priest.Heal))
            {
                this.spellName   = "Heal";
                this.spellValue  = 100;
                this.spellClass  = new Classes(Classes.Class.Priest);
                this.kindOfSpell = KindOfSpell.Heal;
                this.mana        = 30;
            }
            if (priestSpells.Equals(Priest.Smite))
            {
                this.spellName   = "Smite";
                this.spellValue  = 245;
                this.spellClass  = new Classes(Classes.Class.Priest);
                this.kindOfSpell = KindOfSpell.Damage;
                this.mana        = 50;
            }
            if (priestSpells.Equals(Priest.MindControl))
            {
                this.spellName   = "Mind control";
                this.spellValue  = 490;
                this.spellClass  = new Classes(Classes.Class.Priest);
                this.kindOfSpell = KindOfSpell.Damage;
                this.mana        = 80;
            }
        }