public void ApplyEffect(PokemonModel pokemon, bool isPlayerPokemon, out string effectDescription) { //remove duration CurrentDuration--; //apply effect to the pokemon effectData.ApplyEffect(pokemon); //if duration <= 0, remove from the list of the pokemon and add to removed effects if (CurrentDuration <= 0) { pokemon.RemoveEffect(effectData); } //out description effectDescription = isPlayerPokemon ? effectData.DescriptionOnPlayer : effectData.DescriptionOnEnemy; }