Il Knight
Veteran OT User
Hello otland!
today im trying to do a function on look.
How i can get the Type, Min damage, And Max damage of a wand?
i wanna display on the Look (only for wands) Something like =
You see a wand.
Damage 20-50.
Element fire.
only properly etc etc
thanks in advance
today im trying to do a function on look.
Lua:
function Player:onLook(thing, position, distance)
self:sendTextMessage(MESSAGE_INFO_DESCR, description)
end
How i can get the Type, Min damage, And Max damage of a wand?
i wanna display on the Look (only for wands) Something like =
XML:
<wand id="23719" level="1" mana="1" min="20" max="50" type="fire"> <!-- The Scorcher -->
<vocation name="Sorcerer" />
</wand>
You see a wand.
Damage 20-50.
Element fire.
only properly etc etc
thanks in advance
Last edited by a moderator: