Skip to content

Add imp catching with magic boxes - #1240

Closed
HarleyGilpin wants to merge 3 commits into
GregHib:mainfrom
HarleyGilpin:feat/skill/hunter-magic-box
Closed

Add imp catching with magic boxes#1240
HarleyGilpin wants to merge 3 commits into
GregHib:mainfrom
HarleyGilpin:feat/skill/hunter-magic-box

Conversation

@HarleyGilpin

Copy link
Copy Markdown
Contributor

Builds on #1239 (the first commit here is that PR; only the last commit is new).

Adds level 71 imp catching:

  • Activate a magic box (10025) to place it (19223), using the existing hunting_imptrap_npc (5101) trap NPC with a new id-filtered magic_box hunt mode targeting imp only (god wars imps excluded).
  • A caught imp plays gfx 932 and the box runs through the 19225 -> 19226 shaking states; Retrieve gives an imp-in-a-box(2) (the magic box itself is consumed) plus 450 xp. Failure leaves Magic box failed (19224); Deactivate returns the box.
  • Imp-in-a-box: using an item on it sends that item to the bank and uses a charge, 10027 -> 10028 -> empty magic box; it refuses to bank other imp boxes. The authentic item-select interface (478) is left as a follow-up — this is the minimal use-item flow.

Options (Activate, Deactivate, Retrieve, Investigate) match the 634 cache. Imp catch/fail anims 5218/5285 are from later-revision references.

Tests

MagicBoxTest: catch, fail, level gate, imp-in-a-box charge flow, imp-box-on-imp-box refusal.

@HarleyGilpin
HarleyGilpin force-pushed the feat/skill/hunter-magic-box branch from 41b9007 to afed247 Compare August 31, 2026 00:56
@HarleyGilpin

Copy link
Copy Markdown
Contributor Author

Consolidated into #1239.

@HarleyGilpin
HarleyGilpin deleted the feat/skill/hunter-magic-box branch August 31, 2026 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant