Core/Spells: Changed unintuitive behavior of SPELLVALUE_CRIT_CHANCE (#29730)

This commit is contained in:
Mykhailo Redko
2024-02-21 12:38:37 +02:00
committed by GitHub
parent f90d55e1ba
commit 4ed1cc5cf0

View File

@@ -7780,7 +7780,7 @@ void Spell::SetSpellValue(SpellValueMod mod, int32 value)
m_spellValue->AuraStackAmount = uint8(value);
break;
case SPELLVALUE_CRIT_CHANCE:
m_spellValue->CriticalChance = value / 100.0f; // @todo ugly /100 remove when basepoints are double
m_spellValue->CriticalChance = value;
break;
}
}