cheeeeeeeeeen/RoR2-ChensGradiusMod

Gradius' Option Seed significantly buffs Leeching Seed, Harvester's Scythe, and Brilliant Behemoth on TR58 Carbonizer Turrets

Closed this issue · 2 comments

Describe the Bug

Using Gradius' Option Seed with Engineer's TR58 Carbonizer Turrets (mobile turrets) will cause the duplicated attacks to give around 25x more health when using Leeching Seed (screenshot 1) or Harvester's Scythe (screenshot 2) and the explosion from Brilliant Behemoth is significantly larger (screenshot 3 & 4) at an estimated 60m. This does not occur with the TR12 Gauss Auto-Turret (stationary turrets).

To Reproduce

Steps to reproduce the behavior:

  1. Play Engineer
  2. Obtain Gradius' Option Seed
  3. Obtain Leeching Seed, Harvester's Scythe, or Brilliant Behemoth
  4. Spawn a TR58 Carbonizer Turret
  5. Let it attack

Expected Behavior

Leeching Seed should only heal 0.6 HP (rounded to 1 HP in display). Harvester's Scythe should only heal 4.8 HP (rounded to 5 HP in display). Brilliant Behemoth explosions should only be around 4m in radius.

Console Log

LogOutput.log

Additional Context

Other mods are active but they are mostly QoL. Has been replicated with only the Gradius and DebugToolkit (for testing) mods being enabled.
Screenshots showing the issues:
Harvester's Scythe
Screenshot_473
Leeching Seed
Screenshot_475
Brilliant Behemoth
Screenshot_474
Brilliant Behemoth. HitboxViewerMod (by TheTimesweeper) enabled and taken with PhotoMode (by CWMlolzlz) with 40 Bustling Fungus (~62m radius) to estimate size
Screenshot_476

I still do not know what causes t his behaviour. There might be a bad computation somewhere, or an uncaught case. All damage done in code is multiplied accordingly.

@CanvasK I finally solved the problem! It was a minor mistake but a hard one to detect.

LMFAO

Should be a division, not multiplication.