Jump to content
  • 0

[Request] Crest System like


icemanrj

Question

7 answers to this question

Recommended Posts

  • 0

Its not quest, its in core.

 

Im not sure but check L2Npc.java

 

I don't know but i have idea... He can edit teritory war code... because if u win tw all npc ex giran area have crest... If i miss sorry but i try help:)

Link to comment
Share on other sites

  • 0

AbstractNpcInfo.java

 

			// npc crest of owning clan/ally of castle
		if (cha instanceof L2NpcInstance && cha.isInsideZone(L2Character.ZONE_TOWN) && (Config.SHOW_CREST_WITHOUT_QUEST || cha.getCastle().getShowNpcCrest()) && cha.getCastle().getOwnerId() != 0)
		{
			int townId = TownManager.getTown(_x, _y, _z).getTownId();
			if (townId != 33 && townId != 22)
			{
				L2Clan clan = ClanTable.getInstance().getClan(cha.getCastle().getOwnerId());
				_clanCrest = clan.getCrestId();
				_clanId = clan.getClanId();
				_allyCrest = clan.getAllyCrestId();
				_allyId = clan.getAllyId();
			}
		}
	}

 

You can check this class from latest L2J core, and check how does it wok.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock