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

法术暴击相关的各种操作,不作细分。 更多...

函数

int ModifyActorProperty_SpellCrit_ByRate (FxCreature *pSrcActor, int nRate)
 按百分比修改角色pSrcActor的法术暴击 更多...
 
int ModifyActorProperty_SpellCrit_ByValue (FxCreature *pSrcActor, int nValue)
 按数值修改角色pSrcActor的法术暴击 更多...
 
int ModifyActorProperty_SpellCritRate_ByValue (FxCreature *pSrcActor, int nValue)
 按数值修改角色pSrcActor的法术暴击率 更多...
 
int ModifyTargetProperty_SpellCrit_ByRate (FxCreature *pSrcActor, int nRate)
 按百分比修改角色pSrcActor的目标的法术暴击率 更多...
 
int ModifyActorProperty_SpellCritDamageBonus_ByRate (FxCreature *pSrcActor, int nRate)
 按百分比修改角色pSrcActor的目标的法术暴击伤害加成 更多...
 

详细描述

法术暴击相关的各种操作,不作细分。

函数说明

◆ ModifyActorProperty_SpellCrit_ByRate()

int ModifyActorProperty_SpellCrit_ByRate ( FxCreature *  pSrcActor,
int  nRate 
)

按百分比修改角色pSrcActor的法术暴击

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

◆ ModifyActorProperty_SpellCrit_ByValue()

int ModifyActorProperty_SpellCrit_ByValue ( FxCreature *  pSrcActor,
int  nValue 
)

按数值修改角色pSrcActor的法术暴击

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

◆ ModifyActorProperty_SpellCritDamageBonus_ByRate()

int ModifyActorProperty_SpellCritDamageBonus_ByRate ( FxCreature *  pSrcActor,
int  nRate 
)

按百分比修改角色pSrcActor的目标的法术暴击伤害加成

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

◆ ModifyActorProperty_SpellCritRate_ByValue()

int ModifyActorProperty_SpellCritRate_ByValue ( FxCreature *  pSrcActor,
int  nValue 
)

按数值修改角色pSrcActor的法术暴击率

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

◆ ModifyTargetProperty_SpellCrit_ByRate()

int ModifyTargetProperty_SpellCrit_ByRate ( FxCreature *  pSrcActor,
int  nRate 
)

按百分比修改角色pSrcActor的目标的法术暴击率

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