Item properties changing - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Item properties changing (/Thread-Item-properties-changing) |
Item properties changing - Tastaran - 04-18-2017 08:25 AM Hi, dealing with another problem. How can I change some property of item (which is defined) in-game (like armor, reqstr,resources ...) ? for example : serv.typedef.i_platemail_arms.armor=40 (ofc. this doesnt work) Thanks. RE: Item properties changing - escribano - 04-18-2017 09:17 AM You can use tag.override (look at the wiki there is info about) You can use mod<ar/str/int/dex> +=X or -=X You can use resphysical=X (if using elemental combat engine) Hope it helps RE: Item properties changing - Tastaran - 04-18-2017 09:25 PM I need to modify all (or most of them) properties of item in-game. Simply settings of the game, which i can modify for all items in game and new items in game (global changing of property). RE: Item properties changing - Tastaran - 04-19-2017 04:09 AM Solved ... U can change it in this way : serv.itemdef.<id>.<property>=<value> But is it possible to change property of all existing things ? (not only new) RE: Item properties changing - darksun84 - 04-19-2017 05:54 AM You have to use FORINSTANCES Example: FORINSTANCES i_mace name = blablabla ENDFOR |