mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Misc: Codestyle fix
This commit is contained in:
@@ -1893,7 +1893,6 @@ Optional<ContentTuningLevels> DB2Manager::GetContentTuningData(uint32 contentTun
|
||||
if (forItem && contentTuning->GetFlags().HasFlag(ContentTuningFlag::DisabledForItem))
|
||||
return {};
|
||||
|
||||
|
||||
ContentTuningLevels levels;
|
||||
levels.MinLevel = contentTuning->MinLevel;
|
||||
levels.MaxLevel = contentTuning->MaxLevel;
|
||||
@@ -2100,7 +2099,6 @@ EmotesTextSoundEntry const* DB2Manager::GetTextSoundEmoteFor(uint32 emote, uint8
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
float DB2Manager::EvaluateExpectedStat(ExpectedStatType stat, uint32 level, int32 expansion, uint32 /*contentTuningId*/, Classes unitClass) const
|
||||
{
|
||||
auto expectedStatItr = _expectedStatsByLevel.find(std::make_pair(level, expansion));
|
||||
|
||||
@@ -28,14 +28,12 @@ struct ItemRandomProperties
|
||||
int32 RandomPropertiesSeed = 0;
|
||||
};
|
||||
|
||||
|
||||
struct RandomEnchantmentData
|
||||
{
|
||||
std::vector<uint16> EnchantmentIDs;
|
||||
std::vector<double> Chances;
|
||||
};
|
||||
|
||||
|
||||
class TC_GAME_API ItemEnchantmentMgr
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -5360,7 +5360,6 @@ void Spell::EffectDestroyItem()
|
||||
player->DestroyItem(item->GetBagSlot(), item->GetSlot(), true);
|
||||
}
|
||||
|
||||
|
||||
void Spell::EffectRemoveAuraBySpellLabel()
|
||||
{
|
||||
if (effectHandleMode != SPELL_EFFECT_HANDLE_HIT_TARGET)
|
||||
|
||||
Reference in New Issue
Block a user