aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellInfo.cpp
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2023-11-15 15:03:26 +0100
committerOvahlord <dreadkiller@gmx.de>2023-11-15 15:03:26 +0100
commitf2f0c266493ee8f49d497d60cd30cfd3a3c65b13 (patch)
tree65e82cfc96f92abd79e48593f956ca676f818c77 /src/server/game/Spells/SpellInfo.cpp
parent2a5703aff685392d3db90a22a811804293f2f568 (diff)
Core/DataStores: fixed loading game tables
Diffstat (limited to 'src/server/game/Spells/SpellInfo.cpp')
-rw-r--r--src/server/game/Spells/SpellInfo.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp
index f73fa7e6a1a..1e4d11a5a81 100644
--- a/src/server/game/Spells/SpellInfo.cpp
+++ b/src/server/game/Spells/SpellInfo.cpp
@@ -594,16 +594,6 @@ int32 SpellEffectInfo::CalcBaseValue(WorldObject const* caster, Unit const* targ
}
else
value = GetSpellScalingColumnForClass(sSpellScalingGameTable.GetRow(level), Scaling.Class);
-
- if (Scaling.Class == -7)
- if (GtCombatRatingsMultByILvl const* ratingMult = sCombatRatingsMultByILvlGameTable.GetRow(effectiveItemLevel))
- if (ItemSparseEntry const* itemSparse = sItemSparseStore.LookupEntry(itemId))
- value *= GetIlvlStatMultiplier(ratingMult, InventoryType(itemSparse->InventoryType));
-
- if (Scaling.Class == -6)
- if (GtStaminaMultByILvl const* staminaMult = sStaminaMultByILvlGameTable.GetRow(effectiveItemLevel))
- if (ItemSparseEntry const* itemSparse = sItemSparseStore.LookupEntry(itemId))
- value *= GetIlvlStatMultiplier(staminaMult, InventoryType(itemSparse->InventoryType));
}
value *= Scaling.Coefficient;