Ejemplo n.º 1
0
 void AttackHangGo()
 {
     EnemyFight2D.Action(Hang.position, RadiusMouse, 10, 5, true, "DragonMouse");
     GameObject.FindWithTag("Player").GetComponent <Rigidbody2D>().velocity = new Vector2(-10f, 6f);
     CameraShake.Shake(2, 2, CameraShake.ShakeMode.XY);
     CreateFireRain();
 }
Ejemplo n.º 2
0
 void AttackGo()
 {
     EnemyFight2D.Action(punch1.position, punchRadius, 10, damage, isFacingLeft, "Rogue");
     if (isBalist)
     {
         Fight2D.Action(punch1.position, punchRadius * 2f, 9, 1, isFacingLeft);
         isBalist = false;
         StartCoroutine("AttackInBalist");
     }
 }
Ejemplo n.º 3
0
 void AttackGo()
 {
     EnemyFight2D.Action(punchMellee.position, punchRadius, 10, 3, isFacingLeft, "CapitanShooters");
 }
Ejemplo n.º 4
0
 void AttackGo()
 {
     EnemyFight2D.Action(punch1.position, punchRadius, 10, AttackDamage, isFacingLeft, "Sceleton");
 }
Ejemplo n.º 5
0
 void AttackGo()
 {
     EnemyFight2D.Action(punch1.position, punchRadius, 10, damage, isFacingLeft, true, "Capitan");
 }
Ejemplo n.º 6
0
 void AttackGoRun()
 {
     EnemyFight2D.Action(punch1.position, punchRadius, 10, 1, isFacingLeft, "HangManRun");
 }
Ejemplo n.º 7
0
 void AttackComboEnd()
 {
     combo = false;
     EnemyFight2D.Action(punch2.position, punchRadius, 10, damage, isFacingLeft, "Berserk");
 }
Ejemplo n.º 8
0
 void AttackGo()
 {
     EnemyFight2D.Action(punch1.position, punchRadius, 10, damage, isFacingLeft, "Berserk");
 }
Ejemplo n.º 9
0
 void AttackGo()
 {
     EnemyFight2D.Action(punch1.position, punchRadius, 10, damage, isFacingLeft, "DeadKing");
     GameObject.FindWithTag("Player").GetComponent <Rigidbody2D>().velocity = x1 > 0 ? new Vector2(-6f, 3f) : new Vector2(6f, 3f);
 }
Ejemplo n.º 10
0
 void AttackGo()
 {
     EnemyFight2D.Action(punch1.position, punchRadius, 10, 2, isFacingLeft, "DeadPriest");
 }
Ejemplo n.º 11
0
 void AttackGo()
 {
     EnemyFight2D.Action(punch1.position, punchRadius, 10, 1, !isFacingRight, "Spirit");
 }
Ejemplo n.º 12
0
 void AttackMouseGo()
 {
     EnemyFight2D.Action(Mouse.position, RadiusMouse, 10, 5, true, "DragonMouse");
     GameObject.FindWithTag("Player").GetComponent <Rigidbody2D>().velocity = new Vector2(-10f, 6f);
 }
Ejemplo n.º 13
0
 void AttackGo()
 {
     EnemyFight2D.Action(punch1.position, punchRadius, 10, 1, isFacingLeft, "Wolf");
 }