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: -HitShape:
-Health: -Health:
-Explodes: -Explodes:
-Explodes@CIVPANIC:
Interactable: Interactable:
BARL: BARL:

View File

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

View File

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