Jump to content

Recommended Posts

Posted

Two small typos of the last revisions:

From 346d0073a39786a30959d30311451c88e22467e2 Mon Sep 17 00:00:00 2001
From: pasdVn <[email protected]>
Date: Tue, 20 Jan 2009 01:21:18 +0100
Subject: [PATCH] Fixed two typos

---
src/game/SpellAuras.cpp |    2 +-
src/game/Unit.cpp       |    2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 08fef1f..ee47e78 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -6543,7 +6543,7 @@ void Aura::PeriodicDummyTick()
                if (!caster)
                    return;
                // Skip 0 tick
-                if (m_duration < m_modifier.periodictime)
+                if (m_duration > m_modifier.periodictime)
                    return;
                int32 damage = caster->CalculateSpellDamage(spell, GetEffIndex(), GetBasePoints(), m_target);
                damage+=caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 8 / 100;
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index abbe272..6dfc034 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5259,7 +5259,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
            {
                triggered_spell_id = 57669;
                target = this;
-                return true;
+                break;
            }
            // Lock and Load
            if ( dummySpell->SpellIconID == 3579 )
-- 
1.6.0.2.1172.ga5ed0

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