cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
x{[c@sÁdZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
d„Z d„Z d„Z d„Zd„Zd„Zd    „ZdS(
sVersion = 2014-11-15 17:30iÿÿÿÿNcCs˜tjtj|ƒ}|rŠtj|ƒr=tj||ƒn|jdƒ|jtj    ƒ|j
dƒt j d|jƒ|jƒƒn|jƒdS(Nisæô³µÏûʧ, id = %s(t    NPCCommontGetSummonNPCOwnert IPY_GameWorldt    gotPlayert PlayerTrucktGetHaveAutoTrucktPlayerTruckDownt
SetTruckIDt SetTruckStatettusNulltSetTrucktNonet    GameWorldtLogtGetIDt GetPlayerIDt    Disappear(tcurTruckt    curPlayer((s\.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_11.pytProcessDisappear)s  #
cCsv|jƒrt|ƒdStj|ƒ}|j|ƒtj|ƒdkrOdS|jƒtj    krª|j
ƒtj kr¦t j dƒ|jtjƒt||ƒndS|jƒ}t jƒj|ƒ}|sòt||ƒtj||ƒdS|jƒdkrdSt j|jƒ|jƒ|jƒ|jƒƒ}|tjkrñtj|ƒs³|jtjƒ|jtj    ƒtj|ƒtj||ƒtj|dƒt||ƒn:|j |jƒ|jƒtj!ƒ\}}|j"||ƒdS|tj!krdSt#j$|tj%tj&ƒs#dS|jtj ƒt'|ƒ\}}|j(tj)ƒt*||ƒ|j+||ƒdS(Nis$Ä£Ê½ÎªÍ£Ö¹ÒÆ¶¯, ïÚ³µ»¹ÔÚÒÆ¶¯ÖÐ, Í£Ö¹(,tGetIsDisappearRRt
NPCControltRefreshBuffStatetGameObjtGetHPtGetModeRttrmStopt GetCurActiont    laNPCMoveR R t SetCurActiont    laNPCNullt__ChangeTruckPost
GetOwnerIDtGetPlayerManagertFindPlayerByIDt__ChangTruckModeRtAddTruckStateBufftGetDisttGetPosXtGetPosYtChConfigtDef_PlayerTruckMoveDistRtSetModetSync_TruckModetSetAutoTruckStatetGetMoveNearPostDef_PlayerTurckBeginMoveDisttResetPostOperControlManagertIsObjCanDoActiontDef_Obj_ActState_ServerActtoalMovet__GetTruckMovePostSetCurMoveTypetmtNormalt__ClearLimitSuperBufftMove(tcurNPCttickt
npcControltplayerIDRtdistt    moveDestXt    moveDestY((s\.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_11.pyt    ProcessAIAs^ 
    0          
 cCsdS(N((R9((s\.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_11.pytDoInit±scCs9|jƒtjkr5|jtjƒt||ƒndS(N(RRRR*R(R9R:((s\.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_11.pyR#ºscCs“|jƒ}|jƒ}tjƒj||ƒr4dStj||tjƒ\}}|j    t
j ƒ|j t
j ƒ|j||ƒt||ƒdS(N(R&R'R tGetMaptCanMovetGameMaptGetPosByMatrixR(tDef_Matrix_ThreeRRRR5R6R8R7(RR:t curTruckPosXt curTruckPosYtposXtposY((s\.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_11.pyRÇs    cCs,tjƒjƒ}tj|tj|ƒdS(N(R t GetGameWorldtGetTickt    BuffSkilltDelBuffBySkillIDR(tDef_SkillID_LimitSuperBuff(RR:((s\.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_11.pyR7ÝscCsxtjƒ}|jƒ}|jƒ}|j||ƒr@||fStj|jƒ|jƒtjdƒ\}}||fS(Ni(    R RBR&R'RCRDRER(t
MatrixDict(RtgameMapt
playerPosXt
playerPosYR>R?((s\.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_11.pyR4çs   
    (t__doc__RR R(RRR0RDt SkillCommonRMRRR@RAR#RR7R4(((s\.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_11.pyt<module>s"                  p