Bale
Minion
When I ask mafia for numeric_modifier("Water Level") it responds with the bonus applied by Personal Thundercloud and The Rain In Loathing. That's nice, but it would be much more useful if it also included the base water level for the location.
I could write a subroutine that checked my_location().environment and added 2 or 4 and then checked my_location().recommended_stat and compared that to 40. Then it would add that number to the number I get from numeric_modifier, but honestly I feel that is a lot of work to expose a number that mafia already possesses.
I'm just trying to write a script that tells me the effective ML at a location. Since numeric_modifier("Monster Level") doesn't include water depth I need to find current depth, multiply by 10 and add it on.
I could write a subroutine that checked my_location().environment and added 2 or 4 and then checked my_location().recommended_stat and compared that to 40. Then it would add that number to the number I get from numeric_modifier, but honestly I feel that is a lot of work to expose a number that mafia already possesses.
I'm just trying to write a script that tells me the effective ML at a location. Since numeric_modifier("Monster Level") doesn't include water depth I need to find current depth, multiply by 10 and add it on.