class Game_Enemy def make_drop_items enemy.drop_items.each_with_object([]) do |di, r| if di.kind > 0 && rand * 1000 / di.denominator < drop_item_rate r.push(item_object(di.kind, di.data_id)) end end end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |