Mam pytanie poprzestawialem pare items itp. eq dorobilem i mam pytanie bo mozna rzucac sd w swoich moglby mi ktos pomoc i powiedziec jak naprawic te bledy z SD itp. i co to jest za blad przy zmianie mapy:
Tu moj mine.lua z data/lib jesli moge prosic o poprawki z sd
Code:
Lua Script Error: [GlobalEvent Interface]
data/globalevents/scripts/mine/changearea.lua:onThink
Lua doRemoveConditions<>. Creature not found
Tu moj mine.lua z data/lib jesli moge prosic o poprawki z sd
Code:
ITEMS = {} --[[##do not touch it!##]]
--for empty slot use nil or FALSE
--[[sorcerer]] ITEMS[5] = {
2474, --1 // head // archangel helmet
2200, --2 // necakle // protection amulet
2000, --3 // backpack // red backpack
8890, --4 // armor // robe of dark magic
7409, --5 // right hand // darkness staff
8900, --6 // left hand // stormfury totem
7730, --7 // legs // blue legs
7891, --8 // feet // underworld boots
2214, --9 // ring // ring of healing
nil, --10 // ammo slot // EMPTY
--items to a backpack
ANTIBOT.UH, --UH [[ANTIBOT]]
ANTIBOT.SD, --SD [[ANTIBOT]]
ANTIBOT.EXPLO, --EXPLOSION [[ANTIBOT]]
ANTIBOT.HMM, --HMM [[ANTIBOT]
2274, --avalanche rune
ANTIBOT.GFB, --GFB [[ANTIBOT]]
ANTIBOT.PBOMB, --Poison Bomb Rune [[ANTIBOT]
ANTIBOT.FBOMB, --Fire Bomb Rune [[ANTIBOT]]
ANTIBOT.EBOMB, --Energy Bomb Rune [[ANTIBOMB]]
7590, --Great Mana Potion
2293, --Magic Wall Rune [[ANTIBOT]]
}
--[[druid]] ITEMS[6] = {
2474, --1 // head // archangel helmet
2200, --2 // necakle // protection amulet
2002, --3 // backpack // blue backpack
8890, --4 // armor // robe of dark magic
7409, --5 // right hand // darkness staff
8900, --6 // left hand // stormfury totem
7730, --7 // legs // blue legs
7891, --8 // feet // underworld boots
2214, --9 // ring // ring of healing
nil, --10 // ammo slot // EMPTY
--items to a backpack
ANTIBOT.UH, --UH [[ANTIBOT]]
ANTIBOT.SD, --SD [[ANTIBOT]]
ANTIBOT.EXPLO, --EXPLOSION [[ANTIBOT]]
ANTIBOT.HMM, --HMM [[ANTIBOT]
2274, --Avalanche Rune
ANTIBOT.GFB, --GFB [[ANTIBOT]]
ANTIBOT.PBOMB, --Poison Bomb Rune [[ANTIBOT]
ANTIBOT.FBOMB, --Fire Bomb Rune [[ANTIBOT]]
ANTIBOT.EBOMB, --Energy Bomb Rune [[ANTIBOMB]]
7590, --Great Mana Potion
2269, --Wild Growth Rune [[ANTIBOT]]
2278, --Paralyze Rune [[ANTIBOT]]
}
--[[paladin]] ITEMS[7] = {
2474, --1 // head // archangel helmet
2200, --2 // necakle // protection amulet
2003, --3 // backpack // grey backpack
8880, --4 // armor // archery armor
8851, --5 // right hand // bloody crossbow
nil, --6 // left hand // EMPTY
9777, --7 // legs // yalahari leg piece
7891, --8 // feet // underworld boots
2214, --9 // ring // ring of healing
6529, --10 // ammo slot // infernal bolts
--items to a backpack
ANTIBOT.UH, --UH [[ANTIBOT]]
ANTIBOT.SD, --SD [[ANTIBOT]]
ANTIBOT.EXPLO, --EXPLOSION [[ANTIBOT]]
ANTIBOT.HMM, --HMM [[ANTIBOT]
2274, --avalanche rune
ANTIBOT.GFB, --GFB [[ANTIBOT]]
ANTIBOT.PBOMB, --Poison Bomb Rune [[ANTIBOT]
ANTIBOT.FBOMB, --Fire Bomb Rune [[ANTIBOT]]
ANTIBOT.EBOMB, --Energy Bomb Rune [[ANTIBOMB]]
7589, --Strong Mana Potion
2293, --magic wall rune [[ANTIBOT]]
}
--[[knight]] ITEMS[8] = {
2474, --1 // head // archangel helmet
2200, --2 // necakle // protection amulet
1999, --3 // backpack // yellow backpack
8877, --4 // armor // heavier armor
2396, --5 // right hand // ice rapier
8905, --6 // left hand // rainbow shield
2470, --7 // legs // golden legs
7891, --8 // feet // underworld boots
2214, --9 // ring // ring of healing
FALSE, --10 // ammo slot // EMPTY
--items to a backpack
ANTIBOT.UH, --UH [[ANTIBOT]]
ANTIBOT.EXPLO, --EXPLOSION [[ANTIBOT]]
ANTIBOT.HMM, --HMM [[ANTIBOT]
2274, --avalanche rune
ANTIBOT.GFB, --GFB [[ANTIBOT]]
ANTIBOT.PBOMB, --Poison Bomb Rune [[ANTIBOT]
ANTIBOT.FBOMB, --Fire Bomb Rune [[ANTIBOT]]
ANTIBOT.EBOMB, --Energy Bomb Rune [[ANTIBOMB]]
7591, --Great Health Potion
7620, --Mana Potion
}