Qwe
Banned User
It lua items data table, if you want item values from XML - you can get it from table: )
All attributes etc. has been parsed and put into table. : )
It parsed from items.xml of TFS 0.3.6PL1. : )
If you want it download from sticked file (it's get ~700K CHars, post limit i 75K then i cannot put it into post : )
You must go to data/lib/ and put here file "101-itemstable.lua" when you download it.
and you can use for example:
(I know you can use for it getItemAttack, but if item attack has been set by command /attr you don't get from this function orginal attack, this returns orginal attributes.)
WARNING! IF OTS RUN[STARTS] AND SCRIPTS LOADING MORE SLOW BECAUSE SIZE OF THIS TABLE IS 0.7MB!
Thanks for using!
All attributes etc. has been parsed and put into table. : )
It parsed from items.xml of TFS 0.3.6PL1. : )
If you want it download from sticked file (it's get ~700K CHars, post limit i 75K then i cannot put it into post : )
You must go to data/lib/ and put here file "101-itemstable.lua" when you download it.
and you can use for example:
PHP:
doPlayerSendTextMessage(cid, 22, "Standard attack of magic sword: "..(item[2400].attack).." and defense:"..(item[2400].defense).."!")
(I know you can use for it getItemAttack, but if item attack has been set by command /attr you don't get from this function orginal attack, this returns orginal attributes.)
WARNING! IF OTS RUN[STARTS] AND SCRIPTS LOADING MORE SLOW BECAUSE SIZE OF THIS TABLE IS 0.7MB!
Thanks for using!
Attachments
-
101-itemstable.zip77.8 KB · Views: 109 · VirusTotal
Last edited: