Player_GetDef()
対応バージョン
Section titled “対応バージョン”Player_GetDef()プレイヤーの防御力(DEF)を取得します。
サンプルコード
Section titled “サンプルコード”if (Player_GetDef()<=5){ Dialog_Add("With your current defense, you won't be able to withstand the upcoming attack.");}else{ Dialog_Add("With your current defense, you might be able to withstand the attack.");}Dialog_Start();上記コードは、プレイヤーの防御力を取得し、それに応じたダイアログを表示します。