Example #1
0
 public override void Enter()
 {
     count = Random.Range(1.8f, 2.2f);
     enemy.anim.CrossFade("att1", 0.2f);
     if (enemy.fighting)
     {
         enemy.FFaceToPlayer();
     }
 }
Example #2
0
 public override void Enter()
 {
     count = 2;
     enemy.anim.CrossFade("att1", 0.2f);
     enemy.ATK = 20;
     if (enemy.fighting)
     {
         enemy.FFaceToPlayer();
     }
 }
Example #3
0
    public override void Update()
    {
        count -= Time.deltaTime;

        if (count < 0)
        {
            enemy.FFaceToPlayer();
            enemy.enemy.SetStage(enemy.lancer_walk_stage);
        }
    }
Example #4
0
 public override void Enter()
 {
     count = 1.1f;
     enemy.anim.CrossFade("throw1", 0.2f);
     enemy.weapon.stage = 2;
     if (enemy.fighting)
     {
         enemy.FFaceToPlayer();
     }
 }
Example #5
0
 public override void Enter()
 {
     testplayer.Instance.hurtforce = 20;
     count = 3.5f;
     enemy.anim.CrossFade("att3", 0.2f);
     enemy.ATK = 40;
     if (enemy.fighting && Random.Range(0, 2) == 0)
     {
         enemy.FFaceToPlayer();
     }
 }
Example #6
0
    public override void Enter()
    {
        count = 2f;
        enemy.anim.CrossFade("throw2", 0.2f);


        if (enemy.fighting)
        {
            enemy.FFaceToPlayer();
        }
    }