-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbentelk_NoBasicAttacks.js
More file actions
25 lines (23 loc) · 941 Bytes
/
Copy pathbentelk_NoBasicAttacks.js
File metadata and controls
25 lines (23 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*:
* @plugindesc Removes "Attack" and "Guard" options from combat.
* @author Ben Hendel-Doying
*
* @help That's it!
*/
Scene_Battle.prototype.createActorCommandWindow = function() {
this._actorCommandWindow = new Window_ActorCommand();
//this._actorCommandWindow.setHandler('attack', this.commandAttack.bind(this));
this._actorCommandWindow.setHandler('skill', this.commandSkill.bind(this));
//this._actorCommandWindow.setHandler('guard', this.commandGuard.bind(this));
this._actorCommandWindow.setHandler('item', this.commandItem.bind(this));
this._actorCommandWindow.setHandler('cancel', this.selectPreviousCommand.bind(this));
this.addWindow(this._actorCommandWindow);
};
Window_ActorCommand.prototype.makeCommandList = function() {
if (this._actor) {
//this.addAttackCommand();
this.addSkillCommands();
//this.addGuardCommand();
this.addItemCommand();
}
};