Having some trouble getting getting the knight/paladin spell Recovery + Intense Recovery to work as intended.
Even took the base script for Blood Rage and added the hp recovery to it. But still did not show the icon..
And it would be very nice to make so that it shows the healing it does (Makes it even more obvious that its enabled.
From Spells.xml
- The spell heals, however if your in protection zone you wont get healed (not that important..)
- The spell does not show the buff icon (below soul) when active. (Icons works for other spells.)
- When getting healed it does not show the amount healed (Shows for exura etc.)
Even took the base script for Blood Rage and added the hp recovery to it. But still did not show the icon..
And it would be very nice to make so that it shows the healing it does (Makes it even more obvious that its enabled.
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
local condition = createConditionObject(CONDITION_REGENERATION)
setConditionParam(condition, CONDITION_PARAM_SUBID, 1)
setConditionParam(condition, CONDITION_PARAM_BUFF, true)
setConditionParam(condition, CONDITION_PARAM_TICKS, 1 * 60 * 1000)
setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 20)
setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 3000)
setCombatCondition(combat, condition)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
From Spells.xml
XML:
<instant group="healing" spellid="160" name="Intense Recovery" words="utura gran" lvl="100" mana="165" aggressive="0" selftarget="1" exhaustion="60000" groupcooldown="1000" needlearn="0" script="healing/intense recovery.lua">
<vocation name="Paladin"/>
<vocation name="Knight"/>
<vocation name="Royal Paladin"/>
<vocation name="Elite Knight"/>
</instant>