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

Windows Problem with Paralyze

ecounlimited

New Member
Joined
Aug 7, 2013
Messages
53
Reaction score
3
So I made an Ancient Scarab spawn and when I went to test it out, I found that casting exura won't immediately cure paralysis. I'm 90% sure you could cure paralyze in 8.6 with a heal so I don't think that's the issue... utani gran hur does cure it immediately. Any ideas what's wrong?
 
Post your exura script and server version.
<Spell>
<Name>Light Healing</Name>
<Cast>exura</Cast>
<Mana>20</Mana>
<Level>9</Level>
<Magic>0</Magic>
<Premium>false</Premium>
<Category>Healing</Category>
<Type>Instant</Type>
<Soul>0</Soul>
<Range>0</Range>
<CoolDown1>1000</CoolDown1>
<CoolDown2>1000</CoolDown2>
<CoolDownID>1</CoolDownID>
</Spell>

TFS Crying Damson 8.6
 
Not sure if that's what you wanted, found this under data>spells>scripts>healing>light healing

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_DISPEL, CONDITION_PARALYZE)
setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 1.5, 2)

function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
 
Replace the onCastSpell function from all of your healing spells with this:

Code:
function onCastSpell(cid, var) 
    if isPlayer(cid) == TRUE then 
        if exhaustion.check(cid, 30030) then 
            return FALSE 
        else 
            return doRemoveCondition(cid, CONDITION_PARALYZE), doCombat(cid, combat, var) 
        end 
    else 
        return doRemoveCondition(cid, CONDITION_PARALYZE), doCombat(cid, combat, var) 
    end 
end
 
Replace the onCastSpell function from all of your healing spells with this:

Code:
function onCastSpell(cid, var)
    if isPlayer(cid) == TRUE then
        if exhaustion.check(cid, 30030) then
            return FALSE
        else
            return doRemoveCondition(cid, CONDITION_PARALYZE), doCombat(cid, combat, var)
        end
    else
        return doRemoveCondition(cid, CONDITION_PARALYZE), doCombat(cid, combat, var)
    end
end
Thanks a ton! Tested it out at the Ancient Scarabs again and it removed paralyze every time, 100%.
 
Back
Top