Ir para conteúdo

2 Npcs Que Compram Armas E Armaduras


SirMarrone

Posts Recomendados

Bom pessoal

eu mesmo fiz

ae n me do mt bem com area malz

tentar prestar mais atenção

 

aki vai meus npcs que criaei mo xatice

se alguem quiser usar esta aqui

Comprador de armas

 

 

<?xml version="1.0" encoding="UTF-8"?>

<npc name="Comprador de Armas" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">

<health now="150" max="150"/>

<look type="103" head="0" body="0" legs="0" feet="0" addons="0"/>

<parameters>

<parameter key="module_shop" value="1"/>

<parameter key="message_greet" value="Opa! |PLAYERNAME|. Compro swords, clubs, axes, traga o quanto puder pois compro todas."/>

<parameter key="shop_sellable" value="fire sword,2392,4000;giant sword,2393,10000;bright sword,2407,10000;epee,2438,25000;pharaoh sword,2446,30000;djunn blade,2451,25000;avenger,6528,20000;demonrage sword,7382,40000;relic sword,7383,20000;mystic blade,7384,40000;mercenary sword,7386,20000;justice seeker,7390,60000;thaian sword,7391,30000;dragon slayer,7402,15000;berserker,7403,40000;assassin dagger,7404,15000;thunder hammer,2421,80000;clerical mace,2423,500;silver mace,2424,20000;dragon hammer,2434,2000;skull staff,2436,4000;hammer of wrath,2444,80000;crystal mace,2445,10000;heavy mace,2452,5000;arcane staff,2453,25000;mammoth whopper,7381,40000;orcish maul,7392,30000;sapphire hammer,7437,50000;shadow sceptre,7451,30000;spiked squelcher,7452,5000;onyx flail,7421,25000;dragon lance,2414,10000;great axe,2415,20000;guardian halberd,2428,10000;knight axe,2430,2000;fire axe,2432,10000;stonecutter axe,2431,80000;war axe,2454,4000;heroic axe,7389,20000;ornamented axe,7411,40000;titan axe,7413,5000;royal axe,7434,50000;hellforged axe,8924,50000;solar axe,8925,50000;epiphany,8931,80000"/>

</parameters>

</npc>

 

 

Comprador de Armaduras

 

 

<?xml version="1.0" encoding="UTF-8"?>

<npc name="Comprador de Armas" script="data/npc/scripts/default.lua" walkinterval="2000" floorchange="0">

<health now="150" max="150"/>

<look type="104" head="0" body="0" legs="0" feet="0" addons="0"/>

<parameters>

<parameter key="module_shop" value="1"/>

<parameter key="message_greet" value="Opa! Tudo Bem? |PLAYERNAME|. Compro Armors, Boots, Legs, Shield e Helmets traga o quanto puder pois compro todas."/>

<parameter key="shop_sellable" value="helmet of the ancients,2342,50000;helmet of the ancients,2343,50000;devil helmet,2462,4000;golden helmet,2471,100000;winged helmet,2474,100000;warrior helmet,2475,5000;crown helmet,2491,2000;demon helmet,2493,50000;horned helmet,2496,60000;crusader helmet,2497,6000;royal helmet,2498,40000;hat of the mad,2323,8000;skull helmet,5741,50000;terra legs,7885,15000;terra hood,7903,5000;lightning helmet,7901,5000;glacier mask,7902,5000;magma monocle,7900,5000;yalahari mask,9778,50000;golden armor,2466,40000;magic plate armor,2472,120000;knight armor,2476,5000;crown armor,2487,15000;dragon scale mail,2492,40000;demon armor,2494,80000;amazon armor,2500,50000;blue robe,2656,10000;terra mantle,7884,20000;glacier robe,7897,20000;lightning robe,7898,20000;magma coat,7899,20000;dragon robe,8867,20000;greenwood coat,8869,40000;focus cape,8871,9000;lavos armor,8877,20000;crystalline armor,8878,20000;voltage armor,8879,20000;swamplair armor,8880,20000;fireborn giant armor,8881,100000;eathborn titan armor,8882,100000;windborn colossus armor,8883,100000;oceanborn leviathan armor,8884,20000;divine plate,8885,20000;molden plate,8886,20000;frozen plate,8887,20000;master archer's armor,8888,100000;skullcracker armor,8889,40000;robe of the underworld,8890,40000;paladin armor,8891,20000;yalahari armor,9776,50000;golden legs,2470,50000;knight legs,2477,5000;demon legs,2495,100000;crown legs,2488,14000;terra legs,7885,15000;magma legs,7894,15000;lightning legs,7895,15000;glacier kilt,7896,15000;blue legs,7730,20000;steel boots,2645,30000;golden boots,2646,50000;terra boots,7886,10000;magma boots,7891,10000;glacier shoes,7892,10000;lightning boots,7893,10000;mastermind shield,2514,80000;guardian shield,2515,2000;dragon shield,2516,4000;crown shield,2519,10000;demon shield,2520,35000;great shield,2522,80000;rose shield,2527,40000;tower shield,2528,8000;vampire shield,2534,16000;castle shield,2535,30000;medusa shield,2536,15000;norse shield,7460,40000;eagle shield,2538,50000;phoenix shield,2539,30000;tempest shield,2542,30000;rainbow shield,8905,40000"/>

</parameters>

</npc>

 

 

 

 

e o default.lua tds devem ter é o arquivo que vai em npc/script

mas se n tiverem eu dexo aki tbm

 

 

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

npcHandler:addModule(FocusModule:new())

 

 

 

 

 

Não Copie



Exclusividade Xtibia

Se gostar da +++

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

×
×
  • Criar Novo...