From my experience with 99 prayer and ranged it's based on averages. So you end up averaging X amount of zeal per hour whether or not you switch teams for "pity" zeal or not. Doesn't change the fact that this is annoying and frustrating as all hell but that's Soul Wars for ya