|  |  | 
 |  |  | #---受伤计算百分比----
 | 
 |  |  | def GetHurtPer(curPlayer): return curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_AttrHurtPer)
 | 
 |  |  | def SetHurtPer(curPlayer, value): curPlayer.SetDict(ChConfig.Def_PlayerKey_AttrHurtPer, value)
 | 
 |  |  |    | 
 |  |  | #---自动恢复XP值比率----
 | 
 |  |  | def GetXPRestorePer(curPlayer): return curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_AttrXPRestorePer)
 | 
 |  |  | def SetXPRestorePer(curPlayer, value): curPlayer.SetDict(ChConfig.Def_PlayerKey_AttrXPRestorePer, value)
 | 
 |  |  | 
 | 
 |  |  | #---魔法盾伤害吸收蓝耗比率----
 | 
 |  |  | def GetShieldMPCostRate(curPlayer): return curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_AttrShieldMPCostRate)
 |