Make Clan/Ally skills work only for current Team (Blue/Red)

I made a custom event (99% same as olys), participants are set into blue and red team.
I need to make that ally skills don't affect people from the other team (it doesn't mind if they are from the same clan)
Specially mass res and ally CP heal.

I don't know if I'm doing something wrong or I can fix it somehow via listeners / code.

Thanks!
 
We are already have a type of skills like traget ally. target clan and etc
 
Team blue vs Team Red

Char 1 = Team Blue
Char 2 = Team Red

Char 1.getAlliance() = Char2.getAlliance()

Alliance skill Char 1 = ONLY team Blue.
 
Back
Top