• Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Ronit.GAMES RonEngine Support / Wsparcie dla RonEngine LUA/XML Scripting / Skryptowanie LUA/XML How to change value of mana refilling with great mana fluids?

 
  • 0 Vote(s) - 0 Average
How to change value of mana refilling with great mana fluids?
Ron
Offline

Administrator

Posts: 54
Threads: 29
Joined: Jun 2010
Reputation: 3
#1
25-05-2012, 01:33 PM
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!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode