1
This commit is contained in:
parent
a76e7cf2ea
commit
104846bc6a
@ -154,7 +154,8 @@ void CallFuncBuff::Activate()
|
||||
break;
|
||||
case BuffCallFunc_e::kRefreshHp:
|
||||
{
|
||||
owner->SetHP(owner->GetMaxHP());
|
||||
owner->SetMaxHP(owner->GetBattleContext()->GetMaxHP());
|
||||
owner->SetHP(owner->GetBattleContext()->GetMaxHP());
|
||||
owner->room->frame_event.AddHpChg(owner->GetWeakPtrRef());
|
||||
}
|
||||
break;
|
||||
|
@ -16,12 +16,12 @@ void ModifyBaseAttrBuff::Activate()
|
||||
switch (meta->_int_buff_param4) {
|
||||
case 1:
|
||||
{
|
||||
abs_handle_ = owner->GetAbility()->AddAttrAbs(attr_id, value);
|
||||
rate_handle_ = owner->GetAbility()->AddAttrRate(attr_id, value);
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
{
|
||||
rate_handle_ = owner->GetAbility()->AddAttrRate(attr_id, value);
|
||||
abs_handle_ = owner->GetAbility()->AddAttrAbs(attr_id, value);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user