Removed all alchemy values from config (inauthentic values, seem to have been copied from RS3) - we will probably need to add new overrides as they are discovered, none known at time of writing

Defined low alchemy value as item value * 0.4 unless override exists in config (authentic)
Defined high alchemy value as item value * 0.6 unless override exists in config (authentic)
This commit is contained in:
Ryan
2022-05-20 12:02:03 +00:00
parent 334bc77d06
commit 09ce411a0c
4 changed files with 57 additions and 9752 deletions
@@ -1399,9 +1399,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));
}
/**