1
This commit is contained in:
parent
eec621edc4
commit
5e93ed7a9b
@ -661,8 +661,6 @@ void Player::HumanInteraction(Human* hum)
|
|||||||
if (hum->GetActionType() == AT_Rescue) {
|
if (hum->GetActionType() == AT_Rescue) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
TryAddBuff(this, kRescuerBuffId);
|
|
||||||
hum->TryAddBuff(this, kInRescueBuffId);
|
|
||||||
int downed_relive_time = MetaMgr::Instance()->GetSysParamAsInt("downed_relive_time") * 1000;
|
int downed_relive_time = MetaMgr::Instance()->GetSysParamAsInt("downed_relive_time") * 1000;
|
||||||
downed_relive_time -= GetAbility()->GetAttrAbs(kHAT_RescueTime);
|
downed_relive_time -= GetAbility()->GetAttrAbs(kHAT_RescueTime);
|
||||||
downed_relive_time = std::max(0, downed_relive_time);
|
downed_relive_time = std::max(0, downed_relive_time);
|
||||||
@ -678,6 +676,8 @@ void Player::HumanInteraction(Human* hum)
|
|||||||
room->GetFrameNo(),
|
room->GetFrameNo(),
|
||||||
hum->GetUniId()
|
hum->GetUniId()
|
||||||
);
|
);
|
||||||
|
TryAddBuff(this, kRescuerBuffId);
|
||||||
|
hum->TryAddBuff(this, kInRescueBuffId);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::ProcSkillList()
|
void Player::ProcSkillList()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user