downrefitem script command update

Preparation for refiner/hd-ore update;
Optional param added, this will allow for the officials 1/3 downgrades as well as for users to customise the value to their liking at script-level.
Thanks To Haruna.

Signed-off-by: shennetsind <ind@henn.et>