Solved but dont understand why this happen. I remove all kill from flame_dungeon and i create a new quest only for then, and it work perfect. Any1 have any idea why this happen?
quest kill_flame begin
state start begin
function level_clear()
d.setf("level",0)
d.clear_regen()
d.purge_area(750000,620000,817400,689400)
end
function is_flamed(idx)
return idx >= 351 * 10000 and idx < (351 + 1) *10000
end
when kill with kill_flame.is_flamed(pc.get_map_index()) and npc.get_race() == 8057 and d.getf("level") ==16 begin
notice_multiline(gameforge.flame_dungeon._540_notice,d.notice)
notice_multiline(gameforge.flame_dungeon._430_notice,d.notice)
kill_flame.level_clear()
end
when kill with kill_flame.is_flamed(d.get_map_index()) and npc.get_race() == 6091 and d.getf("level") ==17 begin
notice_multiline(gameforge.flame_dungeon._550_notice,d.notice)
notice_multiline(gameforge.flame_dungeon._560_notice,d.notice)
server_timer("dungeon_end_timer", 60, d.get_map_index())
kill_flame.level_clear()
if party.is_party() then
party.setf("flame_dungeon_boss_kill_count", 1)
end
end
when kill with kill_flame.is_flamed(pc.get_map_index()) and npc.get_race() == 6051 and d.getf("level") == 14 begin
notice_multiline(gameforge.flame_dungeon._460_notice,d.notice)
notice_multiline(gameforge.flame_dungeon._430_notice,d.notice)
kill_flame.level_clear()
end
when kill with flame_dungeon.is_flamed(pc.get_map_index()) and d.getf("level") == 15 begin
local i = number(1, 30)
if i == 1 then
game.drop_item (30330, 1)
end
end
when kill with flame_dungeon.is_flamed(pc.get_map_index()) begin
if d.getf("level") == 12 then
local i = number(1, 100)
if i == 1 then
game.drop_item (30329, 1)
end
end
end
end
end
I found the problem. The problem was on ITEM_ATTR table. Idk why but this table have a "RESIST_DARK" "RESIST_ICE" and "RESIST_EARTH". But checking on wiki from DE, IT, UK this bonus isnt enable on officla and when one of this bonus come it come with wrong name. But if i edit then in a item manual witht the right number like 89 for dark, 88 for earth and 87 for ice they come right. Then i just disable this bonus on item_attr.
Solved, i changed the quest i was using for a dungeon. I had an "d.join(ID)" then i chenged to another way. Now dont bug anymore. Thanks and alrdy can close.