| 赞 | 0 |
| VIP | 0 |
| 好人卡 | 0 |
| 积分 | 3 |
| 经验 | 0 |
| 最后登录 | 2026-6-1 |
| 在线时间 | 32 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 258
- 在线时间
- 32 小时
- 注册时间
- 2025-6-28
- 帖子
- 7
|
大佬,我定义了end与maxtp两个隐藏变量,并尝试通过yep_x_classbaseparam的职业能力值控制功能实现由end决定maxtp,但似乎无效。
<custom p_maxtp formula>
if (this.cusparam("end") <= 0) {
value = 100;
} else if (this.cusparam("end") <= 10) {
value = this.cusparam("end") * 4 + 100;
} else if (this.cusparam("end") <= 20) {
value = (this.cusparam("end") - 10) * 2 + 140;
} else {
value = (this.cusparam("end") - 20) * 1 + 160;
}
</custom p_maxtp formula>
p_maxtp我也换成过this.cusparam(“maxtp”) 是因为插件兼容性吗 |
|