public override TimedMethod[] EnemyTurn() { FratLord f = (FratLord)Party.GetEnemy(1); if (Attacks.EvasionCheck(Party.GetPlayer(), GetAccuracy())) { TimedMethod[] firePart = new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " was compelled to jump the bonfire, and failed" }), new TimedMethod(0, "StagnantAttack", new object[] { false, 5, 5, GetAccuracy(), true, false, false }) }; TimedMethod[] fratPart = f.Fail(); TimedMethod[] moves = new TimedMethod[firePart.Length + fratPart.Length]; firePart.CopyTo(moves, 0); fratPart.CopyTo(moves, firePart.Length); return(moves); } else { Party.enemySlot = 1; TimedMethod[] firePart = new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " was compelled to jump the bonfire" }), new TimedMethod(0, "AttackAny", new object[] { this, Party.GetPlayer(), 5, 5, GetAccuracy(), true, false, false }) }; TimedMethod[] fratPart = f.Third(); TimedMethod[] moves = new TimedMethod[firePart.Length + fratPart.Length]; firePart.CopyTo(moves, 0); fratPart.CopyTo(moves, firePart.Length); return(moves); } }
public override TimedMethod[] EnemyTurn() { FratLord f = (FratLord)Party.GetEnemy(1); return(f.Fail()); }