fukotoroさんのプラグインが動作しない。

返信する
attiktti
記事: 1
登録日時: 2021年10月24日(日) 13:19

fukotoroさんのプラグインが動作しない。

投稿記事 by attiktti »

futokoroさんのプラグインを入れて以下のようにしてみました。ほかはいじってません。
tkl.PNG
tkl2.PNG
tkl3.PNG
自分のスクリプトに

コード: 全て選択

function normaldmg(){
    var actor = $gameActors.actor(1);
    var cell = $gameItemCount.GetKeyCount();
    
    return actor.atk + (cell * $gameActors.actor(1).atk_rate);
}
と書いたのですが、
・ステータスに表示されず
・スクリプト関数を実行したら
Uncaught TypeError: Cannot read property '0' of undefined
at Game_Actor.get (FTKR_AddOriginalParameters.js:865)
at normaldmg (skilldamages.js:5)
at <anonymous>:1:1
となり、うまく動きません。
説明通りに書いたつもりなのですが、なぜでしょうか。
返信する

“MV:質問”に戻る