repair cost formula fixed
This commit is contained in:
1 parent
f73ed17c05
commit
76eed79b0a
2 files changed
+10
-18
No files matched your search
@@ -1227,7 +1227,10 @@ public class Item extends AbstractWorldObject {
|
||||
}
|
||||
|
||||
public final int getMagicValue() {
|
||||
return this.magicValue;
|
||||
int val = this.calcMagicValue();
|
||||
if(val == 0)
|
||||
val = 1;
|
||||
return val + this.getItemBase().getMagicValue();
|
||||
}
|
||||
|
||||
public int getBaseValue() {
|
||||
|
||||
Reference in new issue
Block a user