Jump to content
  • 0




I'm trying to limit to being able to only 3 wards per castle in TerritoryWar.
So I went to TerritoryWarManager.java
in the following line:

		public Territory(int castleId)
			_castleId = castleId;
			_territoryId = castleId + 80;
			_territoryWardSpawnPlaces = new TerritoryNPCSpawn[9];
			_questDone = new int[2];


so I changed from 9 to 3.

		public Territory(int castleId)
			_castleId = castleId;
			_territoryId = castleId + 80;
			_territoryWardSpawnPlaces = new TerritoryNPCSpawn[3];
			_questDone = new int[2];

so I compiled and went for the test. and all goes well. but when I summon the 4th ward, she simply disappears, neither goes to me, nor goes back to her origin castle.





In Game:




can someone please help me fix this? I want if the player already has 3 ward in his castle, when summoning the fourth, he can not or she returns to his origin castle


Please !!


I use L2JSunrise
chronicle: High Five

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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