(VX Ace)
Anyone has any idea what I'm doing wrong? I'm trying to change the formula in Scene_Shop, but the game is not taking it into account, and I have no idea why.
def buying_price
(@buy_window.price(@ItEm) * (100/(100 - $game_variables[161] * 2) ) ).to_i
end
(Variable mentioned is a haggling stat the player can raise, max it can reach is 8, so the player can basically get a 16% discount.)
Anyone has any idea what I'm doing wrong? I'm trying to change the formula in Scene_Shop, but the game is not taking it into account, and I have no idea why.
def buying_price
(@buy_window.price(@ItEm) * (100/(100 - $game_variables[161] * 2) ) ).to_i
end
(Variable mentioned is a haggling stat the player can raise, max it can reach is 8, so the player can basically get a 16% discount.)