Burst Arrows

shakah
Por shakah
em xTibia - Notícias e Suporte

shakah

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 02/09/06Posts: 0

O npc que vende artigos de munição em geral, poderia vender burst arrows tambem não? :D

Dan Kumin

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 23/08/06Posts: 20Char no Tibia: Magmar Taladio

Sim, ele pode

mas você fez o post no local errado a proxima vez poste no lugar certo!

Proxima vez poste aqui ( http://www.xtibia.com/forum/index.php?showforum=4 )

vo resolve ja seu problema

:bigsmile:

va no script do seu vendedor de muniçao para pally e apague tudo e cole isto;

focus = 0

talk_start = 0

target = 0

following = false

attacking = false

function onThingMove(creature, thing, oldpos, oldstackpos)

end

function onCreatureAppear(creature)

end

function onCreatureDisappear(cid, pos)

  if focus == cid then

          selfSay('Good bye then.')

          focus = 0

          talk_start = 0

  end

end

function onCreatureTurn(creature)

end

function msgcontains(txt, str)

  return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)'))

end

function onCreatureSay(cid, type, msg)

  msg = string.lower(msg)

  if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then

    selfSay('Hello ' .. creatureGetName(cid) .. '! I sell arrows (150gps), bolts (200gps),  spears (500gps), Throwing Stars (200gps), Throwing Knifes (200gps), Poison Arrows (150gps), Burst Arrows (300gps) and Power Bolts (500gps), each have 100x, crossbows (200gps), bows (100gps)')

    focus = cid

    talk_start = os.clock()

  elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then

    selfSay('Sorry, ' .. creatureGetName(cid) .. '! I talk to you in a minute.')

  elseif focus == cid then

  talk_start = os.clock()

  if msgcontains(msg, 'throwing stars') then

  buy(cid,2399,100,200)

  elseif msgcontains(msg, 'throwing knifes') then

  buy(cid,2410,100,200)

  elseif msgcontains(msg, 'poison arrows') then

  buy(cid,2545,100,150)

  elseif msgcontains(msg, 'burst arrows') then

  buy(cid,2546,100,300)

  elseif msgcontains(msg, 'power bolts') then

  buy(cid,2547,100,500)

                                    elseif msgcontains(msg, 'bow') then

  buy(cid,2456,1,100)

                                    elseif msgcontains(msg, 'crossbow') then

  buy(cid,2455,1,200)

                                    elseif msgcontains(msg, 'arrows') then

  buy(cid,2544,100,150)

  elseif msgcontains(msg, 'bolts') then

  buy(cid,2543,100,200)

  elseif msgcontains(msg, 'spears') then

  buy(cid,2389,100,500)

  elseif msgcontains(msg, 'bye') and focus == cid and getDistanceToCreature(cid) < 4 then

  selfSay('Good bye, ' .. creatureGetName(cid) .. '!')

  focus = 0

  talk_start = 0

  end

end

end

function onCreatureChangeOutfit(creature)

end

function onThink()

  if (os.clock() - talk_start) > 30 then

    if focus > 0 then

    selfSay('Next Please...')

    end

    focus = 0

  end

  if focus ~= 0 then

  if getDistanceToCreature(focus) > 5 then

    selfSay('Good bye then.')

    focus = 0

  end

  end

end

espero ter te ajudado

:w4:

Meu Amigo?? Ou admira o que faço! Use minha Fan Bar.


Sou Fã de:



Sou:


Language

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 26/09/06Posts: 25

@Dan Kumin

Aprecio sua tentativa de ajudar ele, mas o que ele se refere é o servidor zartha.

www.zartha.com

@shakah

Amigo, não colocamos pois burst é uma flecha que dá muito dano, por isso não podemos desequilibrar as raças.

Assim todos teriam acesso e numa guerra, você morreria muito rápido.

Atenciosamente, Language

tibiaa4e

Ex amante de Tibia
avatar
Conde
Conde

INFOS

Grupo: CondeRegistrado: 18/12/05Posts: 912Gênero: MasculinoChar no Tibia: Kohzete

hmmm

uma dica é vc fazer igual eu vou fazer no meu servidor

faze tipo de uma djiin quest

elá os npc venderem e comprarem + armamentos...

seria legal

Aposentado de OTserver e Tibia

Meus melhores tutoriais
Enciclopédia Pasta Data
Tutorial de quest

victor bacchi

avatar
Barão
Barão

INFOS

Grupo: BarãoRegistrado: 11/09/06Posts: 202
hmmm

uma dica é vc fazer igual eu vou fazer no meu servidor

faze tipo de uma djiin quest

elá os npc venderem e comprarem + armamentos...

seria legal

 

175588[/snapback]

 

 

 

Por favor você ja percebeu este forum é sobre o servidor zartha que foi concedido pelo xtibia o Language

Está certo pois um sorcerer ficaria basicamente invencivel pois tiraria muito dano na sd ou explosion ou gfb não dando chances a outras vocaçoes por isso existem players palladinos que podem faser burst arrows.

Abraços

//Bacchi

Conheça o Marujos Marotos!

marujo.jpg

tibiaa4e

Ex amante de Tibia
avatar
Conde
Conde

INFOS

Grupo: CondeRegistrado: 18/12/05Posts: 912Gênero: MasculinoChar no Tibia: Kohzete

é

vcs tem um projeto

boa sorte para o zartha

Aposentado de OTserver e Tibia

Meus melhores tutoriais
Enciclopédia Pasta Data
Tutorial de quest

victor bacchi

avatar
Barão
Barão

INFOS

Grupo: BarãoRegistrado: 11/09/06Posts: 202
é

vcs tem um projeto

boa sorte para o zartha

 

176339[/snapback]

 

 

 

Obrigado!

e é verdade o projeto zartha cada veis crece mais...

:w4:

Abraços.

//Bacchi

Conheça o Marujos Marotos!

marujo.jpg