Exemplo n.º 1
0
 protected virtual void OnMimic(Move moveToCopy, BattlePokemon opponent)
 {
     Mimic?.Invoke(this, new MimicMoveEventArgs()
     {
         pokemon       = Pokemon,
         battlePokemon = this,
         opponent      = opponent,
         moveMimiced   = moveToCopy
     });
 }
Exemplo n.º 2
0
        public BattlePokemon(Pokemon pokemon)
        {
            Pokemon = pokemon;
            AttachPokemonEventHandlers();

            StatStageModifiers = new StatStageModifiers();
            mimic         = new Mimic();
            Conversion    = new Conversion();
            Substitute    = new Substitute();
            Transform     = new Transform();
            Bide          = new Bide();
            MultiTurnMove = null;
            TwoTurnMove   = null;
            Disable       = new Disable();
            MistActive    = false;
            LightScreen   = false;
            N             = 1f;
            InitializeEventArgs();
        }