Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1.  
  2. AUTO_DELETE = { } -- Les éléments à supprimer
  3.  
  4. MAX_MONSTERS = 8 -- Le nombre maximum de monstres dans un groupe à combattre.
  5. MIN_MONSTERS = 1 -- Le nombre minimum de monstres dans un groupe à combattre.
  6.  
  7. FORBIDDEN_MONSTERS = { } -- Monstres interdits
  8. FORCE_MONSTERS = { } -- Monstres obligatoires
  9.  
  10. MAX_COMBAT = 800 -- Nombre de combats maximum
  11.  
  12. function move()
  13. return {
  14. {map = "96206850", custom = bouge, door = "248"}
  15. }
  16. end
  17.  
  18. function bouge()
  19. map:moveToCell(409)
  20. map:moveToCell(301)
  21. map:moveToCell(302)
  22. end
  23.  
  24. function npcDonjon() -- Fonction parler au npc pour rentrer dans le Donjon
  25. npc:npc(777,3)
  26. global:printSuccess("Je parle avec le pnj")
  27. npc:reply(-1)
  28. npc:reply(-1)
  29. npc:reply(-1)
  30. global:printSuccess("Je donne la clef, on fonce")
  31. global:delay(1500)
  32. end
  33.  
  34. function npcSortie() -- Fonction parler au npc pour Sortir
  35. npc:npc(777,3)
  36. global:printSuccess("Je parle avec le pnj")
  37. npc:reply(-1)
  38. global:printSuccess("Boss Vaincus, on sort")
  39. global:delay(1500)
  40. end
  41.  
  42. function move()
  43. return {
  44. { map = "5,7", path = "top" },
  45. { map = "5,6", door = "329" },
  46. { map = "99352580", door = "217" },
  47. { map = "96338944", custom = npcDonjon },
  48. { map = "96338946", path = "481" , fight = true },
  49. { map = "96206848", path = "452" , fight = true },
  50. { map = "96207874", path = "342" , fight = true },
  51. { map = "96208898", path = "316" , fight = true },
  52. { map = "96206852", door = "244" },
  53. { map = "96209922", path = "451" , fight = true }, --Boss
  54. { map = "96210946", custom = npcSortie },
  55. }
  56. end
  57.  
  58. function bank()
  59. return {
  60. -- Le retour en banque lorsque le personnage est en surpoids
  61. }
  62. end
  63.  
  64. function phenix()
  65. return {
  66. -- La chemin vers le phenix si le personnage est mort
  67. -- car tu sais pas configurer correctement ton intelligence artificielle :)
  68. }
  69. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement