- Joined
- Apr 10, 2016
- Messages
- 21
- Reaction score
- 2
- Primarily Uses
I'm trying to delete default battle commands (attack or guard or item) from specific classes. E.g. Barbarian does not have Guard, and Priest does not have Attack.
Actually, I can disable them via class Trait - Seal Skill, but that would be rather rough, as these options will appear although grey-outed.
So, I am trying to add an if-condition into the function Window_ActorCommand.prototype.makeCommandList. E.g., if ($gameActors.actor(actorId).currentClass().id = 1)
...and I add any of 4 commands (attack, skill, guard, item) in any sequence.
However, I am stuck with how to define/alias actorID whom a player will be issuing a command in battle screen.
Kindly please advise.
Actually, I can disable them via class Trait - Seal Skill, but that would be rather rough, as these options will appear although grey-outed.
So, I am trying to add an if-condition into the function Window_ActorCommand.prototype.makeCommandList. E.g., if ($gameActors.actor(actorId).currentClass().id = 1)
...and I add any of 4 commands (attack, skill, guard, item) in any sequence.
However, I am stuck with how to define/alias actorID whom a player will be issuing a command in battle screen.
Kindly please advise.

