This commit is contained in:
aozhiwei 2022-10-04 08:55:38 +08:00
parent 6b2edac271
commit 710a56228a
2 changed files with 2 additions and 1 deletions

View File

@ -239,6 +239,7 @@ void Trigger::Die()
} }
} }
TriggeCondBuffAll(kCondBuffDid); TriggeCondBuffAll(kCondBuffDid);
DispatchEvent(kDieEvent, {});
} }
void Trigger::TraverseCondBuffs(int cond, std::function<void (Buff*, bool&)> func) void Trigger::TraverseCondBuffs(int cond, std::function<void (Buff*, bool&)> func)

View File

@ -24,7 +24,7 @@ enum EventId_e
kShotEvent = 1, kShotEvent = 1,
kReceiveDmgEvent = 2, kReceiveDmgEvent = 2,
kKillEvent = 3, kKillEvent = 3,
kDieEent = 4, kDieEvent = 4,
kShieldDestoryEvent = 5, kShieldDestoryEvent = 5,
kFlyHookPullEvent = 6, kFlyHookPullEvent = 6,
kRescueEvent = 7, kRescueEvent = 7,