Alchemy value now derived from item value (from cache)

Removed all alchemy value overrides from item config json
All items should now have authentic alchemy values
This commit is contained in:
Ryan
2022-10-03 08:50:31 +00:00
parent 39cf1f60ca
commit 1f078ed0f4
3 changed files with 57 additions and 10082 deletions
@@ -1370,9 +1370,9 @@ public class ItemDefinition extends Definition<Item> {
return forId(noteId).getAlchemyValue(highAlchemy);
}
if (highAlchemy) {
return getConfiguration(ItemConfigParser.HIGH_ALCHEMY, 0);
return getConfiguration(ItemConfigParser.HIGH_ALCHEMY, (int)Math.rint(value * 0.6));
}
return getConfiguration(ItemConfigParser.LOW_ALCHEMY, 0);
return getConfiguration(ItemConfigParser.LOW_ALCHEMY, (int)Math.rint(value * 0.4));
}
/**