Postado Dezembro 5, 2019 5 anos 6 minutos atrás, DouGlaS Mapper disse: @Ramon RBN Aconteceu a mesma coisa: [5/12/2019 12:24:48] [Error - CreatureScript Interface] [5/12/2019 12:24:48] data/creaturescripts/scripts/fraglook.lua:onLook [5/12/2019 12:24:48] Description: [5/12/2019 12:24:48] (LuaInterface::luaGetItemAttribute) Item not found function getDodge(cid) local total = 0 for i = 1, 10 do local item = getPlayerSlotItem(cid, i) if item.itemid > 0 then local attr = getItemAttribute(item.itemid, "dodgePercent") if attr ~= nil and attr > 0 then total = total + attr end end end return total end
Postado Dezembro 5, 2019 5 anos Autor @Ramon RBN [5/12/2019 12:34:1] [Error - CreatureScript Interface] [5/12/2019 12:34:1] data/creaturescripts/scripts/fraglook.lua:onLook [5/12/2019 12:34:1] Description: [5/12/2019 12:34:1] (LuaInterface::luaGetItemAttribute) Item not found
Postado Dezembro 5, 2019 5 anos 5 minutos atrás, DouGlaS Mapper disse: @Ramon RBN [5/12/2019 12:34:1] [Error - CreatureScript Interface] [5/12/2019 12:34:1] data/creaturescripts/scripts/fraglook.lua:onLook [5/12/2019 12:34:1] Description: [5/12/2019 12:34:1] (LuaInterface::luaGetItemAttribute) Item not found function getDodge(cid) local total = 0 for i = 1, 10 do local item = getPlayerSlotItem(cid, i) if item.itemid > 0 then local attr = getItemAttribute(item.uid, "dodgePercent") if attr ~= nil and attr > 0 then total = total + attr end end end return total end
Postado Dezembro 5, 2019 5 anos Autor @Ramon RBN Rapaz esse negocio não é de deus n kkkkk [5/12/2019 12:43:44] [Error - CreatureScript Interface] [5/12/2019 12:43:44] data/creaturescripts/scripts/fraglook.lua:onLook [5/12/2019 12:43:44] Description: [5/12/2019 12:43:44] data/creaturescripts/scripts/fraglook.lua:7: attempt to compare number with boolean [5/12/2019 12:43:44] stack traceback: [5/12/2019 12:43:44] data/creaturescripts/scripts/fraglook.lua:7: in function 'getDodge' [5/12/2019 12:43:44] data/creaturescripts/scripts/fraglook.lua:52: in function <data/creaturescripts/scripts/fraglook.lua:47>
Postado Dezembro 5, 2019 5 anos 3 minutos atrás, DouGlaS Mapper disse: @Ramon RBN Rapaz esse negocio não é de deus n kkkkk [5/12/2019 12:43:44] [Error - CreatureScript Interface] [5/12/2019 12:43:44] data/creaturescripts/scripts/fraglook.lua:onLook [5/12/2019 12:43:44] Description: [5/12/2019 12:43:44] data/creaturescripts/scripts/fraglook.lua:7: attempt to compare number with boolean [5/12/2019 12:43:44] stack traceback: [5/12/2019 12:43:44] data/creaturescripts/scripts/fraglook.lua:7: in function 'getDodge' [5/12/2019 12:43:44] data/creaturescripts/scripts/fraglook.lua:52: in function <data/creaturescripts/scripts/fraglook.lua:47> Agora é 100% kkkkkk function getDodge(cid) local total = 0 for i = 1, 10 do local item = getPlayerSlotItem(cid, i) if item.itemid > 0 then local attr = getItemAttribute(item.uid, "dodgePercent") if attr > 0 then total = total + attr end end end return total end
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.