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.
1027 1028 1029 1030 1031 1032 1033 |
# File 'lib/R3EXS/RGSS3.rb', line 1027 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.
1037 1038 1039 |
# File 'lib/R3EXS/RGSS3.rb', line 1037 def condition_param1 @condition_param1 end |
#condition_param2 ⇒ Object
Returns the value of attribute condition_param2.
1038 1039 1040 |
# File 'lib/R3EXS/RGSS3.rb', line 1038 def condition_param2 @condition_param2 end |
#condition_type ⇒ Object
Returns the value of attribute condition_type.
1036 1037 1038 |
# File 'lib/R3EXS/RGSS3.rb', line 1036 def condition_type @condition_type end |
#rating ⇒ Object
Returns the value of attribute rating.
1039 1040 1041 |
# File 'lib/R3EXS/RGSS3.rb', line 1039 def @rating end |
#skill_id ⇒ Object
Returns the value of attribute skill_id.
1035 1036 1037 |
# File 'lib/R3EXS/RGSS3.rb', line 1035 def skill_id @skill_id end |