public class Flamethrower : IMove
Element movetype = Elements.Fire;
public void Execute(Aldimon attacker, Aldimon defender)
double multiplier = CombatApp.Multiplier(movetype, defender);
defender.HP -= Convert.ToInt32(Math.Round(((attacker.MAG * 5) / defender.MDEF)* multiplier));
var burncheck = a.Next(100);
defender.statuses.Add(new Burn(defender.MDEF));
public class Burn : IStatus
public void Execute (Aldimon attacker, Aldimon defender)
int Burndmg(Aldimon aldimon)
var movetype = Elements.Fire;
var multiplier = CombatApp.Multiplier(movetype, aldimon);
if (Convert.ToInt32(Math.Round((aldimon.MAXHP/10 - aldimon.MDEF)*multiplier)) <= 0) return 0;
else return Convert.ToInt32(Math.Round((aldimon.MAXHP / 10 - aldimon.MDEF) * multiplier));
defender.HP -= Burndmg(defender);
public bool ShouldRemove(Aldimon defender) => _Counter <= 0;