M4t30
THE RETURN OF TROLL KINGZ
Hello.. and welcome back... today in my next thread i'm showing how to make sd's - uh's....
So its pretty easy... let's start
This is SD
So that last two numbers 90,95 is power of sd... that i most imporant thing here so you can put any number's... let's say this is some "super sd"..
So now for UH's
So we upgrade it alot also you can change to any number make sure is not over powered.... (This can be some Super UH)
So pretty easy? Hope i help you guys....
Have fun... M4t30 eace:
So its pretty easy... let's start
This is SD
PHP:
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, -60, -1, -60, 5, 5,90,95
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
So that last two numbers 90,95 is power of sd... that i most imporant thing here so you can put any number's... let's say this is some "super sd"..
So now for UH's
PHP:
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, 5, 200,205
function onCastSpell(cid, var)
return doCombat(cid, combat, var)
end
So we upgrade it alot also you can change to any number make sure is not over powered.... (This can be some Super UH)
So pretty easy? Hope i help you guys....
Have fun... M4t30 eace: