Enemy Class Issue

I have this script and am having some trouble with the skills for the class and enemy setup.
Here is the class my enemy has:
1654003661907.png

The enemy is only using regular attack and won't use any of the skills for the class.
The enemies minimum level is 13
1654003737344.png

How do I fix this?
Game file:
How do I fix this?
by adding the skills to the action pattern.

the action pattern is the AI for the enemy, and no enemy can use a skill not listed there.

as mentioned in the script description, the class and level counts as additional conditions, but no enemy can use a skill outside the action pattern.
I was thinking the same thing. I looked into the script and it does not allow transferring the skills in the class over to the enemy.
Since hime did not include this, I'm not sure it can be done easily.
Took three hours. But got it.
Put below hime enemy classes script
This overwrites the make action in the advanced AI script
Ruby:
# ╔═════════════════════════════════════╦════════════════════╗
# ║ Title: Include class skills to enemy║  Version: 1.00     ║
# ║ Author: Roninator2                  ║                    ║
# ╠═════════════════════════════════════╬════════════════════╣
# ║ Function:                           ║   Date Created     ║
# ║                                     ╠════════════════════╣
# ║   Add class skills to enemy skills  ║    31 May 2022     ║
# ╚═════════════════════════════════════╩════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Addon for Hime Enemy Classes script                      ║
# ╚══════════════════════════════════════════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Instructions:                                            ║
# ║   Plug and play                                          ║
# ║                                                          ║
# ║   Script will add any skills in the class to the         ║
# ║   enemies skill list                                     ║
# ╚══════════════════════════════════════════════════════════╝
# ╔═════════════════════════════════════╗
# ║ Terms of use:                       ║
# ║ Free for all uses in RPG Maker      ║
# ╚═════════════════════════════════════╝

class Game_Enemy < Game_Battler
  #--------------------------------------------------------------------------
  # * Create Battle Action
  #--------------------------------------------------------------------------
  def make_class_actions
    $data_classes[enemy.class_id].learnings.each { |s|
      skl = RPG::Enemy::Action.new
      skl.skill_id = s.skill_id
      enemy.actions.push(skl)
    }
  end
    if $imported['ARC-AdvAIConditions']
        #--------------------------------------------------------------------------
        # ● Select an action
        #--------------------------------------------------------------------------
        def make_actions
            super
            return if @actions.empty?
            if enemy.class_id != 0
                make_class_actions
            end
            action_list = enemy.actions.select {|a| action_valid?(a) }
            # Process turn patterns
            unless enemy.t_patterns.keys.empty?
                if turn_patterns_ok?
                    action_list = make_turn_patterns_list.select {|a| action_valid?(a)}
                end
            end
            # End Process turn patterns
            return if action_list.empty?
            # Process absolute rating
            absolute_list = action_list.reject {|a| a.rating != ARC::ABSOLUTE_RATING}
            unless absolute_list.empty?
                @actions.each do |action|
                    action.set_enemy_action(absolute_list[rand(absolute_list.size)])
                end
                return
            end
            # Normal method end
            rating_max = action_list.collect {|a| a.rating }.max
            rating_zero = rating_max - 3
            action_list.reject! {|a| a.rating <= rating_zero }
            @actions.each do |action|
                action.set_enemy_action(select_enemy_action(action_list, rating_zero))
            end
        end
    else
        def make_actions
            super
            return if @actions.empty?
            if enemy.class_id != 0
                make_class_actions
            end
            action_list = enemy.actions.select {|a| action_valid?(a) }
            return if action_list.empty?
            rating_max = action_list.collect {|a| a.rating }.max
            rating_zero = rating_max - 3
            action_list.reject! {|a| a.rating <= rating_zero }
            @actions.each do |action|
                action.set_enemy_action(select_enemy_action(action_list, rating_zero))
            end
        end
    end
end
I was thinking the same thing. I looked into the script and it does not allow transferring the skills in the class over to the enemy.
Since hime did not include this, I'm not sure it can be done easily.
Took three hours. But got it.
Put below hime enemy classes script
This overwrites the make action in the advanced AI script
Ruby:
# ╔═════════════════════════════════════╦════════════════════╗
# ║ Title: Include class skills to enemy║  Version: 1.00     ║
# ║ Author: Roninator2                  ║                    ║
# ╠═════════════════════════════════════╬════════════════════╣
# ║ Function:                           ║   Date Created     ║
# ║                                     ╠════════════════════╣
# ║   Add class skills to enemy skills  ║    31 May 2022     ║
# ╚═════════════════════════════════════╩════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Addon for Hime Enemy Classes script                      ║
# ╚══════════════════════════════════════════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Instructions:                                            ║
# ║   Plug and play                                          ║
# ║                                                          ║
# ║   Script will add any skills in the class to the         ║
# ║   enemies skill list                                     ║
# ╚══════════════════════════════════════════════════════════╝
# ╔═════════════════════════════════════╗
# ║ Terms of use:                       ║
# ║ Free for all uses in RPG Maker      ║
# ╚═════════════════════════════════════╝

class Game_Enemy < Game_Battler
  #--------------------------------------------------------------------------
  # * Create Battle Action
  #--------------------------------------------------------------------------
  def make_class_actions
    amt = enemy.actions.size
    $data_classes[enemy.class_id].learnings.each { |s|
      skl = RPG::Enemy::Action.new
      skl.skill_id = s.skill_id
      enemy.actions.push(skl)
      amt += 1
    }
  end
    if $imported['ARC-AdvAIConditions']
        #--------------------------------------------------------------------------
        # ● Select an action
        #--------------------------------------------------------------------------
        def make_actions
            super
            return if @actions.empty?
            if enemy.class_id != 0
                make_class_actions
            end
            action_list = enemy.actions.select {|a| action_valid?(a) }
            # Process turn patterns
            unless enemy.t_patterns.keys.empty?
                if turn_patterns_ok?
                    action_list = make_turn_patterns_list.select {|a| action_valid?(a)}
                end
            end
            # End Process turn patterns
            return if action_list.empty?
            # Process absolute rating
            absolute_list = action_list.reject {|a| a.rating != ARC::ABSOLUTE_RATING}
            unless absolute_list.empty?
                @actions.each do |action|
                    action.set_enemy_action(absolute_list[rand(absolute_list.size)])
                end
                return
            end
            # Normal method end
            rating_max = action_list.collect {|a| a.rating }.max
            rating_zero = rating_max - 3
            action_list.reject! {|a| a.rating <= rating_zero }
            @actions.each do |action|
                action.set_enemy_action(select_enemy_action(action_list, rating_zero))
            end
        end
    else
        def make_actions
            super
            return if @actions.empty?
            if enemy.class_id != 0
                make_class_actions
            end
            action_list = enemy.actions.select {|a| action_valid?(a) }
            return if action_list.empty?
            rating_max = action_list.collect {|a| a.rating }.max
            rating_zero = rating_max - 3
            action_list.reject! {|a| a.rating <= rating_zero }
            @actions.each do |action|
                action.set_enemy_action(select_enemy_action(action_list, rating_zero))
            end
        end
    end
end
You are amazing! Thanks. Does it make it random for when they use the class skills over their own skills?
All skills are in the enemy action list so they are all random.
The class skills are actually all set to use always at a rating of 5 (default). No conditions imposed.
I would have to learn more to change the conditions.
Fairly sure it will automatically check for the level as well. I did notice that in hime's script, so I assume it filters out skills that the enemy does not meet the level for.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/enemy-class-issue.148093/