doughague / torpy

A command-line arena game.
GNU General Public License v3.0
1 stars 0 forks source link

Add disability class #2

Closed dday76 closed 11 years ago

dday76 commented 11 years ago

I'd like to set a time to add the disability class just so I understand the process a bit better, but it's not necessary. If you can add the disability class, I can fiddle with the combat logic, or if we can have a joint session to talk through it, that would be helpful for me.

doughague commented 11 years ago

From the wiki:

Need to add a Disability class (or disability parameters or sub-class for warrior) as well. That should include:

  • fatigue (0-100% exhausted),
  • stun (int, generally 0 or 1),
  • disarm (bool),
  • fallen (bool),
  • fatigue/time (from wounds),
  • health/time (from wounds).

These attributes would all initialize to zero at the beginning of each fight. But Long-term this would persist between fights to simulate recovery from wounds.

Done.

dday76 commented 11 years ago

One addition here is 'fallen' (bool) to identify if the warrior has fallen to the ground. I forgot to add that initially.

dday76 commented 11 years ago

All added to Disability src/hh.