class Scene_Shop def do_buy(number) $game_party.lose_gold(number * buying_price) $game_variables[42] = @item.id # 道具id存入变量42 $game_variables[43] = number # 数量存入变量43 end end
taroxd 发表于 2014-7-4 18:57
class Scene_Shop
def do_buy(number)
$game_party.lose_gold(number * buying_price)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |