• 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!

Answer me plz

dany123456

New Member
Joined
Feb 10, 2012
Messages
44
Reaction score
0
Anyone got a Spell maker for the attack of the spell attack same of your level (Not with the ml) the hit it with your level :huh:
 
Just do the spell like this:

Lua:
function onGetFormulaValues(cid, level)

Example
Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_HOLY)
 
function onGetFormulaValues(cid, level)
	local min = level * 2.0 + 10 -- minimum rune damage formula
	local max = level * 2.5 + 25 -- maximum rune damage formula
	return -min, -max
end
 
setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues")
function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end
Next time make a thread in support if you need help.
 
Last edited:
I need a spell that hits YOUR level , but like a soul fire rune, duration 30sec~ , effect DROWN, can you help me out on that? o:
 
Back
Top