两侧同时换到之前的修订记录
前一修订版
|
|
插件手册:betonquest:变量列表 [2021/09/24 13:25] duangfafa [计算数学表达式: math.calc] |
插件手册:betonquest:变量列表 [2021/09/24 13:25] duangfafa [计算数学表达式: math.calc] |
**例子** ''%math.calc:100*(15-point.reputation.amount)% %math.calc:objective.kill_zombies.left/objective.kill_zombies.total*100~2% %math.calc:-{ph.myplugin_stragee+placeholder}%'' | **例子** ''%math.calc:100*(15-point.reputation.amount)% %math.calc:objective.kill_zombies.left/objective.kill_zombies.total*100~2% %math.calc:-{ph.myplugin_stragee+placeholder}%'' |
| |
*服务器上使用的实例* ''take普通折扣材料: 'take 精金:%math.calc:2*(100-point.道德点.amount)+80%,山铜:%math.calc:10*(100-point.道德点.amount)+300%' '' | **在用的实例** ''take普通折扣材料: 'take 精金:%math.calc:2*(100-point.道德点.amount)+80%,山铜:%math.calc:10*(100-point.道德点.amount)+300%' '' |
===== 物品: item ===== | ===== 物品: item ===== |
| |