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

Lua How to down sd damge?REP+

chele242

TFS 0.3.6pl1 USER!!
Joined
May 28, 2009
Messages
42
Reaction score
2
Location
Otland
Hello people.
I got some problem i need down sd damage there is script;

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, -40, -1, -40, 5, 5, 4, 7)

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

But i dont know how ... anyone can tell me how down or send me a script of rl sd?
 
Code:
(combat, COMBAT_FORMULA_LEVELMAGIC, -1.3, -30, -1.8, 0)
instead of your
Code:
(combat, COMBAT_FORMULA_LEVELMAGIC, -1, -40, -1, -40, 5, 5, 4, 7)
 
Back
Top