public VisitorForm() { InitializeComponent(); hero = new Hero(); mage = new Mage(); wolf = new Wolf(); magicFrog = new MagicFrog(); UpdateInfo(); }
public int attacks(MagicFrog magicFrog) { MagicFrog mf = magicFrog; return(mf.Health -= calculateDmg(mf.Race, damage, mf.Armor, mf.MagicResistance)); }