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

Sd Depend on lvl.

LUA:
--Calculed by ta4e--
--For tibia 8.5--
--Made in 11/10/09--

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)
function getCombatFormulas(cid, lv, maglv)
	local formula_min = -((lv*0.25 + maglv*3) * 1.75)
	local formula_max = -((lv*0.25 + maglv*3) * 2.20)

	if(formula_max < formula_min) then
		local tmp = formula_max
		formula_max = formula_min
		formula_min = tmp
	end
	return formula_min, formula_max
end

setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "getCombatFormulas")

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end
Credits to :ta4e and me.
 
nah, it uses lvl. when i gave my self lvl to 100, and used it then i hited 500-800, then i gave my self lvl to 15k, i hited about 20k.

How do i do the same as this sd on Ultimate Healing Rune?

Oh excuse me, I assumed you can read. Here;

Code:
local formula_max =  -((lv*0.25 + maglv*3) * 2.20)

Code:
 -((lv*0.25 + maglv*3) * 2.20)

Code:
lv*0.25 + maglv*3

Code:
maglv

Code:
[SIZE="4"][COLOR="Red"]maglv[/COLOR][/SIZE]
 
Oh excuse me, I assumed you can read. Here;

Code:
local formula_max =  -((lv*0.25 + maglv*3) * 2.20)

Code:
 -((lv*0.25 + maglv*3) * 2.20)

Code:
lv*0.25 + maglv*3

Code:
maglv

Code:
[SIZE="4"][COLOR="Red"]maglv[/COLOR][/SIZE]

what do u mean. it runs by ml or lvl? :(. i needed 1 that runs with lvl not ml.
 
Back
Top