The data class for enemy [Actions].
The ID of skills to be employed as actions.
The type of condition.
An action condition parameter. Shared by all types.
For example, if the condition is [HP], then condition_param1 will be the minimum value and condition_param2 will be the maximum value.
The action's priority rating (1..10).
class RPG::Enemy::Action def initialize @skill_id = 1 @condition_type = 0 @condition_param1 = 0 @condition_param2 = 0 @rating = 5 end attr_accessor :skill_id attr_accessor :condition_type attr_accessor :condition_param1 attr_accessor :condition_param2 attr_accessor :rating end