The boosts from Leadership can be modified directly: they are defined in Potion.txt from Shared.
That's probably the only ability effect that isn't hardcoded.
But Scales, as Raze said, definitely helps to discover possibilities to modify abilities indirectly.