hxp
2025-06-12 59331b7135fb10c24382d76fb0a3d721dddca7ee
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
Sð    hc@s¦ddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z d„Z d„ZdS(iÿÿÿÿNcCswd}tjd|ƒ}|s"dStj|tj|ƒtj|tjdƒtjd|ƒt    |ƒt
|ƒt S(NitFaQiLVUpis·¨Æ÷¹¦ÄÜ¿ªÆô! faQiLV=%s( t IpyGameDataPYtGetIpyGameDatat PlayerControltNomalDictSetPropertytChConfigtDef_PDict_FaQiLVtDef_PDict_FaQiEatItemCountt    GameWorldtDebugLogtSync_FaQiLVInfotRefreshFaQiAttrtTrue(t    curPlayertfaQiLVtipyData((sN.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFaQi.pyt
DoFaQiOpens
 
cCs$|jtjƒsdSt|ƒdS(N(tNomalDictGetPropertyRRR
(R ((sN.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFaQi.pytPlayerFaQiLogin,s
c Csƒtjƒj|ƒ}|j}|j}td|jtjƒƒ}|jtj    ƒ}t
j d|ƒ}|spdS|j ƒ}    |    s—tj d|ƒdSt
jddƒ}
t
jddƒ} |
sÉ| rÍdStj||
|ƒ\} } }|| |}|dkr0| r0tj d|
|| ||fƒdS|}|dkržtj}i|
tj6}tj|i||
6|tj|di| |
6ƒs‘dS||8}n|rÆtj|| | ||tjƒn|}||}tj d    |||||    fƒ||    kr0|d7}||    8}tj d
||fƒntj|tj|ƒtj|tj    |ƒ||krknt|ƒt|ƒdS( NiRs·¨Æ÷ÒÑÂú¼¶£¡faQiLV=%st
FaQiUpItemiis\ÏûºÄµÀ¾ß²»×㣬ÎÞ·¨Éý¼¶·¨Æ÷!costItemID=%s,costItemCount=%s,bindCnt=%s,unBindCnt=%s,lackCnt=%stshopItemIndexDictsZ·¨Æ÷ÅàÑø: faQiLV=%s,curEatItemCount=%s,costItemCount=%s,updEatItemCount=%s,needEatCount=%ss*    Éý½×: updClassLV=%s,updEatItemCount=%s(RtGetPlayerManagertGetPlayerByIndext
UseItemCntt    IsAutoBuytmaxRRRRRRtGetNeedEatCountR    t
GetFuncCfgt
ItemCommontGetPackItemBindStateIndexInfot IPY_GameWorldtTYPE_Price_Gold_MoneytDef_Cost_Reason_SonKeytFunctionNPCCommontPayAutoBuyItemt Def_Cost_FaQitDelCostItemByBindt ItemDel_FaQiRRR
R (tindext curPackDatattickR t costItemCountt    isAutoBuyRtcurEatItemCountRt needEatCountt
costItemIDtautoBuyShopIndextcostItemIndexListtbindCntt    unBindCnttlackCnttdelCnttautoBuyMoneyTypetinfoDictt
updClassLVtupdEatItemCount((sN.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFaQi.pyt
OnFaQiLVUp:s\                  2 "
     
 
 
 
cCs!t|ƒtj|ƒjƒdS(N(t CalcFaQiAttrRtRefreshPlayerAttrState(R ((sN.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFaQi.pyR ys
cCsó|jtjƒ}|sdSgtdƒD] }i^q)}i}i}tjƒ}xst|jƒƒD]_}|j|ƒ}|j    ƒ}    |    |kr—Pn-|    |kr¸|jtj
ƒ}
n |j ƒ}
|j ƒ} |j ƒ} xQt| ƒD]C\} }| | }|j|dƒ|||<tj|||ƒqéW|jƒ}|
rf|rf|jƒ}|jƒ}|
|}xXt|ƒD]G\} }|| }|j|dƒ|||<tj||||ƒqwWqfqfW||d<tj|tj|d|ƒdS(NiitfaQiAllAttrInfotcustomAttrDict(RRRtrangeRtIPY_DatatxrangetGetFaQiLVUpCounttGetFaQiLVUpByIndext    GetFaQiLVRRt GetLVAttrTypetGetLVAttrValuet    enumeratetgetRtCalcAttrDict_TypetGetUpEatItemPerCounttGetUpItemAttrTypetGetUpItemAttrValuetSetCalcAttrListValuetDef_CalcAttrFunc_FaQi(R Rt_t allAttrListtcustomAttrDictFaQiR;t
ipyDataMgrR&t lvupIpyDatatdataLVt upItemCounttlvAttrTypeListtlvAttrValueListtitattrIDt    attrValuetupItemPerCounttupItemAttrTypeListtupItemAttrValueListt attrMultiple((sN.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFaQi.pyR9~sB       
 
 
"
cCsTtjƒ}|jƒ|jtjƒ|_|jtjƒ|_t    j
||ƒdS(N( tChPyNetSendPackt tagMCFaQiInfotClearRRRtLVRt EatItemCountt NetPackCommont SendFakePack(R t
clientPack((sN.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFaQi.pyR
«s  
(RRRR]R!RbRRRRRR8R R9R
(((sN.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Player\PlayerFaQi.pyt<module>s                     ?        -