diff options
author | Shauren <shauren.trinity@gmail.com> | 2016-11-29 11:31:41 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2016-11-29 11:31:41 +0100 |
commit | 9b006e511bf40020e1660adf290ceb6ed6f4fd86 (patch) | |
tree | e2c3962f6954591afee562901567142bf784681a | |
parent | 7c03e103498b5e5671b5327e52d53e3a5308aa3c (diff) |
Core/Spells: Removed 34 traits cap for bonus stamina/damage on artifacts (7.1 change)
-rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index 9a563a9f8c1..381876a8e19 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -2750,7 +2750,7 @@ public: void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { if (Item* artifact = GetOwner()->ToPlayer()->GetItemByGuid(GetAura()->GetCastItemGUID())) - amount = GetSpellInfo()->GetEffect(EFFECT_1)->BasePoints * std::max(artifact->GetTotalPurchasedArtifactPowers(), 34u) / 100; + amount = GetSpellInfo()->GetEffect(EFFECT_1)->BasePoints * artifact->GetTotalPurchasedArtifactPowers() / 100; } void Register() override @@ -2787,7 +2787,7 @@ public: void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/) { if (Item* artifact = GetOwner()->ToPlayer()->GetItemByGuid(GetAura()->GetCastItemGUID())) - amount = GetSpellInfo()->GetEffect(EFFECT_1)->BasePoints * std::max(artifact->GetTotalPurchasedArtifactPowers(), 34u) / 100; + amount = GetSpellInfo()->GetEffect(EFFECT_1)->BasePoints * artifact->GetTotalPurchasedArtifactPowers() / 100; } void Register() override |