以下是我正用的lj机器(别人给的)。
1.
内力:%s(%d) /%s(%d)
current_force=%1;
current_force_max=%2;
nl=%1;
nl0=%2;
#math dz1 (((@current_force_max*2-@current_force)/4)-50);
#math nl1 @nl0*2-650
2.
法力:%s(%d) /%s(%d)
current_mana=%1;
current_mana_max=%2;
fl=%1;
fl0=%2;
#math ms1 (@current_mana_max*2-@current_mana)/4;
#math fl1 @fl0*2-500;
#if (@fl < @fl1) {#wa 500;
meditate @ms1} {#if (@nl < @nl1) {#wa 500;
exercise @dz1} {#say 状态调整完毕!}}
不过最近skill上去了后(400+),发现有时会出现打坐打过头的情况。
于是把#math nl1 @nl0*2-650 后面的650加大为750或800。
当然还得加一句#if @nl1<20 {nl1=20}
以免点数过小时打坐不了。
ms1的情况类似。
(俺是一菜鸟,只会拿别人的做点小改动)