PaulQbFeng / too-tanky

3 stars 0 forks source link

Add On-hit damage mechanism #34

Closed PaulQbFeng closed 1 year ago

PaulQbFeng commented 1 year ago
Lysxia commented 1 year ago

The BaseSpell class now has a on_hit_effect that you can override, which gets called on every hit_damage call.

https://github.com/PaulQbFeng/too-tanky/blob/cb13bded1838f36fe4796cfd220cee230475c762/tootanky/spell.py#L112

PaulQbFeng commented 1 year ago

First implem done with https://github.com/PaulQbFeng/too-tanky/pull/54