项目

一般

简介

行为

checkGuildBuildPoint

检测行会建筑度

标签:命令定义|checkGuildBuildPoint

格式
命令名 参数1 参数2
checkGuildBuildPoint 操作符(+ -) 操作值

说明


特戒引擎脚本示例:


[@main]
<> <创建行会/@创建行会> \ \
<> <检测各项进度/@进度检测> \ \
<> <查看各项进度/@进度查看> \ \
<> <增减建筑人气/@行会建筑人气> \ \
<> <增减安定繁荣/@行会安定繁荣> \ \
 
[@创建行会]
#if
not haveGuild
#act
addGuild <$userName> self
messageBox 创建行会完毕
#elseAct
messageBox 已有行会
 
[@进度查看]
#act
print 行会建筑度:<$guildBuildPoint>
print 行会人气度:<$guildAuraePoint>
print 行会安定度:<$guildStabilityPoint>
print 行会繁荣度:<$guildFlourishPoint>
 
[@进度检测]
#act
messageBox \检测选项 @检测建筑度 @检测人气度 @检测安定度 @检测繁荣度
 
[@检测建筑度]
#if
checkGuildBuildPoint > 900
#act
mov S1 900
sendMsg 6 当前行会建筑度大于<$str(S1)>点
#elseAct
sendMsg 6 当前行会建筑度小于<$str(S1)>点
 
[@检测人气度]
#if
checkGuildAuraePoint > 900
#act
mov S1 900
sendMsg 6 当前行会人气度大于<$str(S1)>点
#elseAct
sendMsg 6 当前行会人气度小于<$str(S1)>点
 
[@检测安定度]
#if
checkGuildStabilityPoint > 900
#act
mov S1 900
sendMsg 6 当前行会安定度大于<$str(S1)>点
#elseAct
sendMsg 6 当前行会安定度小于<$str(S1)>点
 
[@检测繁荣度]
#if
checkGuildFlourishPoint > 900
#act
mov S1 900
sendMsg 6 当前行会繁荣度大于<$str(S1)>点
#elseAct
sendMsg 6 当前行会繁荣度小于<$str(S1)>点
 
[@行会建筑人气]
#act
messagebox \增减选项 @增加建筑度 @减少建筑度 @增加人气度 @减少人气度
 
[@行会安定繁荣]
#act
messagebox \增减选项 @增加安定度 @减少安定度 @增加繁荣度 @减少繁荣度
 
[@增加建筑度]
#act
guildBuildPoint + 500
sendMsg 6 行会建筑度增加500
 
[@减少建筑度]
#act
guildBuildPoint - 500
sendMsg 6 行会建筑度减少500
 
[@增加人气度]
#act
guildAuraePoint + 500
sendMsg 6 行会人气度增加500
 
[@减少人气度]
#act
guildAuraePoint - 500
sendMsg 6 行会人气度减少500
 
[@增加安定度]
#act
guildStabilityPoint + 500
sendMsg 6 行会安定度增加500
 
[@减少安定度]
#act
guildStabilityPoint - 500
sendMsg 6 行会安定度减少500
 
[@增加繁荣度]
#act
guildFlourishPoint + 500
sendMsg 6 行会繁荣度增加500
 
[@减少繁荣度]
#act
guildFlourishPoint - 500
sendMsg 6 行会繁荣度减少500

yangdefeng 更新于 大约 2 年 之前 · 1 修订