Examples of calcStat()


Examples of lineage2.gameserver.model.Player.calcStat()

    Player targetPlayer = (Player) env.target;
    if (targetPlayer.getCubic(_id) != null)
    {
      return true;
    }
    int size = (int) targetPlayer.calcStat(Stats.CUBICS_LIMIT, 1);
    if (targetPlayer.getCubics().size() >= size)
    {
      if (env.character == targetPlayer)
      {
        targetPlayer.sendPacket(Msg.CUBIC_SUMMONING_FAILED);
View Full Code Here

Examples of lineage2.gameserver.model.Player.calcStat()

      player.sendPacket(Msg.SOULSHOT_DOES_NOT_MATCH_WEAPON_GRADE);
      return false;
    }
    if ((weaponItem.getItemType() == WeaponType.BOW) || (weaponItem.getItemType() == WeaponType.CROSSBOW))
    {
      final int newSS = (int) player.calcStat(Stats.SS_USE_BOW, soulShotConsumption, null, null);
      if ((newSS < soulShotConsumption) && Rnd.chance(player.calcStat(Stats.SS_USE_BOW_CHANCE, soulShotConsumption, null, null)))
      {
        soulShotConsumption = newSS;
      }
    }
View Full Code Here

Examples of lineage2.gameserver.model.Player.calcStat()

      return false;
    }
    if ((weaponItem.getItemType() == WeaponType.BOW) || (weaponItem.getItemType() == WeaponType.CROSSBOW))
    {
      final int newSS = (int) player.calcStat(Stats.SS_USE_BOW, soulShotConsumption, null, null);
      if ((newSS < soulShotConsumption) && Rnd.chance(player.calcStat(Stats.SS_USE_BOW_CHANCE, soulShotConsumption, null, null)))
      {
        soulShotConsumption = newSS;
      }
    }
    if (!player.getInventory().destroyItem(item, soulShotConsumption))
View Full Code Here

Examples of lineage2.gameserver.model.Player.calcStat()

            return false;
          }
          Player pl = ob.getPlayer();
          List<String> _s = new ArrayList<>();
          _s.add("==========TARGET STATS:");
          _s.add("==Magic Resist: " + pl.calcStat(Stats.MAGIC_RESIST, null, null));
          _s.add("==Magic Power: " + pl.calcStat(Stats.MAGIC_POWER, 1, null, null));
          _s.add("==Skill Power: " + pl.calcStat(Stats.SKILL_POWER, 1, null, null));
          _s.add("==Cast Break Rate: " + pl.calcStat(Stats.CAST_INTERRUPT, 1, null, null));
          _s.add("==========Powers:");
          _s.add("==Bleed: " + pl.calcStat(Stats.BLEED_POWER, 1, null, null));
View Full Code Here

Examples of lineage2.gameserver.model.Player.calcStat()

          }
          Player pl = ob.getPlayer();
          List<String> _s = new ArrayList<>();
          _s.add("==========TARGET STATS:");
          _s.add("==Magic Resist: " + pl.calcStat(Stats.MAGIC_RESIST, null, null));
          _s.add("==Magic Power: " + pl.calcStat(Stats.MAGIC_POWER, 1, null, null));
          _s.add("==Skill Power: " + pl.calcStat(Stats.SKILL_POWER, 1, null, null));
          _s.add("==Cast Break Rate: " + pl.calcStat(Stats.CAST_INTERRUPT, 1, null, null));
          _s.add("==========Powers:");
          _s.add("==Bleed: " + pl.calcStat(Stats.BLEED_POWER, 1, null, null));
          _s.add("==Poison: " + pl.calcStat(Stats.POISON_POWER, 1, null, null));
View Full Code Here

Examples of lineage2.gameserver.model.Player.calcStat()

          Player pl = ob.getPlayer();
          List<String> _s = new ArrayList<>();
          _s.add("==========TARGET STATS:");
          _s.add("==Magic Resist: " + pl.calcStat(Stats.MAGIC_RESIST, null, null));
          _s.add("==Magic Power: " + pl.calcStat(Stats.MAGIC_POWER, 1, null, null));
          _s.add("==Skill Power: " + pl.calcStat(Stats.SKILL_POWER, 1, null, null));
          _s.add("==Cast Break Rate: " + pl.calcStat(Stats.CAST_INTERRUPT, 1, null, null));
          _s.add("==========Powers:");
          _s.add("==Bleed: " + pl.calcStat(Stats.BLEED_POWER, 1, null, null));
          _s.add("==Poison: " + pl.calcStat(Stats.POISON_POWER, 1, null, null));
          _s.add("==Stun: " + pl.calcStat(Stats.STUN_POWER, 1, null, null));
View Full Code Here

Examples of lineage2.gameserver.model.Player.calcStat()

          List<String> _s = new ArrayList<>();
          _s.add("==========TARGET STATS:");
          _s.add("==Magic Resist: " + pl.calcStat(Stats.MAGIC_RESIST, null, null));
          _s.add("==Magic Power: " + pl.calcStat(Stats.MAGIC_POWER, 1, null, null));
          _s.add("==Skill Power: " + pl.calcStat(Stats.SKILL_POWER, 1, null, null));
          _s.add("==Cast Break Rate: " + pl.calcStat(Stats.CAST_INTERRUPT, 1, null, null));
          _s.add("==========Powers:");
          _s.add("==Bleed: " + pl.calcStat(Stats.BLEED_POWER, 1, null, null));
          _s.add("==Poison: " + pl.calcStat(Stats.POISON_POWER, 1, null, null));
          _s.add("==Stun: " + pl.calcStat(Stats.STUN_POWER, 1, null, null));
          _s.add("==Root: " + pl.calcStat(Stats.ROOT_POWER, 1, null, null));
View Full Code Here

Examples of lineage2.gameserver.model.Player.calcStat()

          _s.add("==Magic Resist: " + pl.calcStat(Stats.MAGIC_RESIST, null, null));
          _s.add("==Magic Power: " + pl.calcStat(Stats.MAGIC_POWER, 1, null, null));
          _s.add("==Skill Power: " + pl.calcStat(Stats.SKILL_POWER, 1, null, null));
          _s.add("==Cast Break Rate: " + pl.calcStat(Stats.CAST_INTERRUPT, 1, null, null));
          _s.add("==========Powers:");
          _s.add("==Bleed: " + pl.calcStat(Stats.BLEED_POWER, 1, null, null));
          _s.add("==Poison: " + pl.calcStat(Stats.POISON_POWER, 1, null, null));
          _s.add("==Stun: " + pl.calcStat(Stats.STUN_POWER, 1, null, null));
          _s.add("==Root: " + pl.calcStat(Stats.ROOT_POWER, 1, null, null));
          _s.add("==Mental: " + pl.calcStat(Stats.MENTAL_POWER, 1, null, null));
          _s.add("==Sleep: " + pl.calcStat(Stats.SLEEP_POWER, 1, null, null));
View Full Code Here

Examples of lineage2.gameserver.model.Player.calcStat()

          _s.add("==Magic Power: " + pl.calcStat(Stats.MAGIC_POWER, 1, null, null));
          _s.add("==Skill Power: " + pl.calcStat(Stats.SKILL_POWER, 1, null, null));
          _s.add("==Cast Break Rate: " + pl.calcStat(Stats.CAST_INTERRUPT, 1, null, null));
          _s.add("==========Powers:");
          _s.add("==Bleed: " + pl.calcStat(Stats.BLEED_POWER, 1, null, null));
          _s.add("==Poison: " + pl.calcStat(Stats.POISON_POWER, 1, null, null));
          _s.add("==Stun: " + pl.calcStat(Stats.STUN_POWER, 1, null, null));
          _s.add("==Root: " + pl.calcStat(Stats.ROOT_POWER, 1, null, null));
          _s.add("==Mental: " + pl.calcStat(Stats.MENTAL_POWER, 1, null, null));
          _s.add("==Sleep: " + pl.calcStat(Stats.SLEEP_POWER, 1, null, null));
          _s.add("==Paralyze: " + pl.calcStat(Stats.PARALYZE_POWER, 1, null, null));
View Full Code Here

Examples of lineage2.gameserver.model.Player.calcStat()

          _s.add("==Skill Power: " + pl.calcStat(Stats.SKILL_POWER, 1, null, null));
          _s.add("==Cast Break Rate: " + pl.calcStat(Stats.CAST_INTERRUPT, 1, null, null));
          _s.add("==========Powers:");
          _s.add("==Bleed: " + pl.calcStat(Stats.BLEED_POWER, 1, null, null));
          _s.add("==Poison: " + pl.calcStat(Stats.POISON_POWER, 1, null, null));
          _s.add("==Stun: " + pl.calcStat(Stats.STUN_POWER, 1, null, null));
          _s.add("==Root: " + pl.calcStat(Stats.ROOT_POWER, 1, null, null));
          _s.add("==Mental: " + pl.calcStat(Stats.MENTAL_POWER, 1, null, null));
          _s.add("==Sleep: " + pl.calcStat(Stats.SLEEP_POWER, 1, null, null));
          _s.add("==Paralyze: " + pl.calcStat(Stats.PARALYZE_POWER, 1, null, null));
          _s.add("==Cancel: " + pl.calcStat(Stats.CANCEL_POWER, 1, null, null));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.