XP

Farming the Codem in Dofus Retro: xp, kamas and elemental strategy

Codem Dofus Retro in combat
The Codem, a level 35-47 monster with no elemental resistances.
Contents
  1. Why the Codem is a great levelling target
  2. Reading the resistances: a clean slate
  3. Chaining fights safely and efficiently
  4. Profitability: steady xp and sellable drops
  5. Automate the farm with MoonBot
  6. Codem resistances
  7. Ready-to-use Lua script
  8. Frequently asked questions

The Codem is one of those rare Dofus Retro monsters that shows absolutely no elemental resistance across the board — every value sits at 0 %. That makes it an excellent farming target for characters between level 35 and 47 who want steady progress without having to rethink their gear.

This guide explains why the Codem deserves your attention, how to chain fights safely, and how MoonBot can do all of it for you on autopilot.

Why the Codem is a great levelling target

In the mid-thirties to mid-forties bracket, players often hunt for monsters that deliver strong xp without demanding major gear changes. The Codem checks every box: it spans a comfortable level range, its health pool stays manageable, and it imposes zero elemental constraint on your build.

Unlike monsters with high resistances that force you to switch elements and reroll your equipment, the Codem welcomes any playstyle. It is ideal whether you are an Iop relying on Neutral damage, an Eniripsa playing Water, or a Cra spreading across multiple elements.

  • Level range 35-47: well-suited to mid-game progression
  • No resistances to work around: full freedom in class and build choice
  • Fast combat rounds enable high fight-per-hour counts

Reading the resistances: a clean slate

As the resistance table shows, the Codem sits at 0 % on every element — Neutral, Earth, Fire, Water and Air. No immunities, no special vulnerabilities. This is genuinely uncommon in Dofus Retro, where most monsters push you to adapt.

In practice, just play your class at full power. If one element had to be singled out, Neutral is often the most action-point-efficient choice across the widest range of classes, which is why the MoonBot script below defaults to it.

Chaining fights safely and efficiently

The key is staying in groups whose level is close to yours to keep the xp multiplier high. Avoid packs containing level 47 Codems if your character just reached level 35 — the difficulty spike can catch you off guard.

Keep an eye on your pod count if you intend to pick up drops. A quick trip to a bank chest between farming sessions prevents your inventory from capping out and breaking your flow.

  • Fight packs close to your level to maximise the xp coefficient
  • Manage your pods regularly to avoid interrupting fight chains
  • Use recall potions or zaapis to minimise downtime between zones

Profitability: steady xp and sellable drops

The Codem delivers consistent xp for characters within its level range. Short fights mean more combat rounds per hour compared to tougher monsters that drag on for many turns.

Drop-wise, the Codem provides resources that can be sold in the auction house for a decent side income. Exact drop rates vary by server and economic season, but the math is simple: hundreds of automated fights accumulate a meaningful volume of sellable loot over time. That is exactly where MoonBot shines.

Automate the farm with MoonBot

MoonBot lets you run a Lua script that loops fights against the Codem without any manual input. The script below sets the elemental strategy to Neutral (universally effective here), targets the weakest enemy first for faster rounds, and repeats as long as the bot is running.

Once started, MoonBot handles engagement, combat flow and automatic restarts. You only need to check occasionally that your inventory is not full — or extend the script with a gather step if there are resources nearby worth collecting.

Codem resistances

Resistance profile from the game data (★ = weakness, ∞ = immunity, ×2 = vulnerable):

ElementResistanceNote
Neutre / Neutral / Neutro0 %★
Terre / Earth / Tierra0 %★
Feu / Fire / Fuego0 %★
Eau / Water / Agua0 %★
Air / Air / Aire0 %★

Ready-to-use Lua script

Paste this script into MoonBot to automate it:

moonbot.lua
-- Farm automatique Codem (niveau 35-47)
-- Aucune résistance : toutes les classes sont optimales
-- Target monsters: Codem
function move()
    config.setBankThreshold(90)   -- back to the bank at 90% pods
    return {
        { map = "MAP_1", path = "right",  fight = true },
        { map = "MAP_2", path = "right",  fight = true },
        { map = "MAP_3", path = "bottom", fight = true },
    }
end

function bank()
    return { { map = "BANK_MAP", npcBank = true } }
end

function phoenix()
    return { { map = "PHOENIX_MAP", phoenix = true } }
end
-- Replace MAP_1, MAP_2… with the “x,y” coordinates of your maps.
Recommended video
Watch on YouTube

Frequently asked questions

What level do I need to farm the Codem efficiently?

The Codem ranges from level 35 to 47. You become genuinely efficient starting at level 35 and get the most out of it up to around level 47, after which other areas offer better xp coefficients.

Which element should I use against the Codem?

The Codem has no resistances at all (see the table). Every element is equally effective. Simply play the one that matches your natural build — usually Neutral or your class's primary element.

Does the Codem have any immunities?

None. No immunities, no vulnerabilities. That is one of its greatest advantages: you never need to swap gear to fight it.

Can MoonBot farm the Codem overnight?

Yes. The provided Lua script loops as long as isRunning() returns true. MoonBot handles everything autonomously, letting you capitalise on off-peak hours without staying logged in.

Is farming the Codem profitable in kamas?

Profitability depends on resource prices on your server. However, the speed advantage is real: more fights per hour means more potential drops, even if individual drop rates are moderate.

Can I farm the Codem in a group?

Yes. Group farming splits xp but speeds up fights. It is most worthwhile when all group members fall within the 35-47 range and can benefit from the level coefficient together.

Ready to automate Dofus Retro?

Create an account, add your characters and launch your first script in minutes. The free tier lets you test up to 5 bots — nothing to install.

Start for freeSee pricing

Automate your game

The most complete Dofus bot

100% cloud: nothing to install, no VPS. Combat, gathering, marketplace, crafting, multi-account and Lua scripting.

  • 100% cloud — nothing to install
  • Free up to 5 bots
Start for free
← Back to the blog