Ir para conteúdo

Rafael Mateus

Membro
  • Registro em

  • Última visita

Tudo que Rafael Mateus postou

  1. Rafael Mateus postou uma resposta no tópico em Suporte & Pedidos
    Dps Que Vi Alguns Video Como Ficou
  2. http://www.tibiaking.com/forum/topic/35663-critical-skill-system/ Esse Aki Do Wolf Dah Uma Olhada Nele
  3. Eu Queria Uma Montaria Que So Funciona-se Quando o Player Tivesse X Storage Servidor 8.60 Obs: Jah Vi Muito Isso Em PokeTibia Se Tiver Que Altera Algo Na Source Podem Passa Tmb
  4. Era Isso Mesmo Que Eu Queria Vlw Cara
  5. Rafael Mateus postou uma resposta no tópico em Suporte & Pedidos
    Como Ficou ? obs: Eu Queria Sabe Como Colorir Melhor se Alguem Souber Algum Tutorial Ia Ajuda
  6. na pasta data/talkactions/scripts o transform.lua --[vocation id] = { level, nova voc, looktype, efeito} [1] = { 25, 2, 66, 208} -- so muda o terceiro que e o looktype
  7. <?xml version="1.0" encoding="UTF-8"?> <monster name="Aladin Maldito" nameDescription="Aladin Maldito" race="undead" experience="9000000" speed="50000" manacost="0"> <health now="40000000" max="40000000"/> -- Alterei Jah o Hp Pra Voce Se Gosta Pode Deixar Assim <look type="80" head="0" body="94" legs="79" feet="79" corpse="6068"/> <targetchange interval="10000" chance="20"/> <strategy attack="9200000000" defense="100000000"/> <flags> <flag summonable="0"/> <flag attackable="10000000"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag staticattack="9000000008"/> <flag targetdistance="1"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2000" min="-1500" max="-2000"/> <attack name="fire" interval="3000" chance="35" range="7" radius="7" target="1" min="-900" max="-1500"> <attribute key="shootEffect" value="fire"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="melee" interval="1800000" chance="40" range="7" radius="5" target="0" min="6665451212120" max="4658122121200"> <attribute key="areaEffect" value="blackspark"/> </attack> <attack name="energy" interval="3000" chance="30" length="8" spread="0" min="-300" max="-1000"> <attribute key="areaEffect" value="energy"/> </attack> <attack name="physical" interval="2500" chance="20" range="7" radius="5" target="0" min="-300" max="-500"> <attribute key="areaEffect" value="greenshimmer"/> </attack> <attack name="physical" interval="2000" chance="15" range="7" radius="13" target="0" min="-350" max="- 500"> <attribute key="areaEffect" value="rednote"/> </attack> <attack name="physical" interval="2000" chance="20" radius="14" target="0" min="-300" max="-450"> <attribute key="areaEffect" value="bluebubble"/> </attack> <attack name="melee" interval="3000" chance="15" range="7" radius="3" target="0" min="65465200" max="4564156300"> <attribute key="areaEffect" value="blueshimmer"/> </attack> </attacks> <defenses armor="55" defense="65"> <defense name="healing" interval="3000" chance="60" min="300000" max="800000"> ------- so aumenta aki <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="speed" interval="4000" chance="80" speedchange="440" duration="6000"> <attribute key="areaEffect" value="redshimmer"/> </defense> </defenses> <elements> <element firePercent="100"/> <element earthPercent="100"/> <element energyPercent="100"/> <element deathPercent="60"/> <element physicalPercent="40"/> <element icePercent="-25"/> </elements> <immunities> <immunity paralyze="1"/> <immunity invisible="1"/> </immunities> <summons maxSummons="6"> <summon name="Demon" interval="4000" chance="33"/> </summons> <voices interval="5000" chance="30"> <voice sentence="I AM ABOMINATOR, LORD OF THE TRIANGLE... AND YOU ARE LOST!" yell="1"/> <voice sentence="MY SEED IS FEAR AND MY HARVEST ARE YOUR SOULS!" yell="1"/> <voice sentence="THE TRIANGLE OF TERROR WILL RISE!" yell="1"/> <voice sentence="ZATHROTH! LOOK AT THE DESTRUCTION I AM CAUSING IN YOUR NAME!" yell="1"/> </voices> <loot> <item id="2160" countmax="20" chance="100000"/><!-- gold coin --> <item id="2148" countmax="90" chance="50000"/><!-- gold coin --> <item id="2143" countmax="5" chance="10000"/><!-- white pearl --> <item id="2396" chance="19429"/><!-- ice rapier --> <item id="2462" chance="20000"/><!-- devil helmet --> <item id="2214" chance="16000"/><!-- ring of healing --> <item id="2003" chance="100000"><!-- grey backpack --> <inside> <item id="2495" chance="6000"/><!-- demon legs --> <item id="2387" chance="20000"/><!-- double axe --> <item id="2393" chance="60000"/><!-- giant sword --> <item id="2195" chance="16033"/><!-- boots of haste --> <item id="2421" chance="7000"/><!-- thunder hammer --> <item id="2522" chance="5600"/><!-- great shield --> <item id="2192" chance="24000"/><!-- crystal ball --> <item id="2112" chance="4100"/> --addon doll </inside> </item> </loot> </monster>
  8. qual foi o erro aki funciona direitinho eu so editei mais e de um servidor que eu uso @edit eu editei o npc lah em cima ve se funciona agora
  9. data/npc/scripts 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 travelNode = keywordHandler:addKeyword({'saffron'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Do you wanna go to Saffron, are you sure?'}) travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, level = 1, cost = 0, destination = {x=1053, y=1053, z=7} }) travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = 'Next time maybe.'}) keywordHandler:addKeyword({'travel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I can take you to Saffron.'}) -- Makes sure the npc reacts when you say hi, bye etc. npcHandler:addModule(FocusModule:new()) data/npc <?xml version="1.0" encoding="UTF-8"?> <npc name="nome do npc" script="data/npc/scripts/nome lua.lua" walkinterval="2000" speed="0" floorchange="0"> <health now="100" max="100"/> <look type="206" head="19" body="113" legs="95" feet="115" addons="0"/> <parameters> <parameter key="message_greet" value="Welcome on board, Sir |PLAYERNAME|. Do you want to {travel}?" /> </parameters> </npc>
  10. data/npc/scripts local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} 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 function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if(msgcontains(msg, 'missoes')) then selfSay('Ok, Para começar vamos fazer a {primeira missao}?', cid) end --------------------------------------------------------- if(msgcontains(msg, 'primeira missao')) then selfSay('oq ele vai pedi {exemplo:talisman}', cid) talkState[talkUser] = 1 elseif(msgcontains(msg, 'talisman') and talkState[talkUser] == 1) then if (getPlayerStorageValue(cid,111) > 0) then selfSay('Voce ja terminou essa missao.', cid) else if(doPlayerRemoveItem(cid, item que vai remove, quantidade dele) and doPlayerRemoveItem(cid,item que vai remove, quantidade dele) == TRUE) then setPlayerStorageValue(cid,111,1) -- Storage Que Vai Ser Entrege Ao Player doPlayerAddExperience(cid,1000) --tanto de experiencia que ele vai dah doPlayerAddItem(cid,10136,1) -- item que vai ser entrege selfSay('Obrigado! (ganhou um livro de presete e ganhou 1000 de exp por ler)', cid) else selfSay('Voce nao tens os 10 talisman ainda..', cid) end end return true end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) data/npc <?xml version="1.0" encoding="UTF-8"?> <npc name="nomedonpc" script="data/npc/scripts/nome lua do npc.lua" walkinterval="2000" speed="0" floorchange="0"> <health now="100" max="100"/> <look type="10" head="19" body="113" legs="95" feet="115" addons="0"/> <parameters> <parameter key="message_greet" value="Diga {missoes} ." /> </parameters> </npc>
  11. Rafael Mateus postou uma resposta no tópico em Suporte & Pedidos
    veio na mente mas axo que fake exacalibur seria um nome lecal
  12. Rafael Mateus postou uma resposta no tópico em Suporte & Pedidos
    E Minha Primeira Espada Como Fico Gente ?
  13. @up po gente n precisa ser um spell pode ser uma talkactions tmb
  14. Criticas Construtivas E Elogios Por Favor Quero Melhorar Cada Vez Mais
  15. voce tem que coloca virgula no final [12] = 2930, --- assim [13] = 2806 ---- a ultima voce n coloca ,
  16. Vai Em data/creaturescripts/scripts Cria Um Lua Com Nome niwdeath.lua e coloca isso dentro: local table = { [1] = 2882, --- [1] Vocation 2882 == ID Do Corpse [2] = 2882 } local function transform(pos, id, voc) local item = getTileItemById(pos, id) if item and item.uid > 1 then doTransformItem(item.uid, table[voc]) doDecayItem(item.uid or 0) end end function onDeath(cid, corpse) if not isPlayer(cid) or not table[getPlayerVocation(cid)] then return true end addEvent(transform, 15, getThingPos(cid), corpse.itemid, getPlayerVocation(cid)) return true end Depois Vai Em Login.lua e Coloca Isso: registerCreatureEvent(cid, "Niwdeath") Depois Vai creaturescripts.xml e coloca Isso Dentro: <event type="death" name="Niwdeath" event="script" value="niwdeath.lua"/>

Informação Importante

Confirmação de Termo