![]() |
|
How to change value of mana refilling with great mana fluids? - Printable Version +- Ronit.GAMES (https://forum.ronit.games) +-- Forum: RonEngine Support / Wsparcie dla RonEngine (https://forum.ronit.games/forumdisplay.php?fid=18) +--- Forum: LUA/XML Scripting / Skryptowanie LUA/XML (https://forum.ronit.games/forumdisplay.php?fid=22) +--- Thread: How to change value of mana refilling with great mana fluids? (/showthread.php?tid=745) |
How to change value of mana refilling with great mana fluids? - Ron - 25-05-2012 Item ID of "great mana fluid" is 5542. You can check it by putting item on the floor, standing at it and typing /tile command. It should write something like that: Quote:12:42 Pos: (00847/01007/007), (PZ Lock)Ground: 405. TopItems: . DownItems: 5542. Then: 1) Open file spells/spells.xml, 2) Find "5542" string and check what is the name of the spell. Let's assume it is "Manafluid", 3) Go to spells/runes/manafluid.lua and find string: "add=math.random(", 4) It gives you the range of mana refilling. Change its value to be good for your server. Save it, 5) Commit file by right click of the mouse and choosing: "Commit", 6) Update file on the server by loggin in to Admin Panel and clicking "Update" button, 7) Restart server or type in game "/update spells". It should work all fine now! |