Some fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -3669,7 +3669,7 @@ namespace Game.Spells
|
||||
switch (spellEffectInfo.ApplyAuraName)
|
||||
{
|
||||
// has other non positive effect?
|
||||
// then it should be marked negative despite of targets (ex 8510, 8511, 8893, 10267)
|
||||
// then it should be marked negative if has same target as negative effect (ex 8510, 8511, 8893, 10267)
|
||||
case AuraType.Dummy:
|
||||
case AuraType.ModStun:
|
||||
case AuraType.ModFear:
|
||||
|
||||
Reference in New Issue
Block a user