AP saving/resetting and XP rewarding work