Big problem

i am creating an rpg. i have the game made. but i need help with the turn based fighting. is there a complete fla or tutorial. i want to be able to : have 4 characters each team. have it so they attack one after the other and can choise what they do individually, have it so there attck is equal to there weapon strength + the attack damadge, so that the enemy can use a variety of attacks and have it so that effetcs from spells can be done eg poison