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

Spell SD damage change

Spo teh pro

New Member
Joined
Jan 3, 2008
Messages
319
Reaction score
1
Hello since i want to make my 8.5 server like an bit older client (I mean the damage), It would be very nice of you pros to help me please :D
I would be glad if you do!

Code:
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.3, -30, -1.8, 0)

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end

This is my SD at the moment and i want it to have it like in old tibia, means:

This SD is based only on magic level I think
But i wud be happy if someone can release/make a script that looks like that

(level * 2 + magic level * 3) * 1.2 - 30 = minimum
(level * 2 + magic level * 3) * 1.6 = maximum

Because in my server it should be important to have levels.


I'd be really glad if someone helpes me :)

And sorry that im such a newb in scripting ;<
 
Just use the Search Function and press spellpack or something similar and you will get spells folder with kinda balanced formulas.
 
Back
Top