|  |  |  | 
|---|
|  |  |  | PlayerPet.CalcPetItemAddPlayerAttr(curPlayer) | 
|---|
|  |  |  | PlayerControl.PlayerControl(curPlayer).RefreshPlayerAttrState() | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ipyData = IpyGameDataPY.GetIpyGameDataByCondition('TreasureUp', {'PrivilegeID':ChConfig.MWPrivilege_SignDayAddAttr}, False, False) | 
|---|
|  |  |  | privilegeIpyData = IpyGameDataPY.GetIpyGameDataNotLog('TreasurePrivilege', ChConfig.MWPrivilege_SignDayAddAttr) | 
|---|
|  |  |  | if ipyData and privilegeIpyData: | 
|---|
|  |  |  | mwID = ipyData.GetMWID() | 
|---|
|  |  |  | effDict = privilegeIpyData.GetEffectValue() | 
|---|
|  |  |  | mwID = IpyGameDataPY.GetFuncCfg('MWSignDayAttr', 2) | 
|---|
|  |  |  | if mwID: | 
|---|
|  |  |  | effDict = IpyGameDataPY.GetFuncEvalCfg('MWSignDayAttr', 1, {}) | 
|---|
|  |  |  | if PlayerMagicWeapon.GetIsActiveMagicWeapon(curPlayer, mwID) and effDict: | 
|---|
|  |  |  | PlayerControl.NotifyCode(curPlayer, "SignInText1", [mwID, effDict.keys()[0], effDict.values()[0]]) | 
|---|
|  |  |  |  | 
|---|