Core/Spells: effects with target mode TARGET_UNIT_AREA_PATH should be negative

Closes #434
Closes #729
Closes #1104
Closes #1840
This commit is contained in:
tobmaps
2011-06-16 00:54:42 +07:00
parent 2f2396b7e0
commit e854fd34d2

View File

@@ -740,6 +740,7 @@ bool IsPositiveTarget(uint32 targetA, uint32 targetB)
case TARGET_UNIT_AREA_ENEMY_SRC:
case TARGET_UNIT_AREA_ENEMY_DST:
case TARGET_UNIT_CONE_ENEMY:
case TARGET_UNIT_AREA_PATH:
case TARGET_DEST_DYNOBJ_ENEMY:
case TARGET_DST_TARGET_ENEMY:
return false;