This commit is contained in:
aozhiwei 2023-02-16 15:19:25 +08:00
parent 057259ce1e
commit 968c26be9a

View File

@ -900,6 +900,18 @@ void Skill::Proc30701BAO()
void Skill::Proc30801LONG() void Skill::Proc30801LONG()
{ {
#if 1
owner->GetTrigger()->AddListener
(
kDmgOutEvent,
[this] (const a8::Args& args)
{
if (!owner->dead) {
owner->AddHp(0);
}
}
);
#else
int buff_id = SkillHelper::GetJyfhBuffId(meta); int buff_id = SkillHelper::GetJyfhBuffId(meta);
float buff_time = SkillHelper::GetJyfhBuffTime(meta); float buff_time = SkillHelper::GetJyfhBuffTime(meta);
@ -936,6 +948,7 @@ void Skill::Proc30801LONG()
a8::XPrintf("%s\n", {dbg_msg}); a8::XPrintf("%s\n", {dbg_msg});
} }
#endif #endif
#endif
} }
void Skill::Proc30901XIONG() void Skill::Proc30901XIONG()