1.15:修订间差异
添加的内容 删除的内容
无编辑摘要 标签:移动版编辑 移动版网页编辑 高级移动版编辑 |
无编辑摘要 标签:移动版编辑 移动版网页编辑 高级移动版编辑 |
||
第96行: | 第96行: | ||
• 动态文本, 例如: [action]text: 队伍:%{ self. |
• 动态文本, 例如: [action]text: 队伍:%{ self.teamId } 还剩 %{ parent.resource('gold') } 颗黄金。 |
||
• 动态文本支持已经被添加到[action]text, [action]description, [action]setUnitMemory, [action]showMessageToPlayer, [action]showMessageToAllPlayers, [action]showMessageToAllEnemyPlayers, [action]showQuickWarLogToPlayer, [action]showQuickWarLogToAllPlayers, [action]debugMessagee中。 |
• 动态文本支持已经被添加到[action]text, [action]description, [action]setUnitMemory, [action]showMessageToPlayer, [action]showMessageToAllPlayers, [action]showMessageToAllEnemyPlayers, [action]showQuickWarLogToPlayer, [action]showQuickWarLogToAllPlayers, [action]debugMessagee中。 |
||
第105行: | 第105行: | ||
copyFrom:""" |
copyFrom:""" |
||
ROOT:a.ini |
ROOT:a.ini, |
||
ROOT:b.ini, |
ROOT:b.ini, |
||
ROOT:c.ini |
ROOT:c.ini |
||
第188行: | 第188行: | ||
• str(x) - 将数字、单位或布尔值转换成字符串. 示例:str(self.energy)+'x'=='100x' |
• str(x) - 将数字、单位或布尔值转换成字符串. 示例:str(self.energy)+'x'=='100x' |
||
• substring(text,start,end) - 示例:substring('hello',0,2) == 'he' |
• substring(text,start,end) - 示例:substring('hello',0,2) == 'he' //注:这不支持使用负数来从文末取字;另外当start的数大于end的数时(竟然)不会报错,而会当在游戏中显示相关消息时,游戏会直接崩溃,这属于恶性bug(1.15p8) |
||
• length(string) - 以数字形式返回文本长度。 |
• length(string) - 以数字形式返回文本长度。 |