mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 13:15:52 +00:00

max_value is used to limit the increase in resistance with the "resistance" capability, but there was no equivalent for its reduction. To be able to add min_value without redoing the "resistance" checking for the umpteenth time, I prefer to modify effect:: so that the checking of these two attributes is done at the same time as the other numerical attributes and keep the door open to a possible generalization of the proceed