Chain-Reaction Lightning
What is better than a Chain Lightning? A Chain Lightning that spawns MORE Chain Lightnings.
Are regular lightning strikes too boring for you? Do you feel like your competitive matches lack that sweet, high-voltage chaos? Look no further! This script takes the classic chain lightning mechanic and injects it with pure, unadulterated electricity. It does not just jump from target to target - it turns every single jump into an absolute thunderstorm.
How It Works
The Main Anchor (Chain): When you hit an enemy, a primary Coalescence beam instantly zaps to the closest living target within a set radius every 0.15 seconds. Each beam stays visible for 0.3 seconds, beautifully bridging multiple enemies simultaneously.
The Overload (AoE): Every single time the chain jumps, the current anchor fires off secondary Tesla Cannon beams to ALL other living enemies in the radius at the exact same frame.
The Rules of Chaos:
An enemy can never be hit by the main chain twice.
An enemy currently being jumped to by the main chain is shielded from that frame's AoE damage to prevent single-frame damage stacking.
Old anchors will get blasted by the AoE of the new jumps if they stay in range.
Code Strengths & Features
Dynamic Visuals & Audio: Features distinct Moira and Winston beams that adapt to the casting player's team color. Hits are emphasized with Doomfist impact effects and Brigitte armor/impact sounds for maximum feedback.
Perfect Hit-Registration: Lightnings connect precisely with the upper body/chest of the heroes, using a custom dynamic formula instead of targeting feet or eye level.
Bulletproof Bug Prevention: Fully optimized loop systems prevent server crashes, automatically filter out dead bodies, and ignore enemies who break Line of Sight behind solid walls or barriers.
Spam Protection: Built-in rule locks guarantee that fast-firing heroes cannot glitch or stack the rule multiple times simultaneously.
Built-in Testing Suite: Includes a dedicated toggle in the Workshop Settings to spawn dummy bots on empty workshop maps. It comes with a live Server Load and Entity Count HUD to monitor performance limits.
Fully Customizable: Includes Workshop Settings sliders directly in the lobby menu to tweak Radius, Chain Damage, and AoE Damage.