Syntaxe du script
Exemple
MIN_MONSTERS = 4 -- Le groupe doit contenir au minimum 4 monstres
MAX_MONSTERS = 8 -- Le groupe doit contenir au maximum 8 monstres
FORCE_MONSTERS = { 490, 489 } -- Le groupe doit contenir piou rouge ou piou vert
FORBIDDEN_MONSTERS = { 491 } -- Le groupe ne doit pas contenir piou bleu
function astrub()
npc.talk(4398)
npc.reply(-1)
npc.reply(-1)
end
function move()
return {
{ map = "153880835", custom = astrub },
{ map = "192416776", path = "bottom" },
{ map = "6,-19", path = "left", fight = true },
{ map = "5,-19", path = "left", fight = true },
{ map = "4,-19", path = "bottom", fight = true },
{ map = "4,-18", path = "bottom", fight = true },
{ map = "4,-17", path = "right", fight = true },
{ map = "5,-17", path = "right", fight = true },
{ map = "6,-17", path = "top", fight = true },
{ map = "6,-18", path = "top", fight = true },
}
endExplications
Actions possibles
Action
Explication
Priorité des actions
Autres fonctions

Mis à jour