- 0
Queria Dois Npcs Com Td Prontinho
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
-
Conteúdo Similar
-
- 2 respostas
- 118 visualizações
-
- 2 respostas
- 724 visualizações
-
script alguém pode me ajudar nessa spells aqui, queira que colocassem pro meu personagem ficar inatingível por 6 segundos e podendo atacar livremente
Por lazaroszz,
- 0 respostas
- 494 visualizações
-
- 0 respostas
- 1188 visualizações
-
Pergunta
SirMarrone 1
Eae galera Xtibiana
gostaria de pedir dois NPC's
um deles compra tds as armas do tibia
e o outro compra tds armor legs boots shield helmets
bom eu tava editando mas puis no script dele e assim ele n vende malz mas to mt muido de mexe no ot
e queria q uma janta alma me salvase e fizese isso pra mim
ta assim no meu script dos weapon
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
-- Don't forget npcHandler = npcHandler in the parameters. It is required for all StdModule functions!
keywordHandler:addKeyword({'swords'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy giant (10k), bright (6k), epee (25k), pharaoh sword (50k), djinn blade (30k), demonrage sword (40k), avanger (25k), relic sword (30k), mystic blade (50k), mercenary sword (50k), justice seeker (60k),thaian sword (20k), berserker (40k), assassin dagger (25k), havoc blade (50k), runed sword (20k), fire (3k) serpent (1.5k), spike (800gp) and two handed swords (400gp), also ice rapiers (4k), magic longswords (150k), magic swords (90k), warlord swords (100k) broad swords (70gp), short swords (30gp), sabres (25gp) and swords (25gp).'})
keywordHandler:addKeyword({'axes'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy fire (10k), great axe (35k), guardian halberd (20k), war axe (5k), vile axe (50k), ornamented axe (50k), royal axe (70k), guardian halberds (7,5k) knight (2k), double (200gp) and battle axes (100gp), also dragon lances (10k), stonecutters axes (90k), halberds (200gp) and hatchets (20gp).'})
keywordHandler:addKeyword({'clubs'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy thunder hammers (90k), war (6k), dragon (2k) and battle hammers (60gp), spiked squelcher (10k), abyss hammer (50k), onyx flail (30k), jade hammer (40k), also skull staffs (10k) and clerical maces (200gp).'})
e assim o script do armor
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
-- Don't forget npcHandler = npcHandler in the parameters. It is required for all StdModule functions!
keywordHandler:addKeyword({'helmets'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy golden helmet (100k),royal (40k), demon helmet(50k), skull helmet (50k), terra hood (10k), lightnig headband (10k), glacier mask (10k), magima monocle (10k), warrior (6k), crusader (9k), crown (5k), devil (1k), chain (35gp) and iron helmets (30gp), also mystic turbans (500gp).'})
keywordHandler:addKeyword({'boots'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy golden boots (100k), terra boots (10k), magma boots (10k), glacier shoes (10k) lighting boots (10k), steel boots (40k) and boots of haste (40k).'})
keywordHandler:addKeyword({'armors'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy demon armor (200k), elven mail (20k), terra mantle (20k), glacier robe (20k), lightning robe (20k), magma coat (20k), greenwood coat (50k), focus cape (9k), golden (30k), crown (20k), knight (5k), lady (7,5k), plate (400gp), brass (200gp) and chain armors (100gp), also mpa (100k), dsm (60k) and blue robes (15k).'})
keywordHandler:addKeyword({'legs'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy golden (80k), demon legs (200k), terra legs (20k), magma legs (20k), blue legs (15k), lightning legs (20k), glacier kilt (20k), crown (15k), knight (6k), plate (500gp) and brass legs (100gp).'})
keywordHandler:addKeyword({'shields'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I buy blessed (150k), great (100k), demon (40k), vampire (25k), medusa (8k), amazon (4k), crown (5k), tower (4k), dragon (3k), guardian (2k), beholder (1k), and dwarven shields (100gp), also mms (80k).'})
npcHandler:addModule(FocusModule:new())
gente sei q deveria ter posto no npc e tals com id e td
mas to mauzao
ae pra dexar meu ot é 9.6 se puderem do REP +
agradeço
Link para o comentário
Compartilhar em outros sites
4 respostass a esta questão
Posts Recomendados