Example #1
0
 private void MediKit(MOBAEngine.Skills.SkillBase Skill)
 {
     mana -= Skill.ManaCost;
     Skill.UseSkill(IP, gameObject);
     AbnormalType.AbnormalOccurrence("Heal", "Heal", Skill.CoolTme, Skill.CoolTme);
 }
Example #2
0
 private void ReloadMaster(MOBAEngine.Skills.SkillBase Skill)
 {
     mana -= Skill.ManaCost;
     Skill.UseSkill(IP, gameObject);
     //AbnormalType.AbnormalOccurrence("ReroadBuff", "Buff", 30f,)
 }
Example #3
0
 private void Berserk(MOBAEngine.Skills.SkillBase Skill)
 {
     mana -= Skill.ManaCost;
     Skill.UseSkill(IP, gameObject);
     AbnormalType.AbnormalOccurrence("AttackBuff", "Buff", 30f, 10f);
 }
Example #4
0
 private void ArmorUp(MOBAEngine.Skills.SkillBase Skill)
 {
     mana -= Skill.ManaCost;
     Skill.UseSkill(IP, gameObject);
     AbnormalType.AbnormalOccurrence("DffenceBuff", "Buff", 30f, 10f);
 }
Example #5
0
    /*
     * private void Skill(int skill_ID,int num)
     * {
     *  switch (skill_ID)
     *  {
     *      case 1:
     *          // バフ
     *          Sprint();
     *          break;
     *
     *      case 2:
     *          // バフ
     *          Berserk();
     *          break;
     *
     *      case 3:
     *          // バフ
     *          ArmorUp();
     *          break;
     *
     *      case 4:
     *          // エリアバフ
     *          AdvancedSprint();
     *          break;
     *
     *      case 5:
     *          // バフ
     *          ReloadMaster();
     *          break;
     *
     *      case 6:
     *          // エリアバフ
     *          AdvancedBerserk();
     *          break;
     *
     *      case 7:
     *          // エリアバフ
     *          AdvancedArmorUp();
     *          break;
     *
     *      case 8:
     *          // エリア回復
     *          Heal();
     *          break;
     *
     *      case 9:
     *          // 回復
     *          MediKit();
     *          break;
     *
     *      case 10:
     *          // Throw
     *          Shot();
     *          break;
     *
     *      case 11:
     *          // Throw
     *          FlameBullet();
     *          break;
     *
     *      case 12:
     *          // Throw
     *          ExplosionBomb();
     *          break;
     *
     *      case 13:
     *          // Throw
     *          HeavyBullet();
     *          break;
     *
     *      case 14:
     *          Grenade();
     *          break;
     *
     *      case 15:
     *          FlameRadiation();
     *          break;
     *      case 16:
     *          PierceS();
     *          break;
     *
     *      case 17:
     *          Missile();
     *          break;
     *
     *      case 18:
     *          TazaGun();
     *          break;
     *
     *      case 19:
     *          RailGun();
     *          break;
     *
     *      case 20:
     *          Armor_PiercingAmmunition();
     *          break;
     *      case 21:
     *          Request();
     *          break;
     *      case 22:
     *          Radar();
     *          break;
     *
     *      case 23:
     *          Drone();
     *          break;
     *
     *      case 24:
     *          EMP_Strike();
     *          break;
     *
     *      case 25:
     *          HighGravity();
     *          break;
     *
     *      default:
     *          Debug.Log("error:スキルIDがおかしい");
     *          break;
     *  }
     * }
     *
     */

    // バフ
    private void Sprint(MOBAEngine.Skills.SkillBase Skill)
    {
        mana -= Skill.ManaCost;
        Skill.UseSkill(IP, gameObject);
        AbnormalType.AbnormalOccurrence("MoveBuff", "Buff", 20f, 15f);
    }