void Warrior::Reward() { if (If_win) if (Command_Belong_to->Life() > 7) { Command_Belong_to->Life() -= 8; Life += 8; } }
void Warrior::ADD(int life) { Command_Belong_to->Life() += life; }