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

TriTipDagger

Adds Risk of Rain 2's Tri-Tip Dagger as a Blue powerup: 10% (+10% per stack) chance on hit to bleed for 240% of your weapon's base damage over 3s. Each bleed runs out on its own. Everyone in the lobby needs it.

By muckers
Date uploaded a day ago
Version 0.2.1
Download link muckers-TriTipDagger-0.2.1.zip
Downloads 13
Dependency string muckers-TriTipDagger-0.2.1

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

Tri-Tip Dagger

Adds Tri-Tip Dagger, a new Blue powerup inspired by Risk of Rain 2, to Muck.

10% (+10% per stack) chance on hit to bleed an enemy for 240% of your weapon's base damage over 3s. Each bleed runs out on its own.

Base damage is the attack of the weapon in your hand times your strength multiplier (Dumbbell and Berserk). For a bow it is the bow's attack times the arrow's attack. Crits, Sniper Scope, Crowbar, Pen Nib, backstabs and the size of the hit do not change the bleed.

Each bleed ticks four times a second for 3 seconds and deals 20% of base damage per tick. Every proc is its own bleed with its own 3-second clock. A new proc adds damage on top but does not extend the bleeds already running, so each proc deals exactly 240%. Ticks pay whole damage and carry the fraction to the next tick, so a bleed can come out almost 1 short of 240%. A tick that comes out to 0 sends nothing. Ten daggers is a 100% chance. Further daggers stay at 100%.

  • Melee swings (including a swing while holding a Rock) and arrows can bleed.
  • A bleed tick uses weapon type -1, so the tick cannot apply this mod or proc Evan's other powerups.
  • Knuts Hammer and other weapon type -1 hits do not bleed.
  • The tick goes through Muck's normal hit path, so armor, kills, and loot stay on the host. Armor rounds each tick down, so a 1-damage tick deals 0 to an armored mob.
  • Tri-Tip Dagger drops from Blue chests and shrines like any other Blue powerup.

Deviations from Risk of Rain 2

  • There is no proc coefficient. Duration stays 3 seconds. Chance is not scaled by a coefficient. Melee swings and arrows are full procs. Weapon type -1 is not.
  • Chance stops at 100%. Ten daggers proc on every roll, including a roll of 1.
  • Bleed stacks are not capped.
  • Base damage is read when the hit lands. An arrow that lands after you switch weapons uses the weapon you now hold.
  • The attacker's machine runs the bleed. There is no bleed packet of our own.

Multiplayer

Every player in the lobby needs this mod, same version. A vanilla peer has no entry for the new powerup id and will error when a Tri-Tip Dagger drops. Each attacker's own machine runs that player's bleeds. The host applies the tick the same way it applies any other hit.

Config

BepInEx/config/evan.muck.tritipdagger.cfg (created on first launch):

Setting Default
ChancePerDagger 0.1 Chance added by each dagger, from 0 to 1. The total stops at 1
BaseDamageFractionPerTick 0.2 Damage per tick as a fraction of base damage, from 0 to 10. 0.2 for 12 ticks is 240%
ProcBleedSeconds 3 Length of each bleed in seconds, from 0.25 to 30, as whole ticks at 4 per second
GiveDaggerKey (none) Debug key that gives you one stack locally
VerboseLogging false Logs each proc

0.2.0 renamed TickDamageFraction and BleedSeconds, because their meaning changed. A value you set in 0.1.0 is ignored. Set the new keys instead.

Each player's config controls the bleeds that player applies. The values are not synced. The hover text updates when these values change.

Credits

The Tri-Tip Dagger item design is Hopoo Games' (Risk of Rain 2). Muck is Dani's. This mod contains no assets from either game. The icon is original.

Credits

Perk pickup (drop) model by Marshall.

CHANGELOG

Changelog

0.2.1

  • The drop is an original three-dagger mesh instead of a borrowed Blue powerup.

0.2.0

  • Each bleed now runs out on its own after 3 seconds. Overlapping procs no longer extend each other, so every proc deals exactly 240% and long fights no longer snowball.
  • Bleed damage is now 240% of your weapon's base damage (held weapon attack, or bow attack times arrow attack, times Dumbbell and Berserk strength), not 240% of the hit. Crits, Sniper Scope, Crowbar, Pen Nib and backstabs no longer multiply the bleed.
  • New config keys BaseDamageFractionPerTick and ProcBleedSeconds replace TickDamageFraction and BleedSeconds, because their meaning changed. Old values are ignored. Defaults are 0.2 and 3.
  • If another mod already registered a powerup named "Tri-Tip Dagger", this mod logs an error and adds nothing to the Blue pool, instead of adding an entry that dropped the wrong item.
  • If the hit patch fails, the item is no longer added to the drop pool.

0.1.0

  • First release. Tri-Tip Dagger is a Blue powerup. A hit can bleed the enemy for 240% of that hit over 3 seconds. A leftover under 1 damage is not paid. The icon is original.