Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. ---------------------------------------------
  2. -- Nom : Donjon des Bouftous
  3. -- Zone : Tain?la
  4. -- Type : Combat
  5. -- Version : 0.2
  6. -- Cr?ateur : Shooterah (Modifié par Mayar)
  7.  
  8. -- AJOUTS :
  9. -- -Phoenix use popo rappel
  10. -- -trajet du zaap tainéla jusqu'au donjon
  11. -- -banque use popo rappel(a voir) et kamas items
  12. -- -hdv à voir
  13. -- -monter dd à voir
  14. ---------------------------------------------
  15.  
  16. MAX_PODS = 80
  17. AUTO_DELETE = {2425, 1728, 2422, }
  18.  
  19. DISPLAY_FIGHT_COUNT = true
  20.  
  21. MIN_MONSTERS = 1
  22. MAX_MONSTERS = 8
  23.  
  24. function enter()
  25. if inventory:itemCount(1568) > 0 then
  26. npc:npc(173,3)
  27. npc:reply(-1)
  28. end
  29. end
  30.  
  31.  
  32. function leave()
  33. if map:onMap("1312772") then
  34. npc:npc(173,3)
  35. npc:reply(-1)
  36. end
  37. end
  38.  
  39.  
  40. function cle()
  41. npc:npcBank(-1)
  42. exchange:putAllItems()
  43. exchange:getItem(1568,4)
  44. exchange:getItem(548,5)
  45. exchange:getkamas(500)
  46. npc:leaveDialog()
  47. map:moveToCell(396)
  48.  
  49. end
  50.  
  51. -----------------------------
  52. -----------------------------------
  53.  
  54.  
  55. function poporap()
  56.  
  57. inventory:useItem(548)
  58.  
  59. end
  60.  
  61. function phenix()
  62.  
  63. return{
  64.  
  65. {map= "2,-12", path = "right", door = "272"},
  66. {map= "3,-12", custom = poporap},
  67.  
  68. }
  69.  
  70. end
  71.  
  72.  
  73. function move()
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81. return {
  82.  
  83. {map= "3,-12", custom = poporap},
  84.  
  85. { map = "1,-32", path = "top" },
  86. { map = "1,-32", path = "top" },
  87. { map = "1,-33", path = "top" },
  88. { map = "1,-34", path = "right" },
  89.  
  90. { map = "1314", path = "bottom" },
  91. { map = "5,-22", path = "left" },
  92. { map = "4,-31", path = "right" },
  93. { map = "3,-32", path = "right" },
  94. { map = "2,-32", path = "right" },
  95. { map = "4,-17", path = "bottom" },
  96. { map = "4,-18", path = "bottom" },
  97. { map = "4,-19", path = "bottom" },
  98. { map = "4,-20", path = "bottom" },
  99. { map = "4,-21", path = "bottom" },
  100. { map = "4,-22", path = "bottom" },
  101. { map = "5,-23", path = "bottom" },
  102. { map = "5,-24", path = "bottom" },
  103. { map = "5,-25", path = "bottom" },
  104. { map = "5,-26", path = "bottom" },
  105. { map = "5,-27", path = "bottom" },
  106. { map = "5,-28", path = "bottom" },
  107. { map = "5,-29", path = "bottom" },
  108. { map = "5,-30", path = "bottom" },
  109. { map = "5,-31", path = "bottom" },
  110. { map = "4,-32", path = "bottom" },
  111. { map = "2,-33", path = "bottom" },
  112. { map = "84674566", door = "303" },
  113. { map = "83887104", custom = cle },
  114. { map = "1311744", forcefight = true }, -- 1ère salle
  115. { map = "1313792", forcefight = true }, -- 2ème salle
  116. { map = "1310722", forcefight = true }, -- 3ème salle
  117. { map = "1312770", forcefight = true }, -- 4ème salle
  118. { map = "1311748", forcefight = true }, -- Dernière salle
  119. { map = "1312772", custom = leave },
  120.  
  121. }
  122.  
  123.  
  124. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement