CheckGuildBuildPoint » 历史记录 » 版本 1
yangdefeng, 2022-07-02 11:44
1 | 1 | yangdefeng | h4. _*%{color:green}checkGuildBuildPoint%*_ |
---|---|---|---|
2 | |||
3 | 检测行会建筑度 |
||
4 | |||
5 | 标签:命令定义|checkGuildBuildPoint |
||
6 | |||
7 | *格式* |
||
8 | |命令名 |参数1 |参数2 | |
||
9 | |checkGuildBuildPoint |操作符(+ -) |操作值 | |
||
10 | |||
11 | *说明* |
||
12 | |||
13 | - |
||
14 | - |
||
15 | |||
16 | h4. *%{color:deepskyblue}特戒引擎脚本示例:%* |
||
17 | |||
18 | - |
||
19 | - |
||
20 | |||
21 | bq. [<notextile>@</notextile>main] |
||
22 | <> <创建行会/<notextile>@</notextile>创建行会> \ \ |
||
23 | <> <检测各项进度/<notextile>@</notextile>进度检测> \ \ |
||
24 | <> <查看各项进度/<notextile>@</notextile>进度查看> \ \ |
||
25 | <> <增减建筑人气/<notextile>@</notextile>行会建筑人气> \ \ |
||
26 | <> <增减安定繁荣/<notextile>@</notextile>行会安定繁荣> \ \ |
||
27 | |
||
28 | [<notextile>@</notextile>创建行会] |
||
29 | #if |
||
30 | [[not]] [[haveGuild]] |
||
31 | #act |
||
32 | [[addGuild]] <$userName> self |
||
33 | [[messageBox]] 创建行会完毕 |
||
34 | #elseAct |
||
35 | [[messageBox]] 已有行会 |
||
36 | |
||
37 | [<notextile>@</notextile>进度查看] |
||
38 | #act |
||
39 | print 行会建筑度:<$guildBuildPoint> |
||
40 | print 行会人气度:<$guildAuraePoint> |
||
41 | print 行会安定度:<$guildStabilityPoint> |
||
42 | print 行会繁荣度:<$guildFlourishPoint> |
||
43 | |
||
44 | [<notextile>@</notextile>进度检测] |
||
45 | #act |
||
46 | [[messageBox]] \检测选项 <notextile>@</notextile>检测建筑度 <notextile>@</notextile>检测人气度 <notextile>@</notextile>检测安定度 <notextile>@</notextile>检测繁荣度 |
||
47 | |
||
48 | [<notextile>@</notextile>检测建筑度] |
||
49 | #if |
||
50 | *{color:green}checkGuildBuildPoint* > 900 |
||
51 | #act |
||
52 | [[mov]] S1 900 |
||
53 | [[sendMsg]] 6 当前行会建筑度大于<$str(S1)>点 |
||
54 | #elseAct |
||
55 | [[sendMsg]] 6 当前行会建筑度小于<$str(S1)>点 |
||
56 | |
||
57 | [<notextile>@</notextile>检测人气度] |
||
58 | #if |
||
59 | [[checkGuildAuraePoint]] > 900 |
||
60 | #act |
||
61 | [[mov]] S1 900 |
||
62 | [[sendMsg]] 6 当前行会人气度大于<$str(S1)>点 |
||
63 | #elseAct |
||
64 | [[sendMsg]] 6 当前行会人气度小于<$str(S1)>点 |
||
65 | |
||
66 | [<notextile>@</notextile>检测安定度] |
||
67 | #if |
||
68 | [[checkGuildStabilityPoint]] > 900 |
||
69 | #act |
||
70 | [[mov]] S1 900 |
||
71 | [[sendMsg]] 6 当前行会安定度大于<$str(S1)>点 |
||
72 | #elseAct |
||
73 | [[sendMsg]] 6 当前行会安定度小于<$str(S1)>点 |
||
74 | |
||
75 | [<notextile>@</notextile>检测繁荣度] |
||
76 | #if |
||
77 | [[checkGuildFlourishPoint]] > 900 |
||
78 | #act |
||
79 | [[mov]] S1 900 |
||
80 | [[sendMsg]] 6 当前行会繁荣度大于<$str(S1)>点 |
||
81 | #elseAct |
||
82 | [[sendMsg]] 6 当前行会繁荣度小于<$str(S1)>点 |
||
83 | |
||
84 | [<notextile>@</notextile>行会建筑人气] |
||
85 | #act |
||
86 | [[messagebox]] \增减选项 <notextile>@</notextile>增加建筑度 <notextile>@</notextile>减少建筑度 <notextile>@</notextile>增加人气度 <notextile>@</notextile>减少人气度 |
||
87 | |
||
88 | [<notextile>@</notextile>行会安定繁荣] |
||
89 | #act |
||
90 | [[messagebox]] \增减选项 <notextile>@</notextile>增加安定度 <notextile>@</notextile>减少安定度 <notextile>@</notextile>增加繁荣度 <notextile>@</notextile>减少繁荣度 |
||
91 | |
||
92 | [<notextile>@</notextile>增加建筑度] |
||
93 | #act |
||
94 | [[guildBuildPoint]] + 500 |
||
95 | [[sendMsg]] 6 行会建筑度增加500 |
||
96 | |
||
97 | [<notextile>@</notextile>减少建筑度] |
||
98 | #act |
||
99 | [[guildBuildPoint]] - 500 |
||
100 | [[sendMsg]] 6 行会建筑度减少500 |
||
101 | |
||
102 | [<notextile>@</notextile>增加人气度] |
||
103 | #act |
||
104 | [[guildAuraePoint]] + 500 |
||
105 | [[sendMsg]] 6 行会人气度增加500 |
||
106 | |
||
107 | [<notextile>@</notextile>减少人气度] |
||
108 | #act |
||
109 | [[guildAuraePoint]] - 500 |
||
110 | [[sendMsg]] 6 行会人气度减少500 |
||
111 | |
||
112 | [<notextile>@</notextile>增加安定度] |
||
113 | #act |
||
114 | [[guildStabilityPoint]] + 500 |
||
115 | [[sendMsg]] 6 行会安定度增加500 |
||
116 | |
||
117 | [<notextile>@</notextile>减少安定度] |
||
118 | #act |
||
119 | [[guildStabilityPoint]] - 500 |
||
120 | [[sendMsg]] 6 行会安定度减少500 |
||
121 | |
||
122 | [<notextile>@</notextile>增加繁荣度] |
||
123 | #act |
||
124 | [[guildFlourishPoint]] + 500 |
||
125 | [[sendMsg]] 6 行会繁荣度增加500 |
||
126 | |
||
127 | [<notextile>@</notextile>减少繁荣度] |
||
128 | #act |
||
129 | [[guildFlourishPoint]] - 500 |
||
130 | [[sendMsg]] 6 行会繁荣度减少500 |