1
This commit is contained in:
parent
4c001e7eed
commit
e29d44858b
@ -1828,7 +1828,12 @@ void Player::_CMReportHookHitPos(f8::MsgHdr* hdr, const cs::CMReportHookHitPos&
|
|||||||
|
|
||||||
void Player::_CMReportSpecShotHitPos(f8::MsgHdr* hdr, const cs::CMReportSpecShotHitPos& msg)
|
void Player::_CMReportSpecShotHitPos(f8::MsgHdr* hdr, const cs::CMReportSpecShotHitPos& msg)
|
||||||
{
|
{
|
||||||
|
Buff* buff = GetBuffByEffectId(kBET_Floating);
|
||||||
|
if (buff && buff->meta->GetBuffParam4(buff) > 0) {
|
||||||
|
if (buff->GetV(0) < buff->meta->GetBuffParam5(buff)) {
|
||||||
|
buff->IncV(0, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::SetShotHold(bool hold)
|
void Player::SetShotHold(bool hold)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user