• 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 convert scrypt?

Reins

Member
Joined
Apr 9, 2009
Messages
586
Reaction score
8
How do we get could be Mr. used during the run, and it can be used with SD, because now is such that, as it uses sd mr you can not, and how it runs or not you can use it-.-

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, 1)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)
function onCastSpell(cid, var)
local level = getPlayerLevel(cid)
local mlevel = getPlayerMagLevel(cid)
local pos = getPlayerPosition(cid)
-- Mana Formula Settings -- 
-- You can use "level" and "mlevel" -- 
local mana_minimum = (mlevel * 8 + level * 2 + 300)
local mana_maximum = (mlevel * 8 + level * 2 + 350)
-- Mana Formula Settings END -- 
local mana_add = math.random(mana_minimum, mana_maximum)
doPlayerAddMana(cid, mana_add)
return doCombat(cid, combat, var)
end

HELP
 
Back
Top