mirror of
https://github.com/solcloud/Counter-Strike.git
synced 2025-02-24 03:42:39 +01:00
Fix few hitbox holes
This commit is contained in:
parent
4e72ee56df
commit
8546eecd64
@ -22,8 +22,10 @@ class HitBoxChest extends SphereGroupHitBox
|
||||
|
||||
private function createChestLeft(): void
|
||||
{
|
||||
$this->addHitBox(new Point(-12, -50, -1), 5);
|
||||
$this->addHitBox(new Point(-12, -42, -1), 5);
|
||||
$this->addHitBox(new Point(-13, -46, 5), 6);
|
||||
$this->addHitBox(new Point(-4, -45, 7), 6);
|
||||
$this->addHitBox(new Point(-4, -43, 7), 6);
|
||||
$this->addHitBox(new Point(-13, -41, 3), 6);
|
||||
$this->addHitBox(new Point(-5, -37, 2), 6);
|
||||
$this->addHitBox(new Point(-15, -35, -1), 6);
|
||||
@ -35,8 +37,10 @@ class HitBoxChest extends SphereGroupHitBox
|
||||
|
||||
private function createChestRight(): void
|
||||
{
|
||||
$this->addHitBox(new Point(12, -50, -1), 5);
|
||||
$this->addHitBox(new Point(12, -42, -1), 5);
|
||||
$this->addHitBox(new Point(13, -46, 5), 6);
|
||||
$this->addHitBox(new Point(4, -45, 7), 6);
|
||||
$this->addHitBox(new Point(4, -43, 7), 6);
|
||||
$this->addHitBox(new Point(13, -41, 3), 6);
|
||||
$this->addHitBox(new Point(5, -37, 2), 6);
|
||||
$this->addHitBox(new Point(15, -35, -1), 6);
|
||||
|
@ -24,11 +24,12 @@ class HitBoxStomach extends SphereGroupHitBox
|
||||
$this->addHitBox(new Point(-10, -65, 6), 6);
|
||||
$this->addHitBox(new Point(-10, -59, 6), 6);
|
||||
$this->addHitBox(new Point(-11, -52, 5), 6);
|
||||
$this->addHitBox(new Point(-11, -58, 0), 4);
|
||||
$this->addHitBox(new Point(-2, -79, 10), 6);
|
||||
$this->addHitBox(new Point(-2, -69, 9), 6);
|
||||
$this->addHitBox(new Point(-3, -60, 8), 6);
|
||||
$this->addHitBox(new Point(-3, -52, 8), 6);
|
||||
$this->addHitBox(new Point(-11, -78, 7), 6);
|
||||
$this->addHitBox(new Point(-11, -78, 6), 6);
|
||||
}
|
||||
|
||||
private function createFrontRight(): void
|
||||
@ -37,11 +38,12 @@ class HitBoxStomach extends SphereGroupHitBox
|
||||
$this->addHitBox(new Point(10, -65, 6), 6);
|
||||
$this->addHitBox(new Point(10, -59, 6), 6);
|
||||
$this->addHitBox(new Point(11, -52, 5), 6);
|
||||
$this->addHitBox(new Point(11, -58, 0), 4);
|
||||
$this->addHitBox(new Point(2, -79, 10), 6);
|
||||
$this->addHitBox(new Point(2, -69, 9), 6);
|
||||
$this->addHitBox(new Point(3, -60, 8), 6);
|
||||
$this->addHitBox(new Point(3, -52, 8), 6);
|
||||
$this->addHitBox(new Point(11, -78, 7), 6);
|
||||
$this->addHitBox(new Point(11, -78, 6), 6);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ class PlayerKillTest extends BaseTestCase
|
||||
public function testUspKillPlayerInThreeBulletsInChestWithNoKevlar(): void
|
||||
{
|
||||
$player2Commands = [
|
||||
fn(Player $p) => $p->getSight()->lookAt(180, 18),
|
||||
fn(Player $p) => $p->getSight()->lookAt(180, 19),
|
||||
fn(Player $p) => $p->crouch(),
|
||||
$this->waitNTicks(max(Setting::tickCountCrouch(), PistolUsp::equipReadyTimeMs)),
|
||||
$this->endGame(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user