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

Request Spell

Rexanilator

New Member
Joined
Oct 3, 2009
Messages
297
Reaction score
2
I need a custom spell for sorocerers that does death damage and does an effect of mort over a large area 5x5 or even 6x6.

So basically combat death damage, combat mort area and based on on combat formula magic.

I am using tfs 0.3.5

I would like for the spell to do about 3-4k damage if you are a sorc at lvl 500 and continue to increase as your lvl and magic lvl increase.

Thanks in advance...rep given to the one who provides me this spell.:peace:
 
I tested this, it works fine. It hits 3-4k like you said, idk if you want to make it hit with less of a range but here it is!

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -6.0, -3.0, -8.0, -3.0)

local area = createCombatArea(AREA_CROSS5X5)

	setCombatArea(combat, area)

local function castSpell(cid, var, combat)
    doCombat(cid, combat, var)
end

function onCastSpell(cid, var)
	castSpell(cid, var, combat)
	return true
end
 
Back
Top