Hello dear OTlanders =)
So I have these codes in my attacking / heal spells:
It get the exhaust from the lib -> 034-exhastion. So (cid, 30031, 1) adds 1 extra second exhaust.
So I added 5(to Exura Vita) and its 5 seconds, So it goes like this:
I SD -> Takes 2 sec before I can exura Vita, then next exura vita after that i 5 secs after.
Only spam Exura vita -> 5 secs between, AttackSpell Then Evita = 2 seconds..
For some reason even If I try with (cid, 30030, 0), still 2 seconds.
Want it to be correct ofc, SD - 1 sec exhaust to use heal - For some reason It always gets 2 seconds from an attack spell too any heal. Works fine with support spells. And if I delete the code above from script, I can heal directly after using an attack spell.
So I have these codes in my attacking / heal spells:
It get the exhaust from the lib -> 034-exhastion. So (cid, 30031, 1) adds 1 extra second exhaust.
Code:
function onCastSpell(cid, var)
if exhaustion.check(cid, 30030) then
doPlayerSendCancel(cid, "You are exhausted.")
else
exhaustion.set(cid, 30030, 1)
return doCombat(cid, combat, var)
end
end
So I added 5(to Exura Vita) and its 5 seconds, So it goes like this:
I SD -> Takes 2 sec before I can exura Vita, then next exura vita after that i 5 secs after.
Only spam Exura vita -> 5 secs between, AttackSpell Then Evita = 2 seconds..
For some reason even If I try with (cid, 30030, 0), still 2 seconds.
Want it to be correct ofc, SD - 1 sec exhaust to use heal - For some reason It always gets 2 seconds from an attack spell too any heal. Works fine with support spells. And if I delete the code above from script, I can heal directly after using an attack spell.
Last edited: