仙魔无双SDK
面向策划逻辑制作的游戏开发包

力量属性的各种操作 更多...

函数

int ModifyActorProperty_LiLiang_ByValue (FxCreature *pSrcActor, int nValue)
 按数值修改pSrcActor的__基础__力量 更多...
 
int GetActorProperty_LiLiang (FxCreature *pSrcActor, bool bBase=false)
 获取角色的力量 更多...
 

详细描述

力量属性的各种操作

函数说明

◆ GetActorProperty_LiLiang()

int GetActorProperty_LiLiang ( FxCreature *  pSrcActor,
bool  bBase = false 
)

获取角色的力量

参数
pSrcActor[角色] 角色对象
bBase[布尔] 是否获取基础值。true:获取基础值;false:获取总值。默认false
返回
[整数] 角色pSrcActor的力量。

◆ ModifyActorProperty_LiLiang_ByValue()

int ModifyActorProperty_LiLiang_ByValue ( FxCreature *  pSrcActor,
int  nValue 
)

按数值修改pSrcActor的__基础__力量

参数
pSrcActor[角色] 角色对象
nValue[整数] 修改的数值
返回
[整数] 忽略