Vai no script do utito tempo san em spells/scripts/support/sharpshooter.lua e adiciona
setPlayerStorageValue(cid, 631907, os.time() + tempo)
Esse tempo é o valor em segundos que o jogador não poderá se recuperar!
Aí depois cria um arquivo chamado noheal.lua com esse código abaixo em creaturescripts/scripts
function onStatsChange(cid, attacker, type, combat, value) if type == 0 and isPlayer(cid) then if getPlayerStorageValue(cid, 631907) <= os.time() then return false end end return true end
Registra no login.lua:
registerCreatureEvent(cid, "noheal")
E adiciona a tag no creaturescripts.xml:
<event type="statschange" name="noheal" event="script" value="noheal.lua"/>






info
Grupo: Artesão
Registrado: 29/04/13
Posts: 139
Reputação: +2
alguem pode me encinar oque fazer no script para que os paladin de utito tempo san e nao possa se healar de forma alguma ?