Merge branch 'swilliams/golem-hitbox-fix' into 'master'

Swilliams/golem hitbox fix

See merge request veloren/veloren!1712
This commit is contained in:
Joshua Barretto 2021-01-22 16:30:35 +00:00
commit 4b4504a3a3
2 changed files with 5 additions and 3 deletions

View File

@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changed camera smoothing to be off by default.
- Fixed AI behavior so only humanoids will attempt to roll
- Footstep SFX is now dependant on distance moved, not time since last play
- Increased the hitbox of the Stonework Defender and Mindflayer to better fit their models.
### Removed

View File

@ -183,8 +183,8 @@ impl Body {
Body::Dragon(_) => 8.0,
Body::BirdSmall(_) => 0.3,
Body::FishSmall(_) => 0.3,
Body::BipedLarge(_) => 0.75,
Body::Golem(_) => 0.4,
Body::BipedLarge(_) => 1.5,
Body::Golem(_) => 2.5,
Body::Object(_) => 0.4,
}
}
@ -243,9 +243,10 @@ impl Body {
biped_large::Species::Slysaurok => 2.3,
biped_large::Species::Occultsaurok => 2.8,
biped_large::Species::Mightysaurok => 2.3,
biped_large::Species::Mindflayer => 4.8,
_ => 4.6,
},
Body::Golem(_) => 5.8,
Body::Golem(_) => 5.0,
Body::Object(_) => 1.0,
}
}