RPGツクールMV スクリプト基本編 - Qiita
//乱数取得 rnd = Math.randomInt(10) + 1; //1~10の乱数 rnd = Math.floor(Math.random()*10)+1; //1~10の乱数 rnd = Math.floor(Math.random()*40)-20; //-...