*Remove pouce facing limitation. By Muhaha.
*Fix a typo in 427 sql. --HG-- branch : trunk
This commit is contained in:
@@ -19,7 +19,7 @@ update `creature_template` set `scriptname`='mob_pulsing_pumpkin',
|
|||||||
`minmana`=3155, `maxmana`=3155
|
`minmana`=3155, `maxmana`=3155
|
||||||
where `entry` = 23694;
|
where `entry` = 23694;
|
||||||
|
|
||||||
--helper
|
-- helper
|
||||||
Update `creature_template` set `scriptname`='mob_wisp_invis',
|
Update `creature_template` set `scriptname`='mob_wisp_invis',
|
||||||
`faction_A`=35, `faction_H`=35,
|
`faction_A`=35, `faction_H`=35,
|
||||||
`unit_flags`='33554434' where `entry`='23686';
|
`unit_flags`='33554434' where `entry`='23686';
|
||||||
|
|||||||
+2
-1
@@ -3731,7 +3731,8 @@ uint8 Spell::CanCast(bool strict)
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Must be behind the target.
|
//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);
|
SendInterrupted(2);
|
||||||
return SPELL_FAILED_NOT_BEHIND;
|
return SPELL_FAILED_NOT_BEHIND;
|
||||||
|
|||||||
Reference in New Issue
Block a user