• 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!

Solved Rune delay and Max healing

Ecstacy

Mothafuckaaa
Joined
Dec 26, 2008
Messages
3,836
Reaction score
108
Location
The Netherlands
Hello,

I'm having some unwanted delay with my healing runes.
I.e. when I'm holding a hotkey it heals every 2 seconds or so, but I want to get rid of that.

Also, how would I be able to set how much the UH heals and how much it can max. heal?

I haven't changed anything yet in my UH script, but just in case I'll post it.

Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)
setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 10, 12)

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end

Thanks in advance,
unknown666
 
Last edited:
I've tried to configure it in config.lua but it doesn't seem to work.

Is this what you meant?

Lua:
	-- Item usage
	timeBetweenActions = 0
	timeBetweenExActions = 0
 
Back
Top