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 {
int trains = 0; int trains = 0;
switch(npc.getRank()){ switch(npc.getRank()){
case 1: case 1:
trains = 5; trains = 10;
break; break;
case 2: case 2:
trains = 10; trains = 15;
break; break;
case 3: case 3:
trains = 15; trains = 20;
break; break;
case 4: case 4:
trains = 20; trains = 25;
break; break;
case 5: case 5:
trains = 25; trains = 30;
break; break;
case 6: case 6:
trains = 30; trains = 35;
break; break;
case 7: case 7:
trains = 35; trains = 40;
break; 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); 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."); ChatManager.chatGuildInfo(player.getGuild(), player.getName() + " has recieved a boon costing " + 1 + " point of favor.");
shrineBuilding.addEffectBit(1000000 << 2); shrineBuilding.addEffectBit(1000000 << 2);

Loading…
Cancel
Save