knyghtmare / War_of_Legends

An add-on for the Battle for Wesnoth, a turn-based strategy game. This add-on is a multiplayer era featuring my favorite factions. It is required as a dependency to play several campaigns.
GNU General Public License v2.0
7 stars 6 forks source link

Steehive Leader unit #149

Closed rodolphecombe closed 4 months ago

rodolphecombe commented 4 months ago

Describe your pull request does

This pull request adds the Steel Dominant and its abilities. The Steel Dominant is a LVL4 unit whose purpose is to fill a role of Leader for the Steelhive. It benefits from the following abilities:

  1. Superior Life Form: this a a Leader ability that gives a 20-HP temporary boost to all allied adjacent Steelhive units at the beginning of the turn. The temporary boost is reset at the beginning of the next turn. If a boosted unit has lost more than 20 HP since it was boosted, it keeps its current HP. Otherwise, it loses only the additional HP, bringing it back to its HP from the beginning of the previous turn.
  2. Reprogram: this ability convert adjacent enemy Steelhive units to this unit's side at the end of the turn.
  3. Mechanizing virus: when the unit hits with a melee attack, it has a 5%-chance to turn the non-leader enemy unit into a member of the Steelhive. The unit is transform into a LVL1 Steelhive unit. The unit type is chosen according to the usage of the unit:
    • Scout to Steel Wyrm
    • Fighter to Steel Slasher
    • Archer to Steel Impaler
    • Mixed Fighter to Steel Larva or Steel Oculus
knyghtmare commented 4 months ago

Before I merge, some things to know:

rodolphecombe commented 4 months ago

Do you want me to add the changed XP in ENABLE_STEEL_DOMINANT to the PR? What would be the value?