aboutsummaryrefslogtreecommitdiff
path: root/internal/game/combat_mob.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-09 22:15:54 -0400
committerhistoria <[not public]>2026-07-09 22:15:54 -0400
commitecba7f726f70b37126d852c38c7e3eec7b04d730 (patch)
tree9129215c6e5015336fde1116395336d82bb952d1 /internal/game/combat_mob.go
parentb3d4c616f59ad2519f3a0b77e3b47d6571cd2486 (diff)
downloadthehouseoficarus-ecba7f726f70b37126d852c38c7e3eec7b04d730.tar.gz
feat: old standalone trigger systems completely unified into trigger->condition->action system
Diffstat (limited to 'internal/game/combat_mob.go')
-rw-r--r--internal/game/combat_mob.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/combat_mob.go b/internal/game/combat_mob.go
index 0395049..9affede 100644
--- a/internal/game/combat_mob.go
+++ b/internal/game/combat_mob.go
@@ -221,7 +221,7 @@ func (g *Game) endCombat(sess *net.Session, p *player.Player, mob *world.MobInst
// task mob's HP to zero is the "kill" that completes the work). itemMatch
// is the "wielding" gate — on_kill entries with an item_id only fire if
// the player currently has that item equipped in a weapon-hand slot.
- g.applyInteraction(sess, p, mob.OnKill, p.RoomID, true, p.IsWielding)
+ g.runTrigger(sess, p, mob.OnKill, p.RoomID, p.IsWielding, false)
g.scheduleMobRespawn(mob)
g.writePrompt(sess)
}