Skip to content
Snippets Groups Projects
Commit 626708a7 authored by DarkGod's avatar DarkGod
Browse files

New callbackOnSummonDeath

parent 48d5c9a4
No related branches found
No related tags found
No related merge requests found
......@@ -2948,6 +2948,7 @@ function _M:die(src, death_note)
end
if self:fireTalentCheck("callbackOnDeath", src, death_note) then return end
if self.summoner and self.summoner.fireTalentCheck and self.summoner:fireTalentCheck("callbackOnSummonDeath", self, src, death_note) then return end
mod.class.interface.ActorLife.die(self, src, death_note)
......@@ -4873,6 +4874,7 @@ local sustainCallbackCheck = {
callbackOnRest = "talents_on_rest",
callbackOnRun = "talents_on_run",
callbackOnDeath = "talents_on_death",
callbackOnSummonDeath = "talents_on_summon_death",
callbackOnKill = "talents_on_kill",
callbackOnMeleeAttack = "talents_on_melee_attack",
callbackOnMeleeHit = "talents_on_melee_hit",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment