fix: Lock the HUD down when in vampire lord form #109
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes #100 : handle being a vampire lord more gracefully.
Added two new checks to the player conveniences:
isVampireLord()
andisWerewolf()
. These check the player's race and return true if appropriate. Put the vampire lord check to work in deciding if we should respond to keystrokes at all. This effectively locks the HUD out. The HUD cannot do anything useful for vampire lords, because they are restricted to a tiny handful of spells and powers, all of which must be selected from the favorites menu.While testing this work, observed some things with vampire spells that could be better. This resulted in some new icons, some color selection reworks, and a bit of code cleanup.