adamhaertter / PrestigeItemsMod

Learning to create mods for Risk of Rain 2 (for now)
1 stars 0 forks source link

Add Item: PrestigeBauble #10

Closed adamhaertter closed 3 months ago

adamhaertter commented 4 months ago

Item Addition: PrestigeBauble

Implementation shouldn't be intensive, but is layered and has multiple angles. Will require more code than other medium-ranks, but shouldn't be hard.

adamhaertter commented 4 months ago

PrestigeBauble_Alt

Promobauble

10% (+10% per stack) chance on hit to apply increasing slow effects to enemies for 2s (+2s per stack). Enemies already with a slowing effect in the chain will have that slow promoted to the next tier of slowness until entirely rooted. Order:

(The idea is that use of this item can be better than Tentabauble since you can stack as many Lunar Root on an enemy as you can, since it stacks and extends the duration. Pairs incredibly with having another slowing item since you can jumpstart the chain)

adamhaertter commented 3 months ago

Turns out Lunar Root is not stackable and the wiki is wrong. That's like 2 hours of debugging down the drain lol

Will need to rework how it stacks at top of progression. Maybe by adding the current time of the Lunar slow to a constant factor (3 seconds?) up until it reaches a cap (maybe 20s? or is that too much). With a high enough proc chance / stacks of the item, this could be effectively infinite as it could refresh the timer at this cap. Maybe this implementation is too busted, will need to think on it.