Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose AC, EV, MR, and MaxHP in the CLua monster.info class. Provide an optional "full description" string from desc(). Add a function defeat_mr(spell, evoked) that returns the chance for the provided spell (from the spells module) to defeat the monster's MR. The parameter evoked indicates if the spell is fired from a wand. All of this information is provided to the player, so there are no information leaks. [Committer's note: Elaborated in the commit message, Closes #970]
- Loading branch information
1 parent
1edb078
commit 3a7c41b
Showing
1 changed file
with
120 additions
and
4 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