Browse Source

all sages can repair everything

lakebane2
FatBoy-DOTC 2 weeks ago
parent
commit
3d83baed78
  1. 4
      src/engine/Enum.java
  2. 6
      src/engine/db/handlers/dbContractHandler.java

4
src/engine/Enum.java

@ -779,6 +779,7 @@ public class Enum {
Combat, Combat,
Spires, Spires,
Snare, Snare,
Snared,
Stun, Stun,
Blind, Blind,
Root, Root,
@ -881,6 +882,7 @@ public class Enum {
Siege, Siege,
Slash, Slash,
Snare, Snare,
Snared,
Sorcery, Sorcery,
Spear, Spear,
SpearMastery, SpearMastery,
@ -1030,6 +1032,7 @@ public class Enum {
Silence, Silence,
Slash, Slash,
Snare, Snare,
Snared,
Stance, Stance,
Stun, Stun,
Summon, Summon,
@ -1154,6 +1157,7 @@ public class Enum {
SkillDebuff, SkillDebuff,
SlashResistanceDebuff, SlashResistanceDebuff,
Snare, Snare,
Snared,
StackableAttrCONBuff, StackableAttrCONBuff,
StackableAttrDEXBuff, StackableAttrDEXBuff,
StackableAttrSTRBuff, StackableAttrSTRBuff,

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

@ -136,6 +136,12 @@ public class dbContractHandler extends dbHandlerBase {
int value = rs.getInt("value"); int value = rs.getInt("value");
if(!contract.getBuySkillToken().contains(value)) if(!contract.getBuySkillToken().contains(value))
contract.getBuySkillToken().add(value); contract.getBuySkillToken().add(value);
if(!contract.getBuyItemType().contains(value))
contract.getBuyItemType().add(value);
if(!contract.getBuyUnknownToken().contains(value))
contract.getBuyUnknownToken().add(value);
} }
} catch (SQLException e) { } catch (SQLException e) {
Logger.error(e); Logger.error(e);

Loading…
Cancel
Save