magicattack fixed

some damage flags not removed correctly when attack type chsnges