Ukulele
Adds Risk of Rain 2's Ukulele as a Blue powerup: 25% chance on hit to chain lightning to nearby enemies. Everyone in the lobby needs it.Ukulele
"...and his music was electric."
Adds Ukulele, a new Blue powerup inspired by Risk of Rain 2, to Muck.
25% chance on hit to fire chain lightning for 80% (+20% per stack) of the hit's damage. The lightning jumps to the nearest enemies it hasn't hit yet: 3 targets (+2 per stack) within 12m (+2m per stack).
- Procs from melee swings, arrows, and thrown rocks.
- Lightning damage never re-triggers the Ukulele, and Knuts Hammer's AoE doesn't trigger it either.
- Lightning shows Muck's blue electric hit numbers, and goes through the host like any other hit, so kills, loot, and HP bars work in multiplayer.
- Ukulele drops from Blue chests and shrines like any other Blue powerup.
Multiplayer
Every player needs the same set of powerup mods and the same gameplay config. Having this mod at the same version is not enough. Muck identifies powerups by number, and each powerup mod takes the next free number when it loads. If one player has Ukulele and Crowbar and another has Ukulele and Sticky Bomb, Crowbar and Sticky Bomb get the same number, and a pickup becomes a different item on each machine. The game log prints a fingerprint of every powerup number after registration. Compare it between players if pickups look wrong. Vanilla players don't know the new powerup id and will error when an Ukulele drops. The bolt line is only drawn for the player who triggered it; everyone else sees the electric hit numbers and particles.
Config
BepInEx/config/evan.muck.ukulele.cfg (created on first launch):
| Setting | Default | |
|---|---|---|
ProcChance |
0.25 | Chance per qualifying hit |
DamageFraction |
0.8 | Fraction of the hit with 1 stack. Minimum 1 damage |
DamageFractionPerStack |
0.2 | Extra fraction per stack after the first (80%, 100%, 120% at 1, 2, 3 stacks) |
BaseTargets / TargetsPerStack |
3 / 2 | Jumps per proc |
MaxTargets |
0 | Cap on jumps (0 = none) |
BaseRange / RangePerStack |
12 / 2 | Jump distance in meters |
HopDelay |
0.08 | Seconds between jumps |
HitNeutralMobs |
false | Also zap cows and other neutral animals |
ShowBolts, BoltDuration, BoltWidth, BoltColor |
Bolt visual | |
GiveUkuleleKey |
(none) | Debug key that gives you a stack |
Gameplay settings should match across the lobby. Each player's own config controls the lightning they fire.
Credits
Original Ukulele design by Hopoo Games (Risk of Rain 2). This mod contains no assets from Risk of Rain 2 or Muck; the icon is original.
Credits
Perk pickup (drop) model by Marshall.
