create two times the same unit, but with different attack types. then create a new abilitie based on "bearform" (think it's the correct name, but i'm not sure) and change normal unit and alternate unit.
u can also change the type of attack by using an upgrade, but not by using triggers.