Constants

This page contains all constants you can set at the beginning of your scripts.

Recolte Constants

MAX_PODS = 1 to 100 --in %

Allows you to choose the POD threshold before the bot switches to the Banque() function.

COMPTEUR_RECOLTE = true

Adds a counter near the "[SCRIPT] RECOLTE" event in the console.

ELEMENTS_RECOLTABLE = { id1, id2, id3, ... }

Allows you to specify which items should be collected in maps with recolte = true flag.

OUVRIR_SAC = true

Allows the bot to auto-open resources bags after an attack during the session.

Combat Constants

MAX_PODS = 1 to 100 -- in %

Allows you to choose the POD threshold before the bot switches to the Banque() function.

COMPTEUR_COMBAT = true

Adds a counter near the "[SCRIPT] COMBAT" event in the console.

COMBAT_PAR_MAP = integer

Allows you to choose how many fights the bot will launch in the same map before moving.

MONSTRES_OBLIGATOIRE = { id1, id2, id3, ... }

Allows you to set required monsters in a group before the bot tries to fight them.

MONSTRES_INTERDIT = { id1, id2, id3, ... }

Allows you to set forbidden monsters in a group before the bot tries to fight them.

MONSTERS_MIN = 1 to 8

Allows you to set the minimum monster number in a group before the bot tries to fight them.

MONSTERS_MAX = 1 to 8

Allows you to set the maximum monster number in a group before the bot tries to fight them.

MONSTERS_LVL_MIN = 1

Allows you to set the minimum monsters level in a group before the bot tries to fight them.

MONSTERS_LVL_MAX = 1000

Allows you to set the maximum monsters level in a group before the bot tries to fight them.

AUTO_REGENERATION = 
{ 
	VITA_MIN = 1 to 99, 
	VITA_MAX = 1 to 100, 
	OBJET = { id } -- Example : Bread (such as id = 528)
}

Allows you to set the minimum HP before recovering from injures, the maximum HP before the bot will go back to fight, and an optional consumable to speed up the recovery.

Banque Constants

PREND_OBJET_BANQUE = { id1, id2, id3, ... }

Allows you to take objects from the bank while interacting with the bank npc.

Last updated