User Tools

Site Tools


lua:ch:wears

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
lua:ch:wears [2014/12/27 08:29] vodurlua:ch:wears [2014/12/27 08:29] (current) vodur
Line 3: Line 3:
 Example: Example:
  
-<code lua> +<code lua>if mob:wears(46) then
- +
-if mob:wears(46) then\\+
   if mob.stance=="default" then   if mob.stance=="default" then
- 
       mdo("stance blade")       mdo("stance blade")
- 
   end   end
- +else 
-else\\ +  say("not using a weapon")
-  say("not using a weapon")\\+
 end end
- 
 </code> </code>
  
lua/ch/wears.1419668960.txt.gz · Last modified: 2014/12/27 08:29 by vodur