Browse Source

Testing of new helper at bootstrap.

combat-2
MagicBot 9 months ago
parent
commit
dc6bce6f53
  1. 2
      src/engine/objects/ItemBase.java

2
src/engine/objects/ItemBase.java

@ -126,6 +126,8 @@ public class ItemBase {
this.minDamage = rs.getShort("minDamage"); this.minDamage = rs.getShort("minDamage");
this.maxDamage = rs.getShort("maxDamage"); this.maxDamage = rs.getShort("maxDamage");
this.requiredRaces = DbManager.parseEnumSet(rs.getString("races_required"), Enum.MonsterType.class);
this.mastery = rs.getString("mastery"); this.mastery = rs.getString("mastery");
damageType = DamageType.valueOf(rs.getString("damageType")); damageType = DamageType.valueOf(rs.getString("damageType"));

Loading…
Cancel
Save