Browse Source

Not all spells are set for encounter, using icon backdrop 312 since thats green AE encounter

Fix #41
Image 1 year ago
parent
commit
6551fcff6d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/WorldServer/SpellProcess.cpp

+ 1 - 1
EQ2/source/WorldServer/SpellProcess.cpp

@@ -1839,7 +1839,7 @@ void SpellProcess::GetSpellTargets(LuaSpell* luaspell)
 				} // end is player
 			} // end is friendly
 
-			else if (data->group_spell > 0) // is not friendly, but is a group spell
+			else if (data->group_spell > 0 || data->icon_backdrop == 312) // is not friendly, but is a group spell, icon_backdrop 312 is green (encounter AE)
 			{
 				// target is non-player
 				if (target->IsNPC())