Magia De Ataque

Gm Dudu
em Globalevents e Spells

Gm Dudu

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 28/08/06Posts: 75

Exclusivo uma runa novinha !

acabou de ser feita !

Estou pondo para o publico pela primeira vez minha mais nova criação

Entaum vamos la !

Essa runa é muito boa pra pvp-enforced eu suponho mais acho que é muito

boa tb pra server comuns pvp e non-pvp

Abra a pasta do seu otserver dpois vá em data/spells/intants ai vc copia qualquer arquivo que que tenha lá, apaga tudo que tiver dentro do arquivo que vc copiou, dpois vc

copia oq tem abaixo dentro do documento que vc copiou

 

area = { {0, 1, 0}, {1, 1, 1}, {0, 1, 0} } attackType = ATTACK_PHYSICAL needDirection = true areaEffect = NM_ME_EXPLOSION_AREA animationEffect = NM_ANI_FIRE hitEffect = NM_ME_EXPLOSION_DAMAGE damageEffect = NM_ME_DRAW_BLOOD animationColor = RED offensive = true drawblood = true        HealFriendObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)    SubHealFriendObject1 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, minDmg, maxDmg)    SubHealFriendObject2 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 1000, 1000)        function onCast(cid, creaturePos, level, maglv, var)    centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z} targetpos = getPosition(var)    HealFriendObject.minDmg = (level * 2 + maglv * 3) * 3    HealFriendObject.maxDmg = (level * 2 + maglv * 3) * 3 + 40        if targetpos.x ~= nil and targetpos.z ~= nil and targetpos.y ~= nil then   	 if math.abs(targetpos.x - centerpos.x) < 18 and math.abs(targetpos.y - centerpos.y) < 14 and targetpos.z == centerpos.z then      return doTargetMagic(cid, targetpos, HealFriendObject:ordered())   	 end    end        return false    end      

 

agora vai em:

a pasta do seu ot/data/spells/spells.xml ai add essa linha em spells instantaneas

 

<spell name="Explo" words="explo sio" maglv="10" mana="1000" enabled="1">  <vocation id="1" />   <vocation id="2" />   </spell>

 

Pronto ! agora vc tem a spells rodando...

como ussa-la: vc escolhe o player que vc quer atacar e siga o exemplo

EX: explo sio "player

Pronto, acabo as coisas boas sem acabão rapido... :rolleyes:

Vlw ! espero ter ajudado com mais esse post inedito ;D

Abraçusss :bye:


"Tudo tem um ponto fraco, o xtibia por exemplo, é a equipe."
gmduduvs6.jpg
~Spectrus ~ | ~ Wey.Ctba~

~Skills Por Alavanca~

~É meu fan?~

Fan Bars
\fanbfc1.gif/
\1594.jpg/
\weyfancopycq5.jpg/



Somos Contra o Aquecimento Global
Dudu

God Tarzan

Banido
avatar
Banidos
Banidos

INFOS

Grupo: BanidosRegistrado: 25/09/06Posts: 10

pUTS NAUM MAJO COMO COLOKO..AEW DEPOIS AJUDA AEW FALOWS

[ASSINATURA REMOVIDA, FORA DAS REGRAS]

ruzin

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 08/09/06Posts: 1

awe manow nao emtendi como coloka essa mgia

mas ta muito paressida com q a q mew primo feiz

flws manow

afk

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 22/12/05Posts: 43

Man n ta funfando aqui

explica melhor

Procuro equipe. Trabalhos abaixo
___________________________________________________
Faço Trabalhos de:
user posted image
user posted image


SUPORTE - MSN = GABIRU_8@HOTMAIL.COM

STATUS: ONLINE


___________________________________________________

user posted image
user posted image
user posted image
user posted image


Posts
[10]X
[50]X
[100]X
[150]X
[200]X
[250]X
[300]X
[350]X
[400]X
[500]

Noxidy__

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 11/09/06Posts: 87

bouaaa

magia

cara

se manja nisso vei >)

noxxxdlm8.jpg

Sou:
64zw4.jpg

NPC MAKER

Contact me:
j.jungblut@hotmail.com

afk

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 22/12/05Posts: 43

ae brother n consegui vc vai me ajuda ou n?

Procuro equipe. Trabalhos abaixo
___________________________________________________
Faço Trabalhos de:
user posted image
user posted image


SUPORTE - MSN = GABIRU_8@HOTMAIL.COM

STATUS: ONLINE


___________________________________________________

user posted image
user posted image
user posted image
user posted image


Posts
[10]X
[50]X
[100]X
[150]X
[200]X
[250]X
[300]X
[350]X
[400]X
[500]

Gm Dudu

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 28/08/06Posts: 75

@afk

ae brother n consegui vc vai me ajuda ou n?

 

 

 

Malz... eu andei meio afastado !

desculpa aee pessoal

é mt simples ela é iqual a todas as magias porfavor expacifica mais emq vc ta com duvida...

flw

@Noxidy__ Vlw Obrigado pelo elogio, entendo de tudo um poco

@ruzin posta sua duvida porfavor...

Atenciosamente, Dudu :bye:


"Tudo tem um ponto fraco, o xtibia por exemplo, é a equipe."
gmduduvs6.jpg
~Spectrus ~ | ~ Wey.Ctba~

~Skills Por Alavanca~

~É meu fan?~

Fan Bars
\fanbfc1.gif/
\1594.jpg/
\weyfancopycq5.jpg/



Somos Contra o Aquecimento Global
Dudu

Greh

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 10/06/06Posts: 87

Olá Galera!

Bom, a Magia está boa, mas alguns não conseguiram fazer funcionar, reveja o q vc botou ai...

Vou tentar ajudar!

Tentem Assim!

 

area = {{0, 1, 0},{1, 1, 1},{0, 1, 0}}attackType = ATTACK_PHYSICALneedDirection = trueareaEffect = NM_ME_EXPLOSION_AREAanimationEffect = NM_ANI_FIREhitEffect = NM_ME_EXPLOSION_DAMAGEdamageEffect = NM_ME_DRAW_BLOODanimationColor = REDoffensive = truedrawblood = true      HealFriendObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0)   SubHealFriendObject1 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, minDmg, maxDmg)   SubHealFriendObject2 = MagicDamageObject(attackType, NM_ANI_NONE, NM_ME_NONE, damageEffect, animationColor, offensive, drawblood, 1000, 1000)      function onCast(cid, creaturePos, level, maglv, var)   centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z} targetpos = getPosition(var)   HealFriendObject.minDmg = (level * 2 + maglv * 3) * 3   HealFriendObject.maxDmg = (level * 2 + maglv * 3) * 3 + 40      if targetpos.x ~= nil and targetpos.z ~= nil and targetpos.y ~= nil then    if math.abs(targetpos.x - centerpos.x) < 18 and math.abs(targetpos.y - centerpos.y) < 14 and targetpos.z == centerpos.z then     return doTargetMagic(cid, targetpos, HealFriendObject:ordered())    end   end      return false   end    

 

skynagerloas

Ex-Moderador
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 13/11/05Posts: 715Char no Tibia: Lord'Skyxt

Tópico contendo somente 1 ou 2 Spells,

essa seção é para DataPacks com 3 ou mais Npcs,

~o{Tópico Movido}o~,

Abraços.

Atenciosamente, Sky - Lord'Skyxt;

 

Antes de postar, leia isso:



Regras.

[Lord'SkyXT] [FloGão]