1
This commit is contained in:
parent
6b2edac271
commit
710a56228a
@ -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)
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user