Remove excess gold check on Scrollsmith

This commit is contained in:
FreezePhoenix
2024-03-04 20:09:07 -05:00
committed by GitHub
parent 20717550cf
commit d6957a02cc
-3
View File
@@ -5612,9 +5612,6 @@ function init_io() {
if (!scrolldef) {
return fail_response("scrollsmith_cant"); // Just in case there isn't actually an item associated with the scroll... should never happen, though.
}
if (player.gold < 250000) {
return fail_response("gold_not_enough");
}
var needed = [1, 10, 100, 1000, 9999, 9999, 9999];
var ograde = calculate_item_grade(def, { name: item.name, level: 0 });
var cost = needed[ograde] * scrolldef.g * 10;