BrogueCE icon indicating copy to clipboard operation
BrogueCE copied to clipboard

Charms of protection above +18 have unpredictable effects

Open flend opened this issue 1 year ago • 0 comments

Charms of Protection above +18 don't function correctly.

Although power tables go up to +50 correctly, the player [and monster] status effects are short ints. A +18 charm tops up player.status[STATUS_SHIELDED] to 24647 (which is fine), but a +19 charm gives 33273 which overflows and goes negative

flend avatar May 20 '23 10:05 flend