Leveling a character by hand in Dofus Retro means hours of grinding the same fights on the same maps. A Dofus Retro combat bot flips that on its head: it plays your turns for you, manages spells, targets and summons, and lets you auto-level your characters while you do something else. MoonBot takes this further with a configurable combat AI, a fully cloud-based setup and a group mode to push several characters up at once.
In this guide we walk through configuring combat on MoonBot step by step: the AI, targeting and spells, picking XP zones by level, group leveling with a leader and mules, looping fights, and the scheduling settings. Everything stays general and Dofus Retro 1.48-accurate, without inventing mechanics you would not actually find in game.
Why use a combat bot on Dofus Retro
Leveling in Dofus Retro is all about repetition. Whether you are on the Gobballs around Astrub, Tofus, the fields or a dungeon suited to your level bracket, the pattern is always the same: move, start the fight, place your characters, cast your spells, loot, repeat. That is exactly the kind of loop a Dofus Retro combat bot automates without ever getting tired.
What sets MoonBot apart is that it does not just click blindly. You configure a real combat AI: spell order, conditions, placement, summons and challenge handling. The bot then makes turn-by-turn decisions based on your rules, across all 12 classes in the game.
Because the platform is fully cloud-based, there is nothing to install, no VPS to rent and no PC to leave running. You launch fights from a browser, watch XP roll in live, and shut everything down from your phone if needed. That is a huge comfort gain over classic bots that run locally.
Automation goes against the Dofus terms of service. No bot can guarantee you will avoid a sanction. Play with that in mind.
Configuring the MoonBot combat AI
The heart of any good Dofus Retro combat bot is its AI. On MoonBot you get a visual combat configurator from the dashboard. The idea is simple: describe how your character should behave each turn, then let the bot apply those rules endlessly.
Spell management
You define which spells to use, in what order, and under which conditions (available AP, distance to target, fight state). The AI respects AP costs, ranges and per-turn cast limits, the way an attentive player would. You can prioritise a main damage spell while keeping a heal or buff spell in reserve.
Auto-boosting spells and stats
MoonBot can automatically boost your spells and characteristics. In practice, every time you level up the bot can invest spell and stat points according to your plan, so you never have to go back and do it manually. That is valuable on a long leveling run where you want your character to stay effective as the levels add up.
Summons and challenges
For summoner classes (Osamodas, Sram, Sadida and so on) the AI handles summons within the combat sequence. You can also enable challenge handling to scoop up bonus XP and drops whenever a challenge can be played safely.
The strength of the visual configurator is that you do not need to write a line of code to get a competent fighter. You build the behaviour with conditions and priorities, preview the logic, and let it run. If your class relies on positioning or kiting, you lean more on placement and the closest/weakest targeting; if it is a burst caster, you front-load your big spells while you have the AP. The AI then repeats that reasoning every single turn, on every fight, without the focus drift a human gets after an hour of grinding.
Targeting, spells and strategic placement
A well-automated fight starts before the first spell. MoonBot offers strategic placement: your characters position themselves on the starting cells according to your rules, which avoids ending up glued to a pack of monsters on turn one.
For targeting, you pick the logic that fits your strategy:
- Closest: ideal for melee classes or to finish easy fights quickly.
- Weakest: to remove targets one at a time and reduce the damage you take turn after turn.
- Area of effect (AoE): for area spells, targeting tries to hit as many monsters as possible at once.
You then combine this targeting with your spell management. For example, open with an AoE when monsters are grouped, then switch to weakest to clean up the survivors. This fine-grained logic is what separates a real Dofus Retro combat bot from a plain auto-clicker.
For your first settings, test the AI on very easy fights (one or two low-level monsters) and watch it unfold in the MapViewer. You can fine-tune spell order and targeting in a handful of fights before launching a real XP loop.
Choosing XP zones by level
To auto-level a character, picking the zone matters as much as the combat config. The base rule: aim for fights your character can win consistently, with a low death risk, but that still give enough XP to avoid spinning your wheels.
Broadly, you match the zone to your level bracket:
- Very early (1 to 20): around Astrub, Gobballs, Tofus and small field monsters. Short fights, low risk.
- Mid leveling: slightly denser zones and dungeons, where an AoE becomes worthwhile and drops feed your professions or resale.
- Higher levels: tougher fights that demand a solid AI, clean placement and sometimes group support.
MoonBot's World Pathfinding handles map-to-map movement, zaaps and doors automatically, so once you have chosen the zone the bot makes the round trip on its own. It uses zaaps and zaapis to cross Amakna, the Astrub area or wherever your route runs, and falls back to ghost or phoenix travel if a character dies, so the loop keeps going instead of stalling on a defeat.
A practical tip: pick a zone with a comfortable safety margin rather than the absolute best XP per fight. A fight you win cleanly every time, with spells to spare, keeps your character alive through long unattended sessions. A fight that is borderline will eventually kill you on a bad spawn or a tough mob pack, and a dead character earns nothing while you are away. If you want to combine XP with resale, take a look at our guide on farming kamas automatically: XP-efficient zones often drop interesting loot to sell on the HDV too.
Group leveling: leader and mules
MoonBot's group mode is one of its strengths for leveling. The principle: a leader character moves and triggers fights, and its mules follow thanks to synchronized movement (three movement modes available). Everyone joins the same fight and gains XP at the same time.
This is the go-to method for pushing several characters up at once: a sturdy XP carry that secures the fight, and weaker mules that ride the shared XP. Combat is coordinated, actions are synchronized, and you drive the whole thing from a single interface.
To manage multiple accounts cleanly, mass-connect them and push a single config to the whole team, read our Dofus Retro multi-account guide. The configurator lets you push one combat config to every account in a single click, which saves a huge amount of time when you set up a full team.
Group leveling also changes which zones make sense. A solo character has to play it safe, but a coordinated team can take on denser packs and tougher dungeons because the leader can focus damage while the group absorbs and supports. That opens up faster XP per fight, and the bank-emptying feature means the whole team can deposit its loot without you babysitting each mule. The result is a leveling pipeline that runs largely on its own once it is configured.
Think about your composition: a leader that tanks and deals damage, with mules placed out of the way on turn one thanks to strategic placement. Your mules keep the XP without risking death in the opening turns.
Looping fights for continuous XP
Once the AI and zone are set, the goal is to loop: fight, loot, heal or head back to rest if needed, then start another fight. MoonBot chains this loop for as long as you keep it active, with real-time stat tracking on the dashboard.
Most players are happy with the visual config, which already covers the vast majority of needs. But if you want custom behaviour, MoonBot exposes full Lua scripting: 395 functions across 20 namespaces, including a dedicated combat namespace. You can write your own conditions, zone changes based on level, or specific healing routines.
-- XP route: fight groups of 1 to 4 monsters on each map
function move()
config.setMinMonsters(1)
config.setMaxMonsters(4)
if character.level() >= 60 then
global.printMessage("Level 60 reached: move on to the next route")
end
return {
{ map = "CARTE_1", path = "right", fight = true },
{ map = "CARTE_2", path = "bottom", fight = true },
{ map = "CARTE_3", path = "left", fight = true },
}
end
This script uses the engine's real syntax: move() returns the route, a fight = true step fights the groups that match your monster settings, and character.level() tells you when to change zones. Replace CARTE_1… with the coordinates of your zone. Every function is described in the public documentation, and our Lua scripting tutorial explains step by step how to write your scripts.
Safer leveling: pacing and good practices
Botting is never risk-free, and a Dofus Retro combat bot running in a loop is by nature more exposed than a short session. Better to know it than to believe unrealistic promises.
On the settings side, you can set per-day connection time ranges so your characters do not run around the clock, plan pauses and let the bot handle reconnection.
A few good practices:
- Set reasonable time ranges rather than running a character non-stop.
- Stay on zones that match your level.
- Check the live tracking now and then so you can react to a stall or odd behaviour.
No tool removes the risk of a sanction: automation remains against the Dofus terms of service. MoonBot is independent third-party software, not affiliated with Ankama. It is up to you to decide with full awareness.
Ready-to-run scripts. Don't feel like setting everything up yourself? The community publishes its combat and XP scripts for Dofus Retro on the MoonBot marketplace, free or paid: browse the Dofus Retro combat scripts. Each page describes what the script does; you then get it from the Marketplace tab of the app.
Conclusion: launch your first automated fight
A good Dofus Retro combat bot is more than an auto-clicker: it is a configurable AI that handles spells, targeting, placement, summons and challenges, all in the cloud and controllable from a browser. With group mode you can even auto-level a whole team by sharing XP across the same fights.
The simplest move is to try it: MoonBot's free tier lets you drive up to 5 bots to get comfortable with the combat config. Create an account on the MoonBot dashboard, compare plans on the pricing page when you want to scale up, and join the Discord community to share your configs. To go further, also see our comparison of the best Dofus Retro bots in 2026 or browse the blog for more guides.



