Postado Janeiro 31, 2019 6 anos Olá estou com problemas no shiki fuujin pode me ajudar? @KotZletY Tipo eu uso, shiki fuujin e não funcionar e não da nenhum erro na distro . o resto está perfeito só tenho esse erro MEU SCRIPT Spoiler local selo_effect = 14 -- Efeito do selo que vai sair em cima do monstro selando ele. function onCastSpell(cid, var) if getPlayerStorageValue(cid, jin_Storage) <= 0 then if isMonster(getCreatureTarget(cid)) then if jin_bijuus[getCreatureName(getCreatureTarget(cid)):lower()] then if getCreatureHealth(getCreatureTarget(cid)) <= getCreatureMaxHealth(getCreatureTarget(cid))/100*jin_percentHp then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Você agora é Jinchuuriki do "..getCreatureName(getCreatureTarget(cid)):gsub("^%l", string.upper)..", use tamanho poder com sabedoria!!") jin.setPlayerBijuu(cid, jin_bijuus[getCreatureName(getCreatureTarget(cid)):lower()].sto) jin.setBijuuTime(cid, jin_TimeDay) jin.doPlayerSetSpells(cid, jin_bijuus[getCreatureName(getCreatureTarget(cid)):lower()].spells) doSendMagicEffect(getThingPosition(getCreatureTarget(cid)), selo_effect) doRemoveCreature(getCreatureTarget(cid)) return true else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Você só pode selar o bijuu quando o hp dele estiver menor ou igual a "..jin_percentHp..".") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Esse monstro não é um Bijuu.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Você só pode selar as Bijuus como Jinchuuriki.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Você não pode selar mais bijuu, atualmente você é Jinchuuriki do "..jin.getPlayerBijuu(cid)..", espere o tempo acabar.") end return false end SPELLS XML Spoiler <instant name="Shiki Fuujin" words="shiki fuujin" lvl="1" mana="1" prem="0" exhaustion="1000" enabled="1" needtarget="1" event="script" value="selojin.lua"> </instant> Editado Fevereiro 1, 2019 6 anos por KR3 (veja o histórico de edições)
Postado Setembro 18, 2019 5 anos Em 24/06/2018 em 18:49, Wesley Alexandre2014 disse: @KotZletY Mano eu queria que tipo o player so pode-se usar a spell que ganha, So quando estiver com o buff, Tem como ? @Breno Neves só falta isso pra o sistema fica perfeito pra min. pode min ajuda?
Postado Março 25, 2021 4 anos Boa noite, como faço para o player só usar as spells só quando ativar o buff.
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.