class Game_Party
#--------------------------------------------------------------------------
# ● 随机获得物品
#--------------------------------------------------------------------------
def get_rand_item(n)
case rand(3)
when 0
gain_item(rand($data_items.size - 1) + 1, n)
when 1
gain_weapon(rand($data_weapons.size - 1) + 1, n)
when 2
gain_armor(rand($data_armors.size - 1) + 1, n)
end
end
end