Open IskarJarak01 opened 4 months ago
@Dalas121 Should be straightforward to add the relevant explanation, right?
Yeah, adding an explanation should be simple. "The baneblade will always be used when defending."
Fixing the attack-order bugs will be trickier; thanks for noticing and bringing this up. Does anyone know of a way to solve this kind of thing?
If I really needed to I could try replacing defense_weight
with an ability that disables non-baneblade melee weapons on defense, but that seems messy.
Describe the desired feature
In Eastern Invasion, the player can gain an item, the Baneblade, which gives a unit an extra melee weapon with the Beserk special.
Normally, a defending unit with a choice of weapons may decide not to use a weapon with Beserk if it has a high chance of being killed.
The Baneblade item has a hidden effect which forces the unit to always use its Beserk weapon on defence by setting the weight of other melee weapons to zero. This should be included in the weapon's description as a dummy effect or similar.
Other notes: There's a minor issue where if another item that gives a melee attack is equipped afterwards (only the Plague Staff item) the unit will still consider using that attack on defence. Attacks gained from advancements (Horseman -> Knight) are still affected by the Baneblade item and aren't used on defence.