Jump to content

Question

8 answers to this question

Recommended Posts

  • 0

For aCis html locates

aCis_datapack / data / html / scripts / village_master / Clan / 9000-03.htm

 

The handler locates in

gameserver/model/actor/instance/VillageMaster.java

 

Section

		else if (actualCommand.equalsIgnoreCase("increase_clan_level"))
		{
			if (player.getClan().levelUpClan(player))
				player.broadcastPacket(new MagicSkillUse(player, player, 5103, 1, 0, 0));
		}

 

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

Rootware i do not understand, what i need change in valagemaster. Java ur marked section place? 

 

Edited by bras1las

Share this post


Link to post
Share on other sites
  • 0
On 4/14/2019 at 3:46 AM, bras1las said:

Rootware i do not understand, what i need change in valagemaster. Java ur marked section place? 

 

net.sf.l2j.gameserver.model.pledge.Clan#levelUpClan(Player player)

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Look mate mby i do something wrong? case 0: // upgrade to 1
                if (player.getSp() >= 30000 && player.reduceAdena("ClanLvl", 150, player.getTarget(), true))
                {
                    player.removeExpAndSp(0, 30000);
                    increaseClanLevel = true;
                }
                break;
            
            case 1: // upgrade to 2
                if (player.getSp() >= 150000 && player.reduceAdena("ClanLvl", 250, player.getTarget(), true))
                {
                    player.removeExpAndSp(0, 150000);
                    increaseClanLevel = true;
                }
                break;
            
            case 2:// upgrade to 3
                if (player.getSp() >= 500000 && player.destroyItemByItemId("ClanLvl", 57, 1000, player.getTarget(), true))
                {
                    player.removeExpAndSp(0, 500000);
                    increaseClanLevel = true;
                }
                break;
            
            case 3: // upgrade to 4
                if (player.getSp() >= 1400000 && player.destroyItemByItemId("ClanLvl", 57, 1500, player.getTarget(), true))
                {
                    player.removeExpAndSp(0, 1400000);
                    increaseClanLevel = true;

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.



×