added four types of magic attack, change type with C