RPGツクールMV総合 18作目 [無断転載禁止]©5ch.net
■ このスレッドは過去ログ倉庫に格納されています
0713名前は開発中のものです。
2016/07/25(月) 02:53:53.34ID:0x1Jqfd4こんな感じはいかが?
var _Game_Action_apply = Game_Action.prototype.apply;
Game_Action.prototype.apply = function(target) {
_Game_Action_apply.call(this, target);
if ($gameTroop._troopId === 1 && target.result().isHit() &&
this._item.isSkill() && this._item.itemId() === 10 &&
target instanceof Game_Enemy && target.index() === 0) {
console.log("敵Aはスパークを受けた");
}
};
■ このスレッドは過去ログ倉庫に格納されています