This commit is contained in:
aozhiwei 2023-03-14 21:02:21 +08:00
parent 88cdf9c86e
commit 1cdc5d4a92
2 changed files with 5 additions and 2 deletions

View File

@ -443,7 +443,7 @@ void CallFuncBuff::ProcLightCircle()
Buff* buff = owner->GetBuffByUniId(context->keep_buff_uniid);
if (buff) {
buff->res_scale = 2.0f;
buff->res_scale_frameno = room->GetFrameNo();
buff->res_scale_frameno = owner->room->GetFrameNo();
}
check_cb();
} else if (kDeactiveDjsSkillTimerEvent == event) {
@ -452,7 +452,7 @@ void CallFuncBuff::ProcLightCircle()
Buff* buff = owner->GetBuffByUniId(context->keep_buff_uniid);
if (buff) {
buff->res_scale = 1.0f;
buff->res_scale_frameno = room->GetFrameNo();
buff->res_scale_frameno = owner->room->GetFrameNo();
}
check_cb();
}

View File

@ -305,6 +305,9 @@ void Skill::InitPassiveSkill()
}
break;
}
for (int buff_id : meta->_buff_list) {
owner->TryAddBuff(owner, buff_id, meta);
}
}
void Skill::Proc30101HL()