aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobmaps <spambot42@yandex.ru>2011-07-16 01:02:50 +0700
committertobmaps <spambot42@yandex.ru>2011-07-16 01:02:50 +0700
commit8a112a5c1043f01bb60584f85619b6e8678f1c82 (patch)
tree92392b159165707a5882303f6b54dab012a83701
parentf7737f56604259af83cb836ab61b5bc13211231f (diff)
Core/Spells: Replace spell power coefficient for Divine Hymn by value from dbc
-rw-r--r--sql/updates/world/2011_07_15_05_world_spell_bonus_data.sql1
-rwxr-xr-xsrc/server/game/Spells/Auras/SpellAuras.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/sql/updates/world/2011_07_15_05_world_spell_bonus_data.sql b/sql/updates/world/2011_07_15_05_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..4fab7dec63f
--- /dev/null
+++ b/sql/updates/world/2011_07_15_05_world_spell_bonus_data.sql
@@ -0,0 +1 @@
+UPDATE `spell_bonus_data` SET `direct_bonus` = 0.564 WHERE `entry` = 64844;
diff --git a/src/server/game/Spells/Auras/SpellAuras.cpp b/src/server/game/Spells/Auras/SpellAuras.cpp
index 73384dd7f6b..9331351ff55 100755
--- a/src/server/game/Spells/Auras/SpellAuras.cpp
+++ b/src/server/game/Spells/Auras/SpellAuras.cpp
@@ -1661,7 +1661,7 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
target->CastSpell(target, 61261, true);
else if (frostPresenceAura)
{
- int32 basePoints0=frostPresenceAura->GetAmount();
+ int32 basePoints0 = frostPresenceAura->GetAmount();
target->CastCustomSpell(target, 61261, &basePoints0, NULL, NULL, true, 0, frostPresenceAura);
}
// Unholy Presence bonus