public static void AttackTest(Mech player, Mech[] enemies) { DisplayStatus(player, enemies); Attack(player, enemies); DisplayStatus(player, enemies); }
public decimal LevelModifier(Mech enemy) { switch (Level) { case 1: switch (enemy.Level) { case 1: return(1); case 2: return(0.85m); case 3: return(0.6m); case 4: return(0.5m); default: return(0.3m); } case 2: switch (enemy.Level) { case 1: return(1.15m); case 2: return(1m); case 3: return(0.85m); case 4: return(0.6m); default: return(0.5m); } case 3: switch (enemy.Level) { case 1: return(1.3m); case 2: return(1.15m); case 3: return(1m); case 4: return(0.85m); default: return(0.6m); } case 4: switch (enemy.Level) { case 1: return(1.5m); case 2: return(1.3m); case 3: return(1.15m); case 4: return(1m); default: return(0.85m); } case 5: switch (enemy.Level) { case 1: return(1.6m); case 2: return(1.5m); case 3: return(1.3m); case 4: return(1.15m); default: return(1m); } default: return(1); } }