The player can be offered a strategic goal or a quest. The reward for this goal (or penalty) is that during combats, additional troops are generated every three turns from the first round of combat when he gets the hand.
AddDamage(percent), RemoveDamage(percent), AddBallistaDamage(percent), RemoveBallistaDamage(percent)
The damage of the attacking troop or the Ballista are calculated normally.
Then, the specified percentage is added (or removed) from the initial damage.
For example, if the troop has to do 100 damage and 10% damage is added, the troop will do 110 damage in the end.
The same for the Ballista and Turrets, if the Ballista has to do 100 damage and 10% damage is removed, the Ballista will do 90 damage and each Turret will do 45 damage.
In the "Unknown Mod", the moat gives additional penalties during combat. A troop in the moat loses 2 points of Defense and the troop Speed is reduced to half movement (same effect as the Slow spell).
- @Darmani wrote:
- Yeah, we definitely should get cracking on creating standard libraries in Lua. The moat one can be implemented in pure Lua already.
Just do it!