przemratajczak/scriptdev2 — comment on commit 782b938343d69bdf6a86cd7d5ebf8cad512ba9ba
File:  line 0
By dufernst:

If I recall correctly the portal is friendly for the players, and would therefore have any player in its treatlist.
Even if that wasn't the case it still probably won't work, in theory it is possible that the script select the same player in every cycle. In that case not every player gets buffed, it might be better to use MoveInLineOfSight to apply the buff.

In any case it isn't blizzlike, so I wonder why you would include this way of buffing?