Boss ai

How can i make a proper boss ai? do i just say: with %0.1 chance every tick do attack A, with %0.05 chance do attack B? On top of that how do i make an event be linked to a random number generated?

Continue to help post