- 积分
- 10986
- 威望
- 6
- 魅力
- 7
- 经验
- 10158
- 热心度
- 15
- 注册时间
- 2019-10-15
- 最后登录
- 2024-10-7
- 主题
- 20
- 回帖
- 268
- 精华
- 1
- 阅读权限
- 60
TA的每日心情 | 开心 2023-12-23 11:10 |
---|
签到天数: 441 天 连续签到: 1 天 [LV.9]龙巫妖
6级 Legendary Hero
- 积分
- 10986
|
楼主 |
发表于 2020-1-30 09:21:14
|
显示全部楼层
本帖最后由 琭琭有彧 于 2020-1-30 10:04 编辑
Version 2.9.6
[+] SN and RD receivers syntax was improved. Now any command can use string concatenation (like d&z2),
integer modification (like d*5), SN:W string variable in the form of [?]s^var name^, SN:W integer
variable in the form of [?]i^var name^.
Examples:
- Concatenate string with existing variable and display result.
!!SN:W^report^/^Today we met a few strangers. They were^;
!!SN:W^report^/d&^ orcs^;
!!IF:M^%S(report)^; Today we met a few strangers. They were orcs
- Get current MP3 theme into named variable
!!MP:C?s^theme^;
!!IF:M^Current theme is %S(theme)^;
- Multiply number of creatures in the first slot of recruit dialog by 10 and display it
!!RD:C0/?t/d*10; type not changed, number multiplied by 10
!!RD:C0/?t/?i^numMons^;
!!IF:M^There are %I(numMons) creatures to hire^;
[+] Added support for SN:W variables interpolation inside ^...^. %S(var_name) for string values, %I(var_name)
for integer values. The total length of interpolated string must not exceed 1 MB.
[+] Replaced Heroes 3 random generator routine with world-wide known Mersenne Twister, generating
qualitative uniformly distributed sequences with huge periods.
[+] Added new ERM command BM:U6/?$, returning stack actual speed, including slow spell effect.
Note, BM:S always returns speed without slow spell effect.
VR:T is deprecated and is equal to VR:R now. To get current time in milliseconds the following code can be used:
!!UN:C6529876/4/?t; t = timeGetTime function address
!!SN:Et/1; v1 = result
Use VR:R0/#new_seed to reseed random number generator.
下载地址
ERA2.96已更新到百度网盘。若需要请自取,
|
|