aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-01 22:12:42 -0700
committermaximius <none@none>2009-10-01 22:12:42 -0700
commitf8060fed5ad0029d48d14b4ba14190093da49929 (patch)
treee7f0285afc4f6854ef29e76aeb7331bf49e94a26 /src
parent9af9528e163e5d51f606e725a25c2a7ac5b25d61 (diff)
*Gift of the Naaru healing fix (now healing bonus is 1/5th AP, as it should be), by Destalker
*Proper Svala ID after transformation, by SoulForge --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_svala.cpp6
-rw-r--r--src/game/Unit.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bindings/scripts/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_svala.cpp b/src/bindings/scripts/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_svala.cpp
index d2621729867..1c79ae39793 100644
--- a/src/bindings/scripts/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_svala.cpp
+++ b/src/bindings/scripts/scripts/northrend/utgarde_keep/utgarde_pinnacle/boss_svala.cpp
@@ -40,9 +40,9 @@ update creature_template set scriptname = 'boss_svala' where entry = '';
#define SAY_DIALOG_OF_ARTHAS_2 -1575029
//creatures
-#define CREATURE_ARTHAS 24266
-#define CREATURE_SVALA_SORROWGRAVE 24668
-#define CREATURE_SVALA 29281
+#define CREATURE_ARTHAS 24266 // Image of Arthas
+#define CREATURE_SVALA_SORROWGRAVE 26668 // Svala after transformation
+#define CREATURE_SVALA 29281 // Svala before transformation
#define CREATURE_RITUAL_CHANNELER 27281
//ritual channeler's spells
#define SPELL_PARALYZE 48278
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 2db1ad96a8a..5f27254638c 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -9857,7 +9857,7 @@ uint32 Unit::SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint
int32 apBonus = std::max(GetTotalAttackPowerValue(BASE_ATTACK), GetTotalAttackPowerValue(RANGED_ATTACK));
if (apBonus > DoneAdvertisedBenefit)
{
- DoneTotal += apBonus * stack;
+ DoneTotal += apBonus * 0.2f;
coeff = 0.0f;
}
else