mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-04-28 15:55:28 +00:00
Last Infantry Weapons (#987)
* preparations for deploying oicw little buddy projectiles * oicw little buddy projectiles spawn and animate properly, but damage dealing is inconclusive * radiator clouds cause damage to infantry health * oicw little buddy projectiles do damage upon detonation; different descent pattern; projectile types given own Enumeration * proximity terminals for vehicle actions no longer need to use the vehicle event system as a middleman for making changes * redid the workflow of the proximity terminal resolution so that it avoids SessionActor as much as is possible; this may be a mistake, but my future self will pay the price instead * changed the timing and the angles of the little buddy explosions; fixed proximity terminal tests
This commit is contained in:
parent
2b58d126b5
commit
0d8c717b73
35 changed files with 1092 additions and 585 deletions
|
|
@ -26,7 +26,7 @@ class ProjectileTest extends Specification {
|
|||
"define (default)" in {
|
||||
val obj = new ProjectileDefinition(31) //9mmbullet_projectile
|
||||
|
||||
obj.ProjectileType mustEqual Projectiles.bullet_9mm_projectile
|
||||
obj.ProjectileType mustEqual Projectiles.Types.bullet_9mm_projectile
|
||||
obj.ObjectId mustEqual 31
|
||||
obj.Damage0 mustEqual 0
|
||||
obj.Damage1 mustEqual 0
|
||||
|
|
@ -84,9 +84,9 @@ class ProjectileTest extends Specification {
|
|||
}
|
||||
|
||||
"define (failure)" in {
|
||||
Projectiles(31) mustEqual Projectiles.bullet_9mm_projectile
|
||||
Projectiles.Types(31) mustEqual Projectiles.Types.bullet_9mm_projectile
|
||||
try {
|
||||
ProjectileDefinition(Projectiles.bullet_9mm_projectile) //passes
|
||||
ProjectileDefinition(Projectiles.Types.bullet_9mm_projectile) //passes
|
||||
} catch {
|
||||
case _: NoSuchElementException =>
|
||||
ko
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue