Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------
- -- Nom : Donjon des Bouftous
- -- Zone : Tain?la
- -- Type : Combat
- -- Version : 0.2
- -- Cr?ateur : Shooterah (Modifié par Mayar)
- -- AJOUTS :
- -- -Phoenix use popo rappel
- -- -trajet du zaap tainéla jusqu'au donjon
- -- -banque use popo rappel(a voir) et kamas items
- -- -hdv à voir
- -- -monter dd à voir
- ---------------------------------------------
- MAX_PODS = 80
- AUTO_DELETE = {2425, 1728, 2422, }
- DISPLAY_FIGHT_COUNT = true
- MIN_MONSTERS = 1
- MAX_MONSTERS = 8
- function enter()
- if inventory:itemCount(1568) > 0 then
- npc:npc(173,3)
- npc:reply(-1)
- end
- end
- function leave()
- if map:onMap("1312772") then
- npc:npc(173,3)
- npc:reply(-1)
- end
- end
- function cle()
- npc:npcBank(-1)
- exchange:putAllItems()
- exchange:getItem(1568,4)
- exchange:getItem(548,5)
- exchange:getkamas(500)
- npc:leaveDialog()
- map:moveToCell(396)
- inventory:useItem(548)
- end
- -----------------------------
- -----------------------------------
- function poporap()
- inventory:useItem(548)
- end
- function phenix()
- return{
- {map= "2,-12", path = "right", door = "272"},
- {map= "3,-12", custom = poporap},
- }
- end
- function move()
- return {
- {map= "3,-12", custom = poporap},
- { map = "1,-32", path = "top" },
- { map = "1,-32", path = "top" },
- { map = "1,-33", path = "top" },
- { map = "1,-34", path = "right" },
- { map = "1314", path = "bottom" },
- { map = "5,-22", path = "left" },
- { map = "4,-31", path = "right" },
- { map = "3,-32", path = "right" },
- { map = "2,-32", path = "right" },
- { map = "4,-17", path = "bottom" },
- { map = "4,-18", path = "bottom" },
- { map = "4,-19", path = "bottom" },
- { map = "4,-20", path = "bottom" },
- { map = "4,-21", path = "bottom" },
- { map = "4,-22", path = "bottom" },
- { map = "5,-23", path = "bottom" },
- { map = "5,-24", path = "bottom" },
- { map = "5,-25", path = "bottom" },
- { map = "5,-26", path = "bottom" },
- { map = "5,-27", path = "bottom" },
- { map = "5,-28", path = "bottom" },
- { map = "5,-29", path = "bottom" },
- { map = "5,-30", path = "bottom" },
- { map = "5,-31", path = "bottom" },
- { map = "4,-32", path = "bottom" },
- { map = "2,-33", path = "bottom" },
- { map = "84674566", door = "303" },
- { map = "83887104", custom = cle },
- { map = "1311744", forcefight = true }, -- 1ère salle
- { map = "1313792", forcefight = true }, -- 2ème salle
- { map = "1310722", forcefight = true }, -- 3ème salle
- { map = "1312770", forcefight = true }, -- 4ème salle
- { map = "1311748", forcefight = true }, -- Dernière salle
- { map = "1312772", custom = leave },
- }
- function bank()
- return {
- }
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement