Changed the handleStateEffect to take an object of type Minion