项目

一般

简介

PgGetHumVar » 历史记录 » 版本 4

tejie, 2025-10-20 11:37

1 2 yangdefeng
h4. _*%{color:green}pgGetHumVar%*_
2 1 machenhe
3
获取指定玩家的指定属性返回值
4
5 3 tejie
标签:命令定义^pgGetHumVar
6 1 machenhe
7 4 tejie
*相关命令*
8
[[getHumVar]] 
9
[[getHumVar1]] 
10
[[getObjectAbilityEx]] 
11
[[getDbMonsterFieldValue]] 
12
13 1 machenhe
*格式*
14
|命令名		|参数1		|参数2		|参数3		|
15
|pgGetHumVar	|玩家名称	|属性变量	|变量		|
16
17 4 tejie
*说明*
18 3 tejie
|参数1|玩家名称|
19
|参数2|属性变量,详情于[[脚本变量]]查看|
20
|参数3|变量,保存获取的值|
21 1 machenhe
22 3 tejie
-
23
-
24 1 machenhe
25 2 yangdefeng
h4. *%{color:deepskyblue}特戒引擎脚本示例:%*:
26 1 machenhe
27
bq. [<notextile>@</notextile>获取角色属性]
28
#act
29
[[mov]] s1 玩家a
30
*%{color:green}pgGetHumVar%* s1 <$MAXDC> s2
31
[[sendmsg]] 6 该角色的攻击力上限:<$str(s2)>