Examples of incReputation()


Examples of lineage2.gameserver.model.pledge.Clan.incReputation()

        }
        break;
      case 6:
        if ((clan.getReputationScore() >= Config.ALT_CLAN_REP_COUNT_7LVL) && (clan.getAllSize() >= Config.ALT_CLAN_PLAYER_COUNT_7LVL))
        {
          clan.incReputation(-Config.ALT_CLAN_REP_COUNT_7LVL, false, "LvlUpClan");
          increaseClanLevel = true;
        }
        break;
      case 7:
        if ((clan.getReputationScore() >= Config.ALT_CLAN_REP_COUNT_8LVL) && (clan.getAllSize() >= Config.ALT_CLAN_PLAYER_COUNT_8LVL))
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Clan.incReputation()

        }
        break;
      case 7:
        if ((clan.getReputationScore() >= Config.ALT_CLAN_REP_COUNT_8LVL) && (clan.getAllSize() >= Config.ALT_CLAN_PLAYER_COUNT_8LVL))
        {
          clan.incReputation(-Config.ALT_CLAN_REP_COUNT_8LVL, false, "LvlUpClan");
          increaseClanLevel = true;
        }
        break;
      case 8:
        if ((clan.getReputationScore() >= Config.ALT_CLAN_REP_COUNT_9LVL) && (clan.getAllSize() >= Config.ALT_CLAN_PLAYER_COUNT_9LVL))
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Clan.incReputation()

      case 8:
        if ((clan.getReputationScore() >= Config.ALT_CLAN_REP_COUNT_9LVL) && (clan.getAllSize() >= Config.ALT_CLAN_PLAYER_COUNT_9LVL))
        {
          if (player.getInventory().destroyItemByItemId(9910, 150L))
          {
            clan.incReputation(-Config.ALT_CLAN_REP_COUNT_9LVL, false, "LvlUpClan");
            increaseClanLevel = true;
          }
        }
        break;
      case 9:
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Clan.incReputation()

      case 9:
        if ((clan.getReputationScore() >= Config.ALT_CLAN_REP_COUNT_10LVL) && (clan.getAllSize() >= Config.ALT_CLAN_PLAYER_COUNT_10LVL))
        {
          if (player.getInventory().destroyItemByItemId(9911, 5))
          {
            clan.incReputation(-Config.ALT_CLAN_REP_COUNT_10LVL, false, "LvlUpClan");
            increaseClanLevel = true;
          }
        }
        break;
      case 10:
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Clan.incReputation()

        if ((clan.getReputationScore() >= Config.ALT_CLAN_REP_COUNT_11LVL) && (clan.getAllSize() >= Config.ALT_CLAN_PLAYER_COUNT_11LVL) && (clan.getCastle() > 0))
        {
          //Radian Cloak of Light
          if (player.getInventory().destroyItemByItemId(34996, 1))
          {
            clan.incReputation(-Config.ALT_CLAN_REP_COUNT_11LVL, false, "LvlUpClan");
            increaseClanLevel = true;
          }
        }
        break;
    }
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Clan.incReputation()

      if (!player.consumeItem(skillLearn.getItemId(), skillLearn.getItemCount()))
      {
        return;
      }
    }
    clan.incReputation(-skillLearn.getCost(), false, "AquireSkill: " + skillLearn.getId() + ", lvl " + skillLearn.getLevel());
    clan.addSkill(skill, true);
    clan.broadcastToOnlineMembers(new SystemMessage2(SystemMsg.THE_CLAN_SKILL_S1_HAS_BEEN_ADDED).addSkillName(skill));
    NpcInstance.showClanSkillList(player);
  }
 
View Full Code Here

Examples of lineage2.gameserver.model.pledge.Clan.incReputation()

      if (!player.consumeItem(skillLearn.getItemId(), skillLearn.getItemCount()))
      {
        return;
      }
    }
    clan.incReputation(-skillLearn.getCost(), false, "AquireSkill2: " + skillLearn.getId() + ", lvl " + skillLearn.getLevel());
    sub.addSkill(skill, true);
    player.sendPacket(new SystemMessage2(SystemMsg.THE_CLAN_SKILL_S1_HAS_BEEN_ADDED).addSkillName(skill));
    if (trainer != null)
    {
      NpcInstance.showSubUnitSkillList(player);
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.