コンテンツにスキップ

Player_GetAtk()

Master old_version zhazha
Player_GetAtk()

プレイヤーの攻撃力(ATK)を取得します。

object/step
if (Player_GetAtk()<=10){
Dialog_Add("With your current strength, you won't be able to defeat the upcoming boss.");
}else{
Dialog_Add("With your current strength, you might be able to defeat the boss.");
}
Dialog_Start();

上記コードは、プレイヤーの攻撃力を取得し、それに応じたダイアログを表示します。