1
This commit is contained in:
parent
2022d44c72
commit
c2fee3fc7b
@ -34,8 +34,10 @@ void CallFuncBuff::Activate()
|
|||||||
{
|
{
|
||||||
hold_param2_ = meta->GetBuffParam2(this);
|
hold_param2_ = meta->GetBuffParam2(this);
|
||||||
if (GetCaster().Get()) {
|
if (GetCaster().Get()) {
|
||||||
|
float dmg = hold_param2_;
|
||||||
|
dmg = owner->CalcReceiveDmg(GetCaster().Get(), dmg);
|
||||||
float dmg_out = 0.0f;
|
float dmg_out = 0.0f;
|
||||||
owner->DecHP(hold_param2_,
|
owner->DecHP(dmg,
|
||||||
GetCaster().Get()->GetUniId(),
|
GetCaster().Get()->GetUniId(),
|
||||||
GetCaster().Get()->GetName(),
|
GetCaster().Get()->GetName(),
|
||||||
VP_Buff,
|
VP_Buff,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user