Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
potion mixing - healing vs "bad" potions
Another part of github issue 229, mixtype() didn't have either 'break' or '/*FALLTHRU*/' separating healing from extra healing, extra healing from full healing, and full healing from unicorn horn. So dipping "bad" potions (sickness, confusion, blindness, hallucination) into healing/extra healing/full healing or vice versa operated the same as dipping a unicorn horn into the bad potion (producing fruit juice for sickness and water for the others). It wasn't clear from the code whether or not that was intentional. It actually seems reasonable (albeit suboptimal use of {plain, extra, full} healing), so continue to allow it and make the code clear that it's intentional.
- Loading branch information
PatR
committed
Oct 5, 2019
1 parent
f11f4de
commit c6b7540
Showing
1 changed file
with
23 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters