Aqui está:
Spell 6:
<instant name="For Attack" words="Mokuton Mokuryuy" lvl="50" mana="150" aggressive="1" range="5" blockwalls="1" needtarget="1" exhaustion="2000" needlearn="0" event="script" value="personagem/hashirama/6.lua">
<vocation id="11"/> <vocation id="1110"/> <vocation id="1120"/> <vocation id="1130"/> <vocation id="1140"/>
</instant>
Spell 7:
<instant name="For Attack" words="Gosoju no Jutsu" lvl="60" mana="300" prem="0" exhaustion="2000" direction="1" event="script" value="personagem/hashirama/7.lua">
<vocation id="11"/> <vocation id="1110"/> <vocation id="1120"/> <vocation id="1130"/> <vocation id="1140"/>
</instant>
[EDIT]
@FeeTads Coloquei do jeito que você falou pra por, mas da o mesmo erro e +1 de brinde agora ?:
[Error - Spell Interface]
data/spells/scripts/personagem/hashirama/6.lua:onCastSpell
Description:
(LuaInterface::luaGetPlayerFlagValue) Player not found
[Error - Spell Interface]
In a timer event called from:
data/spells/scripts/personagem/hashirama/6.lua:onCastSpell
Description:
data/spells/scripts/personagem/hashirama/6.lua:17: attempt to index global 'parametes' (a nil value)
stack traceback:
data/spells/scripts/personagem/hashirama/6.lua:17: in function <data/spells/scripts/personagem/hashirama/6.lua:16>
[EDIT]
Encontrei a solução!
O problema estava no arquivo de exaust, aqui ta como deixei ele para caso alguém no futuro venha procurar:
exhaustion =
{
check = function(cid, storage)
if isMonster(cid) then
return false
end
if (getPlayerFlagValue(cid, PLAYERFLAG_HASNOEXHAUSTION)) then
return false
end
return getPlayerStorageValue(cid, storage) >= os.time()
end,
get = function(cid, storage)
if isMonster(cid) then
return false
end
if (getPlayerFlagValue(cid, PLAYERFLAG_HASNOEXHAUSTION)) then
return false
end
local exhaust = getPlayerStorageValue(cid, storage)
if (exhaust > 0) then
local left = exhaust - os.time()
if (left >= 0) then
return left
end
end
return false
end,
set = function(cid, storage, time)
if isMonster(cid) then
return
end
setPlayerStorageValue(cid, storage, os.time() + time)
end,
make = function(cid, storage, time)
local exhaust = exhaustion.get(cid, storage)
if (not exhaust) then
exhaustion.set(cid, storage, time)
return true
end
return false
end
}
Muitissimo obrigado novamente pelo apoio @FeeTads