Hello everyone
To complement my love for cats (and my name Mewclops, which is derived from Meowclops), I've written a script for a spell Songs of the Feline with spell words exevo gran mas meow.
I scripted it for a server where people could get up to level 500k in a matter of days, so remember to change the damage, level and manacost values. Of course, if its good, you could rep me
Here it is:
Then remember to add this into your spells.xml file, and change the values.
To complement my love for cats (and my name Mewclops, which is derived from Meowclops), I've written a script for a spell Songs of the Feline with spell words exevo gran mas meow.
I scripted it for a server where people could get up to level 500k in a matter of days, so remember to change the damage, level and manacost values. Of course, if its good, you could rep me
Here it is:
Code:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.2, 0, -2.5, 0)
local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_DROWNDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, CONST_ME_BUBBLES)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1.8, 0, -2.5, 0)
local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, CONST_ME_SOUND_RED)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1.8, 0, -2.7, 0)
local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, CONST_ME_SOUND_BLUE)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -2.0, 0, -2.3, 0)
local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, CONST_ME_SOUND_PURPLE)
setCombatParam(combat5, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -1.8, 0, -2.3, 0)
local combat6 = createCombatObject()
setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat6, COMBAT_PARAM_EFFECT, CONST_ME_SOUND_YELLOW)
setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -1.8, 0, -2.3, 0)
local combat7 = createCombatObject()
setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
setCombatParam(combat7, COMBAT_PARAM_EFFECT, CONST_ME_SOUND_WHITE)
setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -1.8, 0, -2.3, 0)
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, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 1, 1, 1, 3, 1, 1, 1, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 0, 0, 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},
}
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, 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},
{0, 0, 1, 1, 1, 3, 1, 1, 1, 0, 0},
{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 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1 = 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)
setCombatArea(combat1, area1)
setCombatArea(combat2, area2)
setCombatArea(combat3, area3)
setCombatArea(combat4, area4)
setCombatArea(combat5, area5)
setCombatArea(combat6, area6)
setCombatArea(combat7, area7)
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
function onCastSpell(cid, var)
local parameters = { cid = cid, var = var}
addEvent(onCastSpell1, 123, parameters)
addEvent(onCastSpell2, 234, parameters)
addEvent(onCastSpell3, 345, parameters)
addEvent(onCastSpell4, 456, parameters)
addEvent(onCastSpell5, 567, parameters)
addEvent(onCastSpell6, 678, parameters)
addEvent(onCastSpell7, 789, parameters)
return true
end
Then remember to add this into your spells.xml file, and change the values.
Code:
<instant name="Songs of the Feline" words="exevo gran mas meow" lvl="20000" mana="7000" prem="0" selftarget="1" exhaustion="2000" needlearn="0" event="script" value="custom/exevo gran mas meow.lua">
<vocation name="Paladin"/>
<vocation name="Royal Paladin"/>
</instant>