Thread: Angband 4.2.0
View Single Post
Old September 23, 2019, 23:03   #148
Vanilla maintainer
Nick's Avatar
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
Nick will become famous soon enough
Originally Posted by Pete Mack View Post
Mystery expressions in class.txt

Minor healing spell has effect
expr:B:PLAYER_LEVEL:+ 10
What is 'm' in dice expression?
Something similar happens in teleport, but there the expression is M$M

It'd be nice if the comments included the entire expression language.
It's the maximum of the "enchantment bonus", a random number weighted by depth. More detailed description is in z-rand.c; agreed, something in the comments would be good.
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote