Class: RPG::Enemy::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss3/rpg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAction

Returns a new instance of Action.



692
693
694
695
696
697
698
# File 'lib/rgss3/rpg.rb', line 692

def initialize
  @skill_id = 1
  @condition_type = 0
  @condition_param1 = 0
  @condition_param2 = 0
  @rating = 5
end

Instance Attribute Details

#condition_param1Object

Returns the value of attribute condition_param1.



701
702
703
# File 'lib/rgss3/rpg.rb', line 701

def condition_param1
  @condition_param1
end

#condition_param2Object

Returns the value of attribute condition_param2.



702
703
704
# File 'lib/rgss3/rpg.rb', line 702

def condition_param2
  @condition_param2
end

#condition_typeObject

Returns the value of attribute condition_type.



700
701
702
# File 'lib/rgss3/rpg.rb', line 700

def condition_type
  @condition_type
end

#ratingObject

Returns the value of attribute rating.



703
704
705
# File 'lib/rgss3/rpg.rb', line 703

def rating
  @rating
end

#skill_idObject

Returns the value of attribute skill_id.



699
700
701
# File 'lib/rgss3/rpg.rb', line 699

def skill_id
  @skill_id
end