• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Mana potions never end

Wifebeater

New Member
Joined
Feb 24, 2011
Messages
60
Reaction score
1
Hi, how do i make my health potions and my mana potions never end? i want them unlimited? please how do i change that?

I changed this in config.lua

removeWeaponAmmunition = false
removeWeaponCharges = false

:O What now? My mana potions still gets empty when i use them

Also not removing ammo , spears etc would be nice too. i have this removeweaponammunition = false, but i still loose spears when casting them.
 
For spears and other distance weapons, remove the lines with breakChance from items.xml

about the potions, remove this part from potions.lua:
LUA:
	if(not potion.empty or config.removeOnUse) then
		doRemoveItem(item.uid)
		return true
	end

	doTransformItem(item.uid, potion.empty)
 
thanks man worked <3.

Another question, How do i make my best mana potion heal mana depending on your magic level ??

It will be LUA script in actions. Take manarune script and change the ID of item in actions.xml, that's all. Remember that that 'potion' can't be with the same ID like in potions.lua.
 
Back
Top