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

治疗属性的各种操作 更多...

函数

int ModifyActorProperty_Health_ByRate (FxCreature *pSrcActor, int nRate)
 按百分比修改角色pSrcActor的治疗 更多...
 
int ModifyActorProperty_Health_ByValue (FxCreature *pSrcActor, int nValue)
 按数值修改角色pSrcActor的治疗 更多...
 

详细描述

治疗属性的各种操作

函数说明

◆ ModifyActorProperty_Health_ByRate()

int ModifyActorProperty_Health_ByRate ( FxCreature *  pSrcActor,
int  nRate 
)

按百分比修改角色pSrcActor的治疗

参数
pSrcActor[角色] 角色对象
nRate[整数] 修改的百分比
返回
[整数] 忽略

◆ ModifyActorProperty_Health_ByValue()

int ModifyActorProperty_Health_ByValue ( FxCreature *  pSrcActor,
int  nValue 
)

按数值修改角色pSrcActor的治疗

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