Monster level adjustment: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>Bale mNo edit summary |
||
Line 5: | Line 5: | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 34: | Line 33: | ||
special=Return 0 when not logged in.| | special=Return 0 when not logged in.| | ||
}} | }} | ||
[[Category:Your Character]] |
Revision as of 21:36, 21 May 2010
Function Syntax
int monster_level_adjustment()
Returns the cumulative total of all monster level adjustments from equipment, effects and area modifiers.
Code Samples
Checks to see if you should use a level 20 sombrero over a volleyball for a monster of level 60.
boolean better_to_use_brero() {
int test = 60 + monster_level_adjustment();
if(test >= 85) {
return true;
}
return false;
}
See Also
Special
Return 0 when not logged in.