mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
*Do not check LOS for triggered spells.
--HG-- branch : trunk
This commit is contained in:
@@ -5093,6 +5093,10 @@ bool Spell::CheckTarget( Unit* target, uint32 eff, bool hitPhase )
|
||||
return false;
|
||||
}
|
||||
|
||||
//Do not check LOS for triggered spells
|
||||
if(m_IsTriggeredSpell)
|
||||
return true;
|
||||
|
||||
//Check targets for LOS visibility (except spells without range limitations )
|
||||
switch(m_spellInfo->Effect[eff])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user