Refactor immunity display on %
authorKate <601195+semitonal@users.noreply.github.com>
Tue, 20 Apr 2021 06:41:44 +0000 (07:41 +0100)
committerKate <601195+semitonal@users.noreply.github.com>
Tue, 20 Apr 2021 06:41:44 +0000 (07:41 +0100)
commit1420032b4b08f811af77b611db23440cc09fd9e4
tree9e9caf81cb6b986c8a03d095f1124b0d605f827a
parent288ea87c7c30d109599571d665c8f08ad878650a
Refactor immunity display on %

Adds generalised handling for immunity to replace the current rPois
special-casing, and uses it to also display infinite willpower (in shadow
form) and infinite rampaging (with the seven-league boots).

Closes #1920.
crawl-ref/source/output.cc