Index: D:/projectl2j/L2_GameServer_It_1214/java/net/sf/l2j/gameserver/instancemanager/CastleManager.java =================================================================== --- D:/projectl2j/L2_GameServer_It_1214/java/net/sf/l2j/gameserver/instancemanager/CastleManager.java (revision 1240) +++ D:/projectl2j/L2_GameServer_It_1214/java/net/sf/l2j/gameserver/instancemanager/CastleManager.java (working copy) @@ -52,8 +52,18 @@ // ========================================================= // Constructor + final int _castleCirclets[] = new int[10]; public CastleManager() { + _castleCirclets[1] = 6838; + _castleCirclets[2] = 6835; + _castleCirclets[3] = 6839; + _castleCirclets[4] = 6837; + _castleCirclets[5] = 6840; + _castleCirclets[6] = 6834; + _castleCirclets[7] = 6836; + _castleCirclets[8] = 8182; + _castleCirclets[9] = 8183; } // ========================================================= @@ -212,4 +222,18 @@ if(castle.getTaxPercent() > maxTax) castle.setTaxPercent(maxTax); } + + final int _castleId = 1; // from this castle + public final int getCirclet() + { + return getCircletByCastleId(_castleId); + } + + public final int getCircletByCastleId(int castleId) + { + if (castleId > 0 && castleId < 10) + return _castleCirclets[castleId]; + + return 0; + } } \ No newline at end of file