Jump to content
  • 0

[Request] Crest System like


Question

7 answers to this question

Recommended Posts

  • 0
Posted

ye but do you know the quest name?

 

Its not quest, its in core.

 

Im not sure but check L2Npc.java

  • 0
Posted

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:)

  • 0
Posted

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.

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...