stop player from inviting himself to own squad; periodic squad updates; fixed squad listing hangup; fixed damage calculation tests

This commit is contained in:
FateJH 2019-10-19 17:24:12 -04:00
parent 0c105f3826
commit aa2e0089a4
3 changed files with 26 additions and 11 deletions

View file

@ -70,11 +70,11 @@ class DamageCalculationsTests extends Specification {
}
"calculate distance between target and source" in {
DistanceBetweenTargetandSource(resprojectile) mustEqual 10
DistanceBetweenTargetandSource(resprojectile) mustEqual 67.38225f
}
"calculate distance between target and explosion (splash)" in {
DistanceFromExplosionToTarget(resprojectile) mustEqual 64.03124f
DistanceFromExplosionToTarget(resprojectile) mustEqual 63.031242f
}
"calculate no damage from components" in {