[Staging] Fix certain projectiles moving faster than intended (#41905)

Return to original value (25)
This commit is contained in:
SlamBamActionman
2025-12-19 20:28:06 +01:00
committed by GitHub
parent 55fef2ab2e
commit c4a798632a
5 changed files with 11 additions and 2 deletions

View File

@@ -284,7 +284,7 @@ public abstract class SharedMagicSystem : EntitySystem
var ent = Spawn(ev.Prototype, fromMap);
var direction = _transform.ToMapCoordinates(toCoords).Position -
fromMap.Position;
_gunSystem.ShootProjectile(ent, direction, userVelocity, ev.Performer, ev.Performer);
_gunSystem.ShootProjectile(ent, direction, userVelocity, ev.Performer, ev.Performer, 25f);
}
// End Projectile Spells
#endregion

View File

@@ -24,6 +24,7 @@
- SemiAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/kinetic_accel.ogg
projectileSpeed: 25
- type: AmmoCounter
- type: Appearance
- type: GenericVisualizer

View File

@@ -14,6 +14,7 @@
- type: Gun
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/Magic/staff_healing.ogg
projectileSpeed: 25
- type: BasicEntityAmmoProvider
proto: ProjectileHealingBolt
capacity: 10
@@ -34,6 +35,7 @@
- type: Gun
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/Magic/staff_door.ogg
projectileSpeed: 25
- type: BasicEntityAmmoProvider
proto: ProjectilePolyboltDoor
capacity: 10

View File

@@ -11,6 +11,7 @@
- type: Gun
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/Magic/staff_animation.ogg
projectileSpeed: 25
- type: BasicEntityAmmoProvider
proto: ProjectilePolyboltCarp
capacity: 5
@@ -52,6 +53,7 @@
fireRate: 0.25
soundGunshot:
path: /Audio/Magic/fireball.ogg
projectileSpeed: 25
- type: BasicEntityAmmoProvider
proto: ProjectileFireball
capacity: 5
@@ -72,6 +74,7 @@
- type: Gun
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/Magic/staff_animation.ogg
projectileSpeed: 25
- type: BasicEntityAmmoProvider
proto: ProjectileLocker
capacity: 5
@@ -107,6 +110,7 @@
- type: Gun
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/mateba.ogg # PUNCH
projectileSpeed: 25
- type: BasicEntityAmmoProvider
proto: BulletInstakillMagic
capacity: 3
@@ -126,6 +130,7 @@
- type: Gun
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/Magic/staff_door.ogg
projectileSpeed: 25
- type: BasicEntityAmmoProvider
proto: ProjectilePolyboltDoor
capacity: 10

View File

@@ -633,6 +633,7 @@
fireRate: 0.5
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/taser.ogg
projectileSpeed: 25
- type: BatteryAmmoProvider
proto: BulletTaser
fireCost: 200
@@ -985,7 +986,7 @@
components:
- type: BatterySelfRecharger
autoRechargeRate: 30
# "remove" wield bonus and penalty so borgs can use it
# "remove" wield bonus and penalty so borgs can use it
- type: GunWieldBonus
minAngle: 0
maxAngle: 0