Created ShakeScreenWarhead and removed the hardcoded shaking from NukeLaunch and MadTank
This commit is contained in:
@@ -151,8 +151,6 @@ namespace OpenRA.Mods.Common.Effects
|
||||
|
||||
weapon.Impact(target, warheadArgs);
|
||||
|
||||
world.WorldActor.Trait<ScreenShaker>().AddEffect(20, pos, 5);
|
||||
|
||||
foreach (var flash in world.WorldActor.TraitsImplementing<FlashPaletteEffect>())
|
||||
if (flash.Info.Type == flashType)
|
||||
flash.Enable(-1);
|
||||
|
||||
Reference in New Issue
Block a user