cehua-HWJ35
2019-01-23 87aba380afaafab2ea32f2c627e4f986f9b34d4a
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
42
43
44
45
46
47
48
49
50
51
52
53
54
IH\c@sddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z ddl Z ddl Z d„Zd„Zd„Zd„Zd„Zd„Zd„Zd    „Zd
„Zd „Zd „ZdS( iÿÿÿÿNcCs |ddS(Niix((t
equipPlace((sZ.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytGetZhuXianEquipIndexByPlace#scCs |ddS(Niix((t
equipIndex((sZ.\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((sZ.\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((sZ.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytCheckLearnZhuXianSkill9s(      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((sZ.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytOnEquipZhuXianItem[sR             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((sZ.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytOnUnEquipZhuXianItem•s$     !
cCs!t|ƒtj|ƒjƒdS(N(tCalcZhuXianAttrt PlayerControltRefreshPlayerAttrState(R ((sZ.\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((sZ.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pyRU³sÜ     
$  
 
 
 
 
 
cCs8|tjkrdStj|}||kr0dS||S(Ni(R[R\(RGR§R©((sZ.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytGetZhuXianEquipSkillAddPerGs   cCs8|tjkrdStj|}||kr0dS||S(Ni(R[R_(RGR§Rª((sZ.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytGetZhuXianEquipSkillReducePerQs   c    Cs˜tjƒj|ƒ}|js"dS|jƒ}|j}|j}|j}i}|jƒj    t
j ƒ}    xÐt |ƒD]Â\}
}|    j |ƒ} | st| jƒr¨qtn| jƒ} | ||
krëtjd|| ||
f|ƒqtn| jƒtjkrtjd| |ƒqtntj| ƒ} tjd| ƒ}|s[tjd| |ƒqtn|jƒ}i}x“|jƒD]…\}}tj|dƒ}|s¤qznt|tƒrÅtj|ƒ}n|}|j |dƒ|||<|j |dƒ|||<qzWi|d6|d6}tj!|| dt"tj#|ƒqtW|rÿt$|ƒ}tj%|t&j'|ƒ}||kr½g|jƒD]\}}||dg^q}}t(j)d    |j*ƒg|ƒqÿx?|jƒD].\}}t+j,|||t"t&j'gt"ƒqÊWnt-j.ƒ}|j/ƒg|_0xQ|jƒD]C\}}t-j1ƒ}||_2||_3d|_4|j0j5|ƒq+Wt$|j0ƒ|_6t7j8||ƒdS(
NsCÖïÏÉ×°±¸·Ö½â ·¢µÄÎïÆ·ID²»¶ÔÓ¦index=%s eatItemID=%s,ItemIDList[i]=%ss/ÖïÏÉ×°±¸·Ö½â ·¢µÄÎïÆ·²»ÊÇÖïÏÉ×°±¸  eatItemID=%stZhuXianEquipDecomposes4ZhuXianEquipDecompose Î´ÅäÖøý׼¶·Ö½âitemClassLV=%sit getItemDicttisAutoitDefaultLackSpace(9RR1R2tCounttGetIDt    IndexListt
ItemIDListtIsAutoRRRR6R‡RRR=tLogtGetTypeR
tDef_ZhuXianEquiipTypeRRRR„RtGetDecomposeInfoRtGetResultByRandomListt
isinstancettupletrandomtchoiceRntDelItemRtItemDel_ZhuXianDecomposeRetGetItemPackSpacet IPY_GameWorldtrptItemRVt SendMailByKeyR3t ItemControlertGivePlayerItemtChPyNetSendPackttagMCZhuXianDecomposeResulttCleartItemListttagMCZhuXianDecomposeItemtItemIDtItemCnttIsBindtappendtCntt NetPackCommont SendFakePack(RDRERFR RGt eatIndexListt eatItemIDListRÁt giveItemDicttitemPackR teatItemt    eatItemIDt itemClassLVtipyDatatdecomposeInfoDictRÀt
itemIDListtrateListt giveitemCnttitemIDt saveDataDictt    needSpacet    packSpacet
giveItemIDtitemCntt prizeItemListtpackDatatitemInfo((sZ.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pytOnZhuXianEquipDecomposejst                  ! #  .) 
                 (RRRRVR@RÔR×RRãRÙRuR[R
RÏRRRR)RPRTRCRUR½R¾Rú(((sZ.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Item\EquipZhuXian.pyt<module>s0                               "    :            ”