in spells.xml where do i put it?Just add an extra potion to your potions script and to make a new uh, copy the uh script you have and change the healing values.
server is cyber-ot 8.6In spells.xml, copy the part of the uh rune and paste it under it, then change rune id and lua script directory.
In actions.xml, look how the other potions are added and add it the same way.
Atm I can't say more than this, because you didn't post which server you are using.
[7620] = {empty = 7636, splash = 7, mana = {5, 10}}, -- mana potion
<action itemid="7588-7591;8472-8473;7618;7620;8704" event="script" value="liquids/potions.lua"/>
<rune name="Ultimate Healing Rune" id="2273" allowfaruse="1" charges="1" lvl="24" maglv="4" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/ultimate healing rune.lua"/>
i am using allisow server 0.4.1You can find it at the top/first line of you console.
Example TFS 0.3.6 (Crying Damson)
![]()
But I assume you use some kind of TFS 0.3/0.4 version?
Go to data/actions/scripts/liquids/potions.lua
Then you will find lines like this in local POTIONS
You can just add a new line and change the id.Code:[7620] = {empty = 7636, splash = 7, mana = {5, 10}}, -- mana potion
Then in actions.xml you will find this.
Then just add the id of the mana potion/rune to the list.Code:<action itemid="7588-7591;8472-8473;7618;7620;8704" event="script" value="liquids/potions.lua"/>
With the uh rune, go to data/spells/scripts/healing
Copy and paste the uh rune script and give it a different name.
Then go to spells.xml and copy the uh rune line.
Change the name, id to which id you want to use for the rune and change ultimate healing rune.lua to the name you gave to the script.Code:<rune name="Ultimate Healing Rune" id="2273" allowfaruse="1" charges="1" lvl="24" maglv="4" exhaustion="1000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="healing/ultimate healing rune.lua"/>
how do i do it for the manarune? is it also in healing?I don't have this server and the datapack from it atm, but it should be similar to TFS 0.3/0.4, if you still have problems, post them.
i got thanks i also did it for the manarune thank youDid you find the potions script? If you don't know how to add a new potion, post the script.