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

Spell Need a spell msg here i make in code if you wanna!

wlj

retierd
Joined
Jan 7, 2009
Messages
1,201
Reaction score
1
Well i can giv spells codes if you wanna maybe track a spell from a ot ;)

____
Payment. a rep by u ;)

____
cya
 
Im not sure if I understood you correctly, you're taking spell requests?

If thats so I'll +Rep you if you can make this spell work correctly:
Regenbuff

Notice, its the spell on that post (the regenbuff), not the one from the thread itself.

Good luck :)
 
Im not sure if I understood you correctly, you're taking spell requests?

If thats so I'll +Rep you if you can make this spell work correctly:
Regenbuff

Notice, its the spell on that post (the regenbuff), not the one from the thread itself.

Good luck :)


This thread is abt i script for other noobs... and ok i can try ^^
 
Ey jag har en fråga, jag kan göra spells det är inte så svårt, men i många ots så kommer spellen med orange text te.x (utani hur) då kommer den i en orange text och syns inte i default rutan.. hur fixar man det ?
 
Ey jag har en fråga, jag kan göra spells det är inte så svårt, men i många ots så kommer spellen med orange text te.x (utani hur) då kommer den i en orange text och syns inte i default rutan.. hur fixar man det ?

0.3 så finns de men nån stans finns de ett script kan kolla om ja har de nån stans ;
 
maybe you can help me here i want to make a multiwave spell
http://otland.net/f16/help-multiwave-spells-42157/

Lua:
local combat1 = createCombatObject() 
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) 
setCombatParam(combat1, COMBAT_PARAM_EFFECT, COMBAT_PARAM_EFFECT, 4) 
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -2.0, -15000, 2.0, 20000) 

local combat2 = createCombatObject() 
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_LIFEDRAIN) 
setCombatParam(combat2, COMBAT_PARAM_EFFECT, COMBAT_PARAM_EFFECT, 34)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -2.0, -15000, 2.0, 20000) 

local combat3 = createCombatObject() 
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_DROWNDAMAGE) 
setCombatParam(combat3, COMBAT_PARAM_EFFECT, COMBAT_PARAM_EFFECT, 0)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -2.0, -15000, 2.0, 20000) 

local combat4 = createCombatObject() 
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_DROWNDAMAGE) 
setCombatParam(combat4, COMBAT_PARAM_EFFECT, COMBAT_PARAM_EFFECT, 54)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -2.0, -15000, 2.0, 20000) 

local combat5 = createCombatObject() 
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) 
setCombatParam(combat5, COMBAT_PARAM_EFFECT, COMBAT_PARAM_EFFECT, 21) 
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -2.0, -25000, 2.0, 50000) 


local combat6 = createCombatObject() 
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_EARTHDAMAGE) 
setCombatParam(combat6, COMBAT_PARAM_EFFECT, COMBAT_PARAM_EFFECT, 44) 
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -2.0, -15000, 2.0, 20000) 

local combat7 = createCombatObject() 
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE) 
setCombatParam(combat7, COMBAT_PARAM_EFFECT, COMBAT_PARAM_EFFECT, 35)
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -2.0, -15000, 2.0, 20000) 

local combat8 = createCombatObject() 
setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) 
setCombatParam(combat8, COMBAT_PARAM_EFFECT, COMBAT_PARAM_EFFECT, 25)
setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -2.0, -15000, 2.0, 20000)  



arr1 = { 
{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, 
{0, 1, 0, 0, 0, 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, 1, 0, 0}, 
{0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0}, 
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, 
{0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0}, 
} 

local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
local area3 = createCombatArea(arr3)
local area4 = createCombatArea(arr4)
local area5 = createCombatArea(arr5)
local area6 = createCombatArea(arr6)
local area7 = createCombatArea(arr7)
local area8 = createCombatArea(arr8)
setCombatArea(combat1, area1)
setCombatArea(combat2, area2)
setCombatArea(combat3, area3)
setCombatArea(combat4, area4)
setCombatArea(combat5, area5)
setCombatArea(combat6, area6)
setCombatArea(combat7, area7)
setCombatArea(combat8, area8)
 
local function onCastSpell1(parameters)
    doCombat(parameters.cid, combat1, parameters.var)
end
 
local function onCastSpell2(parameters)
    doCombat(parameters.cid, combat2, parameters.var)
end
 
local function onCastSpell3(parameters)
    doCombat(parameters.cid, combat3, parameters.var)
end
 
local function onCastSpell4(parameters)
    doCombat(parameters.cid, combat4, parameters.var)
end
 
local function onCastSpell5(parameters)
    doCombat(parameters.cid, combat5, parameters.var)
end

local function onCastSpell6(parameters)
    doCombat(parameters.cid, combat6, parameters.var)
end

local function onCastSpell7(parameters)
    doCombat(parameters.cid, combat7, parameters.var)
end

local function onCastSpell8(parameters)
    doCombat(parameters.cid, combat8, parameters.var)
end

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var}
addEvent(onCastSpell1, 100, parameters)
addEvent(onCastSpell2, 200, parameters)
addEvent(onCastSpell3, 300, parameters)
addEvent(onCastSpell4, 400, parameters)
addEvent(onCastSpell5, 500, parameters)
addEvent(onCastSpell6, 600, parameters)
addEvent(onCastSpell7, 700, parameters)
addEvent(onCastSpell8, 800, parameters)
end
 
man, i need a spell that is like a curse, u use in the target (like an exori mort but 3x3) and the target starts to loose hp starting from 400 then 400, 400, 350, 300.... and so on, like poison, with death damage plx
 
man, i need a spell that is like a curse, u use in the target (like an exori mort but 3x3) and the target starts to loose hp starting from 400 then 400, 400, 350, 300.... and so on, like poison, with death damage plx

Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH)

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

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

REMEMBER you need to add in the sorce that this (mort area atk death with
Code:
400 then 400, 400, 350, 300...
i did take this or if it doesnt work use

Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 2360)

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

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

if that dont work ask some1 to do sorce edit and also rescript this to SPELL CODE!



this might also work :p

Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 2360)

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end
 
Error
9/08/2009 15:06:19] luaDoCombat(). Creature not found

[09/08/2009 15:06:19] Lua Script Error: [Spell Interface]
[09/08/2009 15:06:19] in a timer event called from:
[09/08/2009 15:06:19] data/spells/scripts/custom/Deadx Death.lua:eek:nCastSpell

Script.
PHP:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat7 = createCombatObject()
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat7, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat8 = createCombatObject()
setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat8, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat9 = createCombatObject()
setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat9, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat10 = createCombatObject()
setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat10, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat11 = createCombatObject()
setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat11, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat12 = createCombatObject()
setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat12, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat13 = createCombatObject()
setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat13, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat14 = createCombatObject()
setCombatParam(combat14, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat14, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat15 = createCombatObject()
setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat15, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat16 = createCombatObject()
setCombatParam(combat16, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat16, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat16, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat17 = createCombatObject()
setCombatParam(combat17, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat17, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat17, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat18 = createCombatObject()
setCombatParam(combat18, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat18, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat18, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat19 = createCombatObject()
setCombatParam(combat19, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat19, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat19, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat20 = createCombatObject()
setCombatParam(combat20, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat20, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat20, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat21 = createCombatObject()
setCombatParam(combat21, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat21, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat21, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat22 = createCombatObject()
setCombatParam(combat22, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat22, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat22, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat23 = createCombatObject()
setCombatParam(combat23, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat23, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat23, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat24 = createCombatObject()
setCombatParam(combat24, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat24, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat24, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat25 = createCombatObject()
setCombatParam(combat25, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat25, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat25, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat26 = createCombatObject()
setCombatParam(combat26, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat26, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat26, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat27 = createCombatObject()
setCombatParam(combat27, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat27, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat27, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat28 = createCombatObject()
setCombatParam(combat28, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat28, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat28, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat29 = createCombatObject()
setCombatParam(combat29, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat29, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat29, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat30 = createCombatObject()
setCombatParam(combat30, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat30, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat30, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
arr1 = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 2, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
}
 
arr2 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0},
{0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0},
{0, 1, 1, 0, 0, 2, 0, 0, 1, 1, 0},
{0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0},
{0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
}
 
arr3 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0},
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
}
 
arr30 = {
{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1},
{0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0},
{0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0},
{0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0},
{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}
}
 
local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
local area3 = createCombatArea(arr3)
local area4 = createCombatArea(arr4)
local area5 = createCombatArea(arr5)
local area6 = createCombatArea(arr6)
local area7 = createCombatArea(arr7)
local area8 = createCombatArea(arr8)
local area9 = createCombatArea(arr9)
local area10 = createCombatArea(arr10)
local area11 = createCombatArea(arr11)
local area12 = createCombatArea(arr12)
local area13 = createCombatArea(arr13)
local area14 = createCombatArea(arr14)
local area15 = createCombatArea(arr15)
local area16 = createCombatArea(arr16)
local area17 = createCombatArea(arr17)
local area18 = createCombatArea(arr18)
local area19 = createCombatArea(arr19)
local area20 = createCombatArea(arr20)
local area21 = createCombatArea(arr21)
local area22 = createCombatArea(arr22)
local area23 = createCombatArea(arr23)
local area24 = createCombatArea(arr24)
local area25 = createCombatArea(arr25)
local area26 = createCombatArea(arr26)
local area27 = createCombatArea(arr27)
local area28 = createCombatArea(arr28)
local area29 = createCombatArea(arr29)
local area30 = createCombatArea(arr30)
 
setCombatArea(combat1, area1)
setCombatArea(combat2, area2)
setCombatArea(combat3, area3)
setCombatArea(combat4, area4)
setCombatArea(combat5, area5)
setCombatArea(combat6, area6)
setCombatArea(combat7, area7)
setCombatArea(combat8, area8)
setCombatArea(combat9, area9)
setCombatArea(combat10, area10)
setCombatArea(combat11, area11)
setCombatArea(combat12, area12)
setCombatArea(combat13, area13)
setCombatArea(combat14, area14)
setCombatArea(combat15, area15)
setCombatArea(combat16, area16)
setCombatArea(combat17, area17)
setCombatArea(combat18, area18)
setCombatArea(combat19, area19)
setCombatArea(combat20, area20)
setCombatArea(combat21, area21)
setCombatArea(combat22, area22)
setCombatArea(combat23, area23)
setCombatArea(combat24, area24)
setCombatArea(combat25, area25)
setCombatArea(combat26, area26)
setCombatArea(combat27, area27)
setCombatArea(combat28, area28)
setCombatArea(combat29, area29)
setCombatArea(combat30, area30)
 
local function onCastSpell1(parameters)
    doCombat(parameters.cid, combat1, parameters.var)
end
 
local function onCastSpell2(parameters)
    doCombat(parameters.cid, combat2, parameters.var)
end
 
local function onCastSpell3(parameters)
    doCombat(parameters.cid, combat3, parameters.var)
end
 
local function onCastSpell4(parameters)
    doCombat(parameters.cid, combat4, parameters.var)
end
 
local function onCastSpell5(parameters)
    doCombat(parameters.cid, combat5, parameters.var)
end
 
local function onCastSpell6(parameters)
    doCombat(parameters.cid, combat6, parameters.var)
end
 
local function onCastSpell7(parameters)
    doCombat(parameters.cid, combat7, parameters.var)
end
 
local function onCastSpell8(parameters)
    doCombat(parameters.cid, combat8, parameters.var)
end
 
local function onCastSpell9(parameters)
    doCombat(parameters.cid, combat9, parameters.var)
end
 
local function onCastSpell10(parameters)
    doCombat(parameters.cid, combat10, parameters.var)
end
 
local function onCastSpell11(parameters)
    doCombat(parameters.cid, combat11, parameters.var)
end
 
local function onCastSpell12(parameters)
    doCombat(parameters.cid, combat12, parameters.var)
end
 
local function onCastSpell13(parameters)
    doCombat(parameters.cid, combat13, parameters.var)
end
 
local function onCastSpell14(parameters)
    doCombat(parameters.cid, combat14, parameters.var)
end
 
local function onCastSpell15(parameters)
    doCombat(parameters.cid, combat15, parameters.var)
end
 
local function onCastSpell16(parameters)
    doCombat(parameters.cid, combat16, parameters.var)
end
 
local function onCastSpell17(parameters)
    doCombat(parameters.cid, combat17, parameters.var)
end
 
local function onCastSpell18(parameters)
    doCombat(parameters.cid, combat18, parameters.var)
end
 
local function onCastSpell19(parameters)
    doCombat(parameters.cid, combat19, parameters.var)
end
 
local function onCastSpell20(parameters)
    doCombat(parameters.cid, combat20, parameters.var)
end
 
local function onCastSpell21(parameters)
    doCombat(parameters.cid, combat21, parameters.var)
end
 
local function onCastSpell22(parameters)
    doCombat(parameters.cid, combat22, parameters.var)
end
 
local function onCastSpell23(parameters)
    doCombat(parameters.cid, combat23, parameters.var)
end
 
local function onCastSpell24(parameters)
    doCombat(parameters.cid, combat24, parameters.var)
end
 
local function onCastSpell25(parameters)
    doCombat(parameters.cid, combat25, parameters.var)
end
 
local function onCastSpell26(parameters)
    doCombat(parameters.cid, combat26, parameters.var)
end
 
local function onCastSpell27(parameters)
    doCombat(parameters.cid, combat27, parameters.var)
end
 
local function onCastSpell28(parameters)
    doCombat(parameters.cid, combat28, parameters.var)
end
 
local function onCastSpell29(parameters)
    doCombat(parameters.cid, combat29, parameters.var)
end
 
local function onCastSpell30(parameters)
    doCombat(parameters.cid, combat30, parameters.var)
end
 
function onCastSpell(cid, var)
local parameters = { cid = cid, var = var}
addEvent(onCastSpell1, 100, parameters)
addEvent(onCastSpell2, 200, parameters)
addEvent(onCastSpell3, 300, parameters)
addEvent(onCastSpell4, 400, parameters)
addEvent(onCastSpell5, 500, parameters)
addEvent(onCastSpell6, 600, parameters)
addEvent(onCastSpell7, 700, parameters)
addEvent(onCastSpell8, 800, parameters)
addEvent(onCastSpell9, 900, parameters)
addEvent(onCastSpell10, 1000, parameters)
addEvent(onCastSpell11, 1100, parameters)
addEvent(onCastSpell12, 1200, parameters)
addEvent(onCastSpell13, 1300, parameters)
addEvent(onCastSpell14, 1400, parameters)
addEvent(onCastSpell15, 1500, parameters)
addEvent(onCastSpell16, 1600, parameters)
addEvent(onCastSpell17, 1700, parameters)
addEvent(onCastSpell18, 1800, parameters)
addEvent(onCastSpell19, 1900, parameters)
addEvent(onCastSpell20, 2000, parameters)
addEvent(onCastSpell21, 2100, parameters)
addEvent(onCastSpell22, 2200, parameters)
addEvent(onCastSpell23, 2300, parameters)
addEvent(onCastSpell24, 2400, parameters)
addEvent(onCastSpell25, 2500, parameters)
addEvent(onCastSpell26, 2600, parameters)
addEvent(onCastSpell27, 2700, parameters)
addEvent(onCastSpell28, 2800, parameters)
addEvent(onCastSpell29, 2900, parameters)
addEvent(onCastSpell30, 3000, parameters)
 
return true
end
 
Error


Script.
PHP:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat7 = createCombatObject()
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat7, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat8 = createCombatObject()
setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat8, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat9 = createCombatObject()
setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat9, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat10 = createCombatObject()
setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat10, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat11 = createCombatObject()
setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat11, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat12 = createCombatObject()
setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat12, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat13 = createCombatObject()
setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat13, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat14 = createCombatObject()
setCombatParam(combat14, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat14, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat15 = createCombatObject()
setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat15, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat16 = createCombatObject()
setCombatParam(combat16, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat16, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat16, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat17 = createCombatObject()
setCombatParam(combat17, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat17, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat17, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat18 = createCombatObject()
setCombatParam(combat18, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat18, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat18, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat19 = createCombatObject()
setCombatParam(combat19, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat19, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat19, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat20 = createCombatObject()
setCombatParam(combat20, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat20, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat20, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat21 = createCombatObject()
setCombatParam(combat21, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat21, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat21, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat22 = createCombatObject()
setCombatParam(combat22, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat22, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat22, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat23 = createCombatObject()
setCombatParam(combat23, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat23, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat23, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat24 = createCombatObject()
setCombatParam(combat24, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat24, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat24, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat25 = createCombatObject()
setCombatParam(combat25, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat25, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat25, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat26 = createCombatObject()
setCombatParam(combat26, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat26, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat26, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat27 = createCombatObject()
setCombatParam(combat27, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat27, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat27, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat28 = createCombatObject()
setCombatParam(combat28, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat28, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat28, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat29 = createCombatObject()
setCombatParam(combat29, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat29, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat29, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
local combat30 = createCombatObject()
setCombatParam(combat30, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat30, COMBAT_PARAM_EFFECT, 17)
setCombatFormula(combat30, COMBAT_FORMULA_LEVELMAGIC, -2.3, -184, -3, -240)
 
arr1 = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 2, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}
}
 
arr2 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 1, 1, 1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 1, 0, 1, 0, 1, 0, 1, 0, 1},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1}
}
 
arr29 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 1, 0, 2, 0, 1, 0, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
}
 
arr30 = {
{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1},
{0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0},
{0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0},
{0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0},
{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}
}
 
local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
local area3 = createCombatArea(arr3)
local area4 = createCombatArea(arr4)
local area5 = createCombatArea(arr5)
local area6 = createCombatArea(arr6)
local area7 = createCombatArea(arr7)
local area8 = createCombatArea(arr8)
local area9 = createCombatArea(arr9)
local area10 = createCombatArea(arr10)
local area11 = createCombatArea(arr11)
local area12 = createCombatArea(arr12)
local area13 = createCombatArea(arr13)
local area14 = createCombatArea(arr14)
local area15 = createCombatArea(arr15)
local area16 = createCombatArea(arr16)
local area17 = createCombatArea(arr17)
local area18 = createCombatArea(arr18)
local area19 = createCombatArea(arr19)
local area20 = createCombatArea(arr20)
local area21 = createCombatArea(arr21)
local area22 = createCombatArea(arr22)
local area23 = createCombatArea(arr23)
local area24 = createCombatArea(arr24)
local area25 = createCombatArea(arr25)
local area26 = createCombatArea(arr26)
local area27 = createCombatArea(arr27)
local area28 = createCombatArea(arr28)
local area29 = createCombatArea(arr29)
local area30 = createCombatArea(arr30)
 
setCombatArea(combat1, area1)
setCombatArea(combat2, area2)
setCombatArea(combat3, area3)
setCombatArea(combat4, area4)
setCombatArea(combat5, area5)
setCombatArea(combat6, area6)
setCombatArea(combat7, area7)
setCombatArea(combat8, area8)
setCombatArea(combat9, area9)
setCombatArea(combat10, area10)
setCombatArea(combat11, area11)
setCombatArea(combat12, area12)
setCombatArea(combat13, area13)
setCombatArea(combat14, area14)
setCombatArea(combat15, area15)
setCombatArea(combat16, area16)
setCombatArea(combat17, area17)
setCombatArea(combat18, area18)
setCombatArea(combat19, area19)
setCombatArea(combat20, area20)
setCombatArea(combat21, area21)
setCombatArea(combat22, area22)
setCombatArea(combat23, area23)
setCombatArea(combat24, area24)
setCombatArea(combat25, area25)
setCombatArea(combat26, area26)
setCombatArea(combat27, area27)
setCombatArea(combat28, area28)
setCombatArea(combat29, area29)
setCombatArea(combat30, area30)
 
local function onCastSpell1(parameters)
    doCombat(parameters.cid, combat1, parameters.var)
end
 
local function onCastSpell2(parameters)
    doCombat(parameters.cid, combat2, parameters.var)
end
 
local function onCastSpell3(parameters)
    doCombat(parameters.cid, combat3, parameters.var)
end
 
local function onCastSpell4(parameters)
    doCombat(parameters.cid, combat4, parameters.var)
end
 
local function onCastSpell5(parameters)
    doCombat(parameters.cid, combat5, parameters.var)
end
 
local function onCastSpell6(parameters)
    doCombat(parameters.cid, combat6, parameters.var)
end
 
local function onCastSpell7(parameters)
    doCombat(parameters.cid, combat7, parameters.var)
end
 
local function onCastSpell8(parameters)
    doCombat(parameters.cid, combat8, parameters.var)
end
 
local function onCastSpell9(parameters)
    doCombat(parameters.cid, combat9, parameters.var)
end
 
local function onCastSpell10(parameters)
    doCombat(parameters.cid, combat10, parameters.var)
end
 
local function onCastSpell11(parameters)
    doCombat(parameters.cid, combat11, parameters.var)
end
 
local function onCastSpell12(parameters)
    doCombat(parameters.cid, combat12, parameters.var)
end
 
local function onCastSpell13(parameters)
    doCombat(parameters.cid, combat13, parameters.var)
end
 
local function onCastSpell14(parameters)
    doCombat(parameters.cid, combat14, parameters.var)
end
 
local function onCastSpell15(parameters)
    doCombat(parameters.cid, combat15, parameters.var)
end
 
local function onCastSpell16(parameters)
    doCombat(parameters.cid, combat16, parameters.var)
end
 
local function onCastSpell17(parameters)
    doCombat(parameters.cid, combat17, parameters.var)
end
 
local function onCastSpell18(parameters)
    doCombat(parameters.cid, combat18, parameters.var)
end
 
local function onCastSpell19(parameters)
    doCombat(parameters.cid, combat19, parameters.var)
end
 
local function onCastSpell20(parameters)
    doCombat(parameters.cid, combat20, parameters.var)
end
 
local function onCastSpell21(parameters)
    doCombat(parameters.cid, combat21, parameters.var)
end
 
local function onCastSpell22(parameters)
    doCombat(parameters.cid, combat22, parameters.var)
end
 
local function onCastSpell23(parameters)
    doCombat(parameters.cid, combat23, parameters.var)
end
 
local function onCastSpell24(parameters)
    doCombat(parameters.cid, combat24, parameters.var)
end
 
local function onCastSpell25(parameters)
    doCombat(parameters.cid, combat25, parameters.var)
end
 
local function onCastSpell26(parameters)
    doCombat(parameters.cid, combat26, parameters.var)
end
 
local function onCastSpell27(parameters)
    doCombat(parameters.cid, combat27, parameters.var)
end
 
local function onCastSpell28(parameters)
    doCombat(parameters.cid, combat28, parameters.var)
end
 
local function onCastSpell29(parameters)
    doCombat(parameters.cid, combat29, parameters.var)
end
 
local function onCastSpell30(parameters)
    doCombat(parameters.cid, combat30, parameters.var)
end
 
function onCastSpell(cid, var)
local parameters = { cid = cid, var = var}
addEvent(onCastSpell1, 100, parameters)
addEvent(onCastSpell2, 200, parameters)
addEvent(onCastSpell3, 300, parameters)
addEvent(onCastSpell4, 400, parameters)
addEvent(onCastSpell5, 500, parameters)
addEvent(onCastSpell6, 600, parameters)
addEvent(onCastSpell7, 700, parameters)
addEvent(onCastSpell8, 800, parameters)
addEvent(onCastSpell9, 900, parameters)
addEvent(onCastSpell10, 1000, parameters)
addEvent(onCastSpell11, 1100, parameters)
addEvent(onCastSpell12, 1200, parameters)
addEvent(onCastSpell13, 1300, parameters)
addEvent(onCastSpell14, 1400, parameters)
addEvent(onCastSpell15, 1500, parameters)
addEvent(onCastSpell16, 1600, parameters)
addEvent(onCastSpell17, 1700, parameters)
addEvent(onCastSpell18, 1800, parameters)
addEvent(onCastSpell19, 1900, parameters)
addEvent(onCastSpell20, 2000, parameters)
addEvent(onCastSpell21, 2100, parameters)
addEvent(onCastSpell22, 2200, parameters)
addEvent(onCastSpell23, 2300, parameters)
addEvent(onCastSpell24, 2400, parameters)
addEvent(onCastSpell25, 2500, parameters)
addEvent(onCastSpell26, 2600, parameters)
addEvent(onCastSpell27, 2700, parameters)
addEvent(onCastSpell28, 2800, parameters)
addEvent(onCastSpell29, 2900, parameters)
addEvent(onCastSpell30, 3000, parameters)
 
return true
end



(this is not with the atk u get on spell i can change later.)

Lua:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 28)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 29)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 30)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 28)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, 30)
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, 29)
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat7 = createCombatObject()
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat7, COMBAT_PARAM_EFFECT, 28)
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat8 = createCombatObject()
setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat8, COMBAT_PARAM_EFFECT, 30)
setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat9 = createCombatObject()
setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat9, COMBAT_PARAM_EFFECT, 29)
setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat10 = createCombatObject()
setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat10, COMBAT_PARAM_EFFECT, 13)
setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat11 = createCombatObject()
setCombatParam(combat11, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat11, COMBAT_PARAM_EFFECT, 30)
setCombatFormula(combat11, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat12 = createCombatObject()
setCombatParam(combat12, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat12, COMBAT_PARAM_EFFECT, 28)
setCombatFormula(combat12, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat13 = createCombatObject()
setCombatParam(combat13, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat13, COMBAT_PARAM_EFFECT, 29)
setCombatFormula(combat13, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat14 = createCombatObject()
setCombatParam(combat14, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat14, COMBAT_PARAM_EFFECT, 13)
setCombatFormula(combat14, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat15 = createCombatObject()
setCombatParam(combat15, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat15, COMBAT_PARAM_EFFECT, 30)
setCombatFormula(combat15, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat16 = createCombatObject()
setCombatParam(combat16, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat16, COMBAT_PARAM_EFFECT, 28)
setCombatFormula(combat16, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat17 = createCombatObject()
setCombatParam(combat17, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat17, COMBAT_PARAM_EFFECT, 29)
setCombatFormula(combat17, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat18 = createCombatObject()
setCombatParam(combat18, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat18, COMBAT_PARAM_EFFECT, 13)
setCombatFormula(combat18, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat19 = createCombatObject()
setCombatParam(combat19, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat19, COMBAT_PARAM_EFFECT, 30)
setCombatFormula(combat19, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat20 = createCombatObject()
setCombatParam(combat20, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat20, COMBAT_PARAM_EFFECT, 13)
setCombatFormula(combat20, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat21 = createCombatObject()
setCombatParam(combat21, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat21, COMBAT_PARAM_EFFECT, 28)
setCombatFormula(combat21, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat22 = createCombatObject()
setCombatParam(combat22, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat22, COMBAT_PARAM_EFFECT, 29)
setCombatFormula(combat22, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat23 = createCombatObject()
setCombatParam(combat23, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat23, COMBAT_PARAM_EFFECT, 30)
setCombatFormula(combat23, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat24 = createCombatObject()
setCombatParam(combat24, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat24, COMBAT_PARAM_EFFECT, 13)
setCombatFormula(combat24, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat25 = createCombatObject()
setCombatParam(combat25, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat25, COMBAT_PARAM_EFFECT, 28)
setCombatFormula(combat25, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat26 = createCombatObject()
setCombatParam(combat26, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat26, COMBAT_PARAM_EFFECT, 29)
setCombatFormula(combat26, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat27 = createCombatObject()
setCombatParam(combat27, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat27, COMBAT_PARAM_EFFECT, 30)
setCombatFormula(combat27, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat28 = createCombatObject()
setCombatParam(combat28, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat28, COMBAT_PARAM_EFFECT, 13)
setCombatFormula(combat28, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat29 = createCombatObject()
setCombatParam(combat29, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat29, COMBAT_PARAM_EFFECT, 28)
setCombatFormula(combat29, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
local combat30 = createCombatObject()
setCombatParam(combat30, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat30, COMBAT_PARAM_EFFECT,29)
setCombatFormula(combat30, COMBAT_FORMULA_LEVELMAGIC, -8.8, 0, -3, 0)
 
arr1 = {
{1, 1, 1, 1, 1, 1, 1, 1, 1, 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0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0},
{0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0},
{0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0},
{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}
}
 
local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
local area3 = createCombatArea(arr3)
local area4 = createCombatArea(arr4)
local area5 = createCombatArea(arr5)
local area6 = createCombatArea(arr6)
local area7 = createCombatArea(arr7)
local area8 = createCombatArea(arr8)
local area9 = createCombatArea(arr9)
local area10 = createCombatArea(arr10)
local area11 = createCombatArea(arr11)
local area12 = createCombatArea(arr12)
local area13 = createCombatArea(arr13)
local area14 = createCombatArea(arr14)
local area15 = createCombatArea(arr15)
local area16 = createCombatArea(arr16)
local area17 = createCombatArea(arr17)
local area18 = createCombatArea(arr18)
local area19 = createCombatArea(arr19)
local area20 = createCombatArea(arr20)
local area21 = createCombatArea(arr21)
local area22 = createCombatArea(arr22)
local area23 = createCombatArea(arr23)
local area24 = createCombatArea(arr24)
local area25 = createCombatArea(arr25)
local area26 = createCombatArea(arr26)
local area27 = createCombatArea(arr27)
local area28 = createCombatArea(arr28)
local area29 = createCombatArea(arr29)
local area30 = createCombatArea(arr30)
 
setCombatArea(combat1, area1)
setCombatArea(combat2, area2)
setCombatArea(combat3, area3)
setCombatArea(combat4, area4)
setCombatArea(combat5, area5)
setCombatArea(combat6, area6)
setCombatArea(combat7, area7)
setCombatArea(combat8, area8)
setCombatArea(combat9, area9)
setCombatArea(combat10, area10)
setCombatArea(combat11, area11)
setCombatArea(combat12, area12)
setCombatArea(combat13, area13)
setCombatArea(combat14, area14)
setCombatArea(combat15, area15)
setCombatArea(combat16, area16)
setCombatArea(combat17, area17)
setCombatArea(combat18, area18)
setCombatArea(combat19, area19)
setCombatArea(combat20, area20)
setCombatArea(combat21, area21)
setCombatArea(combat22, area22)
setCombatArea(combat23, area23)
setCombatArea(combat24, area24)
setCombatArea(combat25, area25)
setCombatArea(combat26, area26)
setCombatArea(combat27, area27)
setCombatArea(combat28, area28)
setCombatArea(combat29, area29)
setCombatArea(combat30, area30)
 
local function onCastSpell1(parameters)
    doCombat(parameters.cid, combat1, parameters.var)
end
 
local function onCastSpell2(parameters)
    doCombat(parameters.cid, combat2, parameters.var)
end
 
local function onCastSpell3(parameters)
    doCombat(parameters.cid, combat3, parameters.var)
end
 
local function onCastSpell4(parameters)
    doCombat(parameters.cid, combat4, parameters.var)
end
 
local function onCastSpell5(parameters)
    doCombat(parameters.cid, combat5, parameters.var)
end
 
local function onCastSpell6(parameters)
    doCombat(parameters.cid, combat6, parameters.var)
end
 
local function onCastSpell7(parameters)
    doCombat(parameters.cid, combat7, parameters.var)
end
 
local function onCastSpell8(parameters)
    doCombat(parameters.cid, combat8, parameters.var)
end
 
local function onCastSpell9(parameters)
    doCombat(parameters.cid, combat9, parameters.var)
end
 
local function onCastSpell10(parameters)
    doCombat(parameters.cid, combat10, parameters.var)
end
 
local function onCastSpell11(parameters)
    doCombat(parameters.cid, combat11, parameters.var)
end
 
local function onCastSpell12(parameters)
    doCombat(parameters.cid, combat12, parameters.var)
end
 
local function onCastSpell13(parameters)
    doCombat(parameters.cid, combat13, parameters.var)
end
 
local function onCastSpell14(parameters)
    doCombat(parameters.cid, combat14, parameters.var)
end
 
local function onCastSpell15(parameters)
    doCombat(parameters.cid, combat15, parameters.var)
end
 
local function onCastSpell16(parameters)
    doCombat(parameters.cid, combat16, parameters.var)
end
 
local function onCastSpell17(parameters)
    doCombat(parameters.cid, combat17, parameters.var)
end
 
local function onCastSpell18(parameters)
    doCombat(parameters.cid, combat18, parameters.var)
end
 
local function onCastSpell19(parameters)
    doCombat(parameters.cid, combat19, parameters.var)
end
 
local function onCastSpell20(parameters)
    doCombat(parameters.cid, combat20, parameters.var)
end
 
local function onCastSpell21(parameters)
    doCombat(parameters.cid, combat21, parameters.var)
end
 
local function onCastSpell22(parameters)
    doCombat(parameters.cid, combat22, parameters.var)
end
 
local function onCastSpell23(parameters)
    doCombat(parameters.cid, combat23, parameters.var)
end
 
local function onCastSpell24(parameters)
    doCombat(parameters.cid, combat24, parameters.var)
end
 
local function onCastSpell25(parameters)
    doCombat(parameters.cid, combat25, parameters.var)
end
 
local function onCastSpell26(parameters)
    doCombat(parameters.cid, combat26, parameters.var)
end
 
local function onCastSpell27(parameters)
    doCombat(parameters.cid, combat27, parameters.var)
end
 
local function onCastSpell28(parameters)
    doCombat(parameters.cid, combat28, parameters.var)
end
 
local function onCastSpell29(parameters)
    doCombat(parameters.cid, combat29, parameters.var)
end
 
local function onCastSpell30(parameters)
    doCombat(parameters.cid, combat30, parameters.var)
end
 
function onCastSpell(cid, var)
local parameters = { cid = cid, var = var}
addEvent(onCastSpell1, 100, parameters)
addEvent(onCastSpell2, 200, parameters)
addEvent(onCastSpell3, 300, parameters)
addEvent(onCastSpell4, 400, parameters)
addEvent(onCastSpell5, 500, parameters)
addEvent(onCastSpell6, 600, parameters)
addEvent(onCastSpell7, 700, parameters)
addEvent(onCastSpell8, 800, parameters)
addEvent(onCastSpell9, 900, parameters)
addEvent(onCastSpell10, 1000, parameters)
addEvent(onCastSpell11, 1100, parameters)
addEvent(onCastSpell12, 1200, parameters)
addEvent(onCastSpell13, 1300, parameters)
addEvent(onCastSpell14, 1400, parameters)
addEvent(onCastSpell15, 1500, parameters)
addEvent(onCastSpell16, 1600, parameters)
addEvent(onCastSpell17, 1700, parameters)
addEvent(onCastSpell18, 1800, parameters)
addEvent(onCastSpell19, 1900, parameters)
addEvent(onCastSpell20, 2000, parameters)
addEvent(onCastSpell21, 2100, parameters)
addEvent(onCastSpell22, 2200, parameters)
addEvent(onCastSpell23, 2300, parameters)
addEvent(onCastSpell24, 2400, parameters)
addEvent(onCastSpell25, 2500, parameters)
addEvent(onCastSpell26, 2600, parameters)
addEvent(onCastSpell27, 2700, parameters)
addEvent(onCastSpell28, 2800, parameters)
addEvent(onCastSpell29, 2900, parameters)
addEvent(onCastSpell30, 3000, parameters)
 
end
 
Hello sir! Could you please tell me the script that shoot exori con 3x... or and exori con hit all monsters in area :eek:
 
Hello sir! Could you please tell me the script that shoot exori con 3x... or and exori con hit all monsters in area :eek:

exori san
Lua:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 39)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -0.4, 0, -0.5, 0)

local distcombat1 = createCombatObject()
setCombatParam(distcombat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(distcombat1, COMBAT_PARAM_EFFECT, 39)
setCombatParam(distcombat1, COMBAT_PARAM_DISTANCEEFFECT, 30)
setCombatFormula(distcombat1, COMBAT_FORMULA_LEVELMAGIC, -0.4, 0, -0.5, 0)

local function onCastSpell1(parameters)
    doCombat(parameters.cid, distcombat1, parameters.var)
end

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var}
addEvent(onCastSpell1, 100, parameters)
addEvent(onCastSpell1, 200, parameters)
addEvent(onCastSpell1, 300, parameters)
addEvent(onCastSpell1, 400, parameters)
addEvent(onCastSpell1, 500, parameters)
addEvent(onCastSpell1, 600, parameters)
addEvent(onCastSpell1, 700, parameters)
addEvent(onCastSpell1, 800, parameters)
addEvent(onCastSpell1, 900, parameters)
addEvent(onCastSpell1, 1000, parameters)
end
´

exori con
Lua:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 27)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -0.4, 0, -0.5, 0)

local distcombat1 = createCombatObject()
setCombatParam(distcombat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(distcombat1, COMBAT_PARAM_EFFECT, 27)
setCombatParam(distcombat1, COMBAT_PARAM_DISTANCEEFFECT, 17)
setCombatFormula(distcombat1, COMBAT_FORMULA_LEVELMAGIC, -0.4, 0, -0.5, 0)

local function onCastSpell1(parameters)
    doCombat(parameters.cid, distcombat1, parameters.var)
end

function onCastSpell(cid, var)
local parameters = { cid = cid, var = var}
addEvent(onCastSpell1, 100, parameters)
addEvent(onCastSpell1, 200, parameters)
addEvent(onCastSpell1, 300, parameters)
addEvent(onCastSpell1, 400, parameters)
addEvent(onCastSpell1, 500, parameters)
addEvent(onCastSpell1, 600, parameters)
addEvent(onCastSpell1, 700, parameters)
addEvent(onCastSpell1, 800, parameters)
addEvent(onCastSpell1, 900, parameters)
addEvent(onCastSpell1, 1000, parameters)
end
 
REMEMBER you need to add in the sorce that this (mort area atk death with

What does that mean? and the first code you gave me its fine but it doesnt curses it just does no damage, and i dont care if the damage goes like poison bc i thought it was same as curse but curse the damage goes up like 400, 500, 600... that doesnt matter, can you add in the first lua code you gave me the damages curse are going to affect?
 
REMEMBER you need to add in the sorce that this (mort area atk death with

What does that mean? and the first code you gave me its fine but it doesnt curses it just does no damage, and i dont care if the damage goes like poison bc i thought it was same as curse but curse the damage goes up like 400, 500, 600... that doesnt matter, can you add in the first lua code you gave me the damages curse are going to affect?

well first of all its a not a code spell so i cudent make the 400-100
i recomend to make like a sword tex...

Do a new energy sword.lua (all this is down but make other names)

energy sword.lua

Lua:
local combat = createCombatObject()
local condition = createConditionObject(CONDITION_ENERGY)

setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HITBYENERGY)
 setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0.0, 0, 1.0, 0)

setConditionParam(condition, CONDITION_PARAM_DELAYED, 1)
addDamageCondition(condition, 1, 2000, -300)
setCombatCondition(combat, condition)
function onUseWeapon(cid, var)
	return doCombat(cid, combat, var)
end


death club.lua

Lua:
local combat = createCombatObject()
local condition = createConditionObject(CONDITION_POISON)

setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
 setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0.0, 0, 1.0, 0)

setConditionParam(condition, CONDITION_PARAM_DELAYED, 1)
addDamageCondition(condition, 1, 2000, -300)
setCombatCondition(combat, condition)
function onUseWeapon(cid, var)
	return doCombat(cid, combat, var)
end

fire axe.lua

Lua:
local combat = createCombatObject()
local condition = createConditionObject(CONDITION_FIRE)

setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_HITBYFIRE)
 setCombatFormula(combat, COMBAT_FORMULA_SKILL, 0.0, 0, 1.0, 0)

setConditionParam(condition, CONDITION_PARAM_DELAYED, 1)
addDamageCondition(condition, 1, 2000, -300)
setCombatCondition(combat, condition)
function onUseWeapon(cid, var)
	return doCombat(cid, combat, var)
end


Weapond.xml

PHP:
	</melee>
	<melee id="8932" range="1" level="100" mana="0" enabled="1" exhaustion="0" unproperly="1" script="energy sword.lua">
		<vocation name="Knight" />
		<vocation name="Elite Knight" />
		<vocation name="Super Knight" />
	</melee>
	<melee id="7434" range="1" level="100" mana="0" enabled="1" exhaustion="0" unproperly="1" script="fire axe.lua">
		<vocation name="Knight" />
		<vocation name="Elite Knight" />
		<vocation name="Super Knight" />
	</melee>
	<melee id="7429" range="1" level="100" mana="0" enabled="1" exhaustion="0" unproperly="1" script="death club.lua">
		<vocation name="Knight" />
		<vocation name="Elite Knight" />
		<vocation name="Super Knight" />
	</melee>
 
i edited the first script and now it works, if someone else wants to use it here it is


Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH)
local condition = createConditionObject(CONDITION_CURSED)
setConditionParam(condition, CONDITION_PARAM_DELAYED, 1)
addDamageCondition(condition, 10, [COLOR="Red"]2000[/COLOR], -[COLOR="red"]250[/COLOR])
setCombatCondition(combat, condition)

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

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


this spell curses the oponent so it does damage for a certain time doing a certain damage, in this case the damage it does each turn is 250 and the 2000 is the time it will take effect

i rep+ you for ur help :)
 
Last edited:
i edited the first script and now it works, if someone else wants to use it here it is


Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH)
local condition = createConditionObject(CONDITION_CURSED)
setConditionParam(condition, CONDITION_PARAM_DELAYED, 1)
addDamageCondition(condition, 10, [COLOR="Red"]2000[/COLOR], -[COLOR="red"]250[/COLOR])
setCombatCondition(combat, condition)

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

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


this spell curses the oponent so it does damage for a certain time doing a certain damage, in this case the damage it does each turn is 250 and the 2000 is the time it will take effect

i rep+ you for ur help :)



as a tbx i rep back ;)
 
Back
Top