- Joined
- Feb 11, 2008
- Messages
- 15
- Reaction score
- 0
You'll need the item editor to do this.
I've been tinkering with the item editor, and I've finally figured out how to make food give a certain amount of HP/MP back.
For server and client side:
Column 1: Item ID
Column 2: ignore
Column 3: ignore
Column 4: ignore
Column 5: ignore
Column 6: Value A for HP
Column 7: Value B for HP
Column 8: Value A for MP
Column 9: Value B for MP
It works like this. HP (or MP) restored = (Value B * 65536) + Value A
For example, Column 6 = 15000 and Column 7 = 5
This item would heal (5*65536) + 15000 = 342,680
I hope this helps someone. Good luck!
I've been tinkering with the item editor, and I've finally figured out how to make food give a certain amount of HP/MP back.
For server and client side:
Column 1: Item ID
Column 2: ignore
Column 3: ignore
Column 4: ignore
Column 5: ignore
Column 6: Value A for HP
Column 7: Value B for HP
Column 8: Value A for MP
Column 9: Value B for MP
It works like this. HP (or MP) restored = (Value B * 65536) + Value A
For example, Column 6 = 15000 and Column 7 = 5
This item would heal (5*65536) + 15000 = 342,680
I hope this helps someone. Good luck!
