Class: RPG::Enemy::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/R3EXS/RGSS3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAction

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_param1Object

Returns the value of attribute condition_param1.



1037
1038
1039
# File 'lib/R3EXS/RGSS3.rb', line 1037

def condition_param1
  @condition_param1
end

#condition_param2Object

Returns the value of attribute condition_param2.



1038
1039
1040
# File 'lib/R3EXS/RGSS3.rb', line 1038

def condition_param2
  @condition_param2
end

#condition_typeObject

Returns the value of attribute condition_type.



1036
1037
1038
# File 'lib/R3EXS/RGSS3.rb', line 1036

def condition_type
  @condition_type
end

#ratingObject

Returns the value of attribute rating.



1039
1040
1041
# File 'lib/R3EXS/RGSS3.rb', line 1039

def rating
  @rating
end

#skill_idObject

Returns the value of attribute skill_id.



1035
1036
1037
# File 'lib/R3EXS/RGSS3.rb', line 1035

def skill_id
  @skill_id
end