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

Spells

Exura ATS

New Member
Joined
Feb 5, 2017
Messages
72
Reaction score
4
I want to know how to make runes and spells have the same x damage.
For example:

Avalanche Rune deals 200~350 in a character lvl 200 with magic level 100, so I want to make GFB, Thunderstorm and Stone Shower deal the same 200~350.

Avalanche info:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ICE)
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 1.4, 2.8, 40, 70)

local area = createCombatArea(AREA_CIRCLE3X3)
setCombatArea(combat, area)

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

I want to make the same with other spells and runes.

HMM, Fireball, Icicle and Stalagmite

Thunderstorm, GFB, Avalanche and Stone Shower

Exori Vis, Exori Flam, Exori Frigo, Exori Tera, Exori Mort

Exevo Vis Hur, Exevo Flam Hur, Exevo Frigo Hur, Exevo Tera Hur

etc.
 
Solution
copy

Lua:
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 1.4, 2.8, 40, 70)

into the other runes and also set mobs immunity to those elements to 0
copy

Lua:
setAttackFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 5, 5, 1.4, 2.8, 40, 70)

into the other runes and also set mobs immunity to those elements to 0
 
Solution
Back
Top