miki151/keeperrl

consider unhardcoding poison_resistance type buff

samuellsk opened this issue · 0 comments

poison_resistance is now special type of resistance thats hardcoded that cause the poison not being applied at all.

if i would like to now create buff "cannot be frozen" that buff will simply checking for if i m frozen and than remove that state. But thats not what it should do. You should be immune to frozen effect, not apply the frozen (loose turn) and remove it.

i know there is cold_resistance for this, the point is to have a mechanism in buffs to simply define that this buff causes that "this buff" cannot be applied at all, whenever its sleep (sleep potion) , entagled (web trap) , slow (slow in general), bleeding , .... or custom buffs