예제 #1
0
        public object Clone()
        {
            Tackle tackle = new Tackle();

            tackle.unlocked = this.unlocked;
            return(tackle);
        }
예제 #2
0
        public void GhostTypePokemonShouldNotTakeDamageFromPhysicalAttack()
        {
            IPokemon ghostTypePokemon = PokemonFactory.CreatePokemon <Gengar>();
            IMove    move             = new Tackle();

            Assert.True(TypeComparer.PokemonTypeDoesNotMakeContactWithMove(ghostTypePokemon?.Types, move));
        }
예제 #3
0
 void Start()
 {
     control               = GetComponentInParent <EnemyControl>();
     status                = GetComponentInParent <EnemyStatus>();
     tackle                = gameObject.AddComponent <Tackle>();
     tackle.isKnockBack    = true;
     tackle.knockBackPower = status.knockBackPower;
     tackle.skillCaster    = transform.parent.gameObject;
     tackle.damage         = status.tackleDamage;
 }
예제 #4
0
 public SpearToss()
 {
     arrow  = new Arrow();
     tackle = new Tackle();
 }