• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Spell Angel Breath

GangsteR

RPG Maker
Joined
Jul 1, 2007
Messages
815
Reaction score
2
Location
Turkiye
This time i am posting Angel Breath spell. Have fun ! :thumbup:

2qxcad0.png

1672n14.png

fk62h1.png


This is same spell, just showing effects xD

Ok since you professional at copy,paste here we go;

Angel Breath.lua ;

PHP:
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat1, COMBAT_PARAM_EFFECT, 39)
setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -1.3, -50, -1.5, 0)

local combat2 = createCombatObject()
setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat2, COMBAT_PARAM_EFFECT, 39)
setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -1.3, -50, -1.5, 0)

local combat3 = createCombatObject()
setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat3, COMBAT_PARAM_EFFECT, 39)
setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -1.3, -50, -1.5, 0)

local combat4 = createCombatObject()
setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat4, COMBAT_PARAM_EFFECT, 39)
setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -1.3, -50, -1.5, 0)

local combat5 = createCombatObject()
setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat5, COMBAT_PARAM_EFFECT, 49)
setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -1.3, -50, -1.5, 0)

local combat6 = createCombatObject()
setCombatParam(combat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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, 1, 1, 1, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 3, 1, 1, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 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},
}

local area1 = createCombatArea(arr1)
local area2 = createCombatArea(arr2)
local area3 = createCombatArea(arr3)
local area4 = createCombatArea(arr4)
local area5 = createCombatArea(arr5)
local area6 = createCombatArea(arr6)
setCombatArea(combat1, area1)
setCombatArea(combat2, area2)
setCombatArea(combat3, area3)
setCombatArea(combat4, area4)
setCombatArea(combat5, area5)
setCombatArea(combat6, area6)

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
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)

end
In spells.xml ;

PHP:
    <instant name="Angel Breath" words="exevo san anhelitus" lvl="70" mana="400" prem="1" selftarget="1" exhaustion="2000" needlearn="0" event="script" value="Angel Breath.lua">
        <vocation name="Royal Paladin"/>
    </instant>
 
Should be "Angels Breath" :)
Nice Anyways :D:D!!
 
COMBAT_FORMULA_LEVELMAGIC, -1.3, -50, -1.5, 0)

I was wondering about the Fat printed line, What does the -1,3 change to the damage the -50, the -1,5 and the 0 So what will happen if I change 1 of these, like is the 1,3 standing for magic level or level or your distance skill, or the weapon ur using. So my qeustion is what does each number stand for? CauseI would like to make some of my spells stronger but im trying to figure out how...
 
Your spells has no exhausted in 0.3.4 os is that only me? Your every spell..
 
Back
Top