Fix DepthCharge dealing no damage to surfaced subs

This commit is contained in:
reaperrr
2017-09-22 14:57:14 +02:00
committed by Paul Chote
parent eb3b68e24a
commit eea14ec922
2 changed files with 6 additions and 5 deletions

View File

@@ -23,9 +23,10 @@ SS:
RevealsShroud@GAPGEN:
Range: 5c0
Targetable:
TargetTypes: Ground, Water, Ship, Submarine, Repair
RequiresCondition: !underwater
Targetable@UNDERWATER:
TargetTypes: Underwater, Repair
TargetTypes: Underwater, Submarine, Repair
RequiresCondition: underwater
Cloak:
CloakTypes: Underwater
@@ -87,9 +88,10 @@ MSUB:
RevealsShroud@GAPGEN:
Range: 5c0
Targetable:
TargetTypes: Ground, Water, Ship, Submarine, Repair
RequiresCondition: !underwater
Targetable@UNDERWATER:
TargetTypes: Underwater, Repair
TargetTypes: Underwater, Submarine, Repair
RequiresCondition: underwater
Cloak:
CloakTypes: Underwater

View File

@@ -191,8 +191,7 @@ DepthCharge:
Warhead@1Dam: SpreadDamage
Spread: 128
Damage: 80
ValidTargets: Underwater, Water
InvalidTargets: Ship
ValidTargets: Submarine
Versus:
None: 30
Wood: 75
@@ -207,4 +206,4 @@ DepthCharge:
Warhead@3Eff: CreateEffect
Explosions: small_explosion
ImpactSounds: kaboom15.aud
ValidTargets: Ship, Underwater
ValidTargets: Submarine