aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2012-09-10 00:06:47 +0100
committerNay <dnpd.dd@gmail.com>2012-09-10 00:06:47 +0100
commit5226f53b8ae815f707538b66207727e2715af826 (patch)
treeb8b8e5fd59e0fc7cbba95433c27cac543b4be8f8 /src/server/scripts
parentf508f7dbc52f3e41861ef408a440224307a65f61 (diff)
Core/Guilds: Corrections to guild news & rewards commit, fixed build and added missing sql
Closes #7708
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Spells/spell_warrior.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp
index 2918a05774d..7b0952dac7b 100644
--- a/src/server/scripts/Spells/spell_warrior.cpp
+++ b/src/server/scripts/Spells/spell_warrior.cpp
@@ -234,9 +234,9 @@ class spell_warr_execute : public SpellScriptLoader
int32 ragesave = aurEff->GetSpellInfo()->Effects[EFFECT_0].CalcValue() * 10;
newRage = std::max(newRage, ragesave);
}
-
+
caster->SetPower(POWER_RAGE, uint32(newRage));
-
+
/// Formula taken from the DBC: "${10+$AP*0.437*$m1/100}"
int32 baseDamage = int32(10 + caster->GetTotalAttackPowerValue(BASE_ATTACK) * 0.437f * GetEffectValue() / 100.0f);
/// Formula taken from the DBC: "${$ap*0.874*$m1/100-1} = 20 rage"