Browse Source

saetor can now take "Chaos Boon"

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
afae0e63ba
  1. 7
      src/engine/net/client/handlers/MerchantMsgHandler.java
  2. 1
      src/engine/objects/Shrine.java

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

@ -147,8 +147,8 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
Building shrineBuilding; Building shrineBuilding;
Shrine shrine; Shrine shrine;
if (npc.getGuild().getNation() != player.getGuild().getNation()) //if (npc.getGuild().getNation() != player.getGuild().getNation())
return; // return;
shrineBuilding = npc.getBuilding(); shrineBuilding = npc.getBuilding();
@ -191,6 +191,9 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
return; return;
} }
if(shrinePower.getName().equals("Boon: Nephilim"))
shrinePower.name = "Boon: Chaos";
int trains = 5 * npc.getRank() + 5;//40 - (rank * 10); int trains = 5 * npc.getRank() + 5;//40 - (rank * 10);
if (trains < 0) if (trains < 0)
trains = 0; trains = 0;

1
src/engine/objects/Shrine.java

@ -94,6 +94,7 @@ public class Shrine extends AbstractWorldObject implements Comparable<Shrine> {
return true; return true;
break; break;
case 1999://saetor
case 2025: case 2025:
case 2026: case 2026:
if (shrine.shrineType == ShrineType.Nephilim) if (shrine.shrineType == ShrineType.Nephilim)

Loading…
Cancel
Save