Npc Que Compra Todos Os Tipos De Loots

polar
Por polar
em NPCs, monsters e raids

polar

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 19/05/07Posts: 18Char no Tibia: Zuropov

Fala ae galera blz? eh meu 1º post aqui e esse tbm é o meu 1º NPC.
Ele compra todos os itens para ataque e defesa inclusive os itens do update.
Bom então vamos começar

Vá em data/npc copie qualquer arquivo e renomeie para Nikki.
Abra, apague tudo que tem dentro e adicione isso:


<?xml version="1.0"?>

<npc name="Nikki" script="data/npc/scripts/nikki.lua" autowalk="0" floorchange="0" access="5" level="100" maglevel="100">
<mana now="800" max="800"/>
<health now="300" max="300"/>
<look type="150" head="114" body="91" legs="88" feet="116" addons="1"/>
</npc>

 

 

 

Agora vá em data/npc/scripts copie qualquer arquivo e renomeie para nikki.lua
Abra e apague tudo que tem dentro e adicione isso:

 

local focus = 0
local talk_start = 0
local target = 0
local following = false
local attacking = false

function onThingMove(creature, thing, oldpos, oldstackpos)

end


function onCreatureAppear(creature)

end


function onCreatureDisappear(cid, pos)
if focus == cid then
selfSay('Até mais.')
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('Ola ' .. creatureGetName(cid) .. ' tudo bem? Eu compro todos itens para ataque, para defesa, amuletos e aneis basta me dizer o nome do item.')
focus = cid
talk_start = os.clock()

elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then
selfSay('Espere um pouco ' .. creatureGetName(cid) .. ' ja falo com você.')

elseif focus == cid then
talk_start = os.clock()

if msgcontains(msg, 'demon helmet') then
sell(cid,2493,getCount(msg),80000)
elseif msgcontains(msg, 'royal helmet') or msgcontains(msg, 'rh') then
sell(cid,2498,getCount(msg),40000)
elseif msgcontains(msg, 'warrior helmet') then
sell(cid,2475,getCount(msg),6000)
elseif msgcontains(msg, 'crusader helmet') then
sell(cid,2497,getCount(msg),9000)
elseif msgcontains(msg, 'crown helmet') then
sell(cid,2491,getCount(msg),5000)
elseif msgcontains(msg, 'devil helmet') then
sell(cid,2462,getCount(msg),4000)
elseif msgcontains(msg, 'mystic turban') then
sell(cid,2663,getCount(msg),500)
elseif msgcontains(msg, 'chain helmet') then
sell(cid,2458,getCount(msg),35)
elseif msgcontains(msg, 'iron helmet') then
sell(cid,2459,getCount(msg),80)
elseif msgcontains(msg, 'helmet of the ancients') then
sell(cid,2342,getCount(msg),200000)
elseif msgcontains(msg, 'golden helmet') then
sell(cid,2471,getCount(msg),500000)
elseif msgcontains(msg, 'winged helmet') then
sell(cid,2474,getCount(msg),350000)
elseif msgcontains(msg, 'horned helmet') then
sell(cid,2496,getCount(msg),400000)
elseif msgcontains(msg, 'dragon scale helmet') then
sell(cid,2506,getCount(msg),450000)
elseif msgcontains(msg, 'beholder helmet') then
sell(cid,3972,getCount(msg),100000)
elseif msgcontains(msg, 'krimhorn helmet') then
sell(cid,7461,getCount(msg),10000)
elseif msgcontains(msg, 'ragnir helmet') then
sell(cid,7462,getCount(msg),10000)
elseif msgcontains(msg, 'pirate hat') then
sell(cid,6096,getCount(msg),5000)
elseif msgcontains(msg, 'santa hat') then
sell(cid,6531,getCount(msg),5000)
elseif msgcontains(msg, 'helmet of the deep') then
sell(cid,5461,getCount(msg),3000)
elseif msgcontains(msg, 'charmer tiara') then
sell(cid,3971,getCount(msg),30000)
elseif msgcontains(msg, 'feather headdress') then
sell(cid,3970,getCount(msg),1000)
elseif msgcontains(msg, 'horseman helmet') then
sell(cid,3969,getCount(msg),1000)
elseif msgcontains(msg, 'tribal mask') then
sell(cid,3967,getCount(msg),100)
elseif msgcontains(msg, 'post officers hat') then
sell(cid,2665,getCount(msg),30000)
elseif msgcontains(msg, 'magican hat') then
sell(cid,2662,getCount(msg),3000)
elseif msgcontains(msg, 'dwarven helmet') then
sell(cid,2502,getCount(msg),30000)
elseif msgcontains(msg, 'ceremonial mask') then
sell(cid,2501,getCount(msg),80000)
elseif msgcontains(msg, 'amazon helmet') then
sell(cid,2499,getCount(msg),70000)
elseif msgcontains(msg, 'dark helmet') then
sell(cid,2490,getCount(msg),100)
elseif msgcontains(msg, 'solider helmet') then
sell(cid,2481,getCount(msg),50)
elseif msgcontains(msg, 'studded helmet') then
sell(cid,2482,getCount(msg),10)
elseif msgcontains(msg, 'legion helmet') then
sell(cid,2479,getCount(msg),20)
elseif msgcontains(msg, 'strange helmet') then
sell(cid,2480,getCount(msg),100)
elseif msgcontains(msg, 'viking helmet') then
sell(cid,2480,getCount(msg),40)
elseif msgcontains(msg, 'brass helmet') then
sell(cid,2460,getCount(msg),25)
elseif msgcontains(msg, 'leather helmet') then
sell(cid,2461,getCount(msg),5)
elseif msgcontains(msg, 'stell helmet') then
sell(cid,2457,getCount(msg),100)
elseif msgcontains(msg, 'damaged stell helmet') then
sell(cid,5924,getCount(msg),100)
elseif msgcontains(msg, 'glacier mask') then
sell(cid,7902,getCount(msg),15000)
elseif msgcontains(msg, 'lightning headband') then
sell(cid,7901,getCount(msg),15000)
elseif msgcontains(msg, 'terra hood') then
sell(cid,7903,getCount(msg),15000)
elseif msgcontains(msg, 'magma monocle') then
sell(cid,7900,getCount(msg),15000)
elseif msgcontains(msg, 'ancient tiara') then
sell(cid,2139,getCount(msg),10000)
elseif msgcontains(msg, 'earmuffs') then
sell(cid,7459,getCount(msg),5000)
elseif msgcontains(msg, 'bandana') then
sell(cid,5917,getCount(msg),5000)
elseif msgcontains(msg, 'mining helmet') then
sell(cid,7497,getCount(msg),8500)
elseif msgcontains(msg, 'fur cap') then
sell(cid,7458,getCount(msg),6500)
elseif msgcontains(msg, 'criador') then
selfSay('NPC Nikki criado por Polar')

elseif msgcontains(msg, 'steel boots') and focus == cid then
sell(cid,2645,getCount(msg),30000)
elseif msgcontains(msg, 'soft boots') and focus == cid then
sell(cid,6132,getCount(msg),400000)
elseif msgcontains(msg, 'traper boots') and focus == cid then
sell(cid,2641,getCount(msg),100000)
elseif msgcontains(msg, 'sandals') and focus == cid then
sell(cid,2642,getCount(msg),100)
elseif msgcontains(msg, 'leather boots') and focus == cid then
sell(cid,2643,getCount(msg),20)
elseif msgcontains(msg, 'bunny slipers') and focus == cid then
sell(cid,2644,getCount(msg),10000)
elseif msgcontains(msg, 'crocodile boots') and focus == cid then
sell(cid,3982,getCount(msg),1000)
elseif msgcontains(msg, 'pirate boots') and focus == cid then
sell(cid,5462,getCount(msg),30000)
elseif msgcontains(msg, 'fur boots') and focus == cid then
sell(cid,7457,getCount(msg),5000)
elseif msgcontains(msg, 'boh') or msgcontains(msg, 'boots of haste') and focus == cid then
sell(cid,2195,getCount(msg),25000)
elseif msgcontains(msg, 'golden boots') and focus == cid then
sell(cid,2646,getCount(msg),200000)
elseif msgcontains(msg, 'terra boots') and focus == cid then
sell(cid,7886,getCount(msg),15000)
elseif msgcontains(msg, 'magma boots') and focus == cid then
sell(cid,7891,getCount(msg),15000)
elseif msgcontains(msg, 'lightning boots') and focus == cid then
sell(cid,7893,getCount(msg),15000)
elseif msgcontains(msg, 'glacier shoes') and focus == cid then
sell(cid,7892,getCount(msg),15000)

elseif msgcontains(msg, 'magic plate armor') or msgcontains(msg, 'mpa') then
sell(cid,2472,getCount(msg),100000)
elseif msgcontains(msg, 'dragon scale mail') or msgcontains(msg, 'dsm') then
sell(cid,2492,getCount(msg),60000)
elseif msgcontains(msg, 'demon armor') then
sell(cid,2494,getCount(msg),90000)
elseif msgcontains(msg, 'golden armor') then
sell(cid,2466,getCount(msg),30000)
elseif msgcontains(msg, 'crown armor') then
sell(cid,2487,getCount(msg),20000)
elseif msgcontains(msg, 'knight armor') then
sell(cid,2476,getCount(msg),5000)
elseif msgcontains(msg, 'blue robe') then
sell(cid,2656,getCount(msg),15000)
elseif msgcontains(msg, 'amazon armor') then
sell(cid,2500,getCount(msg),7500)
elseif msgcontains(msg, 'plate armor') then
sell(cid,2463,getCount(msg),400)
elseif msgcontains(msg, 'brass armor') then
sell(cid,2465,getCount(msg),200)
elseif msgcontains(msg, 'chain armor') then
sell(cid,2464,getCount(msg),100)
elseif msgcontains(msg, 'leather armor') then
sell(cid,2467,getCount(msg),20)
elseif msgcontains(msg, 'scale armor') then
sell(cid,2483,getCount(msg),100)
elseif msgcontains(msg, 'studded armor') then
sell(cid,2484,getCount(msg),15)
elseif msgcontains(msg, 'doublet') then
sell(cid,2485,getCount(msg),5)
elseif msgcontains(msg, 'noble armor') then
sell(cid,2486,getCount(msg),1500)
elseif msgcontains(msg, 'dark armor') then
sell(cid,2489,getCount(msg),1000)
elseif msgcontains(msg, 'dwarven armor') then
sell(cid,2503,getCount(msg),80000)
elseif msgcontains(msg, 'elven armor') then
sell(cid,2505,getCount(msg),75000)
elseif msgcontains(msg, 'jacket') then
sell(cid,2650,getCount(msg),1)
elseif msgcontains(msg, 'coat') then
sell(cid,2651,getCount(msg),1)
elseif msgcontains(msg, 'green tunic') then
sell(cid,2652,getCount(msg),2)
elseif msgcontains(msg, 'red tunic') then
sell(cid,2653,getCount(msg),40000)
elseif msgcontains(msg, 'cape') then
sell(cid,2654,getCount(msg),1)
elseif msgcontains(msg, 'red robe') then
sell(cid,2655,getCount(msg),4000)
elseif msgcontains(msg, 'simple dress') then
sell(cid,2657,getCount(msg),4000)
elseif msgcontains(msg, 'white dress') then
sell(cid,2658,getCount(msg),40000)
elseif msgcontains(msg, 'ball gown') then
sell(cid,2659,getCount(msg),45000)
elseif msgcontains(msg, 'hidden turbant') then
sell(cid,2660,getCount(msg),55000)
elseif msgcontains(msg, 'cowl') then
sell(cid,2664,getCount(msg),65000)
elseif msgcontains(msg, 'leopard armor') then
sell(cid,3968,getCount(msg),600)
elseif msgcontains(msg, 'pirate shirt') then
sell(cid,6095,getCount(msg),800)
elseif msgcontains(msg, 'terra coat') then
sell(cid,7884,getCount(msg),25000)
elseif msgcontains(msg, 'magma coat') then
sell(cid,7899,getCount(msg),25000)
elseif msgcontains(msg, 'glacier coat') then
sell(cid,7897,getCount(msg),25000)
elseif msgcontains(msg, 'lightning robe') then
sell(cid,7898,getCount(msg),25000)
elseif msgcontains(msg, 'mammoth fur cape') then
sell(cid,7463,getCount(msg),5000)

elseif msgcontains(msg, 'golden legs') then
sell(cid,2470,getCount(msg),55000)
elseif msgcontains(msg, 'studded legs') then
sell(cid,2468,getCount(msg),50)
elseif msgcontains(msg, 'dragon scale legs') then
sell(cid,2469,getCount(msg),500000)
elseif msgcontains(msg, 'brass legs') then
sell(cid,2478,getCount(msg),125)
elseif msgcontains(msg, 'crown legs') then
sell(cid,2488,getCount(msg),15000)
elseif msgcontains(msg, 'knight legs') then
sell(cid,2477,getCount(msg),6000)
elseif msgcontains(msg, 'plate legs') then
sell(cid,2647,getCount(msg),500)
elseif msgcontains(msg, 'brass legs') then
sell(cid,2478,getCount(msg),100)
elseif msgcontains(msg, 'chain legs') then
sell(cid,2478,getCount(msg),50)
elseif msgcontains(msg, 'demon legs') then
sell(cid,2495,getCount(msg),300000)
elseif msgcontains(msg, 'dwarven legs') then
sell(cid,2504,getCount(msg),150000)
elseif msgcontains(msg, 'elven legs') then
sell(cid,2507,getCount(msg),250000)
elseif msgcontains(msg, 'leather legs') then
sell(cid,2649,getCount(msg),5)
elseif msgcontains(msg, 'terra legs') then
sell(cid,7885,getCount(msg),35000)
elseif msgcontains(msg, 'magma legs') then
sell(cid,7894,getCount(msg),35000)
elseif msgcontains(msg, 'lightning legs') then
sell(cid,7895,getCount(msg),35000)
elseif msgcontains(msg, 'glacier kilts') then
sell(cid,7895,getCount(msg),35000)
elseif msgcontains(msg, 'bast skirt') then
sell(cid,3983,getCount(msg),500)
elseif msgcontains(msg, 'mammoth fur shorts') then
sell(cid,7464,getCount(msg),1500)
elseif msgcontains(msg, 'pirate knee breeches') then
sell(cid,5918,getCount(msg),1000)
elseif msgcontains(msg, 'blue legs') then
sell(cid,7730,getCount(msg),55000)

elseif msgcontains(msg, 'shield of the mastermind') or msgcontains(msg, 'mms') then
sell(cid,2514,getCount(msg),80000)
elseif msgcontains(msg, 'demon shield') then
sell(cid,2520,getCount(msg),40000)
elseif msgcontains(msg, 'blessed shield') then
sell(cid,2523,getCount(msg),150000)
elseif msgcontains(msg, 'great shield') then
sell(cid,2522,getCount(msg),100000)
elseif msgcontains(msg, 'vampire shield') then
sell(cid,2534,getCount(msg),25000)
elseif msgcontains(msg, 'medusa shield') then
sell(cid,2536,getCount(msg),8000)
elseif msgcontains(msg, 'amazon shield') then
sell(cid,2537,getCount(msg),4000)
elseif msgcontains(msg, 'crown shield') then
sell(cid,2519,getCount(msg),5000)
elseif msgcontains(msg, 'tower shield') then
sell(cid,2528,getCount(msg),4000)
elseif msgcontains(msg, 'dragon shield') then
sell(cid,2516,getCount(msg),3000)
elseif msgcontains(msg, 'guardian shield') then
sell(cid,2515,getCount(msg),2000)
elseif msgcontains(msg, 'beholder shield') then
sell(cid,2518,getCount(msg),1500)
elseif msgcontains(msg, 'dwarven shield') then
sell(cid,2525,getCount(msg),100)
elseif msgcontains(msg, 'steel shield') then
sell(cid,2509,getCount(msg),80)
elseif msgcontains(msg, 'plate shield') then
sell(cid,2510,getCount(msg),60)
elseif msgcontains(msg, 'brass shield') then
sell(cid,2511,getCount(msg),25)
elseif msgcontains(msg, 'wooden shield') then
sell(cid,2512,getCount(msg),5)
elseif msgcontains(msg, 'battle shield') then
sell(cid,2513,getCount(msg),50)
elseif msgcontains(msg, 'guardian shield') then
sell(cid,2515,getCount(msg),1500)
elseif msgcontains(msg, 'guardian shield') then
sell(cid,2515,getCount(msg),1500)
elseif msgcontains(msg, 'shield of honour') then
sell(cid,2517,getCount(msg),15000)
elseif msgcontains(msg, 'dark shield') then
sell(cid,2521,getCount(msg),100)
elseif msgcontains(msg, 'ornamented shield') then
sell(cid,2524,getCount(msg),1500)
elseif msgcontains(msg, 'studded shield') then
sell(cid,2526,getCount(msg),15)
elseif msgcontains(msg, 'rose shield') then
sell(cid,2527,getCount(msg),95000)
elseif msgcontains(msg, 'black shield') then
sell(cid,2529,getCount(msg),120)
elseif msgcontains(msg, 'copper shield') then
sell(cid,2530,getCount(msg),60)
elseif msgcontains(msg, 'viking shield') then
sell(cid,2531,getCount(msg),1100)
elseif msgcontains(msg, 'griffin shield') then
sell(cid,2533,getCount(msg),1800)
elseif msgcontains(msg, 'ancient shield') then
sell(cid,2532,getCount(msg),1200)
elseif msgcontains(msg, 'ancient shield') then
sell(cid,2535,getCount(msg),1300)
elseif msgcontains(msg, 'eagle shield') then
sell(cid,2538,getCount(msg),83000)
elseif msgcontains(msg, 'phoenix shield') then
sell(cid,2539,getCount(msg),76000)
elseif msgcontains(msg, 'scarab shield') then
sell(cid,2540,getCount(msg),2200)
elseif msgcontains(msg, 'bone shield') then
sell(cid,2541,getCount(msg),600)
elseif msgcontains(msg, 'tempest shield') then
sell(cid,2542,getCount(msg),100000)
elseif msgcontains(msg, 'tusk shield') then
sell(cid,3973,getCount(msg),100)
elseif msgcontains(msg, 'sentinel shield') then
sell(cid,3974,getCount(msg),2100)
elseif msgcontains(msg, 'salamander shield') then
sell(cid,3975,getCount(msg),2200)
elseif msgcontains(msg, 'tortoise shield') then
sell(cid,6131,getCount(msg),1400)
elseif msgcontains(msg, 'nightmare shield') then
sell(cid,6391,getCount(msg),99000)
elseif msgcontains(msg, 'necromancer shield') then
sell(cid,6433,getCount(msg),99000)
elseif msgcontains(msg, 'norse shield') then
sell(cid,7460,getCount(msg),2600)

elseif msgcontains(msg, 'magic longsword') then
sell(cid,2390,getCount(msg),150000)
elseif msgcontains(msg, 'warlord sword') then
sell(cid,2408,getCount(msg),100000)
elseif msgcontains(msg, 'magic sword') then
sell(cid,2400,getCount(msg),90000)
elseif msgcontains(msg, 'giant sword') then
sell(cid,2393,getCount(msg),10000)
elseif msgcontains(msg, 'bright sword') then
sell(cid,2407,getCount(msg),6000)
elseif msgcontains(msg, 'ice rapier') then
sell(cid,2396,getCount(msg),4000)
elseif msgcontains(msg, 'fire sword') then
sell(cid,2392,getCount(msg),3000)
elseif msgcontains(msg, 'serpent sword') then
sell(cid,2409,getCount(msg),1500)
elseif msgcontains(msg, 'spike sword') then
sell(cid,2383,getCount(msg),800)
elseif msgcontains(msg, 'two handed sword') then
sell(cid,2377,getCount(msg),400)
elseif msgcontains(msg, 'broad sword') then
sell(cid,2413,getCount(msg),70)
elseif msgcontains(msg, 'short sword') then
sell(cid,2406,getCount(msg),30)
elseif msgcontains(msg, 'sabre') then
sell(cid,2385,getCount(msg),25)
elseif msgcontains(msg, 'sword') then
sell(cid,2376,getCount(msg),25)
elseif msgcontains(msg, 'two handed sword') then
sell(cid,2377,getCount(msg),325)
elseif msgcontains(msg, 'dagger') then
sell(cid,2379,getCount(msg),5)
elseif msgcontains(msg, 'rapier') then
sell(cid,2384,getCount(msg),8)
elseif msgcontains(msg, 'carlin sword') then
sell(cid,2395,getCount(msg),55)
elseif msgcontains(msg, 'silver dagger') then
sell(cid,2402,getCount(msg),15)
elseif msgcontains(msg, 'knife') then
sell(cid,2403,getCount(msg),1)
elseif msgcontains(msg, 'combat knife') then
sell(cid,2404,getCount(msg),2)
elseif msgcontains(msg, 'short sword') then
sell(cid,2406,getCount(msg),8)
elseif msgcontains(msg, 'poison dagger') then
sell(cid,2411,getCount(msg),28)
elseif msgcontains(msg, 'katana') then
sell(cid,2412,getCount(msg),38)
elseif msgcontains(msg, 'scimitar') then
sell(cid,2419,getCount(msg),88)
elseif msgcontains(msg, 'machete') then
sell(cid,2420,getCount(msg),23)
elseif msgcontains(msg, 'heavy machete') then
sell(cid,2442,getCount(msg),200)
elseif msgcontains(msg, 'epee') then
sell(cid,2438,getCount(msg),2000)
elseif msgcontains(msg, 'pharaoh sword') then
sell(cid,2446,getCount(msg),30000)
elseif msgcontains(msg, 'bone sword') then
sell(cid,2450,getCount(msg),150)
elseif msgcontains(msg, 'djinn blade') then
sell(cid,2451,getCount(msg),40000)
elseif msgcontains(msg, 'avenger') then
sell(cid,6528,getCount(msg),85000)
elseif msgcontains(msg, 'demonrange sword') then
sell(cid,7382,getCount(msg),19000)
elseif msgcontains(msg, 'relic sword') then
sell(cid,7383,getCount(msg),9000)
elseif msgcontains(msg, 'mystic blade') then
sell(cid,7384,getCount(msg),13000)
elseif msgcontains(msg, 'crimson sword') then
sell(cid,7385,getCount(msg),610)
elseif msgcontains(msg, 'mercenary sword') then
sell(cid,7386,getCount(msg),18000)
elseif msgcontains(msg, 'justice seeker') then
sell(cid,7390,getCount(msg),55000)
elseif msgcontains(msg, 'dragon slayer') then
sell(cid,7402,getCount(msg),15000)
elseif msgcontains(msg, 'assassin dagger') then
sell(cid,7404,getCount(msg),5000)
elseif msgcontains(msg, 'blacksteel sword') then
sell(cid,7406,getCount(msg),9500)
elseif msgcontains(msg, 'haunted blade') then
sell(cid,7407,getCount(msg),10000)
elseif msgcontains(msg, 'wyvern fang') then
sell(cid,7408,getCount(msg),1500)
elseif msgcontains(msg, 'bloody edge') then
sell(cid,7416,getCount(msg),10500)
elseif msgcontains(msg, 'crystal sword') then
sell(cid,7419,getCount(msg),600)
elseif msgcontains(msg, 'templar scytheblade') then
sell(cid,3963,getCount(msg),850)

elseif msgcontains(msg, 'dragon lance') then
sell(cid,2414,getCount(msg),10000)
elseif msgcontains(msg, 'stonecutters axe') then
sell(cid,2431,getCount(msg),90000)
elseif msgcontains(msg, 'guardian halberd') then
sell(cid,2427,getCount(msg),7500)
elseif msgcontains(msg, 'fire axe') then
sell(cid,2432,getCount(msg),10000)
elseif msgcontains(msg, 'knight axe') then
sell(cid,2430,getCount(msg),2000)
elseif msgcontains(msg, 'double axe') then
sell(cid,2387,getCount(msg),200)
elseif msgcontains(msg, 'halberd') then
sell(cid,2381,getCount(msg),200)
elseif msgcontains(msg, 'battle axe') then
sell(cid,2378,getCount(msg),100)
elseif msgcontains(msg, 'hatchet') then
sell(cid,2388,getCount(msg),20)
elseif msgcontains(msg, 'hand axe') then
sell(cid,2380,getCount(msg),6)
elseif msgcontains(msg, 'axe') then
sell(cid,2386,getCount(msg),8)
elseif msgcontains(msg, 'great axe') then
sell(cid,2415,getCount(msg),100000)
elseif msgcontains(msg, 'naginata') then
sell(cid,2426,getCount(msg),4000)
elseif msgcontains(msg, 'obsidian lance') then
sell(cid,2425,getCount(msg),150)
elseif msgcontains(msg, 'ocish axe') then
sell(cid,2428,getCount(msg),120)
elseif msgcontains(msg, 'barbarian axe') then
sell(cid,2429,getCount(msg),280)
elseif msgcontains(msg, 'dwarven axe') then
sell(cid,2435,getCount(msg),900)
elseif msgcontains(msg, 'daramanian waraxe') then
sell(cid,2440,getCount(msg),6500)
elseif msgcontains(msg, 'daramanian axe') then
sell(cid,2441,getCount(msg),7000)
elseif msgcontains(msg, 'ravagers axe') then
sell(cid,2443,getCount(msg),8000)
elseif msgcontains(msg, 'twin axe') then
sell(cid,2447,getCount(msg),18000)
elseif msgcontains(msg, 'war axe') then
sell(cid,2454,getCount(msg),9000)
elseif msgcontains(msg, 'beastslayer axe') then
sell(cid,3962,getCount(msg),1500)
elseif msgcontains(msg, 'ruthless axe') then
sell(cid,6553,getCount(msg),38500)
elseif msgcontains(msg, 'headchopper') then
sell(cid,7380,getCount(msg),5500)
elseif msgcontains(msg, 'vile axe') then
sell(cid,7388,getCount(msg),8500)
elseif msgcontains(msg, 'butchers axe') then
sell(cid,7412,getCount(msg),5000)
elseif msgcontains(msg, 'titan axe') then
sell(cid,7413,getCount(msg),6000)
elseif msgcontains(msg, 'noble axe') then
sell(cid,7456,getCount(msg),2000)
elseif msgcontains(msg, 'sickle') then
sell(cid,2405,getCount(msg),1)
elseif msgcontains(msg, 'golden sickle') then
sell(cid,2418,getCount(msg),17)
elseif msgcontains(msg, 'ripper lance') then
sell(cid,3964,getCount(msg),37)
elseif msgcontains(msg, 'dreaded cleaver') then
sell(cid,7419,getCount(msg),5500)
elseif msgcontains(msg, 'heroic axe') then
sell(cid,7751,getCount(msg),8500)
elseif msgcontains(msg, 'royal axe') then
sell(cid,7434,getCount(msg),9500)

elseif msgcontains(msg, 'war hammer') then
sell(cid,2391,getCount(msg),6000)
elseif msgcontains(msg, 'thunder hammer') then
sell(cid,2421,getCount(msg),90000)
elseif msgcontains(msg, 'skull staff') then
sell(cid,2436,getCount(msg),10000)
elseif msgcontains(msg, 'dragon hammer') then
sell(cid,2434,getCount(msg),2000)
elseif msgcontains(msg, 'clerical mace') then
sell(cid,2423,getCount(msg),200)
elseif msgcontains(msg, 'battle hammer') then
sell(cid,2417,getCount(msg),60)
elseif msgcontains(msg, 'mace') then
sell(cid,2398,getCount(msg),30)
elseif msgcontains(msg, 'club') then
sell(cid,2382,getCount(msg),2)
elseif msgcontains(msg, 'morning star') then
sell(cid,2394,getCount(msg),100)
elseif msgcontains(msg, 'staff') then
sell(cid,2401,getCount(msg),10)
elseif msgcontains(msg, 'crowbar') then
sell(cid,2416,getCount(msg),1)
elseif msgcontains(msg, 'battle hammer') then
sell(cid,2417,getCount(msg),120)
elseif msgcontains(msg, 'giant smithhammer') then
sell(cid,2321,getCount(msg),120)
elseif msgcontains(msg, 'iron hammer') then
sell(cid,2422,getCount(msg),140)
elseif msgcontains(msg, 'silver mace') then
sell(cid,2424,getCount(msg),13000)
elseif msgcontains(msg, 'daramanian mace') then
sell(cid,2439,getCount(msg),180)
elseif msgcontains(msg, 'hammer of wrath') then
sell(cid,2444,getCount(msg),10000)
elseif msgcontains(msg, 'crystal mace') then
sell(cid,2445,getCount(msg),9000)
elseif msgcontains(msg, 'studded club') then
sell(cid,2448,getCount(msg),8)
elseif msgcontains(msg, 'bone club') then
sell(cid,2449,getCount(msg),12)
elseif msgcontains(msg, 'heavy mace') then
sell(cid,2452,getCount(msg),19000)
elseif msgcontains(msg, 'arcane staff') then
sell(cid,2453,getCount(msg),85000)
elseif msgcontains(msg, 'banana staff') then
sell(cid,3966,getCount(msg),185)
elseif msgcontains(msg, 'brutetamers staff') then
sell(cid,7379,getCount(msg),1500)
elseif msgcontains(msg, 'mammoth whopper') then
sell(cid,7381,getCount(msg),300)
elseif msgcontains(msg, 'diamond sceptre') then
sell(cid,7387,getCount(msg),3000)
elseif msgcontains(msg, 'orcish maul') then
sell(cid,7392,getCount(msg),7500)
elseif msgcontains(msg, 'sapphire hammer') then
sell(cid,7437,getCount(msg),7000)
elseif msgcontains(msg, 'shadow sceptre') then
sell(cid,7451,getCount(msg),5500)
elseif msgcontains(msg, 'spiked squelcher') then
sell(cid,7452,getCount(msg),5500)
elseif msgcontains(msg, 'taurus mace') then
sell(cid,7425,getCount(msg),500)
elseif msgcontains(msg, 'furry club') then
sell(cid,7432,getCount(msg),1000)
elseif msgcontains(msg, 'dragonbone staff') then
sell(cid,7430,getCount(msg),3000)
elseif msgcontains(msg, 'lunar staff') then
sell(cid,7424,getCount(msg),5000)
elseif msgcontains(msg, 'amber staff') then
sell(cid,7426,getCount(msg),8000)
elseif msgcontains(msg, 'chaos mace') then
sell(cid,7427,getCount(msg),7000)
elseif msgcontains(msg, 'blessed sceptre') then
sell(cid,7429,getCount(msg),5500)
elseif msgcontains(msg, 'cranial basher') then
sell(cid,7415,getCount(msg),10000)
elseif msgcontains(msg, 'abyss hammer') then
sell(cid,7414,getCount(msg),11500)
elseif msgcontains(msg, 'serpent hammer') then
sell(cid,7422,getCount(msg),15500)

elseif msgcontains(msg, 'platinum amulet') then
sell(cid,2171,getCount(msg),5000)
elseif msgcontains(msg, 'crystal necklace') then
sell(cid,2125,getCount(msg),150)
elseif msgcontains(msg, 'bronze necklace') then
sell(cid,2126,getCount(msg),1100)
elseif msgcontains(msg, 'wolf tooth chain') then
sell(cid,2129,getCount(msg),90)
elseif msgcontains(msg, 'golden amulet') then
sell(cid,2130,getCount(msg),8000)
elseif msgcontains(msg, 'star amulet') then
sell(cid,2131,getCount(msg),4000)
elseif msgcontains(msg, 'silver necklace') then
sell(cid,2132,getCount(msg),9000)
elseif msgcontains(msg, 'ruby necklace') then
sell(cid,2133,getCount(msg),7000)
elseif msgcontains(msg, 'scarab amulet') then
sell(cid,2135,getCount(msg),2000)
elseif msgcontains(msg, 'demonbone amulet') then
sell(cid,2136,getCount(msg),14000)
elseif msgcontains(msg, 'silver amulet') then
sell(cid,2170,getCount(msg),100)
elseif msgcontains(msg, 'bronze amulet') then
sell(cid,2172,getCount(msg),100)
elseif msgcontains(msg, 'strange symbol') then
sell(cid,2174,getCount(msg),400)
elseif msgcontains(msg, 'amulet of loss') or msgcontains(msg, 'aol') then
sell(cid,2173,getCount(msg),5000)
elseif msgcontains(msg, 'starlight amulet') then
sell(cid,2138,getCount(msg),10000)
elseif msgcontains(msg, 'ancient amulet') then
sell(cid,2142,getCount(msg),4500)
elseif msgcontains(msg, 'strange talisman') then
sell(cid,2161,getCount(msg),300)
elseif msgcontains(msg, 'broken amulet') then
sell(cid,2196,getCount(msg),10000)
elseif msgcontains(msg, 'stone skin amulet') then
sell(cid,2197,getCount(msg),2000)
elseif msgcontains(msg, 'elven amulet') then
sell(cid,2198,getCount(msg),1500)
elseif msgcontains(msg, 'garlic necklace') then
sell(cid,2199,getCount(msg),500)
elseif msgcontains(msg, 'protection amulet') then
sell(cid,2200,getCount(msg),400)
elseif msgcontains(msg, 'dragon necklace') then
sell(cid,2201,getCount(msg),400)
elseif msgcontains(msg, 'paw amulet') then
sell(cid,2218,getCount(msg),4000)
elseif msgcontains(msg, 'terra amulet') then
sell(cid,7887,getCount(msg),3000)
elseif msgcontains(msg, 'ice amulet') then
sell(cid,7888,getCount(msg),3000)
elseif msgcontains(msg, 'lightning amulet') then
sell(cid,7889,getCount(msg),3000)
elseif msgcontains(msg, 'flame amulet') then
sell(cid,7890,getCount(msg),3000)
elseif msgcontains(msg, 'scarf') then
sell(cid,2661,getCount(msg),1000)

elseif msgcontains(msg, 'might ring') then
sell(cid,2164,getCount(msg),1000)
elseif msgcontains(msg, 'stealth ring') then
sell(cid,2165,getCount(msg),600)
elseif msgcontains(msg, 'power ring') then
sell(cid,2166,getCount(msg),50)
elseif msgcontains(msg, 'energy ring') then
sell(cid,2167,getCount(msg),500)
elseif msgcontains(msg, 'life ring') then
sell(cid,2168,getCount(msg),300)
elseif msgcontains(msg, 'time ring') then
sell(cid,2169,getCount(msg),800)
elseif msgcontains(msg, 'sword ring') then
sell(cid,2207,getCount(msg),120)
elseif msgcontains(msg, 'axe ring') then
sell(cid,2208,getCount(msg),120)
elseif msgcontains(msg, 'club ring') then
sell(cid,2209,getCount(msg),120)
elseif msgcontains(msg, 'dwarven ring') then
sell(cid,2213,getCount(msg),100)
elseif msgcontains(msg, 'ring of realing') then
sell(cid,2214,getCount(msg),120)
elseif msgcontains(msg, 'ring of wishes') then
sell(cid,2357,getCount(msg),900)
elseif msgcontains(msg, 'gold ring') then
sell(cid,2207,getCount(msg),1000)
elseif msgcontains(msg, 'death ring') then
sell(cid,6300,getCount(msg),800)
elseif msgcontains(msg, 'wedding ring') then
sell(cid,2121,getCount(msg),90)
elseif msgcontains(msg, 'ring of the sky') then
sell(cid,2123,getCount(msg),1900)
elseif msgcontains(msg, 'crystal ring') then
sell(cid,2124,getCount(msg),100)
elseif msgcontains(msg, 'emerald bangle') then
sell(cid,2127,getCount(msg),400)

elseif msgcontains(msg, 'crossbow') then
sell(cid,2455,getCount(msg),300)
elseif msgcontains(msg, 'bow') then
sell(cid,2456,getCount(msg),150)
elseif msgcontains(msg, 'arbalest') then
sell(cid,5803,getCount(msg),10000)
elseif msgcontains(msg, 'golden bow') then
sell(cid,7438,getCount(msg),11000)
elseif msgcontains(msg, 'spear') then
sell(cid,2389,getCount(msg),70)
elseif msgcontains(msg, 'royal spear') then
sell(cid,7378,getCount(msg),170)
elseif msgcontains(msg, 'hunting spear') then
sell(cid,3965,getCount(msg),110)
elseif msgcontains(msg, 'throwing knife') then
sell(cid,2410,getCount(msg),90)
elseif msgcontains(msg, 'throwing star') then
sell(cid,2399,getCount(msg),90)
elseif msgcontains(msg, 'assassin star') then
sell(cid,7368,getCount(msg),290)
elseif msgcontains(msg, 'viper star') then
sell(cid,7366,getCount(msg),190)
elseif msgcontains(msg, 'snowball') then
sell(cid,2111,getCount(msg),10)
elseif msgcontains(msg, 'small stone') then
sell(cid,1294,getCount(msg),20)

elseif msgcontains(msg, 'moonlight rod') then
sell(cid,2186,getCount(msg),200)
elseif msgcontains(msg, 'wand of dragonbreath') then
sell(cid,2191,getCount(msg),200)
elseif msgcontains(msg, 'necrotic rod') then
sell(cid,2185,getCount(msg),1000)
elseif msgcontains(msg, 'wand of decay') then
sell(cid,2188,getCount(msg),1000)
elseif msgcontains(msg, 'terra rod') then
sell(cid,2181,getCount(msg),2000)
elseif msgcontains(msg, 'wand of cosmic energy') then
sell(cid,2189,getCount(msg),2000)
elseif msgcontains(msg, 'hailstorm rod') then
sell(cid,2183,getCount(msg),3000)
elseif msgcontains(msg, 'wand of inferno') then
sell(cid,2187,getCount(msg),3000)


elseif string.find(msg, '(%a*)bye(%a*)') and getDistanceToCreature(cid) < 4 then
selfSay('Até mais ' .. 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('Proximo...')
end
focus = 0
end
if focus ~= 0 then
if getDistanceToCreature(focus) > 5 then
selfSay('Até mais.')
focus = 0
end
end
end

 


Espero que gostem

Como algumas pessoas estão com problemas para copiar o script segue o download dele:


CREDITOS:

90% Polar
10% Pessoa que crio o NPC Mad (xD num sei quem crio)

nikki.rar








Você é meu fan?
Entao use:


4291226

avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 17/08/07Posts: 519

Cara.

 

Você tomou como base os preços por onde??

 

 

Aguardando Resposta.

polar

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 19/05/07Posts: 18Char no Tibia: Zuropov

a maioria foi nu tibia br








Você é meu fan?
Entao use:


4291226

avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 17/08/07Posts: 519

Acabo de Subistituir meu NPC por este.

 

Obrigado.

 

Atenciosamente

L~L

Mauze

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 31/03/08Posts: 30Char no Tibia: Retired

lol npc rox vlw ai ja substitui a Soya por esse !

 

vlw msm

Minha Assinatura bagunçada :P


Sou Fan De

<<<< Eternamente
<<<<<<< Love!!

Gostou Do Meu Trabalho? use minha Fan Bar


Apoio ao OTSERV 100% Brasileiro! *-*

bonazza

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 26/04/08Posts: 47

kara sabe esse code que vc poe script quando vc copia olha como fika.

 

gdfgfhe4.jpg

nao tem como vc tira esse ''code'' por ''quote''

 

Obrigado.





Te ajudei? Use por favor!!


Fan






''Se você quer vencer, não fique olhando a escada. Comece a subir, degrau por degrau, até chegar ao topo .''

lnsteam

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 19/02/08Posts: 11

Não vou substituir a soya, mas vou acrescentar.

 

parece bom!

 

fui

DragoR

(¯`·._.·`¯) Rafa (¯`·._.·`¯)
avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 25/11/07Posts: 125Char no Tibia: Lacookie

Muito Bom!!

 

É capaz de substituir o Mad por esse!!!

 

Roxx!!!

Cumprimentos, ~DragoR~

usebar002yi5ch5jl9pt9ov6.gif

Meus Trabalhos:

Bill Gates com Guarda Costas

Minha 1ª Fake!

Monstros Do Update (e Muito +)

~~Metas:~~

 

[X]1post

[X]5 posts (SERVO)

[X]10 posts (CAMPONÊS)

[X]25 posts (CAÇADOR)

[X]50 posts (CAVALEIRO)

[X]100 posts (BARONETE)

[ ]200 posts (BARÃO)

[ ]300 posts (VISCONDE)

[ ]400 posts (DUQUE)

[ ]600 posts (ARQUEDUQUE)

[ ]800 posts (ARISTOCRATA)

[ ]1000 posts (REGENTE)

[ ]1400 posts (SÁBIO)

[ ]1800 posts (SACERDOTE)

[ ]2500 posts (PRÍNCIPE)

 

delton

Ex-Xtibian
avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 16/11/07Posts: 389Gênero: MasculinoChar no Tibia: Tiger Darm

Ele funfa no TFS?

Olá XTibiano:

Sua assinatura estava com um problema na TAG SPOILER e foi movida para a parte "Sobre mim".
Agradecemos a sua compreensão.

Atenciosamente,
JV Chequer

Perfect Mapper

Varegera
avatar
Artesão
Artesão

INFOS

Grupo: ArtesãoRegistrado: 12/12/06Posts: 124Gênero: MasculinoChar no Tibia: lanternah

caramba hein deve ter demorado bastante pra por todos os preços xD

caramba veio muito bom =B

ROX?? noooo ,ROX A LOT!!!!

 

xDDDDDDDDDDD

 

---------EDIT---------

CARA achei um erro =B

o ID do nighmare shield ta errado xD se pois o do tortoise shield hehe

tem q subistituir o id 6131 por 6391

 

ah e tambem tem varios itens q tem 2x no script

ex: tem 2 magic sword =D mas te mmais item q tem 2 soh procurar xd

 

flws


primeiro avatar do xtibia =D


clica AQUI e upe meu pokemon PLXXXX

metas:
[x]1post----------------------------[x]100 posts (BARONETE)----------[ ]800 posts (ARISTOCRATA)
[x]5 posts (SERVO)---------------[x]200 posts (BARÃO)--------------[ ]1000 posts (REGENTE)
[x]10 posts (CAMPONÊS)---------[ ]300 posts (VISCONDE)----------[ ]1400 posts (SÁBIO)
[x]25 posts (CAÇADOR)----------[ ]400 posts (DUQUE)--------------[ ]1800 posts (SACERDOTE)
[x]50 posts (CAVALEIRO)--------[ ]600 posts (ARQUEDUQUE)-------[ ]2500 posts (PRÍNCIPE)


Skypper

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 29/06/08Posts: 64Char no Tibia: Speed Death

AEW Parabens

GOSTEI

É meu fan? Te ajudei em alguma coisa? Então use. xD


Minhas metas:
[X]1.....Post.... SERVO
[X]10...Posts...CAMPONÊS
[X]25...Posts...CAÇADOR
[X]50...Posts...CAVALEIRO
[X]100..Posts...BARONETE
[_]200..Posts...BARÃO <--- Esse eh o alvo xD

[_]300..Posts...VISCONDE
[_]400..Posts...DUQUE
[_]600..Posts...ARQUEDUQUE
[_]800..Posts...ARISTOCRATA
[_]1000.Posts...REGENTE
[_]1400.Posts...SÁBIO
[_]1800.Posts...SACERDOTE
[_]2500.Posts...PRÍNCIPE

Sou fãn de:











Sou:





nomadD

avatar
Banidos
Banidos

INFOS

Grupo: BanidosRegistrado: 03/07/08Posts: 27Char no Tibia: Mazurs'ky
kara sabe esse code que vc poe script quando vc copia olha como fika.

 

gdfgfhe4.jpg

nao tem como vc tira esse ''code'' por ''quote''

 

Obrigado.

 

Aqui tbm ta asim, alguem poderia posta este npc que esta usando em teu serve Obrigado te+

~Quem se descreve,se limita~




Presente do cold~www.honorcheats.com

~Ajude seja humilde~

Popp

avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 09/10/07Posts: 338Char no Tibia: Popr Sansungz

Esse é o famoso npc, compra tudo!



Propaganda da Fadepe



Faculdade para o desenvolvimento de Pernambuco

- Administração de Empresa
- Administração em Marketing

- Rua Dr. José Maria, 1106, Tamarineira
- Telefone: (81) 3265-5020
- De segunda à sexta, das 14h às 21h30)
- E-mail: fadepe@fadepe.com.br

Fazio

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 22/10/06Posts: 19Char no Tibia: shrek kyrhosaki

é deve ter demorado um tempao pra por isso né kra

o.O

vo fala com meu amigo que ele ponha isso no ot dele

lokoka

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 23/01/08Posts: 9

vlww aeeee!!

 

ajudoo mttttttttt