src/Game Objects/Game_BattleAction.rb
#--------------------------------------------------------------------------
# * Action Value Evaluation (for automatic battle)
#    @value and @target_index are automatically set.
#--------------------------------------------------------------------------
Action Value Evaluation (for automatic battle)
@value and @target_index are automatically set.
Action Value Evaluation ( for automatic battle ) @value and @target_index are automatically set .
def evaluate
    if attack?
      evaluate_attack
    elsif skill?
      evaluate_skill
    elsif item?
      evaluate_item
    else
      @value = 0
    end
    if @value > 0
      @value + rand(nil)
    end
  end
def evaluate if attack? evaluate_attack elsif skill? evaluate_skill elsif item? evaluate_item else @value = 0 end if @value > 0 @value + rand ( nil ) end end
Action Value Evaluation (for automatic battle)
@value and @target_index are automatically set.
Action Value Evaluation ( for automatic battle ) @value and @target_index are automatically set .