The value of X is calculated only once, as Brambleguard Captain’s ability resolves.
2024-07-26 • wotc
If Brambleguard Captain’s power is negative as its ability resolves, the target creature will get +0/+0 until end of turn. At least they’ll know Brambleguard Captain appreciates them.