Mam pewien błąd. Otóż ludzie leją się przed depo hp spada im do 0 nick znika ale postać nie pada. Można dalej biegać, pisać itd. Uleczyć się już nie można. W silniku wyskakuje błąd:
Jeszcze dam zawartość mojego onkill.lua:
Szczerze mówiąc to dziwna sprawa, ale mam nadzieje, ze ktoś wie jak to naprawić. Nie wszyscy są "nieśmiertelni".[Error - CreatureScript Interface]
buffernKill
Description:
[string "loadBuffer"]:99: attempt to index a number value stack traceback:
[string "loadBuffer"]:99: in function <[string "loadBuffer"]:6>
Jeszcze dam zawartość mojego onkill.lua:
function onKill(cid, target)
if(isPlayer(target) == FALSE) then
for k, v in pairs(wow_like_quests_storages) do
local storage = getPlayerStorageValue(k)
if(storage >= 0) then
if(storage < v.amount) then
setPlayerStorageValue(cid, k, storage+1)
if(v.on_kill) then
v.on_kill(cid, parameters)
end
end
if((storage+1) == v.amount) then
if(v.on_finish) then
v.on_finish(cid, parameters)
end
end
end
end
end
return TRUE
end