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

1
src/engine/objects/Shrine.java

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

Loading…
Cancel
Save