Player_GetDefTotal()
対応バージョン
Section titled “対応バージョン”Player_GetDefTotal()プレイヤーの全ての種類の防御力(DEF)の合計を取得します。
防御力、防具防御力、バトル中の場合は一時防御力も含まれます。
サンプルコード
Section titled “サンプルコード”Dialog_Add("Your total defense is " + string(Player_GetDefTotal()) + "!")Dialog_Add("With that defense, you might just be able to withstand the final boss!");Dialog_Start();上記コードは、プレイヤーの合計防御力を取得し、ダイアログに含んで表示します。