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

真元属性的各种操作 更多...

函数

int ModifyActorProperty_ZhenYuan_ByValue (FxCreature *pSrcActor, int nValue)
 按数值修改pSrcActor的__基础__真元 更多...
 
int GetActorProperty_ZhenYuan (FxCreature *pSrcActor, bool bBase=false)
 获取角色的真元 更多...
 

详细描述

真元属性的各种操作

函数说明

◆ GetActorProperty_ZhenYuan()

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

获取角色的真元

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

◆ ModifyActorProperty_ZhenYuan_ByValue()

int ModifyActorProperty_ZhenYuan_ByValue ( FxCreature *  pSrcActor,
int  nValue 
)

按数值修改pSrcActor的__基础__真元

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