runelite-client: Centralize the high alchemy multiplier

This commit is contained in:
Max Weber
2019-06-17 04:16:58 -06:00
committed by Adam
parent f59c0be7f3
commit a8b00c9989
7 changed files with 19 additions and 14 deletions

View File

@@ -108,4 +108,10 @@ public class Constants
*/
public static final int ITEM_SPRITE_HEIGHT = 32;
/**
* High alchemy = shop price * HIGH_ALCHEMY_MULTIPLIER
*
* @see ItemComposition#getPrice
*/
public static final float HIGH_ALCHEMY_MULTIPLIER = .6f;
}

View File

@@ -87,6 +87,8 @@ public interface ItemComposition
* alchemy values, respectively.
*
* @return the general store value of the item
*
* @see Constants#HIGH_ALCHEMY_MULTIPLIER
*/
int getPrice();