This script allows you to determine an actor's attack skill based on different properties such as the actor's equips, currently applied states, class, or the actor itself.
You can dynamically change the attack skill during battle by simply changing one of these properties.
By default, the attack command executes the "attack" skill, which is skill 1 in the skills database.