Returns 1 if the given @target has a rank of at least the given @rankName; otherwise returns 0. The @target must be a pointer to a mobile. The @rankName may be one of the following:
dweeb masterDweeb novice capable veteran expert master champion livingLegend mythicRenown demiGod immortal
The above names are also in order of increasing rank.
Example:
if( %mobRankAtLeast( @n, champion ) ) { cast deadly poison @n } else { cast poison @n } endif |