You are viewing a potentially older version of this package. View all versions.
muckers-AtGMissile-0.1.2 icon

AtGMissile

Adds Risk of Rain 2's AtG Missile Mk. 1 as a Blue powerup: 10% chance on hit to fire a missile for 300% (+300% per stack) of the hit's damage. Everyone in the lobby needs it.

By muckers
Date uploaded 20 hours ago
Version 0.1.2
Download link muckers-AtGMissile-0.1.2.zip
Downloads 11
Dependency string muckers-AtGMissile-0.1.2

This mod requires the following mods to function

BepInEx-BepInExPack_Muck-5.4.1101 icon
BepInEx-BepInExPack_Muck

BepInEx pack for Muck. Preconfigured and ready to use.

Preferred version: 5.4.1101

README

AtG Missile Mk. 1

Adds AtG Missile Mk. 1, a new Blue powerup inspired by Risk of Rain 2, to Muck.

10% chance on hit to fire a missile that deals 300% (+300% per stack) TOTAL damage.

  • Melee swings, arrows, and thrown rocks can fire it.
  • The missile flies to the mob you hit and lands 0.4 seconds later.
  • 1 stack on a 100-damage hit deals 300. 2 stacks deal 600.
  • The missile drops from Blue chests and shrines like any other Blue powerup.

Differences from Risk of Rain 2

The Risk of Rain 2 wiki gives a 10% chance, 300% (+300% per stack) TOTAL damage, and a proc coefficient of 1.0. This mod keeps the chance and the damage. It changes the rest.

  • The chance stays 10% on every hit. Muck has no proc coefficient, so the wiki's chance multiplier is dropped.
  • The missile's own damage counts as a non-weapon hit, the same kind as Knuts Hammer's blast. It cannot fire another missile or proc the Ukulele. The wiki's proc coefficient of 1.0 is dropped.
  • The 0.4-second flight time is not from the wiki. You can change it in the config.
  • The missile deals a multiple of the hit that fired it. It never rolls a second crit. A critical hit is already doubled in that damage, so a crit fires a doubled missile.
  • The target is the mob you hit. Hitting a neutral animal does not fire a missile unless HitNeutral is on.
  • If the target dies or despawns before the missile lands, the missile deals no damage. It does not pick another target. Risk of Rain 2 may retarget. That behavior is not on the wiki page this mod used, and this mod fizzles on purpose.
  • Only you see the missile sphere. The mod sends no custom network packet. Everyone sees the damage numbers.

Multiplayer

Everyone in the lobby must have the same set of powerup mods. This mod's own version is not enough. Muck identifies powerups by their position in its list, and this mod takes the next free position when it loads. BepInEx loads mods in name order, so installing or removing another item mod moves those positions. A mismatched lobby can swap items. A player with no copy of a new item throws when it drops. Saves that store item counts by position change meaning when the set changes. The game log prints a fingerprint of those positions after registration. Compare it if pickups look like the wrong item.

Config

BepInEx/config/evan.muck.atgmissile.cfg is created on first launch. Every setting is in the AtG Missile Mk. 1 section.

Setting Default Meaning
ProcChance 0.1 Chance per melee, arrow, or rock hit. Does not scale with stacks. 1 always fires
DamagePerStack 3 Damage per stack as a multiple of the hit. 0 fires nothing. Otherwise rounded half to even, at least 1
FlightSeconds 0.4 Seconds from launch to impact. 0 hits on the same frame
HitNeutral false Also fire at cows and other neutral animals
ShowMissile true Draw the sphere. Off still waits out the flight
VerboseLogging false Log every launch, impact, and fizzle

Nothing copies this file to other players, and nothing rejects a lobby where the values differ. One player can set the chance to 1 and the damage to 20. The card text is captured at launch. Change the file, then restart, to refresh the card. Combat uses the live values.

Credits

Original AtG Missile Mk. 1 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.

CHANGELOG

Changelog

0.1.2

  • The drop is an original missile mesh instead of a borrowed Blue powerup.

0.1.1

  • No gameplay change. Tests now check the on-hit and registration patches against the game's API and can run against the real game DLL. They pin the registration order after Ukulele.
  • The docs now state what the game code settles: a crit is already in the hit the missile scales, the host never runs the on-hit hook for another player's hit, and mob keys are not reused within a world.

0.1.0

  • First release. AtG Missile Mk. 1 is a Blue powerup with a 10% chance on hit to fire a missile at the mob you hit for 300% (+300% per stack) of that hit. It has a local sphere visual and an original icon.
  • A dead or missing target deals nothing. A scene change drops missiles that are still in the air.
  • DamagePerStack of 0 fires nothing. A chance of 1 always fires.
  • Registration logs an id fingerprint. The lobby needs the same set of powerup mods.