Browse Source

assorted fixes

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
679346383a
  1. 6
      src/engine/db/handlers/dbRuneBaseHandler.java
  2. 3
      src/engine/gameManager/LootManager.java
  3. 9
      src/engine/objects/PlayerCharacter.java

6
src/engine/db/handlers/dbRuneBaseHandler.java

@ -86,8 +86,14 @@ public class dbRuneBaseHandler extends dbHandlerBase { @@ -86,8 +86,14 @@ public class dbRuneBaseHandler extends dbHandlerBase {
case 3046:
case 3047:
case 3048:
case 2514:
rb.getRace().put(1999, true);
break;
case 3035:
rb.getBaseClass().put(2501,true);
break;
case 3049:
rb.getRace().clear();
}
}

3
src/engine/gameManager/LootManager.java

@ -443,9 +443,6 @@ public enum LootManager { @@ -443,9 +443,6 @@ public enum LootManager {
public static void GenerateInventoryDrop(Mob mob, BootySetEntry bse) {
if(bse.itemBase == 3049)//disable clanwarden
return;
if(ItemBase.getItemBase(bse.itemBase).isDiscRune()) {
if(!Mob.disciplineDroppers.contains(mob))
Mob.disciplineDroppers.add(mob);

9
src/engine/objects/PlayerCharacter.java

@ -977,7 +977,16 @@ public class PlayerCharacter extends AbstractCharacter { @@ -977,7 +977,16 @@ public class PlayerCharacter extends AbstractCharacter {
switch (attrID) {
case MBServerStatics.RUNE_COST_ATTRIBUTE_ID:
switch(rb.getName()){
case "Born of the Ethyri":
case "Born of the Taripontor":
case "Born of the Gwendannen":
case "Born of the Invorri":
case "Born of the Irydnu":
value = 0;
break;
}
Logger.info("Bought " + rb.getName() + " for " + value + " points. "
+ (remainingPoints - value) + " left.");

Loading…
Cancel
Save