Merge pull request #12605 from reaperrr/ts-weapon-inheritance

Introduce TargetDamageWarhead + some TS weapon fixes
This commit is contained in:
abcdefg30
2017-02-04 00:59:14 +01:00
committed by GitHub
6 changed files with 96 additions and 39 deletions

View File

@@ -1,25 +1,21 @@
Heal:
^HealWeapon:
ReloadDelay: 80
Range: 2c849
Report: healer1.aud
ValidTargets: Infantry
Projectile: Bullet
Speed: 1c682
Warhead@1Dam: SpreadDamage
Projectile: InstantHit
Warhead@1Dam: TargetDamage
DebugOverlayColor: 00FF00
Spread: 213
Damage: -50
ValidTargets: Infantry
Heal:
Inherits: ^HealWeapon
Repair:
ReloadDelay: 80
Inherits: ^HealWeapon
Range: 1c819
Report: repair11.aud
ValidTargets: Repair
Projectile: Bullet
Speed: 1c682
Warhead@1Dam: SpreadDamage
DebugOverlayColor: 00FF00
Spread: 213
Damage: -50
Warhead@1Dam: TargetDamage
ValidTargets: Repair

View File

@@ -9,7 +9,8 @@ FireballLauncher:
Burst: 5
BurstDelay: 5
Warhead@1Dam: SpreadDamage
Spread: 341
Spread: 288
Falloff: 100, 50, 25, 12, 6, 3, 0
Damage: 25
Versus:
None: 600
@@ -33,7 +34,8 @@ Bomb:
Shadow: true
Palette: ra
Warhead@1Dam: SpreadDamage
Spread: 298
Spread: 512
Falloff: 100, 50, 25, 12, 6, 3, 0
Damage: 160
Versus:
None: 200
@@ -55,6 +57,8 @@ Bomb:
Warhead@4Smu: LeaveSmudge
SmudgeType: MediumCrater
InvalidTargets: Vehicle, Building, Wall
Warhead@5Res: DestroyResource
Size: 1
FiendShard:
ReloadDelay: 30
@@ -86,7 +90,7 @@ SlimeAttack:
Range: 1c384
Report: vicer1.aud
Projectile: InstantHit
Warhead@1Dam: SpreadDamage
Warhead@1Dam: TargetDamage
Damage: 100
Versus:
Light: 60
@@ -96,8 +100,7 @@ SlimeAttack:
Veins:
ReloadDelay: 16
Warhead@Damage: SpreadDamage
Spread: 42
Warhead@Damage: TargetDamage
Damage: 5
DamageTypes: BulletDeath
Warhead@Effect: CreateEffect