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
4 G\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 scCsct|ƒ}tjddiƒ}t|ƒ|kr7tS|t|ƒ}|jtjƒ}||kS(Nt EquipZhuXiani(Rt IpyGameDataPYtGetFuncEvalCfgtstrtTruetNomalDictGetPropertytChConfigt"Def_Player_Dict_ZhuXianTowerPassLV(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|    ƒ}
||
krXt|ƒ} t} x3t    jD](} | | kr|    | krt} PqqW| sXtjd|    |
|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ƒsMdSid    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 GetEquipPlaceRRtFalsetShareEquipPlaceRRRtErrLogRRt GetItemTypeIDt GetUserDatatDoLogicSwitchItemtDataRecordPacktCache_FightPowerChangeInfoR
tPowerDownType_EquipChangetRefreshZhuXianAttr(tindext
clientDatattickR tplayerIDtreqEquipPlaceIndext    itemIndextzhuXianItemPackR'RR t reqEquipPlacetcanPlacetsharePlaceListR"t    destEquipR-R.R/R0tdataDict((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytOnEquipZhuXianItemPsR             6)
c    Cstjƒj|ƒ}|jƒ}|j}tjd||ƒ|jƒjtj    ƒ}|dkst||j
ƒkrŒtj d||ƒdS|j |ƒ}t j|ƒsÂtjd||ƒdSt j|tjƒ}t j|tj    tj||ƒstjd||ƒdSt|ƒdS(NsжÏÂÖïÏÉ×°±¸: EquipIndex=%sis#ÖïÏÉ×°±¸±³°üË÷ÒýÒì³£: EquipIndex=%ss#ÖïÏÉ×°±¸Îª¿Õ»ò²»¿ÉÓÃ: EquipIndex=%ssÖïÏÉжÏÂ×°±¸Ê§°Ü: EquipIndex=%s(RR1R2R3R4RRRRRRR<RRR7tGetEmptyIndexInPackR6tDoLogicSwitchItemExRC(    RDRERFR RGR4R"R'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.pyRC 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    Wx | j&ƒD]þ\}}||krqçn||}d}xK|D]C}|j'ƒj(|ƒ}|sCqnt)j*||ƒr|}PqqW|soqçn||    krªtjj!|iƒ}|||<|tj|<qç||
krçtjj!|iƒ} || |<| tj|<qçqçWit    j+t    j,6t    j-t    j.6t    j/t    j06t    j1t    j26t    j3t    j46t    j5t    j66}!tjddiƒ}"x¸|"j&ƒD]ª\}#}$t7|#ƒ}#d}%t8}&xJ|$D]B}'|'|kr¦t9}&Pn|%s¹||'}%qŠt:|%||'ƒ}%qŠW|& s_|% räq_nt;j<d|#|%fƒtj=d|#|%ƒ}(|(sq_n|(j>ƒ})|(j?ƒ}*t|)ƒt|*ƒkrRq_nx´t@|)ƒD]¦\}}+|*|},|+|!krò|!|+}-|-|krq_n||-}.x[|.j&ƒD]7\}/}0t7|0d    |,d
ƒ}1tj |/|1|ƒq´Wq_tj |+|,|ƒq_Wq_WtjA|tBjC|ƒtjA|tBjD|ƒtEtjFd dƒƒ}2t;j<d ||2fƒ|jGtBjHt    jI|2ƒdS( NiitSkillPlusAttrIDiRis(    ¼¤»îÖïÏÉÌ××°: suitType=%s, suitLV=%stZhuXianSuitAttri'gˆÃ@tFightpowerFormulas9ÖïÏÉ×°±¸ÆÀ·ÖÕ½Á¦: equipScoreTotal=%s,equipFightPowerEx=%s(JR3t
PyGameDatatg_zhuXianSkillAddPerDicttpoptNonetg_zhuXianSkillReducePerDicttrangeRRRtDef_Effect_SkillAddPer1tDef_Effect_SkillAddPer7tDef_Effect_SkillReducePer1tDef_Effect_SkillReducePer7RRRRtlentZhuXianEquipPlaceRRRtGetEquipGearScoreRRtxrangetGetEffectCounttGetEffectByIndext GetEffectIDtGetEffectValueRVtCalcAttrDict_TypetgettGetUserAttrCounttDef_IudetLegendAttrIDtDef_IudetLegendAttrValuetGetUserAttrByIndexRtGetSkillManagertFindSkillBySkillTypeIDt SkillCommont CheckSkillJobt    zxetCloaktDef_Effect_ZXCloakAttrPertzxetMasktDef_Effect_ZXMaskAttrPert    zxetGlovetDef_Effect_ZXGloveAttrPertzxetRuyitDef_Effect_ZXRuyiAttrPert zxetPendanttDef_Effect_ZXPendantAttrPertzxetRingtDef_Effect_ZXRingAttrPerRRR:tminRRtGetIpyGameDatatGetSuitAttrIDListtGetSuitAttrValueListt    enumeratetSetCalcAttrListValueR
tDef_CalcAttrFunc_ZXEquiptDef_CalcAttrFunc_ZXEquipSuittevaltGetFuncCompileCfgtSetDicttDef_PlayerKey_MFPExtDef_MFPType_ZhuXian(3R RGt_t allAttrListtallAttrListZXSuittequipScoreTotaltequipPlaceClassLVDicttequipPlaceBaseAttrDicttattrIDSkillPlusDictt addAttrIDListtreduceAttrIDListtzxSkillPlusAttrDictR"tequipPackCountRR'Rt baseAttrDictteffIndext    curEffectteffIDteffValuetit legendAttrIDtlegendAttrValuetattrIDt    plusValuetskillTypeIDListteffSkillTypeIDt skillTypeIDt    skillDatatskillAddPerDicttskillReducePerDicttsuitAttrIDPlusPlaceDicttsuitPlaceGroupDicttsuitTypetplaceGroupListtsuitLVtisSuittplacetsuitAttrIpyDatatsuitAttrIDListtsuitAttrValueListt    suitEffIDt suitEffValuet    plusPlacet plusEffDictt    plusEffIDt plusEffValuetaddValuetequipFightPowerEx((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pyRU¥sÜ     
$  
 
 
 
 
 
cCs8|tjkrdStj|}||kr0dS||S(Ni(R[R\(RGR§R©((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytGetZhuXianEquipSkillAddPer8s   cCs8|tjkrdStj|}||kr0dS||S(Ni(R[R_(RGR§Rª((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytGetZhuXianEquipSkillReducePerAs   (RRRRVR@RRuR[R
RRRR)RPRTRCRUR½R¾(((sjE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pyt<module>s$                          !    9            “