If a victim have ImmuneToBounty set, then any unit with a positive Bounty.Modifier (regardless of Pillager setting) won't get money.
Bounty.Modifier goes to the attackers.
TBH, I don't remember the exact effect of Transmute, (I never liked Alchemists, Dark Ranger and Beastmster are more better) but the effect of Pillager came from War3's Orc ability.
If a victim have ImmuneToBounty set, then any unit with a positive Bounty.Modifier (regardless of Pillager setting) won't get money.
Bounty.Modifier goes to the attackers.
TBH, I don't remember the exact effect of Transmute, (I never liked Alchemists, Dark Ranger and Beastmster are more better) but the effect of Pillager came from War3's Orc ability.