Tweaked RA and TD artillery explosion

Renamed RA UnitExplode to AmmoExplode, added new UnitExplode with 1/10
damage.
Reduced TD UnitExplode damage to 1/10 of old value.

Now artillery always explodes, but there's only a 75% chance it explodes
violently and only when it has ammo.
If either condition isn't met, it explodes with the (now less violent) UnitExplode.
This commit is contained in:
reaperrr
2015-07-24 14:31:35 +02:00
parent 715a89468a
commit a06cb8fccb
4 changed files with 26 additions and 3 deletions

View File

@@ -226,8 +226,9 @@ ARTY:
AttackFrontal:
WithMuzzleFlash:
Explodes:
Weapon: UnitExplode
Chance: 75
Weapon: ArtilleryExplode
EmptyWeapon: UnitExplodeSmall
LoadedChance: 75
AutoTarget:
ProducibleWithLevel:
Prerequisites: vehicles.upgraded

View File

@@ -197,6 +197,25 @@ UnitExplodeSmall:
ImpactSound: splash9.aud
ValidImpactTypes: Water
ArtilleryExplode:
Warhead@1Dam: SpreadDamage
Spread: 426
Damage: 150
Versus:
None: 90
Wood: 75
Light: 60
Heavy: 25
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
Warhead@2Eff: CreateEffect
Explosion: self_destruct
ImpactSound: kaboom22.aud
InvalidImpactTypes: Water
Warhead@3EffWater: CreateEffect
Explosion: large_splash
ImpactSound: splash9.aud
ValidImpactTypes: Water
BarrelExplode:
Warhead@1Dam: SpreadDamage
Spread: 426