Fixes #102 This is a simplified version of the code in pull request #102, which replaces "You feel like Popeye!" with "You feel like {Olive Oyl or Bluto}!" if eating spinach fails to provide a strength gain. I think you should still feel like Popeye if the lack of gain is due to already being at maximum, so I left out the change to make gainstr() return a value which indicates whether a change took place. Unfortunately, if you're both already at maximum and have attribute changes suppressed by Fixed_abil, the latter overrides and you'll feel like Olive Oyl or Bluto. I think that situation is too obscure to bother with the complexity of figuring out if you're at maximum for the purpose of a silly message.
7.1 KiB
7.1 KiB