class RPG::Enemy

Attributes

actions[RW]
battler_hue[RW]
battler_name[RW]
drop_items[RW]
exp[RW]
gold[RW]
params[RW]

Public Class Methods

new() click to toggle source
Calls superclass method RPG::BaseItem::new
# File lib/rgss3/rpg.rb, line 656
def initialize
  super
  @battler_name = ''
  @battler_hue = 0
  @params = [100,0,10,10,10,10,10,10]
  @exp = 0
  @gold = 0
  @drop_items = Array.new(3) { RPG::Enemy::DropItem.new }
  @actions = [RPG::Enemy::Action.new]
  @features.push(RPG::BaseItem::Feature.new(22, 0, 0.95))
  @features.push(RPG::BaseItem::Feature.new(22, 1, 0.05))
  @features.push(RPG::BaseItem::Feature.new(31, 1, 0))
end