Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AUTO_DELETE = { } -- Les éléments à supprimer
- MAX_MONSTERS = 8 -- Le nombre maximum de monstres dans un groupe à combattre.
- MIN_MONSTERS = 1 -- Le nombre minimum de monstres dans un groupe à combattre.
- FORBIDDEN_MONSTERS = { } -- Monstres interdits
- FORCE_MONSTERS = { } -- Monstres obligatoires
- MAX_COMBAT = 800 -- Nombre de combats maximum
- function move()
- return {
- {map = "96206850", custom = bouge, door = "248"}
- }
- end
- function bouge()
- map:moveToCell(409)
- map:moveToCell(301)
- map:moveToCell(302)
- end
- function npcDonjon() -- Fonction parler au npc pour rentrer dans le Donjon
- npc:npc(777,3)
- global:printSuccess("Je parle avec le pnj")
- npc:reply(-1)
- npc:reply(-1)
- npc:reply(-1)
- global:printSuccess("Je donne la clef, on fonce")
- global:delay(1500)
- end
- function npcSortie() -- Fonction parler au npc pour Sortir
- npc:npc(777,3)
- global:printSuccess("Je parle avec le pnj")
- npc:reply(-1)
- global:printSuccess("Boss Vaincus, on sort")
- global:delay(1500)
- end
- function move()
- return {
- { map = "5,7", path = "top" },
- { map = "5,6", door = "329" },
- { map = "99352580", door = "217" },
- { map = "96338944", custom = npcDonjon },
- { map = "96338946", path = "481" , fight = true },
- { map = "96206848", path = "452" , fight = true },
- { map = "96207874", path = "342" , fight = true },
- { map = "96208898", path = "316" , fight = true },
- { map = "96206852", door = "244" },
- { map = "96209922", path = "451" , fight = true }, --Boss
- { map = "96210946", custom = npcSortie },
- }
- end
- function bank()
- return {
- -- Le retour en banque lorsque le personnage est en surpoids
- }
- end
- function phenix()
- return {
- -- La chemin vers le phenix si le personnage est mort
- -- car tu sais pas configurer correctement ton intelligence artificielle :)
- }
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement