Jump to content

[fixed][bug] Fortitude(spell)


Recommended Posts

Posted

Fortitude - Spell

Mangos Version: 9273

Custom Patches: no

SD2 Version: 1556

Database Name and Version : YTDB 531

How it SHOULD work: Increases Stamina by 165 for all party and raid members for 1 hour.

How it DOES work: only the visual effect it, did not increase

Posted

Use this:

 src/game/SpellEffects.cpp |    8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 2e29bec..f9b7926 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -5257,6 +5257,14 @@ void Spell::EffectScriptEffect(uint32 effIndex)
                        ((Player*)m_caster)->learnSpell(discoveredSpell, false);
                    return;
                }
+                case 69377: //Fortitude
+                {
+                    if(!unitTarget)
+                        return;
+
+                    m_caster->CastSpell(unitTarget, 72590, true);
+                    return;
+                }
            }
            break;
        }

×
×
  • 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