MainFunction, AttackResolve