Пример #1
0
 void Attack_Minion(int Damage)
 {
     min = chess_map_sc.minions[pos_attack].GetComponent <Minions>();
     if (min.myEnermy != this.myEnermy)
     {
         When_attack(pos, can_use_a);
         HP -= min.HP;
         min.Get_Damage(Damage);
     }
     if (HP <= 0)
     {
         Die();
     }
     if (Move_fome_skill == false)
     {
         Move_after_end_trun();
     }
     Move_fome_skill = false;
 }