From d29c705025a5af6767d41a3439b344a8d1652f97 Mon Sep 17 00:00:00 2001 From: FrozenDragon Date: Thu, 13 Nov 2025 15:33:06 +0800 Subject: [PATCH] tf: Changed Halloween Spell attribute text to be blue during Full Moons. Fixes: https://github.com/ValveSoftware/Source-1-Games/issues/7691 When a Full Moon is active, the Halloween Spell text remains grayed out even though spells activate during a Full Moon. --- src/game/shared/econ/econ_item_description.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/shared/econ/econ_item_description.cpp b/src/game/shared/econ/econ_item_description.cpp index 4fa116c77fd..529e83506a3 100644 --- a/src/game/shared/econ/econ_item_description.cpp +++ b/src/game/shared/econ/econ_item_description.cpp @@ -3697,7 +3697,8 @@ void CEconItemDescription::AddAttributeDescription( const CLocalizationProvider } // They can also be from Halloween spells. These are intended to expire after Halloween in any // event, but for display purposes they'll appear in grey unless the holiday is active. - else if ( pAttribDef->GetUserGenerationType() == kUserGeneratedAttributeType_HalloweenSpell && !EconHolidays_IsHolidayActive( kHoliday_Halloween, CRTime::RTime32TimeCur() ) ) + else if ( pAttribDef->GetUserGenerationType() == kUserGeneratedAttributeType_HalloweenSpell && + !(EconHolidays_IsHolidayActive(kHoliday_Halloween, CRTime::RTime32TimeCur()) || EconHolidays_IsHolidayActive(kHoliday_FullMoon, CRTime::RTime32TimeCur())) ) { eDefaultAttribColor = ATTRIB_COL_ITEMSET_MISSING; }