pattern上包括:%1to%2for%3
#t- calculater
lvl_1=%1
lvl_2=%2
wx=%3
#if ((@wx<10) or (@wx>40)) {say 喂!你的悟性是叫巫师改的吧!
pei} {#if (@lvl_1>@lvl_2) {say 叫巫师帮你减吧!} {#if ((@lvl_1<0) or (@lvl_2<0)) {say 别乱来哦!} {#if ((@lvl_2>700) or (@lvl_1>700)) {say 最好自己做巫师吧,就可以这么厉害了!} {#math qn ((((@lvl_2)*(@lvl_2+1)*(2*@lvl_2+1)/6)-((@lvl_1)*(@lvl_1+1)*(2*@lvl_1+1)/6))/(@wx/2))
#if (@qn<1) {#math qn (@lvl_2-@lvl_1)}
#math qn_4 (@qn*4)
say 要@qn点潜能哦!如果是四倍的话你就惨了,要@qn_4点啦!}}}}
#wa 5000
#t+ calculater