Closed att3 closed 10 years ago
example djinn lua files have it like; (example Alesar.lua) {id = 2201, buy = 1000, sell = 100, name = 'Dragon Necklace'},
How to add charges there?
In .xml it is just dragon necklace,2201,1000,200;
But how in lua?
even using dragon necklace, 2201,1000,200 in xml, the dragon necklace does not come with 200 charges. might be an error in lib or tfs.
in xml works, I made a mistake.
I am researching how to do in LUA.
fixed https://github.com/PrinterLUA/FORGOTTENSERVER-ORTS/commit/1fd5c7d53808a28c6eb4720bb96a19ad8e2735a0
example djinn lua files have it like; (example Alesar.lua) {id = 2201, buy = 1000, sell = 100, name = 'Dragon Necklace'},
How to add charges there?
In .xml it is just dragon necklace,2201,1000,200;
But how in lua?