Window_ActorCommand.prototype.addSkillCommands = function() {
var skillTypes = this._actor.addedSkillTypes();
skillTypes.sort(function(a, b) {
return a - b;
});
skillTypes.forEach(function(stypeId) {
var name = $dataSystem.skillTypes[stypeId];
if (stypeId != 隐藏的技能类型 || $gameSwitches.value(显示该技能的开关)) this.addCommand(name, 'skill', true, stypeId);
}, this);
};
Window_ActorCommand.prototype.addSkillCommands = function() {
var skillTypes = this._actor.addedSkillTypes();
skillTypes.sort(function(a, b) {
return a - b;
});
skillTypes.forEach(function(stypeId) {
var name = $dataSystem.skillTypes[stypeId];
if (stypeId != 隐藏的技能类型 || $gameSwitches.value(显示该技能的开关)) this.addCommand(name, 'skill', true, stypeId);
}, this);
};