Some fixes

This commit is contained in:
hondacrx
2021-09-08 23:41:06 -04:00
parent 0078a136a4
commit ed98f4a2a4
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -6560,7 +6560,7 @@ namespace Game.Spells
// check if gameobject ignores LOS
GameObject gobCaster = m_caster.ToGameObject();
if (gobCaster != null)
if (!gobCaster.GetGoInfo().GetRequireLOS())
if (gobCaster.GetGoInfo().GetRequireLOS() == 0)
return true;
// if spell is triggered, need to check for LOS disable on the aura triggering it and inherit that behaviour