lua:ch:wears
This is an old revision of the document!
This script checks if a mob is wearing a "mob weapon" (vnum 46) and if so, then it checks to see if the mob is unstanced (default). If the mob has a weapon, and no stance, then it goes into blade dance.
Example:
ifmob:wears(46) then
ifmob.stance=="default" then
mdo("stance blade")\\
end
else
say("not using a weapon")
end
lua/ch/wears.1419668880.txt.gz · Last modified: 2014/12/27 08:28 by vodur