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: layers:
- state: s_ar - state: s_ar
- type: Battery - type: Battery
maxCharge: 60 maxCharge: 1200
startingCharge: 60 startingCharge: 1200
- type: BatterySelfRecharger - type: BatterySelfRecharger
autoRecharge: true autoRecharge: true
autoRechargeRate: 5 autoRechargeRate: 40
- type: Appearance - type: Appearance
visuals: visuals:
- type: PowerCellVisualizer - type: PowerCellVisualizer

View File

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

View File

@@ -11,6 +11,19 @@
muzzleFlash: Objects/Weapons/Guns/Projectiles/laser_muzzle.png muzzleFlash: Objects/Weapons/Guns/Projectiles/laser_muzzle.png
impactFlash: Objects/Weapons/Guns/Projectiles/laser_impact.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 - type: entity
name: pulse name: pulse
id: Pulse id: Pulse

View File

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