| | |
| | | import QuestCommon
|
| | | import PlayerDogz
|
| | | import PlayerFaQi
|
| | | import PlayerCharm
|
| | | import PlayerLove
|
| | | import ChPlayer
|
| | | import GMShell
|
| | |
| | | PlayerCoat.CalcClothesCoatSkinAttr(curPlayer)
|
| | | PlayerFaQi.CalcFaQiAttr(curPlayer)
|
| | | PlayerLove.CalcLoveAttr(curPlayer)
|
| | | PlayerCharm.CalcCharmAttr(curPlayer)
|
| | | self.RefreshAllState(isForce=True)
|
| | | GameWorld.DebugLog("End ReCalcAllState!!!")
|
| | | return
|
| | |
| | | # addAttrList[ChConfig.CalcAttr_BattleNoline] = {}
|
| | | # return addAttrList
|
| | | #===============================================================================
|
| | | ## 魅力等级
|
| | | def GetCharmLV(curPlayer): return curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CharmLV)
|
| | | def SetCharmLV(curPlayer, charmLV):
|
| | | NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CharmLV, charmLV)
|
| | | SendPropertyRefresh(curPlayer, ShareDefine.CDBPlayerRefresh_CharmLV, charmLV)
|
| | | return
|
| | |
|
| | | def GetTotalLingGenPoint(curPlayer):
|
| | | # 总灵根点数(金木水火土+自由点数)
|
| | | return GetMetal(curPlayer) + GetWood(curPlayer) + GetWater(curPlayer) + GetFire(curPlayer) + GetEarth(curPlayer) + curPlayer.GetFreePoint()
|