[RMVX ACE] HOW TO CHANGE DEFAULT ATTACK

Posts

Pages: 1
I want to change the default attack to a different attack based on the actor's class.. but I can't find any scripts on it!
Surprised you can't find a script for this.
These two functions in Game_BattlerBase:
#--------------------------------------------------------------------------
  # * Get Skill ID of Normal Attack
  #--------------------------------------------------------------------------
  def attack_skill_id
    return 1
  end
  #--------------------------------------------------------------------------
  # * Get Skill ID of Guard
  #--------------------------------------------------------------------------
  def guard_skill_id
    return 2
  end


Return the ID of the skills to use for the attack / guard commands.
You could override them for actors by redefining that function to return a different id, based on notes in the actor's class, for example.
Marrend
Guardian of the Description Thread
21781
Concerning alternatives to the "Attack" skill, I've a few games that do this. Off the top of my head, I can name Myriad Cypher specifically. It removes the "Attack" option from the combat menu altogether, and attaches an "Action" skill category to the game's weapons. This category generally includes an "Attack" skill, however, the cost (in energy/MP) of that skill, and it's speed and effectiveness all vary based on the weapon in question.

Other games that I think do this probably include Bunker 9 and maybe Trail of the Interloper?
Pages: 1