I'm thinking some reason the first if statement is returning false so it won't ever get to supercede the buttons. I tried the same thing without that first statement and it worked fine.
Note: I also found that when blocking attack and attack2, if you click them both at once it will still fire (at least in CS). Not sure if you knew that or not but it was about 2 weeks into my plugin I found that out