The data class for enemy [Drop Items].
The type of dropped item.
The ID of the data depending on the type of dropped item (item, weapon, or armor).
N of the probability that the item will be dropped, 1/N.
class RPG::Enemy::DropItem
def initialize
@kind = 0
@data_id = 1
@denominator = 1
end
attr_accessor :kind
attr_accessor :data_id
attr_accessor :denominator
end