Jump to content

[8132] Slam damage does not show in combat log

Guest Lynx3d

Recommended Posts

MaNGOS 0.14, rev. 8132

UDB 381

SD2 rev. 1203

Damage done by Warrior's Slam ability (spell 1464 and ranks) does not show in combat log.

First i thought Slam does not do anything at all, but it does deal damage, i just have no clue how much, seems rather low though for the 2-h weapons i tried.

Link to comment
Share on other sites

  • 4 weeks later...
  • 6 months later...

spell now have double rage cost (from casted spell + triggered), so consumes 30 rage and fails to cast when you have less than that.

this fixes that:

diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 4ffdcff..ef101e0 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -5280,6 +5280,10 @@ int32 Spell::CalculatePowerCost()
    if (m_CastItem)
        return 0;

+    // triggered spell with power cost only usable for client
+    if (IsTriggeredSpellWithRedundentData())
+        return 0;
    // Spell drain all exist power on cast (Only paladin lay of Hands)
    if (m_spellInfo->AttributesEx & SPELL_ATTR_EX_DRAIN_ALL_POWER)

Link to comment
Share on other sites

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use