Mobflag

Main.Mobflag History

Hide minor edits - Show changes to markup

December 31, 2008, at 05:59 PM EST by admin
Added lines 1-10:
     mobflag - syntax: mobflag(CH,"mobflag name") 

Returns true if CH has the specified mob flag set. Always false on a player.

   --- Imaginary prog triggered by consider:
   if mobflag(self,"nodamage") then
      say("Don't even think about it - I'm invincible!")
   end