Arn
Member
- Joined
- Mar 8, 2010
- Messages
- 282
- Reaction score
- 18
I'd like to be able to call an items attack or defense from inside a script. How can I do this?
Example:
Very simple although the above obviously doesn't work. So, how can I do it?
Thank you!
-Arn
(will +rep)
Example:
Code:
local item = 3964
doCreatureSay(cid, item.attack .. " " .. item.defense, TALKTYPE_SAY)
Very simple although the above obviously doesn't work. So, how can I do it?
Thank you!
-Arn
(will +rep)