jalyna/oakdex-battle

View on GitHub
lib/oakdex/battle/status_conditions/non_volatile.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Oakdex
  class Battle
    module StatusConditions
      # Represents Abstract Class Base NonVolatile
      class NonVolatile < Base
        def after_fainted(_battle)
          pokemon.remove_status_condition(self)
        end
      end
    end
  end
end