recalc magic value
This commit is contained in:
1 parent
4796f7042d
commit
f683201086
2 files changed
+3
-1
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user