Laser gun bugfix & damage adjustment (#8069)

This commit is contained in:
Ripmorld
2022-05-13 09:15:24 +08:00
committed by GitHub
parent fd8f06c7d3
commit 94acf80eb9
4 changed files with 26 additions and 9 deletions

View File

@@ -226,11 +226,11 @@
layers:
- state: s_ar
- type: Battery
maxCharge: 60
startingCharge: 60
maxCharge: 1200
startingCharge: 1200
- type: BatterySelfRecharger
autoRecharge: true
autoRechargeRate: 5
autoRechargeRate: 40
- type: Appearance
visuals:
- type: PowerCellVisualizer

View File

@@ -100,7 +100,8 @@
size: 24
sprite: Objects/Weapons/Guns/Battery/makeshift.rsi
- type: BatteryBarrel
fireCost: 120
fireCost: 240
- type: entity
name: svalinn laser pistol
@@ -172,7 +173,8 @@
size: 24
sprite: Objects/Weapons/Guns/Battery/cog.rsi
- type: BatteryBarrel
fireCost: 120
fireCost: 140
ammoPrototype: RedMediumLaser
- type: entity
name: nightfall laser rifle
@@ -193,7 +195,8 @@
size: 24
sprite: Objects/Weapons/Guns/Battery/nightfall.rsi
- type: BatteryBarrel
fireCost: 6
fireCost: 100
ammoPrototype: RedMediumLaser
- type: Appearance
visuals:
- type: MagVisualizer
@@ -250,7 +253,7 @@
size: 24
sprite: Objects/Weapons/Guns/Battery/pulse_rifle.rsi
- type: BatteryBarrel
fireCost: 6
fireCost: 100
ammoPrototype: Pulse
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg
@@ -391,7 +394,7 @@
size: 12
sprite: Objects/Weapons/Guns/Battery/antiquelasergun.rsi
- type: BatteryBarrel
fireCost: 6
fireCost: 120
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg
- type: RangedWeapon

View File

@@ -11,6 +11,19 @@
muzzleFlash: Objects/Weapons/Guns/Projectiles/laser_muzzle.png
impactFlash: Objects/Weapons/Guns/Projectiles/laser_impact.png
- type: entity
name: red medium laser
id: RedMediumLaser
noSpawn: true
components:
- type: Hitscan
damage:
types:
Heat: 20
spriteName: Objects/Weapons/Guns/Projectiles/laser.png
muzzleFlash: Objects/Weapons/Guns/Projectiles/laser_muzzle.png
impactFlash: Objects/Weapons/Guns/Projectiles/laser_impact.png
- type: entity
name: pulse
id: Pulse

View File

@@ -18,4 +18,5 @@
category: Weapons
description: A simple weapon for tripping someone at a distance.
icon: Objects/Weapons/Throwable/bola.rsi/icon.png
objectType: Item
objectType: Item