GetTargetTeam return ABILITY_TARGET_TEAM_ENEMY on some target point abilities like leshrac's split earth as expected, but return ABILITY_TARGET_TEAM_NONE for sniper's shrapnel and drow's wave of silence(and maybe more).
also i think the constant for abilities that target both teams is missing from tha api (GetTargetTeam return 3).