Browse Source

r7 votary grants PR40 boon

lakebane-strongholds
FatBoy-DOTC 2 months ago
parent
commit
8959f5e1c5
  1. 17
      src/engine/net/client/handlers/MerchantMsgHandler.java

17
src/engine/net/client/handlers/MerchantMsgHandler.java

@ -193,31 +193,28 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler { @@ -193,31 +193,28 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
int trains = 0;
switch(npc.getRank()){
case 1:
trains = 5;
trains = 10;
break;
case 2:
trains = 10;
trains = 15;
break;
case 3:
trains = 15;
trains = 20;
break;
case 4:
trains = 20;
trains = 25;
break;
case 5:
trains = 25;
trains = 30;
break;
case 6:
trains = 30;
trains = 35;
break;
case 7:
trains = 35;
trains = 40;
break;
}
if(Objects.requireNonNull(shrineBuilding.getCity()).getTOL() != null && shrineBuilding.getCity().getTOL().getRank() == 8)
trains += 5;
PowersManager.applyPower(player, player, player.getLoc(), shrinePower.getToken(), trains, false);
ChatManager.chatGuildInfo(player.getGuild(), player.getName() + " has recieved a boon costing " + 1 + " point of favor.");
shrineBuilding.addEffectBit(1000000 << 2);

Loading…
Cancel
Save