• 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 combat Value

milbradt

New Member
Joined
Dec 25, 2011
Messages
177
Solutions
1
Reaction score
4
Hello!!!

Example using script:
Code:
if getPlayerStorageValue(cid,  5151) == 2 then
comboMin = -220
comboMax = -225
else
comboMin = -55
comboMax = -88
end

local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatFormula(combat1,  COMBAT_FORMULA_LEVELMAGIC, comboMin, 1, comboMax, 1)


not correct? '-'
Why?
 
Back
Top