项目

一般

简介

GetObjectAbilityEx » 历史记录 » 版本 1

tejie, 2024-07-16 13:22

1 1 tejie
h4. _*{color:green}getObjectAbilityEx*_
2
3
获取对象的属性
4
对象为怪物或其他玩家时,需要在qf-[@attack]、[@magicAttack]触发器中执行。
5
6
标签:命令定义|getObjectAbilityEx>getObjectAbilityEx
7
8
*格式:*
9
|命令名|参数1|参数2|
10
|getObjectAbilityEx|属性类型|返回值变量|
11
12
*说明:*
13
|^.参数1|0: HP
14
1: MaxHP
15
2: MP
16
3: MaxMP
17
4: AC1
18
5: AC2
19
6: MAC1
20
7: MAC2
21
8: DC1
22
9: DC2
23
10: MC1
24
11: MC2
25
12: SC1
26
13: SC2
27
14: 攻击速度
28
15: 移动速度|
29
|参数2|返回值变量|
30
31
-
32
-
33
34
h4. *{color:deepskyblue}特戒引擎脚本示例:*
35
36
bq. [@示例]
37
#act
38
*{color:green}getObjectAbilityEx* 0 n1
39
[[print]] 自身当前血量:<$str(n1)>
40
<notextile></notextile>
41
*{color:green}getObjectAbilityEx* 1 n1
42
[[print]] 自身最大血量:<$str(n1)>
43
<notextile></notextile>
44
*{color:green}getObjectAbilityEx* 2 n1
45
[[print]] 自身当前MP:<$str(n1)>
46
<notextile></notextile>
47
*{color:green}getObjectAbilityEx* 3 n1
48
[[print]] 自身最大MP:<$str(n1)>
49
<notextile></notextile>
50
*{color:green}getObjectAbilityEx* 4 n1
51
[[print]] 自身AC:<$str(n1)>
52
<notextile></notextile>
53
*{color:green}getObjectAbilityEx* 5 n1
54
[[print]] 自身AC2:<$str(n1)>
55
<notextile></notextile>
56
*{color:green}getObjectAbilityEx* 6 n1
57
[[print]] 自身MAC:<$str(n1)>
58
<notextile></notextile>
59
*{color:green}getObjectAbilityEx* 7 n1
60
[[print]] 自身MAC2:<$str(n1)>
61
<notextile></notextile>
62
*{color:green}getObjectAbilityEx* 8 n1
63
[[print]] 自身DC:<$str(n1)>
64
<notextile></notextile>
65
*{color:green}getObjectAbilityEx* 9 n1
66
[[print]] 自身DC2:<$str(n1)>
67
<notextile></notextile>
68
*{color:green}getObjectAbilityEx* 10 n1
69
[[print]] 自身MC:<$str(n1)>
70
<notextile></notextile>
71
*{color:green}getObjectAbilityEx* 11 n1
72
[[print]] 自身MC2:<$str(n1)>
73
<notextile></notextile>
74
*{color:green}getObjectAbilityEx* 12 n1
75
[[print]] 自身SC:<$str(n1)>
76
<notextile></notextile>
77
*{color:green}getObjectAbilityEx* 13 n1
78
[[print]] 自身SC2:<$str(n1)>
79
<notextile></notextile>
80
*{color:green}getObjectAbilityEx* 14 n1
81
[[print]] 自身攻击速度:<$str(n1)>
82
<notextile></notextile>
83
*{color:green}getObjectAbilityEx* 15 n1
84
[[print]] 自身移动速度:<$str(n1)>
85
86
-
87
-
88
89
*qf-[@attack]*
90
91
bq. [@attack]
92
#act
93
*{color:green}m.getObjectAbilityEx* 0 n1
94
[[print]] 自身当前血量:<$str(n1)>
95
<notextile></notextile>
96
*{color:green}m.getObjectAbilityEx* 1 n1
97
[[print]] 自身最大血量:<$str(n1)>
98
<notextile></notextile>
99
*{color:green}m.getObjectAbilityEx* 2 n1
100
[[print]] 自身当前MP:<$str(n1)>
101
<notextile></notextile>
102
*{color:green}m.getObjectAbilityEx* 3 n1
103
[[print]] 自身最大MP:<$str(n1)>
104
<notextile></notextile>
105
*{color:green}m.getObjectAbilityEx* 4 n1
106
[[print]] 自身AC:<$str(n1)>
107
<notextile></notextile>
108
*{color:green}m.getObjectAbilityEx* 5 n1
109
[[print]] 自身AC2:<$str(n1)>
110
<notextile></notextile>
111
*{color:green}m.getObjectAbilityEx* 6 n1
112
[[print]] 自身MAC:<$str(n1)>
113
<notextile></notextile>
114
*{color:green}m.getObjectAbilityEx* 7 n1
115
[[print]] 自身MAC2:<$str(n1)>
116
<notextile></notextile>
117
*{color:green}m.getObjectAbilityEx* 8 n1
118
[[print]] 自身DC:<$str(n1)>
119
<notextile></notextile>
120
*{color:green}m.getObjectAbilityEx* 9 n1
121
[[print]] 自身DC2:<$str(n1)>
122
<notextile></notextile>
123
*{color:green}m.getObjectAbilityEx* 10 n1
124
[[print]] 自身MC:<$str(n1)>
125
<notextile></notextile>
126
*{color:green}m.getObjectAbilityEx* 11 n1
127
[[print]] 自身MC2:<$str(n1)>
128
<notextile></notextile>
129
*{color:green}m.getObjectAbilityEx* 12 n1
130
[[print]] 自身SC:<$str(n1)>
131
<notextile></notextile>
132
*{color:green}m.getObjectAbilityEx* 13 n1
133
[[print]] 自身SC2:<$str(n1)>
134
<notextile></notextile>
135
*{color:green}m.getObjectAbilityEx* 14 n1
136
[[print]] 自身攻击速度:<$str(n1)>
137
<notextile></notextile>
138
*{color:green}m.getObjectAbilityEx* 15 n1
139
[[print]] 自身移动速度:<$str(n1)>
140
141
-
142
-
143
144
*qf-[@attack]*
145
146
bq. [@attack]
147
#act
148
*{color:green}p.getObjectAbilityEx* 0 n1
149
[[print]] 自身当前血量:<$str(n1)>
150
<notextile></notextile>
151
*{color:green}p.getObjectAbilityEx* 1 n1
152
[[print]] 自身最大血量:<$str(n1)>
153
<notextile></notextile>
154
*{color:green}p.getObjectAbilityEx* 2 n1
155
[[print]] 自身当前MP:<$str(n1)>
156
<notextile></notextile>
157
*{color:green}p.getObjectAbilityEx* 3 n1
158
[[print]] 自身最大MP:<$str(n1)>
159
<notextile></notextile>
160
*{color:green}p.getObjectAbilityEx* 4 n1
161
[[print]] 自身AC:<$str(n1)>
162
<notextile></notextile>
163
*{color:green}p.getObjectAbilityEx* 5 n1
164
[[print]] 自身AC2:<$str(n1)>
165
<notextile></notextile>
166
*{color:green}p.getObjectAbilityEx* 6 n1
167
[[print]] 自身MAC:<$str(n1)>
168
<notextile></notextile>
169
*{color:green}p.getObjectAbilityEx* 7 n1
170
[[print]] 自身MAC2:<$str(n1)>
171
<notextile></notextile>
172
*{color:green}p.getObjectAbilityEx* 8 n1
173
[[print]] 自身DC:<$str(n1)>
174
<notextile></notextile>
175
*{color:green}p.getObjectAbilityEx* 9 n1
176
[[print]] 自身DC2:<$str(n1)>
177
<notextile></notextile>
178
*{color:green}p.getObjectAbilityEx* 10 n1
179
[[print]] 自身MC:<$str(n1)>
180
<notextile></notextile>
181
*{color:green}p.getObjectAbilityEx* 11 n1
182
[[print]] 自身MC2:<$str(n1)>
183
<notextile></notextile>
184
*{color:green}p.getObjectAbilityEx* 12 n1
185
[[print]] 自身SC:<$str(n1)>
186
<notextile></notextile>
187
*{color:green}p.getObjectAbilityEx* 13 n1
188
[[print]] 自身SC2:<$str(n1)>
189
<notextile></notextile>
190
*{color:green}p.getObjectAbilityEx* 14 n1
191
[[print]] 自身攻击速度:<$str(n1)>
192
<notextile></notextile>
193
*{color:green}p.getObjectAbilityEx* 15 n1
194
[[print]] 自身移动速度:<$str(n1)>