recalc magic value

This commit is contained in:
2024-05-12 11:18:22 -04:00
parent 4796f7042d
commit f683201086
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -991,7 +991,7 @@ public class Item extends AbstractWorldObject {
this.effectNames.add(enchantID);
}
protected int calcMagicValue() {
public int calcMagicValue() {
int ret = 0;
for (String enchant : this.effectNames) {
ret += Item.getEnchantValue(enchant + 'A');