Namespaces
Views
Bots — death and escapes
A bot dies like any character, but it does not lie there or die over and over in the same place. This page describes when a bot drinks potions, when it retreats, how it gets up after death, what it does when it dies too often, and how this differs from a player.
HP thresholds in brief
| bot's HP | what it does |
|---|---|
| ≤ 65% | drinks a red potion (at most once a second) |
| ≤ 35% | retreat — breaks off the fight with a monster and walks away |
| ≤ 20% | emergency rest — hides and heals as after death |
| mana ≤ 30% | drinks a blue potion |
Exceptions: in the Enchanted Forest, on the hard Arezzo maps and on the Sung Ma maps a bot drinks as early as 85% HP; on the hard Arezzo maps it retreats at 50%, and on the Sung Ma maps according to its own thresholds (depending on the number of attackers). In a duel a bot does not drink potions at all.
Retreat
- It starts at 35% HP while the bot is fighting a monster.
- The bot moves away in one of 8 directions, roughly 1,300 units, and picks its next step every 1.8 s.
- When nothing is chasing it, it regains 3% HP per second.
- The retreat ends when the monster has stopped attacking it and the bot has at least 65% HP — or once it has moved 3,000 units away, or after 60 s.
- During a retreat the bot does not start new fights.
- Exception — Metin Stone: the bot does not abandon a stone that is at ≤ 15% HP as long as the bot itself has more than 10% HP (the stone does not chase, and walking away would waste the whole fight).
Emergency rest
- At 20% HP the bot drops everything, becomes invisible to monsters and heals: +5% of max HP every second, up to 75%. The invisibility is renewed every 3 s.
- If a monster has the bot pinned (hitting it from up to 2,500 away), the bot does not hide next to it but retreats while drinking potions.
- On the Sung Ma maps a bot on low HP first tries to run away rather than rest next to the pack.
Death and getting up
- At zero HP the character is stunned first and dies after about 3 s.
- The bot lies there for 10 seconds, then gets up on the spot (just like a player clicking “restart here”).
- After getting up: bad effects are removed, 50% of HP and mana is restored (bots only), and there are 5 s of protection (invisibility), as for a player.
- If for some reason the server does not let it get up on the spot, after 40 s the bot is forced up with 50 HP.
Exceptions: in the Zodiac Temple that dungeon's resurrection rules apply; a bot living on the Sung Ma maps gets up at a safe point of the map.
After getting up — escaping to a safe place
The bot checks whether the spot is safe. It is unsafe when:
- a monster is attacking someone within a radius of 1,500,
- an aggressive monster can see it (its sight range + 400),
- or the bot has died within 3,000 of this spot in the last 10 minutes.
Then the bot looks for a safe point within up to 6,000 (first in the direction away from the pack) and walks there invisible for at most 8 s. Once there it rests, now visible. If there is no such point, it moves to the town resurrection point on the same map (in the Monkey Dungeon — to the map entrance).
After a calm get-up the bot rests (heals up to 75%) and moves about 1,000 units away from where it died if it is standing closer than 800.
The first minute after death
For 60 s the bot avoids the monster that killed it and the area within 800 of where it died, and only targets monsters below its own level. It also does not help in party fights.
Death penalty
Bots get up on the spot and receive the same experience penalty as a player who gets up on the spot. No extra penalties apply in the bot code. Mercenaries (bots hired by a player) do not lose experience when they die — see Mercenaries.
Death counters
| counter | threshold | effect |
|---|---|---|
| death loop | 9 deaths to monsters on one map within an hour | the bot avoids that map and the place of death for 60 min |
| hard map (from level 60) | 9 deaths in an hour on one of 12 hunting grounds: Grotto of Exile 1 and 2, Red Forest, Fireland, Ghost Forest, Demon Tower, Spider Dungeon 1 and 2, Hwang Temple, Mount Sohan, Orc Valley, Yongbi Desert | the map is considered too hard for 120 min — the bot goes down to an easier one and gathers materials there |
| world boss raid | 4 deaths in 10 minutes | the bot leaves the raid and does not join boss raids for 30 min |
| Promotion Law (personalities) | 3 deaths to monsters in 30 min | the bot goes back to easier levelling and stops at its current level (EXP lock); in the Enchanted Forest only at 10 deaths in 30 min |
| Metin Slayer | a stone has killed it more than 6 times | it abandons that stone |
| PvP | 5 deaths at the hands of players in 15 min in one place | surrender (see Bots — combat) |
- For bots from level 70, the EXP lock after deaths lasts 60 minutes by default (for younger ones — up to 3 hours). Once the bot is on an easier map, the Promotion Law lock is lifted.
- The counters do not include deaths at the hands of players, in dungeons (instances), in the Demon Tower, in guild wars, or in fights with no monsters around (e.g. in the arena). Dungeons have their own rules — see Bots — dungeons.
- The raid counter does not apply to the Ochao Temple, the Arezzo maps, instances, the Demon Tower, the Catacombs or dungeon passages.
- Monkey Dungeon: the bot chooses map 108 only from level 36, and 109 from level 55 (so as not to die there over and over).
Dragon God (bots only)
Every bot (except players' mercenaries) gets three effects for free: Dragon God Life (+20% max HP), Dragon God Attack (+15%) and Dragon God Defence (+15%). The effects last 3 hours and are renewed when less than an hour remains; they do not disappear on death. While they are switched on, bots do not buy these potions. If the administrator switches them off, bots from level 50 once again buy Dragon God's Attack and Defence themselves (for Dragon Marks, with a daily limit) and drink them before hunting — after a recent death, Defence first.
Potions
Drinking order
| type | order |
|---|---|
| HP | Red Potions (smallest first), Peach Flower Wine, Blessing of Life, Blessing of the Dragon, grilled fish (Grilled Zander, Grilled Large Zander, Grilled Tenchi), and finally potions from the belt |
| mana | Blue Potions, Blessing of the Dragon, grilled fish (Grilled Mandarin Fish, Grilled Catfish) |
Supplies and purchases
- Up to level 10 the bot buys 30 Red Potions (M), and magic classes also 20 Blue Potions (M).
- Above that it tops up its stock to 800 red and 600 blue; from level 40 it buys (L) potions, before that (M). It spends at most half of its gold on this.
- It goes back to town for potions when it has fewer than 300 red or 200 blue (up to level 10: 30 / 20).
- Without a weapon or armour, with fewer than 10 red potions (Shaman and Sura: fewer than 8 blue) or without arrows (archer), the bot breaks off hunting at once and goes to town.
Juices, Waters, Dews and fish
- Juices and Waters (Gango Root Juice, Young Water; for mana Kaki Flower Juice, Bo Water): the bot drinks them when HP or mana drops below 90%, no more often than every 6 s, and keeps 200 of each.
- Grilled Yabby (+100% experience for 30 min): from level 90 (very rich bots earlier, from level 54). Goldfish and Sweetfish only as substitutes.
- Combat fish and Dews (Red, Pink, Yellow, Green, Blue, White Dew): from level 90, only for a boss, a Metin Stone or in a dungeon. The bot buys them only on the market.
- Element resistances (Yohara): on maps with an element, the bot sets resistance to the map's element on its equipment and costume and drinks a resistance elixir — details: Bots — potions.