Class: RPG::Enemy::Action
- Inherits:
-
Object
- Object
- RPG::Enemy::Action
- Defined in:
- lib/R3EXS/RGSS3.rb
Instance Attribute Summary collapse
-
#condition_param1 ⇒ Object
Returns the value of attribute condition_param1.
-
#condition_param2 ⇒ Object
Returns the value of attribute condition_param2.
-
#condition_type ⇒ Object
Returns the value of attribute condition_type.
-
#rating ⇒ Object
Returns the value of attribute rating.
-
#skill_id ⇒ Object
Returns the value of attribute skill_id.
Instance Method Summary collapse
-
#initialize ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize ⇒ Action
Returns a new instance of Action.
1049 1050 1051 1052 1053 1054 1055 |
# File 'lib/R3EXS/RGSS3.rb', line 1049 def initialize @skill_id = 1 @condition_type = 0 @condition_param1 = 0 @condition_param2 = 0 @rating = 5 end |
Instance Attribute Details
#condition_param1 ⇒ Object
Returns the value of attribute condition_param1.
1059 1060 1061 |
# File 'lib/R3EXS/RGSS3.rb', line 1059 def condition_param1 @condition_param1 end |
#condition_param2 ⇒ Object
Returns the value of attribute condition_param2.
1060 1061 1062 |
# File 'lib/R3EXS/RGSS3.rb', line 1060 def condition_param2 @condition_param2 end |
#condition_type ⇒ Object
Returns the value of attribute condition_type.
1058 1059 1060 |
# File 'lib/R3EXS/RGSS3.rb', line 1058 def condition_type @condition_type end |
#rating ⇒ Object
Returns the value of attribute rating.
1061 1062 1063 |
# File 'lib/R3EXS/RGSS3.rb', line 1061 def @rating end |
#skill_id ⇒ Object
Returns the value of attribute skill_id.
1057 1058 1059 |
# File 'lib/R3EXS/RGSS3.rb', line 1057 def skill_id @skill_id end |