Added Setting for item sell prices, added stat for primal reversions, fixed weird movement when jumping across a map connection

This commit is contained in:
Maruno17
2024-01-18 22:20:46 +00:00
parent 8c5911e4a4
commit c5d7d1447b
8 changed files with 25 additions and 7 deletions

View File

@@ -442,9 +442,9 @@ class Interpreter
$game_temp.mart_prices[item] = [-1, -1] if !$game_temp.mart_prices[item]
$game_temp.mart_prices[item][0] = buy_price if buy_price > 0
if sell_price >= 0 # 0=can't sell
$game_temp.mart_prices[item][1] = sell_price * 2
$game_temp.mart_prices[item][1] = sell_price
elsif buy_price > 0
$game_temp.mart_prices[item][1] = buy_price
$game_temp.mart_prices[item][1] = buy_price / Settings::ITEM_SELL_PRICE_DIVISOR
end
end