- Joined
- Jun 19, 2009
- Messages
- 1,852
- Reaction score
- 5
Sorry for requesting SO MUCH help!
But, I never understood the spell-coding.. I don't know how to make a, let's say "sd rune" hit good..
Example: I am level 4k, and have a sd rune. I want to hit from (minimum) 15k to (maximum) 17k..
here is the normal sd rune.xml
tfs 0.3.6
again, how can I make it hit from 14k to 17k if im lvl 4000??
But, I never understood the spell-coding.. I don't know how to make a, let's say "sd rune" hit good..
Example: I am level 4k, and have a sd rune. I want to hit from (minimum) 15k to (maximum) 17k..
here is the normal sd rune.xml
tfs 0.3.6
Code:
local combat = createCombatObject()
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, -7.4, -150, -7.8, 0)
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
again, how can I make it hit from 14k to 17k if im lvl 4000??