1
This commit is contained in:
parent
5a5df532a3
commit
741eecb8fe
@ -784,7 +784,7 @@ void Player::HumanInteraction(Human* hum)
|
||||
TryAddBuff(this, kRescueBuffId);
|
||||
int downed_relive_time = MetaMgr::Instance()->GetSysParamAsInt("downed_relive_time") * 1000;
|
||||
downed_relive_time -= GetAbility()->GetAttrAbs(kHAT_RescueTime);
|
||||
downed_relive_time = std::max(1000, downed_relive_time);
|
||||
downed_relive_time = std::max(0, downed_relive_time);
|
||||
hum->StartAction(
|
||||
AT_Rescue,
|
||||
downed_relive_time,
|
||||
@ -1199,7 +1199,8 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
|
||||
TryAddBuff(this, kRescueBuffId);
|
||||
int downed_relive_time = MetaMgr::Instance()->GetSysParamAsInt("downed_relive_time") * 1000;
|
||||
downed_relive_time -= GetAbility()->GetAttrAbs(kHAT_RescueTime);
|
||||
downed_relive_time = std::max(1000, downed_relive_time);
|
||||
downed_relive_time = std::max(0, downed_relive_time);
|
||||
downed_relive_time = 1000 * 30;
|
||||
StartAction(
|
||||
AT_Relive,
|
||||
downed_relive_time,
|
||||
|
Loading…
x
Reference in New Issue
Block a user