Postado Julho 31, 2014 10 anos Olá, alguém consegue fazer uma spells pra mim? ela seria assim: O player utiliza a spell, uchihagaeshi (exemplo) então, algum player ou monstros ataca ele, então ele não receberá o dano, o dano voltaram para quem o atacou, poderá ser ativada a cada 20 segundos, e durará apenas por 1 dano.
Postado Agosto 2, 2014 10 anos vo passa uma talk e tipo ele falo !reflect ai o dano voltara .. function onSay(cid, words, param) local cargas = 10 -- quantas vezes ira refletir if getPlayerStorageValue(cid, 19273) <= 0 and getPlayerStorageValue(cid, 19274) - os.time() < 0 then setPlayerStorageValue(cid, 19273, cargas) setPlayerStorageValue(cid, 19274, os.time() + 300*1000) else doPlayerSendTextMessage(cid, 28, "Você só podera usar denovo daqui [".. getPlayerStorageValue(cid, 19274) - os.time() .. "] Segundos.") end return true end se quiser tira o tempo pra usa so avisa ai se qusie uma spells avisa +rep se ajudei
Postado Agosto 2, 2014 10 anos Nossa a Em 02/08/2014 em 03:12, cocazul disse: vo passa uma talk e tipo ele falo !reflect ai o dano voltara .. function onSay(cid, words, param) local cargas = 10 -- quantas vezes ira refletir if getPlayerStorageValue(cid, 19273) <= 0 and getPlayerStorageValue(cid, 19274) - os.time() < 0 then setPlayerStorageValue(cid, 19273, cargas) setPlayerStorageValue(cid, 19274, os.time() + 300*1000) else doPlayerSendTextMessage(cid, 28, "Você só podera usar denovo daqui [".. getPlayerStorageValue(cid, 19274) - os.time() .. "] Segundos.") end return true end se quiser tira o tempo pra usa so avisa ai se qusie uma spells avisa +rep se ajudei Se tem certeza que isso vai funfa, axo que falta algo pra completar isso.
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.