v2.0.0: fixed rare errors with blacksmith and resin boosted wands
This commit is contained in:
+1
-1
@@ -214,7 +214,7 @@ public class Blacksmith extends NPC {
|
||||
public static void upgrade( Item item1, Item item2 ) {
|
||||
|
||||
Item first, second;
|
||||
if (item2.level() > item1.level()) {
|
||||
if (item2.trueLevel() > item1.trueLevel()) {
|
||||
first = item2;
|
||||
second = item1;
|
||||
} else {
|
||||
|
||||
@@ -381,6 +381,8 @@ public class Armor extends EquipableItem {
|
||||
@Override
|
||||
public int level() {
|
||||
int level = super.level();
|
||||
//TODO warrior's seal upgrade should probably be considered here too
|
||||
// instead of being part of true level
|
||||
if (curseInfusionBonus) level += 1 + level/6;
|
||||
return level;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user