This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
HARDECORE
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.
GameServer:
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
Edited by HARDECOREchronicle: High Five
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now