public TimedMethod[] Attack()
 {
     Attacks.SetAudio("Knife", 15);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " threw the credit card" }),
                                new TimedMethod(0, "Audio", new object[] { "Knife Throw" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 4, 4, GetAccuracy(), true, true, false }) });
 }
 public TimedMethod[] Attack()
 {
     Attacks.SetAudio("Blunt Hit", 6);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " attacked" }),
                                new TimedMethod(0, "Audio", new object[] { "Small Swing" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 3, 3, GetAccuracy(), true, true, false }) });
 }
Esempio n. 3
0
 public override TimedMethod[] BasicAttack()
 {
     TimedMethod[] apathyPart;
     if (Attacks.EvasionCheck(Party.GetEnemy(), GetAccuracy()))
     {
         apathyPart = Party.GetEnemy().status.CauseApathy(1);
     }
     else
     {
         apathyPart = new TimedMethod[] { new TimedMethod("Null"), new TimedMethod("Null") };
     }
     TimedMethod[] attackPart;
     Attacks.SetAudio("Cheese", 20);
     if (Party.BagContains(new Metronome()))
     {
         attackPart = Attacks.Attack(this, Party.GetEnemy(), strength + 3, strength + 3, GetAccuracy(), true, true, false);
     }
     else
     {
         attackPart = Attacks.Attack(this, Party.GetEnemy());
     }
     TimedMethod[] moves = new TimedMethod[attackPart.Length + 3];
     moves[0] = new TimedMethod(0, "Audio", new object[] { "Big Swing" });
     attackPart.CopyTo(moves, 1);
     moves[moves.Length - 2] = apathyPart[0];
     moves[moves.Length - 1] = apathyPart[1];
     return(moves);
 }
Esempio n. 4
0
 public TimedMethod[] Attack()
 {
     Attacks.SetAudio("Knife", 6);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " used operating tools" }),
                                new TimedMethod(0, "Audio", new object[] { "Small Swing" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 4, 8, GetAccuracy(), true, true, true }) });
 }
 public override TimedMethod[] Use()
 {
     //Party.AddItem(new Flask());
     Attacks.SetAudio("Slap", 6);
     return(new TimedMethod[] { new TimedMethod(0, "AudioAfter", new object[] { "S Explosion", 10 }),
                                new TimedMethod(60, "AttackAll", new object[] { true, 2, 2, Party.GetPlayer().GetAccuracy(), true }) });
 }
    public override TimedMethod[] BasicAttack()
    {
        TimedMethod[] attackPart;
        Attacks.SetAudio("Knife", 6);
        if (Party.BagContains(new Metronome()))
        {
            attackPart = Attacks.Attack(this, Party.GetEnemy(), strength + 3, strength + 3, GetAccuracy(), true, true, false);
        }
        else
        {
            attackPart = Attacks.Attack(this, Party.GetEnemy());
        }
        GainEvasion(3);
        TimedMethod evadePart = new TimedMethod("Null");

        if (!GetGooped())
        {
            evadePart = new TimedMethod(0, "CharLogSprite", new object[] { "3", Party.playerSlot - 1, "evasion", true });
        }
        TimedMethod[] moves = new TimedMethod[attackPart.Length + 2];
        moves[0] = new TimedMethod(0, "Audio", new object[] { "Small Swing" });
        moves[1] = evadePart;
        attackPart.CopyTo(moves, 2);
        return(moves);
    }
Esempio n. 7
0
 public TimedMethod[] Attack()
 {
     Attacks.SetAudio("Metal Hit", 10);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " swung a frying pan" }),
                                new TimedMethod(0, "Audio", new object[] { "Big Swing" }),
                                new TimedMethod(0, "Attack", new object[] { false }) });
 }
Esempio n. 8
0
 public TimedMethod[] Attack()
 {
     Attacks.SetAudio("Blunt Hit", 10);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " swung the campaign sign" }),
                                new TimedMethod(0, "Audio", new object[] { "Big Swing" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 4, 4, GetAccuracy(), true, true, false }) });
 }
 public TimedMethod[] Operate()
 {
     Attacks.SetAudio("Knife", 10);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " performed deadly surgery under proper conditions" }),
                                new TimedMethod(0, "Audio", new object[] { "Finale" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 30, 30, GetAccuracy(), true, true, true }) });
 }
 public TimedMethod[] Baton()
 {
     Attacks.SetAudio("Blunt Hit", 10);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " attacked with a baton" }),
                                new TimedMethod(0, "Audio", new object[] { "Small Swing" }),
                                new TimedMethod(0, "Attack", new object[] { false }) });
 }
Esempio n. 11
0
    public override TimedMethod[] BasicAttack()
    {
        System.Random rng = new System.Random();
        TimedMethod[] stunPart;
        if (rng.Next(10) < 5 && Attacks.EvasionCheck(Party.GetEnemy(), GetAccuracy()))
        {
            stunPart = Party.GetEnemy().status.Stun(2);
        }
        else
        {
            stunPart = new TimedMethod[] { new TimedMethod("Null"), new TimedMethod("Null") };
        }
        Democracy castPassive = (Democracy)passive;

        castPassive.attacked = true;
        TimedMethod[] attackPart;
        Attacks.SetAudio("Blunt Hit", 10);
        if (Party.BagContains(new Metronome()))
        {
            attackPart = Attacks.Attack(this, Party.GetEnemy(), strength + 3, strength + 3, GetAccuracy(), true, true, false);
        }
        else
        {
            attackPart = Attacks.Attack(this, Party.GetEnemy());
        }
        TimedMethod[] moves = new TimedMethod[attackPart.Length + 3];
        moves[0] = new TimedMethod(0, "Audio", new object[] { "Big Swing" });
        attackPart.CopyTo(moves, 1);
        moves[moves.Length - 2] = stunPart[0];
        moves[moves.Length - 1] = stunPart[1];
        return(moves);
    }
 public override TimedMethod[] BasicAttack()
 {
     TimedMethod[] healPart = new TimedMethod[] { new TimedMethod("Null"), new TimedMethod("Null") };
     if (Attacks.EvasionCheck(Party.GetEnemy(), GetAccuracy()))
     {
         Heal(2);
         healPart = new TimedMethod[] { new TimedMethod(0, "AudioAfter", new object[] { "Heal", 15 }),
                                        new TimedMethod(0, "CharLogSprite", new object[] { "2", Party.playerSlot - 1, "healing", true }) };
     }
     TimedMethod[] attackPart;
     Attacks.SetAudio("Blunt Hit", 10);
     if (Party.BagContains(new Metronome()))
     {
         attackPart = Attacks.Attack(this, Party.GetEnemy(), strength + 3, strength + 3, GetAccuracy(), true, true, false);
     }
     else
     {
         attackPart = Attacks.Attack(this, Party.GetEnemy());
     }
     TimedMethod[] moves = new TimedMethod[attackPart.Length + 3];
     moves[0] = new TimedMethod(0, "AudioAfter", new object[] { "Small Swing", 10 });
     moves[1] = healPart[0];
     moves[2] = healPart[1];
     attackPart.CopyTo(moves, 3);
     return(moves);
 }
 public TimedMethod[] Keyboard()
 {
     Attacks.SetAudio("Piano Hit", 10);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " swung a keyboard" }),
                                new TimedMethod(0, "Audio", new object[] { "Big Swing" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 6, 6, GetAccuracy(), true, true, false }) });
 }
 public TimedMethod[] Disintegrate()
 {
     Attacks.SetAudio("Acid", 20);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " activated the DISINTIGRATION BEAM" }),
                                new TimedMethod(0, "Audio", new object[] { "Disintegration" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 20, 20, GetAccuracy(), true, true, false }) });
 }
 public TimedMethod[] Slice()
 {
     Attacks.SetAudio("Sword", 6);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " slashed" }),
                                new TimedMethod(0, "Audio", new object[] { "Big Swing" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 7, 7, GetAccuracy(), true, true, false }) });
 }
Esempio n. 16
0
 public override TimedMethod[] Use()
 {
     Attacks.SetAudio("Knife", 15);
     return(new TimedMethod[] { new TimedMethod(0, "Audio", new object[] { "Small Swing" }), new TimedMethod(0, "StagnantAttack", new object[] {
             true, Party.GetPlayer().GetStrength() + 3, Party.GetPlayer().GetStrength() + 3, Party.GetPlayer().GetAccuracy(), true, true, false
         }) });
 }
 public TimedMethod[] Weak()
 {
     Attacks.SetAudio("Blunt Hit", 10);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { "The Politician attacked" }),
                                new TimedMethod(0, "Audio", new object[] { "Small Swing" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 3, 3, GetAccuracy(), true, true, false }) });
 }
Esempio n. 18
0
 public TimedMethod[] Attack()
 {
     Attacks.SetAudio("Blunt Hit", 20);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " threw a football" }),
                                new TimedMethod(0, "Audio", new object[] { "Missile" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 3, 3, GetAccuracy(), true, true, false }) });
 }
Esempio n. 19
0
    public TimedMethod[] Finale()
    {
        if (Party.turn < 8)
        {
            return(Forte());
        }
        int dmg = 5;

        for (int i = 0; i < 4; i++)
        {
            if (i != Party.enemySlot - 1 && Party.enemies[i] != null && Party.enemies[i].GetAlive())
            {
                Party.enemies[i].SetHealth(0); Party.enemies[i].SetAlive(false); Party.enemyCount--;
                dmg += 5;
            }
        }
        if (Party.enemyCount > 1)
        {
            Attacks.SetAudio("Blunt Hit", 15);
            return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " did the finale. All team members deleted" }),
                                       new TimedMethod(0, "Audio", new object[] { "Finale" }),
                                       new TimedMethod(0, "StagnantAttack", new object[] { false, dmg, dmg, GetAccuracy(), true, true, false }) });
        }
        else
        {
            Attacks.SetAudio("Slap", 6);
            return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " attacked with the baton" }),
                                       new TimedMethod(0, "Audio", new object[] { "Small Swing" }),
                                       new TimedMethod(0, "StagnantAttack", new object[] { false, 3, 3, GetAccuracy(), true, true, false }) });
        }
    }
Esempio n. 20
0
 public TimedMethod[] Switch()
 {
     if (GetGooped())
     {
         status.gooped = false;
         return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " escaped the goop" }),
                                    new TimedMethod(0, "CharLogSprite", new object[] { "Cleaned", 0, "goop", false }),
                                    new TimedMethod(0, "Audio", new object[] { "Clean" }) });
     }
     if (Party.enemyCount > 1)
     {
         Attacks.SetAudio("BluntHit", 10);
         int former = Party.enemySlot;
         for (int i = 0; i < 4; i++)
         {
             if (i != Party.enemySlot - 1 && Party.enemies[i] != null && Party.enemies[i].GetAlive())
             {
                 Party.enemySlot = i + 1;
                 return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " quickly switched to "
                                                                                      + Party.GetEnemy().ToString() + ", who attacked" }), new TimedMethod(0, "EnemySwitch", new object[] { Party.enemySlot, former }),
                                            new TimedMethod(60, "Attack", new object[] { false }) });
             }
         }
     }
     Party.AddEnemy(new FootballPlayer());
     return(new TimedMethod[] { new TimedMethod(0, "Audio", new object[] { "Whistle" }),
                                new TimedMethod(60, "Log", new object[] { ToString() + " called a backup player" }) });
 }
Esempio n. 21
0
 public virtual TimedMethod[] Slicer()
 {
     Attacks.SetAudio("Knife", 25);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " chucked the pizza slicer" }),
                                new TimedMethod(0, "Audio", new object[] { "Knife Throw" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 10, 10, GetAccuracy(), true, true, false }) });
 }
Esempio n. 22
0
 public TimedMethod[] Attack()
 {
     Attacks.SetAudio("Blunt Hit", 15);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " swung a dictionary" }),
                                new TimedMethod(0, "AudioAfter", new object[] { "Big Swing", 10 }),
                                new TimedMethod(0, "Attack", new object[] { false }) });
 }
Esempio n. 23
0
 public TimedMethod[] Shoot()
 {
     Attacks.SetAudio("Blunt Hit", 6);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " shot a pistol" }),
                                new TimedMethod(0, "Audio", new object[] { "Gunfire" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 10, 10, GetAccuracy(), true, true, false }) });
 }
 public TimedMethod[] Sword()
 {
     Attacks.SetAudio("Sword", 10);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " swung the actual sword" }),
                                new TimedMethod(0, "Audio", new object[] { "Big Swing" }),
                                new TimedMethod(0, "Attack", new object[] { false }) });
 }
 public TimedMethod[] Attack()
 {
     Attacks.SetAudio("Blunt Hit", 20);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { "The " + ToString() + " tackled " }),
                                new TimedMethod(0, "Audio", new object[] { "Running" }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 5, 5, GetAccuracy(), true, true, false }) });
 }
Esempio n. 26
0
 public TimedMethod[] Broom()
 {
     Attacks.SetAudio("Blunt Hit", 10);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " swung a broom" }),
                                new TimedMethod(0, "Audio", new object[] { "Big Swing" }),
                                new TimedMethod(0, "Attack", new object[] { false }) });
 }
 public TimedMethod[] Explosive()
 {
     Attacks.SetAudio("S Explosion", 6);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " threw an explosive flask" }),
                                new TimedMethod(0, "Audio", new object[] { "Missile" }), new TimedMethod(0, "AudioAfter", new object[] { "Glass Break", 20 }),
                                new TimedMethod(0, "StagnantAttack", new object[] { false, 6, 6, GetAccuracy(), true, true, false }) });
 }
    public override TimedMethod[] BasicAttack()
    {
        TimedMethod guardPart = new TimedMethod("Null");

        if (Attacks.EvasionCheck(Party.GetEnemy(), GetAccuracy()))
        {
            guardPart = new TimedMethod(0, "CharLogDelay", new object[] { "-1", Party.enemySlot - 1, "guard", false });
            Party.GetEnemy().GainGuard(-1);
        }
        TimedMethod[] attackPart;
        Attacks.SetAudio("Metal Hit", 10);
        if (Party.BagContains(new Metronome()))
        {
            attackPart = Attacks.Attack(this, Party.GetEnemy(), strength + 3, strength + 3, GetAccuracy(), true, true, false);
        }
        else
        {
            attackPart = Attacks.Attack(this, Party.GetEnemy());
        }
        TimedMethod[] moves = new TimedMethod[attackPart.Length + 2];
        moves[0] = new TimedMethod(0, "Audio", new object[] { "Big Swing" });
        moves[moves.Length - 1] = guardPart;
        attackPart.CopyTo(moves, 1);
        return(moves);
    }
Esempio n. 29
0
 public TimedMethod[] Attack()
 {
     Attacks.SetAudio("Cheese", 20);
     return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + " threw a dried brain" }),
                                new TimedMethod(0, "Audio", new object[] { "Big Swing" }),
                                new TimedMethod(0, "Attack", new object[] { false }) });
 }
 public override TimedMethod[] BasicAttack()
 {
     System.Random rng = new System.Random();
     TimedMethod[] blindPart;
     if (rng.Next(10) < 6 && Attacks.EvasionCheck(Party.GetEnemy(), GetAccuracy()))
     {
         blindPart = Party.GetEnemy().status.Blind(2);
     }
     else
     {
         blindPart = new TimedMethod[] { new TimedMethod("Null"), new TimedMethod("Null") };
     }
     TimedMethod[] attackPart;
     Attacks.SetAudio("Knife", 15);
     if (Party.BagContains(new Metronome()))
     {
         attackPart = Attacks.Attack(this, Party.GetEnemy(), strength + 3, strength + 3, GetAccuracy(), true, true, false);
     }
     else
     {
         attackPart = Attacks.Attack(this, Party.GetEnemy());
     }
     TimedMethod[] moves = new TimedMethod[attackPart.Length + 3];
     moves[0] = new TimedMethod(0, "Audio", new object[] { "Knife Throw" });
     attackPart.CopyTo(moves, 1);
     moves[moves.Length - 2] = blindPart[0];
     moves[moves.Length - 1] = blindPart[1];
     return(moves);
 }