MZ Number of enemies in damage formula? Javascript/Plugin Support Oct 13, 2022 06:48 Is there a way to include it, something along the lines of: a.atk + EnemyCount*10 - b.def Oct 13, 2022 07:04 Maybe try $gameTroop.Members().length() or maybe using a battle common event to set a variable of the troop size and calling that variable in the damage formula? Control Variable ID X = $gameTroop.aliveMembers().length() And use v[x] in the damage formula? Oct 13, 2022 07:05 a.atk + $gameTroop.aliveMembers().length * 10 - b.def Original thread: https://forums.rpgmakerweb.com/threads/number-of-enemies-in-damage-formula.151942/