| | |
| | | gameObj.SetDict(ChConfig.Def_PlayerKey_LastHurtValueEx, value / ShareDefine.Def_PerPointValue)
|
| | | return
|
| | |
|
| | | def GetLastBeHurtValue(gameObj):
|
| | | ## 最后一次受伤值
|
| | | hurt = gameObj.GetDictByKey(ChConfig.Def_PlayerKey_LastBeHurtValue)
|
| | | hurtEx = gameObj.GetDictByKey(ChConfig.Def_PlayerKey_LastBeHurtValueEx)
|
| | | return hurtEx * ShareDefine.Def_PerPointValue + hurt
|
| | | def SetLastBeHurtValue(gameObj, value):
|
| | | gameObj.SetDict(ChConfig.Def_PlayerKey_LastBeHurtValue, value % ShareDefine.Def_PerPointValue)
|
| | | gameObj.SetDict(ChConfig.Def_PlayerKey_LastBeHurtValueEx, value / ShareDefine.Def_PerPointValue)
|
| | | return
|
| | |
|
| | | def GetBloodShiledHurt(gameObj):
|
| | | ## 伤害值用于血盾抵消
|
| | | hurt = gameObj.GetDictByKey(ChConfig.Def_PlayerKey_BloodShiledHurt)
|