• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Spell Making UH's & SD's Stronger...

Did this Post learn you making uh's & sd's?


  • Total voters
    19

M4t30

THE RETURN OF TROLL KINGZ
Joined
Jan 20, 2010
Messages
774
Reaction score
14
Location
127.0.0.1
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

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 :peace:
 
you havent told us around how many you hit with that numbers you filled in

some peoples could learn from this :D

__/jikoe
 
Don't understand :S but nvm...

aa dunno you need test...just don't make more than this.. coz it will be overpowered : )
 
Last edited by a moderator:
Back
Top