Hi!
I am having problems with my SD and UH as u see.
The problem is... that my sd do 5k-6k every time, and the character I use it with is lvl 433 and mlvl 148 (a Sorc)
As I have counted with this forumlar: (-1.5 * 148)+(-1.8 * 433) = -222-779.4 = -1001,4
so I should do around 1k dmg, so, do anyone know why I do 5k as well how to fix it?
Then we have my UH, which I have another problem...
This case the uh heals normal for Sorcs, but for knights it does lower than ever...
The warrior who use this script is lvl 382 with mlvl 8, and he does around 3xx-5xx while the sorc (see above for lvl / mlvl) do 1.5k - 2k.
This is the UH script:
Questions & Answears I alredy done list:
I am having problems with my SD and UH as u see.
The problem is... that my sd do 5k-6k every time, and the character I use it with is lvl 433 and mlvl 148 (a Sorc)
As I have counted with this forumlar: (-1.5 * 148)+(-1.8 * 433) = -222-779.4 = -1001,4
so I should do around 1k dmg, so, do anyone know why I do 5k as well how to fix it?
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.5, -20, -1.8, 0)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Then we have my UH, which I have another problem...
This case the uh heals normal for Sorcs, but for knights it does lower than ever...
The warrior who use this script is lvl 382 with mlvl 8, and he does around 3xx-5xx while the sorc (see above for lvl / mlvl) do 1.5k - 2k.
This is the UH script:
Code:
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.0, 10, 10.0, 20)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
Questions & Answears I alredy done list:
Code:
Q: try to change sd/uh dmg/healing formular?
A: I have done that, SD results: EXACLY the same even if I changed it
UH could I change the healing amount for the knight, to do 1.5k-2k healing but
the sorc did 15k-25k healing -.-'
Q: Use search function?
A: If that didn't answear my question?
Q: Did you use the formular right?
A: Yes, I belive so, example, if the formular looks like this:
1.5, 20, 1.6, 0
(1.5 * mlvl/skill) + (1.6 * LVL) + 20
If this isn't the right way to use it, please explain how to use it!