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.



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_param1Object

Returns the value of attribute condition_param1.



1059
1060
1061
# File 'lib/R3EXS/RGSS3.rb', line 1059

def condition_param1
  @condition_param1
end

#condition_param2Object

Returns the value of attribute condition_param2.



1060
1061
1062
# File 'lib/R3EXS/RGSS3.rb', line 1060

def condition_param2
  @condition_param2
end

#condition_typeObject

Returns the value of attribute condition_type.



1058
1059
1060
# File 'lib/R3EXS/RGSS3.rb', line 1058

def condition_type
  @condition_type
end

#ratingObject

Returns the value of attribute rating.



1061
1062
1063
# File 'lib/R3EXS/RGSS3.rb', line 1061

def rating
  @rating
end

#skill_idObject

Returns the value of attribute skill_id.



1057
1058
1059
# File 'lib/R3EXS/RGSS3.rb', line 1057

def skill_id
  @skill_id
end