mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-02-27 18:23:36 +00:00
stop player from inviting himself to own squad; periodic squad updates; fixed squad listing hangup; fixed damage calculation tests
This commit is contained in:
parent
0c105f3826
commit
aa2e0089a4
3 changed files with 26 additions and 11 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue