@ -105,7 +106,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -105,7 +106,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
ErrorPopupMsg.sendErrorPopup(player,173);// You must be the leader of a guild to receive a blessing
return;
}
@ -126,12 +127,12 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -126,12 +127,12 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
realm=RealmMap.getRealmForCity(city);
if(realm.getCanBeClaimed()==false){
if(!realm.getCanBeClaimed()){
ErrorPopupMsg.sendErrorPopup(player,180);// This territory cannot be ruled by anyone
return;
}
if(realm.isRuled()==true){
if(realm.isRuled()){
ErrorPopupMsg.sendErrorPopup(player,178);// This territory is already claimed
return;
}
@ -142,12 +143,12 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -142,12 +143,12 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@ -155,7 +156,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -155,7 +156,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@ -171,11 +172,9 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -171,11 +172,9 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@ -191,16 +190,34 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -191,16 +190,34 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
return;
}
intrank=shrine.getRank();
//R8 trees always get atleast rank 2 boons. rank uses index, where 0 is first place, 1 is second, etc...
ChatManager.chatGuildInfo(player.getGuild(),player.getName()+" has recieved a boon costing "+1+" point of favor.");
shrineBuilding.addEffectBit(1000000<<2);
@ -420,7 +437,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -420,7 +437,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {