public VisitorForm()
 {
     InitializeComponent();
     hero      = new Hero();
     mage      = new Mage();
     wolf      = new Wolf();
     magicFrog = new MagicFrog();
     UpdateInfo();
 }
Пример #2
0
        public int attacks(MagicFrog magicFrog)
        {
            MagicFrog mf = magicFrog;

            return(mf.Health -= calculateDmg(mf.Race, damage, mf.Armor, mf.MagicResistance));
        }