Fixes civilian panic from civ building explosion

The Civilian building explosions were not making the civilians panic.
This commit is contained in:
FrameLimiter
2017-12-29 11:17:18 -05:00
committed by abcdefg30
parent 38c4c10c73
commit 61df53ea82
3 changed files with 8 additions and 4 deletions

View File

@@ -296,6 +296,7 @@ V19.Husk:
-HitShape:
-Health:
-Explodes:
-Explodes@CIVPANIC:
Interactable:
BARL:

View File

@@ -814,13 +814,16 @@
Actor: c3
Probability: 15
Explodes:
Weapon: CivBuildingExplosion
Weapon: SmallBuildingExplode
Explodes@CIVPANIC:
Weapon: CivPanicExplosion
^CivField:
Inherits: ^CivBuilding
-HitShape:
-Health:
-Explodes:
-Explodes@CIVPANIC:
-Selectable:
-SelectionDecorations:
Tooltip:

View File

@@ -123,10 +123,10 @@ SmallBuildingExplode:
Warhead@2Eff: CreateEffect
Explosions: building, building_napalm, large_explosion, self_destruct
CivBuildingExplosion:
Inherits: SmallBuildingExplode
CivPanicExplosion:
Warhead@1Dam: SpreadDamage # Used to panic civilians which are emitted from a killed CivBuilding
Spread: 64
Falloff: 100, 100
Range: 0, 128
Damage: 1
Delay: 1