andu
Sold 649 scripts, 25 maps and 9 events!
I seen functions like setItemAttack, setItemDefence.
But setItemAttribute and getItemAttribute will be very useful!
These two functions allows you to make alot of diffrent items, without editing tibia.dat
Eg:
Anyone can help?
But setItemAttribute and getItemAttribute will be very useful!
Code:
setItemAttribute(cid, attribute, value)
getItemAttribute(cid, attribute)
Eg:
Code:
setItemAttribute(cid, absorbPercentFire, math.random(1,10)) -- looks nice ye?
setItemAttribute(cid, maxHealthPoints, (math.random(100, 500))
Anyone can help?