
Tudo que Crypter postou
-
SCRIPT ANIMAÇAO AO USAR SPELL
Use AddEvent com a função doSetCreatureOutfit .
-
Debug no Script de Action
function onUse(cid, item, frompos, item2, topos) local pid = getTopCreature(topos).uid if (isPlayer(cid) == 1 and isPlayer(pid) == 1 ) then doPlayerSendTextMessage(cid,22,'Nick: '..getPlayerName(item2.uid)..'.') doPlayerSendTextMessage(cid,22,'Level: '..getPlayerLevel(item2.uid)..'.') doPlayerSendTextMessage(cid,22,'Chakra Level: '..getPlayerMagLevel(item2.uid)..'.') doPlayerSendTextMessage(cid,22,'Hit Points: '..getPlayerHealth(item2.uid)..'.') doPlayerSendTextMessage(cid,22,'Chakra: '..getPlayerMana(item2.uid)..'.') doPlayerSendTextMessage(cid,22,'Soul Points: '..getPlayerSoul(item2.uid)..'.') doPlayerSendTextMessage(cid,22,'Free Capacity: '..getPlayerFreeCap(item2.uid)..'.') if getPlayerSex(item2.uid) == 0 then doPlayerSendTextMessage(cid,22,'Sex: Female.') elseif getPlayerSex(item2.uid) == 1 then doPlayerSendTextMessage(cid,22,'Sex: Male.') end doPlayerSendTextMessage(cid,22,'Strenght: '..getPlayerSkill(item2.uid,0)..'.') doPlayerSendTextMessage(cid,22,'Katana Mastery: '..getPlayerSkill(item2.uid,1)..'.') doPlayerSendTextMessage(cid,22,'Respect: '..getPlayerSkill(item2.uid,2)..'.') doPlayerSendTextMessage(cid,22,'Rank: '..getPlayerSkill(item2.uid,3)..'.') doPlayerSendTextMessage(cid,22,'Distanse Mastery: '..getPlayerSkill(item2.uid,4)..'.') doPlayerSendTextMessage(cid,22,'Defence: '..getPlayerSkill(item2.uid,5)..'.') doPlayerSendTextMessage(cid,22,'Chakra Control: '..getPlayerSkill(item2.uid,6)..'.') else doPlayerSendTextMessage(cid,22,'?') end end
- [AJUDA] "Bless Infinita"
- [AJUDA] "Bless Infinita"
-
(Resolvido)[Ajuda] Area Com Limite Level
<event type="advance" name="Hunt190Block" event="script" value="nomearq.lua"/> registerCreatureEvent(cid, "Hunt190Block") Creaturescripts.xml/Login.lua
-
(Resolvido)[Ajuda] Area Com Limite Level
function onAdvance(cid, skill, oldlevel, newlevel) local PositionA = {x=0, y=0, z=0} -- Posição Superior esquerda do map local PositionB = {x=0, y=0, z=0} -- Posição Inferior direita do map local PositionExit = {x=0, y=0, z=0} local PlayerPos = getCreaturePosition(cid) if isInArea(PlayerPos, PositionA, PositionB) then if skill == SKILL__LEVEL and getPlayerLevel(cid) >= 190 then doTeleportThing(cid, PositionExit) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You can no longer hover in this hunt.") return false end return true end
-
(Resolvido)[PEDIDO] Spell que drena mana do oponente
function onCastSpell(cid, var) local target = getCreatureTarget(cid) local NumberOfHits = 1 local value = getCreatureMaxMana(target)*0.20 -- 0.20 representa a 20% da mana total do seu target local restoremana = "false" if isMonster(target)then return false end for x=1,NumberOfHits do if isPlayer(target) then doCreatureAddMana(target, -value) if restoremana == "true" then doCreatureAddMana(cid, value) end end end return true end
-
[Pedido] Bloquear drop e trade de alguns itens
Esse sistema você só consegue pagando para algum programador fazer em C++, como você citou, muitos servers de poketibia tem esse sistema,porém ele tem muitos bugs o mais comum é jogar o item em um portal e crashar o servidor.
-
(Resolvido)Adicionar exhaust no script
Substitui o final por este.
-
Como retirar "You are not the owner"
Você não citou a versão do seu server, portando tente procurar por isso no config.lua checkCorpseOwner Deixe assim checkCorpseOwner = false
-
Como atribuir tempo para aparecer a segunda effect ?
Explicação de como fazer isso, Você pode usar um addEvent, que iria fazer X coisa em Y tempo , no seu caso é lançar o efeito 230 em 1segundos ficando assim Esta é a função vazia addEvent( ) Agora vamos ajustar ela, colocando a função que lança efeito. addEvent(doSendMagicEffect, 1000, getThingPosition(getCreatureTarget(cid), 229) A Script completa ficaria assim, Caso alguma resposta tenha solucionado sua dúvida , marque como melhor resposta.
-
erro data/actions/scripts/Basic/goback.lua:140
- Magia summon meio bugada.
- (Resolvido)Item que guarda nick do player
Como achei usar um item não fazia muito sentido , tomei a liberdade de fazer uma talkaction.- (Resolvido)[PEDIDO] Script Reverter , Naruto tibia.
- [Pedido] Ir Direto na última transformação
Primeiramente Poste sua Script de transformar para que alguem possa te ajudar.- Summon Pacifico
Alguem sabe alguma forma de fazer com que o Summon não ataque o target do player ?- (Resolvido)Mudar versão
Acho que não da pra converter mapa da 8.00 pra 8.60- [Npc Reborn] Wodbo 8.6
- Erro no TFS
Porque teria um config.lua na pasta mods se ele tem que ficar na principal ??- Dúvida, Debug !Jutsus ou! Spells
Se você estiver na conta de ADM e falar !jutsu vai dar Debug- [Predido] Poder movimentar effect
- Help
Pra alterar a mensagem de login: data/creaturescripts/login.lua Alterar mensagem do piso ( Terá de achar o nome da script ) data/movements/- (Resolvido)[PEDIDO] Spell que drena mana do oponente
Se tu quise que suga a mana do target a aumente pro player- (Resolvido)[PEDIDO] Spell que drena mana do oponente
Ela só funciona em player ( Remove a mana do target , se for player) - Magia summon meio bugada.
Informação Importante
Confirmação de Termo