Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //---------------------------------------------
- //-- Script created with OwlTouch
- //---------------------------------------------
- //-- Créateur :
- //-- Nom :
- //-- Type :
- //-- Zone :
- //-- Métier :
- //---------------------------------------------
- const config = {
- MAX_PODS: 90,
- MIN_MONSTERS: 3,
- MAX_MONSTERS: 8,
- MIN_MONSTERS_LEVEL: 1,
- MAX_MONSTERS_LEVEL: 1000,
- FORBIDDEN_MONSTERS: [48],
- MANDATORY_MONSTERS: [101],
- ELEMENTS_TO_GATHER: [],
- BANK_PUT_ITEMS: [],
- AUTO_DELETE: [],
- OPEN_BAGS: false,
- DISPLAY_GATHER_COUNT: false,
- DISPLAY_FIGHT_COUNT: true,
- AUTO_REGEN: {
- minLife: 60,
- maxLife: 80,
- items: [],
- store: 0
- }
- }
- function* FightBouftou()
- {
- if(canFight([config.FORBIDDEN_MONSTERS], [36], 2, 6, 1, 100)) //Si il y a des bouftous sur la map
- {
- yield * fight([config.FORBIDDEN_MONSTERS], [36], 2, 6, 1, 100); //Attaque les bouftous
- }
- else //Si il n'y a pas de bouftous
- {
- if(canFight([config.FORBIDDEN_MONSTERS], [], 2, 6, 1, 100)) //Si il y a n'importe quel groupe de mobs sur la map
- {
- yield * fight([config.FORBIDDEN_MONSTERS], [], 2, 6, 1, 100); //Attaque n'importe quel groupe de mob
- }
- else //Si il n'y a pas de mobs
- {
- printMessage("pas de mobs sur la map !");
- }
- }
- }
- const move = [
- { map: "5,-21", path: "top" },
- { map: "5,-22", path: "top" },
- { map: "5,-23", path: "top" },
- { map: "5,-24", path: "top" },
- { map: "5,-25", path: "top" },
- { map: "5,-26", path: "top" },
- { map: "5,-27", path: "top" },
- { map: "5,-28", path: "left" },
- { map: "5,-29", path: "top" },
- { map: "5,-30", path: "top" },
- { map: "5,-31", path: "left" },
- { map: "4,-32", path: "left" },
- { map: "4,-31", path: "top" },
- { map: "1,-29", path: "left", fight: true, custom: FightBouftou},
- { map: "1,-33", path: "right", fight: true, custom: FightBouftou},
- { map: "2,-32", path: "left", fight: true, custom: FightBouftou},
- { map: "1,-32", path: "bottom", fight: true, custom: FightBouftou},
- { map: "1,-30", path: "bottom", fight: true, custom: FightBouftou},
- { map: "0,-32", path: "top", fight: true, custom: FightBouftou},
- { map: "5,-17", path: "top" },
- { map: "5,-18", path: "top" },
- { map: "5,-19", path: "top" },
- { map: "5,-20", path: "top" },
- { map: 84674566, path: "right" },
- { map: 83887104, path: "396" },
- { map: "5,-16", path: "top" },
- { map: "4,-28", path: "top" },
- { map: "4,-29", path: "right" },
- { map: "-1,-29", path: "top", fight: true, custom: FightBouftou},
- { map: "0,-29", path: "left", fight: true, custom: FightBouftou},
- { map: "4,-19", path: "right" },
- { map: "-2,-30", path: "top", fight: true, custom: FightBouftou},
- { map: "-2,-31", path: "right", fight: true, custom: FightBouftou},
- { map: "-1,-30", path: "left", fight: true, custom: FightBouftou},
- { map: "1,-31", path: "left", fight: true, custom: FightBouftou},
- { map: "0,-31", path: "bottom", fight: true, custom: FightBouftou},
- { map: "0,-30", path: "right", fight: true, custom: FightBouftou},
- { map: "-1,-31", path: "top", fight: true, custom: FightBouftou},
- { map: "-1,-32", path: "right", fight: true, custom: FightBouftou},
- { map: "2,-33", path: "right", fight: true, custom: FightBouftou},
- { map: "3,-33", path: "bottom", fight: true, custom: FightBouftou},
- { map: "3,-32", path: "left", fight: true, custom: FightBouftou},
- { map: "4,-12", path: "right" },
- { map: "5,-12", path: "top" },
- { map: "5,-13", path: "top" },
- { map: "5,-14", path: "left" },
- { map: "4,-14", path: "top" },
- { map: "4,-15", path: "top" },
- { map: "3,-12", path: "right" },
- { map: "2,-12", path: "right" },
- { map: "0,-33", path: "right", fight: true, custom: FightBouftou}
- ]
- const bank = [
- { map: "5,-29", path: "left" },
- { map: "5,-27", path: "bottom" },
- { map: "5,-26", path: "bottom" },
- { map: "5,-25", path: "bottom" },
- { map: "5,-24", path: "bottom" },
- { map: "5,-23", path: "bottom" },
- { map: "5,-22", path: "bottom" },
- { map: "5,-20", path: "bottom" },
- { map: "5,-21", path: "bottom" },
- { map: "5,-19", path: "bottom" },
- { map: "5,-18", path: "bottom" },
- { map: "5,-17", path: "bottom" },
- { map: "5,-16", path: "left" },
- { map: "5,-30", path: "bottom" },
- { map: "4,-32", path: "bottom" },
- { map: "4,-31", path: "right" },
- { map: "5,-31", path: "bottom" },
- { map: "3,-32", path: "right" },
- { map: "1,-33", path: "right" },
- { map: "2,-33", path: "right" },
- { map: "0,-32", path: "top" },
- { map: "-1,-29", path: "top" },
- { map: "0,-29", path: "left" },
- { map: "1,-29", path: "left" },
- { map: "1,-32", path: "bottom" },
- { map: "1,-30", path: "bottom" },
- { map: "4,-28", path: "right" },
- { map: "4,-29", path: "bottom" },
- { map: "5,-28", path: "bottom" },
- { map: 84674566, door: 303 },
- { map: 83887104, npcBank: true },
- { map: "0,-30", path: "right" },
- { map: "-2,-31", path: "right" },
- { map: "-1,-32", path: "right" },
- { map: "3,-33", path: "bottom" },
- { map: "0,-31", path: "bottom" },
- { map: "1,-31", path: "left" },
- { map: "-1,-30", path: "left" },
- { map: "2,-32", path: "left" },
- { map: "-1,-31", path: "top" },
- { map: "-2,-30", path: "top" },
- { map: "4,-19", path: "right" },
- { map: "0,-33", path: "right" }
- ]
- const phenix = [
- { map: "2,-12", phenix: 272 }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement