Ir para conteúdo

Novas Magias Legais E Diferentes


Posts Recomendados

Hoje vamos a faser uma magia loquera para os paladin =D

 

 

Essas Magias Sao muito locas =D porque o dano depende do ml e segue o cara o.O

 

 

OK Vamos ao uq interessa

 

 

Explosion Arrow

 

 

post-130476-1210117951_thumb.jpg

 

 

 

Script da Spell

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, 6)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

 

 

 

 

local combatDist = createCombatObject()

setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 6)

setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_BURSTARROW)

setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

 

 

 

function onCastSpell(cid, var)

local target = getCreatureTarget(cid)

if(target ~= 0) then

return doCombat(cid, combatDist, numberToVariant(target))

end

return doCombat(cid, combat, var)

end

 

Agora no Spell.xml adicione

 

<instant name="explosion arrow" words="explosion arrow" aggressive="0" direction="1" lvl="10" maglv="0" mana="15" soul="0" exhaustion="1" prem="0" enabled="1" script="explosion arrow.lua"><vocation id="3"/></instant>

 

 

Agora Arrow Energy o.O

 

post-130476-1210118183_thumb.jpg

 

 

 

Agora Devolta o Script da Arrow Energy :)

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, 40)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.4, -300, -3.5, 0)

 

 

 

 

local combatDist = createCombatObject()

setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 40)

setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL)

setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

 

 

 

function onCastSpell(cid, var)

local target = getCreatureTarget(cid)

if(target ~= 0) then

return doCombat(cid, combatDist, numberToVariant(target))

end

return doCombat(cid, combat, var)

end

 

 

Agora no Spell.xml adicione

 

<instant name="Arrow Energy" words="arrow energy" aggressive="0" direction="1" lvl="10" maglv="0" mana="15" soul="0" exhaustion="1" prem="0" enabled="1" script="Arrow Energy.lua"><vocation id="3"/></instant>

 

 

E por ultimo Arrow Poison =x

 

 

post-130476-1210118475_thumb.jpg

 

 

 

Agora Devolta o Script da Arrow Poison T.T

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, 20)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -3.5, 0)

 

 

 

 

local combatDist = createCombatObject()

setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 20)

setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_POISONARROW)

setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

 

 

 

function onCastSpell(cid, var)

local target = getCreatureTarget(cid)

if(target ~= 0) then

return doCombat(cid, combatDist, numberToVariant(target))

end

return doCombat(cid, combat, var)

end

 

 

Agora no Spell.xml adicione

 

<instant name="Arrow Poison" words="arrow poison" aggressive="0" direction="1" lvl="10" maglv="0" mana="15" soul="0" exhaustion="1" prem="0" enabled="1" script="Arrow Poison.lua"><vocation id="3"/></instant>

 

 

Creditos: Todo meu :)

 

Se alguem quiser que eu faça outros tipos eu faço com espada,club,axe vuando =D case todas as arrows me add ai no msn eduardo_hafemann@hotmail.com que tentarei ajudalos ^^

 

E bom proveito qualquer duvida post ai :smile_positivo:

Editado por PandaofDarkness
Link para o comentário
Compartilhar em outros sites

  • 3 weeks later...

hum... lglzinho ;]

vo por no meu enfoo...

cara.. soh tem uma coisa, a energy arrow takando energy ball n tem nda a ve ^.-

bota isso :

setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, 32)

 

assim acho q funfa... vai takar uma flasharrow

Link para o comentário
Compartilhar em outros sites

  • 4 weeks later...
  • 5 months later...

Hoje vamos a faser uma magia loquera para os paladin =D

 

 

Essas Magias Sao muito locas =D porque o dano depende do ml e segue o cara o.O

 

 

OK Vamos ao uq interessa

 

 

Explosion Arrow

 

 

post-130476-1210117951_thumb.jpg

 

 

 

Script da Spell

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, 6)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

 

 

 

 

local combatDist = createCombatObject()

setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 6)

setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_BURSTARROW)

setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

 

 

 

function onCastSpell(cid, var)

local target = getCreatureTarget(cid)

if(target ~= 0) then

return doCombat(cid, combatDist, numberToVariant(target))

end

return doCombat(cid, combat, var)

end

 

Agora no Spell.xml adicione

 

<instant name="explosion arrow" words="explosion arrow" aggressive="0" direction="1" lvl="10" maglv="0" mana="15" soul="0" exhaustion="1" prem="0" enabled="1" script="explosion arrow.lua"><vocation id="3"/></instant>

 

 

Agora Arrow Energy o.O

 

post-130476-1210118183_thumb.jpg

 

 

 

Agora Devolta o Script da Arrow Energy :)

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, 40)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.4, -300, -3.5, 0)

 

 

 

 

local combatDist = createCombatObject()

setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 40)

setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL)

setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

 

 

 

function onCastSpell(cid, var)

local target = getCreatureTarget(cid)

if(target ~= 0) then

return doCombat(cid, combatDist, numberToVariant(target))

end

return doCombat(cid, combat, var)

end

 

 

Agora no Spell.xml adicione

 

<instant name="Arrow Energy" words="arrow energy" aggressive="0" direction="1" lvl="10" maglv="0" mana="15" soul="0" exhaustion="1" prem="0" enabled="1" script="Arrow Energy.lua"><vocation id="3"/></instant>

 

 

E por ultimo Arrow Poison =x

 

 

post-130476-1210118475_thumb.jpg

 

 

 

Agora Devolta o Script da Arrow Poison T.T

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, 20)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -3.5, 0)

 

 

 

 

local combatDist = createCombatObject()

setCombatParam(combatDist, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)

setCombatParam(combatDist, COMBAT_PARAM_EFFECT, 20)

setCombatParam(combatDist, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_POISONARROW)

setCombatFormula(combatDist, COMBAT_FORMULA_LEVELMAGIC, -0.4, -30, -0.5, 0)

 

 

 

function onCastSpell(cid, var)

local target = getCreatureTarget(cid)

if(target ~= 0) then

return doCombat(cid, combatDist, numberToVariant(target))

end

return doCombat(cid, combat, var)

end

 

 

Agora no Spell.xml adicione

 

<instant name="Arrow Poison" words="arrow poison" aggressive="0" direction="1" lvl="10" maglv="0" mana="15" soul="0" exhaustion="1" prem="0" enabled="1" script="Arrow Poison.lua"><vocation id="3"/></instant>

 

 

Creditos: Todo meu :)

 

Se alguem quiser que eu faça outros tipos eu faço com espada,club,axe vuando =D case todas as arrows me add ai no msn eduardo_hafemann@hotmail.com que tentarei ajudalos ^^

 

E bom proveito qualquer duvida post ai :smile_positivo:

 

 

Mano ceu mt ROX

 

soh tah faltando de KINA e DRUID neah?

 

sahsuahasu

 

tu eh FODA

Link para o comentário
Compartilhar em outros sites

Cara muito bom você trazer isso pro Xtibia, nunca havia visto antes essas Spells, só nao adiciono no meu OT pq meu OT é xp 300, ninguém irá usar essas magias que são fracas, nem mesmo deixando mais forte, porque gostam de magia com ataque de grande área. Mas muito bom ai sua dedicação e paciência de postá-las.

//Aprovado.

 

 

//WorM.~~

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...