開發者ID:davemachado,項目名稱:Pokemon-Quiz,代碼行數:26,代碼來源:main.cpp 示例3: round ▲點讚 4▼ std::vector<std::string> AttackAction::execute() { Pokemon *defendingPokemon = defendingTrainer->getActivePokemon();// float effectiveness = 1;floateffectiveness = Effectiveness::attackingxDefending...