Intaum cara tem alguns ots...nao sei ce sao todos que por exemplo:
quando vc fala,
Health potion
ou
Great Health potion
Ele vai ler como health potion...intaum tente por normal health potion
pq ai fica,
normal health potion
strong health potion
great health potion...
o mesmo pra mana
...Ai a decisao de como vai ficar é sua
espero de ter ajudado...
Boa Sorte


info
Grupo: Campones
Registrado: 05/01/07
Posts: 62
Reputação: 0
Eu uso o sistema do Jiddo de npcs, e fiz um Npc de potions baseado nele, e funcionou e tals, ms quando eu falo strong ou great mana/health potion, ele da só a potion normal, a primeira, ou seja ele lê só como mana/health potion
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start 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 -- OTServ event handling functions end keywordHandler:addKeyword({'potions'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell mana potions, strong mana potions and great mana potions. I also sell health, strong and great health potions.'}) npcHandler:addModule(FocusModule:new())Alguém pode me ajudar?