File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -1300,6 +1300,7 @@ int Actor_set(lua_State* L) {
13001300int Actor_rollDice (lua_State* L) {
13011301 string exp{ lua_to_gbstring (L, 2 ) };
13021302 LUA2PC (1 );
1303+ if (exp.empty ())exp = pc->get (" __DefaultDiceExp" );
13031304 int diceFace{ pc->get (" __DefaultDice" ).to_int () };
13041305 RD rd{ exp, diceFace ? diceFace : 100 };
13051306 lua_newtable (L);
Original file line number Diff line number Diff line change @@ -483,14 +483,6 @@ <h3 class="layui-timeline-title">2022年8月8日 版本2.6.5beta2(614)</h3>
483483 < p > 修复匿名log的文件名错误</ p >
484484 </ div >
485485 </ li >
486- < li class ="layui-timeline-item ">
487- < i class ="layui-icon layui-timeline-axis "> </ i >
488- < div class ="layui-timeline-content layui-text ">
489- < h3 class ="layui-timeline-title "> 2022年8月8日 版本2.6.5beta2(614)</ h3 >
490- < p > reply limit新增lock项</ p >
491- < p > 支持reply页echo项直接存入lua函数</ p >
492- </ div >
493- </ li >
494486 < li class ="layui-timeline-item ">
495487 < i class ="layui-icon layui-timeline-axis "> </ i >
496488 < div class ="layui-timeline-content layui-text ">
You can’t perform that action at this time.
0 commit comments