cehua_lyf
2019-01-22 3aba01958c60b6a8cf0f5a24342782404b57662d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
EÅF\c@sÊddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z d„Z d„Zd„Zd    „Zd
„Zd „ZdS( iÿÿÿÿNcCs |ddS(Niix((t
equipPlace((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytGetZhuXianEquipIndexByPlacescCs |ddS(Niix((t
equipIndex((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytGetZhuXianEquipPlaceByIndex scCsWt|ƒ}tjddiƒ}t|ƒ|kr7tS|t|ƒ}d}||kS(Nt EquipZhuXianii(Rt IpyGameDataPYtGetFuncEvalCfgtstrtTrue(t    curPlayertequipPlaceIndexRtplaceUnlockDictt needTowerLVt
curTowerLV((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pyt!GetZhuXianEquipPlaceIndexIsUnlock$s c Cs(tjddiƒ}t|ƒ|kr+tS|t|ƒ}|jƒjtjƒ}xÎ|jƒD]À\}}t    |ƒ}x¥|D]}t
|ƒ}    |    dks¯|    |j ƒkr³dS|j |    ƒ}
|
j ƒrãtjd|ƒdStj|
ƒ} | |krtjd|| |fƒdSqWq`WtS(NRiis-ÖïÏÉ×°±¸Î»ÎÞ×°±¸£¬ÎÞ·¨¼¤»îÉñ¼¼! equipPlace=%ssRÖïÏÉ×°±¸Î»×°±¸½×¼¶²»×㣬ÎÞ·¨¼¤»îÉñ¼¼! equipPlace=%s,curClassLV=%s < needClassLV=%s(RRRRtGetItemManagertGetPackt ShareDefinetrptZhuXianEquiptitemstintRtGetCounttGetAttIsEmptyt    GameWorldtDebugLogt
ItemCommontGetItemClassLV( R    tskillIDtzhuxianSkillConditiontclassLVPlaceListDicttzhuXianEquipPacktclassLVt    placeListt needClassLVRt
placeIndextcurEquipt
curClassLV((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytCheckLearnZhuXianSkill/s(      cCsŽtjƒj|ƒ}|jƒ}|j}|j}tjd||f|ƒ|jƒjt    j
ƒ}|j |ƒ}t j |ƒs›tjd||ƒdSt j|ƒsÂtjd||ƒdS|jƒ}    t|    ƒ}
||
krLt} x3t    jD](} || krö|
| kröt} PqöqöW| sLtjd|    |
|f|ƒdSn|jƒjt    jƒ} |dks‚|| jƒkrštjd||ƒdSt||ƒsÄtjd|    |fƒdS| j |ƒ}|jƒrëddgn|jƒ|jƒg\}}|jƒ|jƒ}}t j|||t    jƒsAdSid    d
6|d 6|d 6|d 6|d6}tj|tj|ƒt |ƒdS(Ns(ÖïÏÉ´©´÷×°±¸: EquipIndex=%s,ItemIndex=%ssÎïÆ·Îª¿Õ»ò²»¿ÉÓÃ: itemIndex=%ss·ÇÖïÏÉ×°±¸: itemIndex=%ssP¸Ã×°±¸Î»²»¿É×°±¸¸ÃÎïÆ·!equipPlace=%s,equipPlaceIndex=%s != reqEquipPlaceIndex=%sis#ÖïÏÉ×°±¸±³°üË÷ÒýÒì³£: EquipIndex=%ss-ÖïÏÉ×°±¸Î»Î´½âËø: equipPlace=%s,EquipIndex=%sttEquipZhuXianItemtdotypet    desItemIDt desUserDatat    srcItemIDt srcUserData(!RtGetPlayerManagertGetPlayerByIndext GetPlayerIDt
EquipIndext    ItemIndexRRRRtrptZhuXianItemRRtCheckItemCanUsetGetIsZhuXianEquipt GetEquipPlaceRtFalsetShareEquipPlaceRRRtErrLogRRt GetItemTypeIDt GetUserDatatDoLogicSwitchItemtDataRecordPacktCache_FightPowerChangeInfotChConfigtPowerDownType_EquipChangetRefreshZhuXianAttr(tindext
clientDatattickR    tplayerIDtreqEquipPlaceIndext    itemIndextzhuXianItemPackR$RR
tcanPlacetsharePlaceListRt    destEquipR*R+R,R-tdataDict((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytOnEquipZhuXianItemPsP            6)
c    Cs
tjƒj|ƒ}|jƒ}|j}|jƒjtjƒ}|dks`||j    ƒkrxtj
d||ƒdS|j |ƒ}t j |ƒs®tjd||ƒdSt j|tjƒ}t j|tjtj||ƒsütjd||ƒdSt|ƒdS(Nis#ÖïÏÉ×°±¸±³°üË÷ÒýÒì³£: EquipIndex=%ss#ÖïÏÉ×°±¸Îª¿Õ»ò²»¿ÉÓÃ: EquipIndex=%ssÖïÏÉжÏÂ×°±¸Ê§°Ü: EquipIndex=%s(RR.R/R0R1RRRRRR9RRR4RtGetEmptyIndexInPackR3tDoLogicSwitchItemExRA(    RBRCRDR    RER1RR$t
emptyIndex((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytOnUnEquipZhuXianItemˆs"     !
cCs!t|ƒtj|ƒjƒdS(N(tCalcZhuXianAttrt PlayerControltRefreshPlayerAttrState(R    ((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pyRAs
c3Cs«|jƒ}tjj|dƒtjj|dƒgtdƒD] }i^q?}gtdƒD] }i^q^}d}i}i}tjddiƒ}tt    j
t    j dƒ}    tt    j t    j dƒ}
i} |jƒjt    jƒ} | jƒ} xättt    jƒƒD]Í}|dks'|| kr+Pn| j|ƒ}|jƒrLq    n|tj|ƒ7}t|ƒ}tj|ƒ||<i}x•t|jƒƒD]}|j|ƒ}| sÀ|jƒ rÄPn|jƒ}|sÜq—n|jdƒ}tj |||ƒ|j!|dƒ|||<q—W|||<|j"t    j#ƒ|j"t    j$ƒkr    x‰t|j"t    j#ƒƒD]l}|j%t    j#|ƒ}|j%t    j$|ƒ}||kr¼| j!|dƒ|| |<qctj |||ƒqcWq    q    Wt&j'd|ƒt&j'd| ƒx | j(ƒD]þ\}}||kr'q    n||}d}xK|D]C}|j)ƒj*|ƒ}|seq>nt+j,||ƒr>|}Pq>q>W|s‘q    n||    krÌtjj!|iƒ}|||<|tj|<q    ||
kr    tjj!|iƒ} || |<| tj|<q    q    Wit    j-t    j.6t    j/t    j06t    j1t    j26t    j3t    j46t    j5t    j66t    j7t    j86}!tjddiƒ}"x»|"j(ƒD]­\}#}$t9|#ƒ}#d}%t:}&xd|$D]\}'|'|krât;}&t&j'd    |#|$|'fƒPn|%sõ||'}%q¬t<|%||'ƒ}%q¬W|& s|% r qntj=d
|#|%ƒ}(|(sAqn|(j>ƒ})|(j?ƒ}*t|)ƒt|*ƒkrwqnx´t@|)ƒD]¦\}}+|*|},|+|!kr|!|+}-|-|krÂq„n||-}.x[|.j(ƒD]7\}/}0t9|0d |,d ƒ}1tj |/|1|ƒqÙWq„tj |+|,|ƒq„WqWtjA|tBjC|ƒtjA|tBjD|ƒtEtjFd dƒƒ}2t&j'd||2fƒ|jGtBjHt    jI|2ƒdS(NiitSkillPlusAttrIDisÖïÏÉ×°±¸ÊôÐÔ: allAttrList=%ss    zxSkillPlusAttrDict=%sRisH    Î´´©´÷×°±¸£¬ÎÞ·¨¼¤»îÖïÏÉÌ××°! suitType=%s,placeGroupList=%s,place=%stZhuXianSuitAttri'gˆÃ@tFightpowerFormulas9ÖïÏÉ×°±¸ÆÀ·ÖÕ½Á¦: equipScoreTotal=%s,equipFightPowerEx=%s(JR0t
PyGameDatatg_zhuXianSkillAddPerDicttpoptNonetg_zhuXianSkillReducePerDicttrangeRRRtDef_Effect_SkillAddPer1tDef_Effect_SkillAddPer7tDef_Effect_SkillReducePer1tDef_Effect_SkillReducePer7RRRRtlentZhuXianEquipPlaceRRRtGetEquipGearScoreRRtxrangetGetEffectCounttGetEffectByIndext GetEffectIDtGetEffectValueRStCalcAttrDict_TypetgettGetUserAttrCounttDef_IudetLegendAttrIDtDef_IudetLegendAttrValuetGetUserAttrByIndexRRRtGetSkillManagertFindSkillBySkillTypeIDt SkillCommont CheckSkillJobt    zxetCloaktDef_Effect_ZXCloakAttrPertzxetMasktDef_Effect_ZXMaskAttrPert    zxetGlovetDef_Effect_ZXGloveAttrPertzxetRuyitDef_Effect_ZXRuyiAttrPert zxetPendanttDef_Effect_ZXPendantAttrPertzxetRingtDef_Effect_ZXRingAttrPerRRR7tmintGetIpyGameDatatGetSuitAttrIDListtGetSuitAttrValueListt    enumeratetSetCalcAttrListValueR?tDef_CalcAttrFunc_ZXEquiptDef_CalcAttrFunc_ZXEquipSuittevaltGetFuncCompileCfgtSetDicttDef_PlayerKey_MFPExtDef_MFPType_ZhuXian(3R    REt_t allAttrListtallAttrListZXSuittequipScoreTotaltequipPlaceClassLVDicttequipPlaceBaseAttrDicttattrIDSkillPlusDictt addAttrIDListtreduceAttrIDListtzxSkillPlusAttrDictRtequipPackCountRR$Rt baseAttrDictteffIndext    curEffectteffIDteffValuetit legendAttrIDtlegendAttrValuetattrIDt    plusValuetskillTypeIDListteffSkillTypeIDt skillTypeIDt    skillDatatskillAddPerDicttskillReducePerDicttsuitAttrIDPlusPlaceDicttsuitPlaceGroupDicttsuitTypetplaceGroupListtsuitLVtisSuittplacetsuitAttrIpyDatatsuitAttrIDListtsuitAttrValueListt    suitEffIDt suitEffValuet    plusPlacet plusEffDictt    plusEffIDt plusEffValuetaddValuetequipFightPowerEx((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pyRR¢sà     
$  
 
 
 
 
 
cCs8|tjkrdStj|}||kr0dS||S(Ni(RXRY(RER¤R¦((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytGetZhuXianEquipSkillAddPer-s   cCs8|tjkrdStj|}||kr0dS||S(Ni(RXR\(RER¤R§((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytGetZhuXianEquipSkillReducePer6s   (RRRRSR=RRrRXR?RRRR&RMRQRARRRºR»(((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pyt<module>s$                          !    8            ‹