aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-08 19:37:23 -0600
committermegamage <none@none>2008-12-08 19:37:23 -0600
commit9632543dab66abdf6d9f2184c4f9a0a766b961c1 (patch)
tree2f1c81158c9e613afb839f274b669159aa5a940a
parent069ca8746ec4a4cb1fcc7d4c050ac956f3bea382 (diff)
*Remove pouce facing limitation. By Muhaha.
*Fix a typo in 427 sql. --HG-- branch : trunk
-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;