View Single Post
02/20/17, 12:31 PM   #56
Yngvarr
Join Date: Feb 2017
Posts: 1
Originally Posted by Phinix View Post
Possible EVENT_EFFECT_CHANGED castByPlayer values (thanks Ayantir):

Code:
COMBAT_UNIT_TYPE_NONE			= 0
COMBAT_UNIT_TYPE_OTHER			= 5
COMBAT_UNIT_TYPE_PLAYER			= 1
COMBAT_UNIT_TYPE_PLAYER_PET		= 2
COMBAT_UNIT_TYPE_TARGET_DUMMY		= 4
Also it is the 17 (and last) return field.
Not sure where to find this info and if it is already mentioned there but I did a quick test and it seems to work like this:
your own effects return 1 (obviously) but other players return 5 when not grouped with the player and 3 when grouped with the player. I did this with a friend casting wall of elements/liquid lightning in open world.

Incase it helps someone
  Reply With Quote