aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/427_world_scripts.sql2
-rw-r--r--src/game/Spell.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/sql/updates/427_world_scripts.sql b/sql/updates/427_world_scripts.sql
index dd5d8c7b597..62ea5d39d5d 100644
--- a/sql/updates/427_world_scripts.sql
+++ b/sql/updates/427_world_scripts.sql
@@ -19,7 +19,7 @@ update `creature_template` set `scriptname`='mob_pulsing_pumpkin',
`minmana`=3155, `maxmana`=3155
where `entry` = 23694;
---helper
+-- helper
Update `creature_template` set `scriptname`='mob_wisp_invis',
`faction_A`=35, `faction_H`=35,
`unit_flags`='33554434' where `entry`='23686';
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index a5052dbf07b..8a5585aad21 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -3731,7 +3731,8 @@ uint8 Spell::CanCast(bool strict)
}
//Must be behind the target.
- if( m_spellInfo->AttributesEx2 == 0x100000 && (m_spellInfo->AttributesEx & 0x200) == 0x200 && target->HasInArc(M_PI, m_caster) )
+ if( m_spellInfo->AttributesEx2 == 0x100000 && (m_spellInfo->AttributesEx & 0x200) == 0x200 && target->HasInArc(M_PI, m_caster)
+ && (m_spellInfo->SpellFamilyName != SPELLFAMILY_DRUID || m_spellInfo->SpellFamilyFlags != 0x0000000000020000LL))
{
SendInterrupted(2);
return SPELL_FAILED_NOT_BEHIND;