nedbrek / Atlantis

Main Atlantis development Repository
GNU General Public License v2.0
10 stars 3 forks source link

Unit Bodyguards #42

Open Mochnant opened 5 years ago

Mochnant commented 5 years ago

For protection of valuable units, and for additional RP options, a new stance "protecting" should be added.

When in combat, attacks directed at the protected unit have a chance to be intercepted by the protectors, which results in the attack being directed at the protector unit instead.

For combat, this would be the protectors staying close and attacking those who get too close, while vs magic/ranged it may be considered a protector throwing themselves in front of an arrow.

To determine the chance of success, it could be based on the combat skill of the protector, or set in the configuration either as a flat amount, or per race/man.

Orders:

unit 229
  protect 314

Report:

* Bodyguard (229), Kingdom (3), revealing
  faction, protecting King (314), 10 humans [HUMN], 10 swords [SWOR].
  Weight: 110. Capacity: 0/0/150/0. Upkeep: $100.
* King (229), Kingdom (3), behind, revealing
  faction, protected by Bodyguard (229), leader [LEAD], wizard staff [WSTA], wizard robe [WIZR].
  Weight: 12. Capacity: 0/0/25/0. Upkeep: $0.
Mochnant commented 5 years ago

This should also help protect to a lesser degree against assassins.