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

Alright, I'm requesting a script that's 'exori hur' but it has 30% chance to make you stunned for 5 seconds :p, gl!

why woude i help you..... wont help you. :mad:

Erm. Do you even watch you scripts`? Or are you using a tool?




See what you missed?

yes haha did see it but i dont care he wanned me to fixx 1 bug and i did i.
 
now there is this error :(
Lua:
[15/10/2009 11:24:27] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/custom/exhaustion.lua)
[15/10/2009 11:24:27] data/spells/scripts/custom/exhaustion.lua:24: ']' expected near '='

yes haha did see it but i dont care he wanned me to fixx 1 bug and i did i.

pls make that the spell works if you know how
 
wlj Do you think you can do my script?

Because i think with the newest clients its not possible anymore to have spells that are level and magic level based together :(
 
now there is this error :(
Lua:
[15/10/2009 11:24:27] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/custom/exhaustion.lua)
[15/10/2009 11:24:27] data/spells/scripts/custom/exhaustion.lua:24: ']' expected near '='



pls make that the spell works if you know how

cant rly i dont know what you wanned the spell to look like lol?

Go Global.lua from a 0.2 server and in CONST_ME_
you write
CONST_ME_HOLY --exempel
CONST_ME_HEARTS
 
it should looks like exori but arrea should go bigger and bigger

Lua:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula[(combat5, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, CONST_ME_BUBBLES)
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat7 = createCombatObject()
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat7, COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat8 = createCombatObject()
setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat8, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -2.0, -Min, 2.0, Max)

local combat9 = createCombatObject()
setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat9, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -2.0, -Min, 2.0, Max)

local combat10 = createCombatObject()
setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat10, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -2.0, -Min, 2.0, Max)

arr1 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
}

arr2 = {
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
}


arr3 = {
{0, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 0, 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)
local area9 = createCombatArea(arr9)
local area10 = createCombatArea(arr10)
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)

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
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)
end
 
Hej :D
I need a second spell aswell

I want a spell thats same as Hells core aka exevo gran mas flam but much bigger
hellscore = 5x5 i think and my new spell should be like 10x10

I tryed to change that line at

Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_FIREAREA)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.6, -50, -1.8, 0)

local area = createCombatArea([B][SIZE="5"]AREA_CROSS5X5[/SIZE][/B])
setCombatArea(combat, area)

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

but it didnt work
So can you tell me what to do?

Thanks for you trying to help me <3
 
well i can try
local area = createCombatArea(AREA_SQUARE5X5)

or make a code of it.
 
Yes thank you !

Do you think its possible to make a spell that has an area like 10x10 and instead of making damage or something it creates magic wall all around you?
 
its a rune.
Lua:
	<rune name="Trapper" id="2272" charges="1" maglv="20" exhaustion="2000" blocktype="solid" allowfaruse="1" script="custom/trapper.lua"/>

script

Lua:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_HEARTS)
setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1498)

local arr = {
{1, 1, 1},
{1, 2, 1},
{1, 1, 1}
}

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

function onCastSpell(cid, var)
	return doCombat(cid, combat, var)
end
 
Lua:
[15/10/2009 18:49:37] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/custom/exhaustion.lua)
[15/10/2009 18:49:37] data/spells/scripts/custom/exhaustion.lua:24: ')' expected near ','

hope that you can finish this spell that it´s work
 
Lua:
[15/10/2009 18:49:37] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/custom/exhaustion.lua)
[15/10/2009 18:49:37] data/spells/scripts/custom/exhaustion.lua:24: ')' expected near ','

hope that you can finish this spell that it´s work

Lua:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, CONST_ME_BUBBLES)
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat7 = createCombatObject()
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat7, COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat8 = createCombatObject()
setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat8, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -2.0, -Min, 2.0, Max)

local combat9 = createCombatObject()
setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat9, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -2.0, -Min, 2.0, Max)

local combat10 = createCombatObject()
setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat10, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -2.0, -Min, 2.0, Max)

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


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

add 3 reps for this damn script..
 
sorry
Lua:
[16/10/2009 11:54:50] [Warning - Event::loadScript] Cannot load script (data/spells/scripts/custom/exhaustion.lua)
[16/10/2009 11:54:50] data/spells/scripts/custom/exhaustion.lua:24: ')' expected near ','
 
Lua:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, CONST_ME_BUBBLES)
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat7 = createCombatObject()
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat7, COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -2.0, -1.5, 2.0, 2)

local combat8 = createCombatObject()
setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat8, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -2.0, -Min, 2.0, Max)

local combat9 = createCombatObject()
setCombatParam(combat9, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat9, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat9, COMBAT_FORMULA_LEVELMAGIC, -2.0, -Min, 2.0, Max)

local combat10 = createCombatObject()
setCombatParam(combat10, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat10, COMBAT_PARAM_EFFECT, CONST_ME_GROUNDSHAKER)
setCombatFormula(combat10, COMBAT_FORMULA_LEVELMAGIC, -2.0, -Min, 2.0, Max)

dont make a messy code nexy time
 
Spell request

Hey wlj I've never made a spell be4 and was wondering if u could make me 4 spells should be pretty, seeing what u are able to make.

A knight spell for lvl 100 ml 9 with based on weapon dmg like exori gran just 1 sq more around the original exori gran like this:
xxxxx
xxxxx
xxxxx

one wave spell with same looktype as tera for druids and one wave spell with death. same as exevo vis hur I think this is correct:
xxx
xxxxx
xxx

and a paladin spell with holy dmg. Not as large as ue and not smaller then the exori spell, something like this:
.xxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
.xxxxx

or if u could explain a step by step trick to making spells if u can't be bothered making all these...
any help is appreciated <3
 
can you get me like 3 spells 1 for knight 1 for pally 1 for mages but i want em all to do like multiple attacks not just 1 and area effects think ya can do that?


knights want to do holy/death/physical
mages want to do holy/death/ice
paladins holy/physical/death

and make it like a pretty big aoe.
make it where it hits double damage 1 square in front of the player
think ya can do that for me :D
 
sry guys dont post here will retier from otland will only check some new scripts or somthing sometiems.
 
Back
Top