Ok i used cofagrigus's idea of making it not boost contrary (tbh i don't know if any contrary mons learn recoil moves) but since it is hard to code to exclude it i don't think contrary will be a too big problem and cofagrigus is also right that it still lowers the attack by defiant mons so only a 1 boost ot even none.