So I made my first custom unit, and I was kinda messing around with the stats to see how they're implemented in-game. But now I seem to have given them this "scares enemies" trait that for some reason makes enemies route in seconds just by being near them and it's really annoying. I've tried unchecking the fear_effect tab in unit_stats_land_tables but the trait is still there.
Does anybody know where this effect is coming from?