> For the complete documentation index, see [llms.txt](https://axiomemu.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://axiomemu.gitbook.io/docs/data/event/raklion.md).

# Raklion.dat

Raklion event: boss (Selupan) appearance timing, egg mechanics for the pre-boss phase, boss skill cooldown, and the HP-percent thresholds that drive Selupan's pattern transitions.

## File Location

```
Data/Event/Raklion.dat
```

Loaded once at GameServer startup. Gated by [Event.dat](/docs/gameserver/event-dat.md#raklion) `RaklionEvent`. Changes require a restart.

## Sections

### Section 0 - Timing

```
0
//AppearanceDelay   BossZoneCloseDelay   BossZoneOpenDelay
5                   300                  300
end
```

All three values are in seconds.

| Column               | Effect                                                                        |
| -------------------- | ----------------------------------------------------------------------------- |
| `AppearanceDelay`    | Seconds the STANDBY phase lasts before Selupan appears (eggs already cleared) |
| `BossZoneCloseDelay` | Seconds the boss battle window stays open before the zone is force-closed     |
| `BossZoneOpenDelay`  | Seconds the zone stays open after the battle ends before the cycle resets     |

Notices announcing these timers divide the raw seconds by 60 to display minutes to users.

### Section 1 - Boss Egg Mechanics

```
1
//BossEggHalf   BossEggMax
5              15
end
```

| Column        | Effect                                                                                                                                          |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `BossEggHalf` | Egg count threshold that triggers the half-cleared announcement. When remaining eggs drop to or below this value, a broadcast notice fires once |
| `BossEggMax`  | Hard cap on simultaneous boss eggs; regeneration stops at this count                                                                            |

Selupan's STANDBY phase starts only when the egg count reaches zero, not when `BossEggHalf` is reached.

### Section 2 - Boss Skill Cooldown

```
2
//SkillDelay
1500
end
```

Milliseconds between Selupan skill uses while in a pattern state.

### Section 3 - Pattern HP-Percent Thresholds

```
3
//Pattern1 ... Pattern6
80 60 50 40 20 10
end
```

Six descending HP percent thresholds that drive Selupan's pattern transitions. While Selupan's remaining HP percent is above the threshold for the current pattern, he stays in that pattern; once HP drops below it, he escalates to the next pattern with a larger skill pool.

| Slot       | Effect                                                                                  |
| ---------- | --------------------------------------------------------------------------------------- |
| `Pattern1` | HP% floor for Pattern 1 (poison, icestorm, icestrike, teleport)                         |
| `Pattern2` | HP% floor for Pattern 2 (adds freeze)                                                   |
| `Pattern3` | HP% floor for Pattern 3                                                                 |
| `Pattern4` | HP% floor for Pattern 4 (adds heal)                                                     |
| `Pattern5` | HP% floor for Pattern 5 (adds summon)                                                   |
| `Pattern6` | HP% floor for Pattern 6; below this value Selupan enters Pattern 7 (adds invincibility) |

Values must be strictly descending. They are absolute HP percent checks, not probability weights.

## Cross-File Dependencies

| Value                                       | Related in                                                |
| ------------------------------------------- | --------------------------------------------------------- |
| Enable flag                                 | [Event.dat](/docs/gameserver/event-dat.md) `RaklionEvent` |
| Map 57 (Raklion Boss)                       | [MapManager.xml](/docs/data/mapmanager.md)                |
| Selupan (class 459) and boss eggs (460-462) | [Monster.xml](/docs/data/monster/monster.md)              |
| Reward bag (Selupan)                        | [EventItemBag](/docs/data/eventitembag.md)                |

## Common Issues

* **Boss never appears** - egg count never reaches zero, or `AppearanceDelay` pushes STANDBY past the intended battle window
* **Pattern transitions skip** - `Pattern<N>` values not strictly descending; fix by ordering high to low
* **Boss stuck in one pattern** - all thresholds set too high (HP percent never drops below them) or too low (first pattern skipped instantly)
* **Event overstays** - `BossZoneCloseDelay` / `BossZoneOpenDelay` too long, causing the cycle to run past the scheduled event window
