• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Need spell

imback1

Unknown member
Joined
Jul 11, 2013
Messages
785
Solutions
1
Reaction score
46
Hello

i just wonder if i can make spell that hit like exori flam,frigo,mort, at same time i mean 3 different hits at same time with different effects

version 0.3.6/8.60
 
Actually the addEvent is not needed for this purpose, addEvent is mainly used when wanting to delay functions.

You can simply return multiple combats to execute their respective function at once.

Code:
local combatFire = createCombatObject()
local combatDeath = createCombatObject()
local combatIce = createCombatObject()

function onCastSpell(cid, var)
    return doCombat(cid, combatFire, var), doCombat(cid, combatDeath, var), doCombat(cid, combatIce, var)
end

In that fashion, I didn't complete the combat objects.

Ignazio
 
Back
Top