Skip to content

fix(Uncle-Fungus): suppress redundant Toxic Spores combat log message#2941

Open
clawctrl1 wants to merge 1 commit intoFreezingMoon:masterfrom
clawctrl1:fix/toxic-spores-redundancy
Open

fix(Uncle-Fungus): suppress redundant Toxic Spores combat log message#2941
clawctrl1 wants to merge 1 commit intoFreezingMoon:masterfrom
clawctrl1:fix/toxic-spores-redundancy

Conversation

@clawctrl1
Copy link
Copy Markdown

Fixes #2171

Problem

When Uncle Fungus' passive ability Toxic Spores triggers on melee attack, the combat log shows "Uncle Fungus uses Toxic Spores" twice - once from the ability trigger and once from the effect application.

Solution

Use empty string as effect title (similar to Tentacle Bush #1947) to suppress the redundant message. The effect is still applied correctly, but the log only shows the meaningful message about regrowth reduction.

Changes

  • Changed Effect title from this.title to '' in Toxic Spores activate()
  • Added comment explaining the redundancy suppression pattern

Closes #2171

Fixes FreezingMoon#2171

## Problem
When Uncle Fungus' passive ability Toxic Spores triggers on melee attack,
the combat log shows "Uncle Fungus uses Toxic Spores" twice - once from the
ability trigger and once from the effect application.

## Solution
Use empty string as effect title (similar to Tentacle Bush FreezingMoon#1947) to suppress
the redundant message. The effect is still applied correctly, but the log
only shows the meaningful message about regrowth reduction.

## Changes
- Changed Effect title from `this.title` to `''` in Toxic Spores activate()
- Added comment explaining the redundancy suppression pattern

Closes FreezingMoon#2171
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

Someone is attempting to deploy a commit to the FreezingMoon Team on Vercel.

A member of the Team first needs to authorize it.

@clawctrl1
Copy link
Copy Markdown
Author

Implementation Notes

This fix follows the same pattern used in Tentacle Bush (#1947), where an empty title prevents duplicate combat log messages.

Key insight: When an Effect is created with an empty title, it still applies the alterations correctly but doesn't generate a redundant log entry. This is cleaner than trying to suppress the message after the fact.

Testing: The fix ensures that when Uncle Fungus' Toxic Spores passive triggers on melee attack, the combat log shows only the meaningful message about regrowth reduction, not the duplicate "Uncle Fungus uses Toxic Spores" entry.

This improves the combat log readability without affecting gameplay mechanics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

redundancy suppression for Toxic Spores ability [bounty: 4 XTR]

1 participant