Beispiel #1
0
 public double Bleeding_Strike(Ibase enemy)
 {
     enemy.take_dmg(Strength * 2);
     //a cada segundo por um periodo a determinar dar 1 tick de dano
     //dano a discutir
     return(enemy.HP);
 }
Beispiel #2
0
 public void Fire_shot(Ibase enemy)
 {
     enemy.take_dmg(Intelligence * this.Lvl);
     if (enemy.isDead)
     {
         this.Lvl += (1.21 + enemy.Lvl * 0.618);
     }
     // Atira gelinho pra frente causando dano no primeiro inimigo acertado
 }
Beispiel #3
0
 public void Fireball(Ibase enemy)
 {
     enemy.take_dmg(Intelligence * (this.MP));
     if (enemy.isDead)
     {
         Lvl += (1.21 + enemy.Lvl * 0.618);
     }
     //lança abola de fogo em linha reta, se chegar ao fim do rnge ou pegar em alguem explode e da dano em area
 }
Beispiel #4
0
        public double Fatal_Slash(Ibase enemy)
        {
            enemy.take_dmg(Strength + 50 + ((MAXHP - HP) * Lvl / 10) * CP);
            if (enemy.isDead)
            {
                Lvl += (1.21 + enemy.Lvl * 0.618);
            }

            return(enemy.HP);
        }
Beispiel #5
0
 public void Eruption(Ibase enemy)
 {
     enemy.take_dmg(Intelligence * (this.MP));
     this.take_dmg(100);
     if (enemy.isDead)
     {
         Lvl += (1.21 + enemy.Lvl * 0.618);
     }
     //circulo ao redor do player dando dano em tudo ao redor e um pco de dano no player
 }
Beispiel #6
0
 /// <see cref = "[Assassin] cover his blades with GH_blood, a strong poison that _is_ based on enemy_HP ,
 /// and deals damage based on his Strength + base_damage +(10/per point)"/>
 public void Poison_slash(Ibase enemy)
 {
     if (!cooldown.cannot_use[0])
     {
         enemy.take_dmg(Strength + dmg_b + 20);
         current_poison_enemy = enemy;
         Console.WriteLine("\t\t DANO INICIAL DO PS HP = " + current_poison_enemy.HP + " t = " + tes + "\n\n");
         tes++;
         timer          = new Timer(1000);
         timer.Elapsed += new System.Timers.ElapsedEventHandler(poison);
         timer.Start();
         cooldown.press(1);
     }
 }
Beispiel #7
0
 public void poison(object sender, System.Timers.ElapsedEventArgs e)
 {
     sec_p += 1000;
     if (!current_poison_enemy.imorrivel)
     {
         current_poison_enemy.take_dmg((current_poison_enemy.MAXHP * 0.1) * Strength * 0.1);
     }
     Console.WriteLine("HP Poisoned : " + current_poison_enemy.HP + " sec " + sec_p);
     if (current_poison_enemy.isDead)
     {
         Lvl += (1.21 + current_poison_enemy.Lvl * 0.618);
     }
     if (tomare(5000, timer, sec_p))
     {
         sec_p = 0;
     }
 }