>>95812687
Needs "Enchant creature" text.

"Enchanted creature gains..." not "has..."

And typically this is worded "Whenever a player casts a spell or activates an ability..." unless you specifically want to include copied spells for some weird reason that will completely break the game. But also, Flagbearer is a white effect and worded differently.