One guess might be that the shards are populated after the player entering world event. You might want to RegisterUnitEvent unit_power, player, and flip the shards there. Since you only care about gaining/losing shards, I would include an if check at the beginning to see if the power type that is changing is shards.
|