Laser raptor fixes (#18813)

This commit is contained in:
metalgearsloth
2023-08-08 03:28:57 +10:00
committed by GitHub
parent 3b1e6d30e7
commit e64e613a62
2 changed files with 26 additions and 3 deletions

View File

@@ -27,6 +27,12 @@
- MobMask
layer:
- MobLayer
- type: DamageStateVisuals
states:
Alive:
Base: laser_raptor
Dead:
Base: laser_raptor_dead
- type: MobThresholds
thresholds:
0: Alive
@@ -38,7 +44,7 @@
tags:
- FootstepSound
- type: HitscanBatteryAmmoProvider
proto: RedMediumLaser
proto: RedMediumLaserWeak
fireCost: 50
- type: BatterySelfRecharger
autoRecharge: true
@@ -55,6 +61,8 @@
soundGunshot: /Audio/Weapons/Guns/Gunshots/laser_cannon.ogg
- type: CombatMode
- type: InteractionPopup
successChance: 0.5
interactSuccessString: petting-success-slimes
successChance: 0.3
interactSuccessString: petting-success-reptile
interactFailureString: petting-failure-generic
interactSuccessSound:
path: /Audio/Animals/lizard_happy.ogg

View File

@@ -61,6 +61,21 @@
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi
state: impact_laser
- type: hitscan
id: RedMediumLaserWeak
damage:
types:
Heat: 7
muzzleFlash:
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi
state: muzzle_laser
travelFlash:
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi
state: beam
impactFlash:
sprite: Objects/Weapons/Guns/Projectiles/projectiles.rsi
state: impact_laser
- type: hitscan
id: XrayLaser
damage: