This commit is contained in:
aozhiwei 2022-10-12 20:35:24 +08:00
parent eec621edc4
commit 5e93ed7a9b

View File

@ -661,8 +661,6 @@ void Player::HumanInteraction(Human* hum)
if (hum->GetActionType() == AT_Rescue) {
return;
}
TryAddBuff(this, kRescuerBuffId);
hum->TryAddBuff(this, kInRescueBuffId);
int downed_relive_time = MetaMgr::Instance()->GetSysParamAsInt("downed_relive_time") * 1000;
downed_relive_time -= GetAbility()->GetAttrAbs(kHAT_RescueTime);
downed_relive_time = std::max(0, downed_relive_time);
@ -678,6 +676,8 @@ void Player::HumanInteraction(Human* hum)
room->GetFrameNo(),
hum->GetUniId()
);
TryAddBuff(this, kRescuerBuffId);
hum->TryAddBuff(this, kInRescueBuffId);
}
void Player::ProcSkillList()