This commit is contained in:
aozhiwei 2023-03-29 10:19:43 +08:00
parent 2022d44c72
commit c2fee3fc7b

View File

@ -34,8 +34,10 @@ void CallFuncBuff::Activate()
{
hold_param2_ = meta->GetBuffParam2(this);
if (GetCaster().Get()) {
float dmg = hold_param2_;
dmg = owner->CalcReceiveDmg(GetCaster().Get(), dmg);
float dmg_out = 0.0f;
owner->DecHP(hold_param2_,
owner->DecHP(dmg,
GetCaster().Get()->GetUniId(),
GetCaster().Get()->GetName(),
VP_Buff,