Returns 1 if @target mobile is immune to the given @type; otherwise returns 0. The following types are recognized:
acid hit plus 4 blindness light weapon poison bludgeon magic positive energy charm mental pword fear cold negative energy slash deadly poison non-magic steal detection paralyze summon dispel pierce weapon electric plus 1 whirlwind fire plus 2 fumble plus 3
Example: --------------------------------------------------------------------------
if( !%isImmune( @target, "whirlwind" ) ) { %move( @target, @room->exits->east ) } endif |