Ir para conteúdo

3 Magias Igual Subwat Protocolo 8.4


SkyDarkness

Posts Recomendados

Olá, Xtibianos

Venho Pedido 4 Magias do Subwat 8.60 mais meu otserv quer to editando é 8.4 mais Quero quer troce o Nome

 

 

Qual Magias

 

Heal editeds Quero que ela duas ixear mais quer o normal Tipo +1000000000000 Entedeu?(Troque Nome Por Exurapexia)

Mana Editeds (Troque Nome Por Manapexia)

Morre Fdp Ou Emo (Não Quero quer troce)

+ Uma Quer Eu Esquece é Utevo Maximus Lux (Eu Não Sei Escrever Direito mais axo que v6s entederão)

 

 

Quem Mem Ajuda Rep+

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

deixa eu entender?

voce quer 1 magia q heala 2x 100000000 de life?

e a mana? qt?

o morre emo é pra se rigual?

e es aultima amgai é de luz?

 

jaja edito e ponho os spells.

 

olha tentei fazer oq vc pediu

veja se ta certo

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)

setCombatParam(combat, COMBAT_PARAM_EFFECT, 6)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -600.0, -507, -100.0, -1000)

 

local arr= {

{0,0,0,0,0,1,0,0,0,0,0},

{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},

{0,0,0,0,0,1,0,0,0,0,0},

}

 

local area = createCombatArea(arr)

setCombatArea(combat, area)

 

function onCastSpell(cid, var)

doSendAnimatedText(getThingPos(cid), 'MORRE EMO', 70)

return doCombat(cid,

combat, var)

end

 

 

e poe isso em spells.xml

 

 

<instant name="MORRE EMO" words="morre emo" lvl="500" mana="700" prem="0" exhaustion="1000" needlearn="0" script="attack/morreemo.lua">

</instant>

 

 

e a heal editeds nao entendi oq vc kiz dizer entao fiz assim

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING)

setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)

setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)

setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, 1000000000, 0, 1000000000)

 

function onCastSpell(cid, var)

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "HEAL EDITED")

return doCombat(cid, combat, var)

end

 

 

e em spells.xml

 

<instant name="HEAL EDITEDS" words="heal editeds" lvl="20000" mana="1000" aggressive="0" selftarget="1" exhaustion="2500" needlearn="0" event="script" value="healing/healediteds.lua">

</instant>

 

 

o mana editeds

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN)

setCombatParam(combat, COMBAT_PARAM_EFFECT, 31)

setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1)

setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0)

setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0, 9000000, -0, 9000000)

 

function onCastSpell(cid, var)

return doCombat(cid, combat, var)

end

 

 

 

e em spells.xml

 

<instant name="MANA EDITEDS" words="mana editeds" lvl="20000" mana="1000" aggressive="0" selftarget="1" exhaustion="2500" needlearn="0" event="script" value="healing/manaediteds.lua">

</instant>

 

 

e a maximus lux

 

local combat = createCombatObject()

setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED)

setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false)

 

local condition = createConditionObject(CONDITION_LIGHT)

setConditionParam(condition, CONDITION_PARAM_LIGHT_LEVEL, 25)

setConditionParam(condition, CONDITION_PARAM_LIGHT_COLOR, 140)

setConditionParam(condition, CONDITION_PARAM_TICKS, 33 * 60 * 1000)

setCombatCondition(combat, condition)

 

function onCastSpell(cid, var)

doSendAnimatedText(getThingPos(cid), 'LIGHT', 70)

return doCombat(cid, combat, var)

end

 

 

 

e em spells.xml

 

<instant name="Utevo Maximus Lux" words="utevo maximus lux" lvl="200" mana="300" prem="0" aggressive="0" selftarget="1" exhaustion="1000" needlearn="0" event="script" value="support/hyperlight.lua">

</instant>

 

 

vc sabe colokar em arquivos lua renomear e colocar funcionando nér?

se nao sober fala ae

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

  • 2 weeks later...
×
×
  • Criar Novo...