public function useStrategy(Officer $officer) { $mp = $officer->getMp() - 5; $officer->setMp($mp); return '敵方士氣下降 15 點,還剩 ' . $mp . ' 點MP'; }