Queria um script para NPC que voce trocasse 30x do ID 6527 por terceira vocação!
Alguem pode me ajudar?
Fala a versao do seu ot que eu vou ver se posso ajudar.
Por aldroyd, 16 de nov. de 2009 em Archived
info
Grupo: Campones
Registrado: 24/09/09
Posts: 21
Reputação: 0
Char no Tibia: Druida Aff

Queria um script para NPC que voce trocasse 30x do ID 6527 por terceira vocação!
Alguem pode me ajudar?
Fala a versao do seu ot que eu vou ver se posso ajudar.
8.5
O script ta pronto!
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
local node1 = keywordHandler:addKeyword({'promot'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can promote you for 20000 gold coins. Do you want me to promote you?'})
node1:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 20000, level = 20, promotion = 1, text = 'Congratulations! You are now promoted.'})
node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true})
local node2 = keywordHandler:addKeyword({'bruthal'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can bruthalize you for 30 bruthal coins. Do you want me to bruthalize you?'})
node2:addChildKeyword({'yes'}, StdModule.promotePlayer, {npcHandler = npcHandler, cost = 200000, level = 100, promotion = 2, text = 'Congratulations! You are now bruthalized.'})
node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then, come back when you are ready.', reset = true})
npcHandler:addModule(FocusModule:new())
Tem como trocar para que de vez ele trocar por GP trocar por 30x 6527 ? Ou terá que refazer o script?
info
Grupo: Campones
Registrado: 24/09/09
Posts: 21
Reputação: 0
Char no Tibia: Druida Aff

me add nu msn: geovane5858@hotmail.com
la eu cv com vc.
info
Grupo: Campones
Registrado: 03/11/09
Posts: 13
Reputação: 0
Char no Tibia: Kravoth
Queria um script para NPC que voce trocasse 30x do ID 6527 por terceira vocação!
Alguem pode me ajudar?