cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
x{[c@sšdZddlZddlZddlZddlZddlZddlZddlZddlZdZ    dZ
d„Z d„Z d„Z d„ZdS(    sVersion = 2017-03-25 17:39iÿÿÿÿNtLastAI1ProTickt
AI1ProcesscCs|jƒjtjƒdS(N(t GetNPCAngrytInittChConfigtDef_NormalNPCAngryCount(tcurNPC((s[.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_1.pytDoInit"sc    Cs¿tj|ƒ}|jƒtjks1|jƒ rM|j|ƒdkrMdSn||jtƒ|jt    ƒkrsdSt
j ƒj ƒ}t |dddƒd}|jt    |ƒ|jt|ƒ|j|ƒtj|ƒdkrædS|jƒ}|tjkr*|jƒtjkr*tj||ƒdS|j|ƒ|jƒsWtj||ƒdS|jƒ}|dkrƒtj||ƒdS|jƒ}|jƒ}|j|ƒt||||ƒdS(Nii
iiè( t    NPCCommont
NPCControlt GetCurActiont IPY_GameWorldtlaNPCDietIsAlivetDieTickt GetDictByKeytDef_LastAI1ProTicktDef_AI1ProcessTickt    GameWorldtGetPlayerManagert OnlineCounttmaxtSetDicttRefreshBuffStatetGameObjtGetHPt    laNPCMovetGetCurMoveTypetmtRuntAICommontNormalNPCFast_MovetRefreshAngryListtGetIsNeedProcesstNormalNPCFree_MovetGetMaxAngryTagtNonet
GetObjTypetGetObjIDtProcessBattleHPRestoret
__NPCFight(    Rttickt
npcControlt playerCountt    delayTimet curNPCActiont curNPCAngrytcurNPCAngryTypet curNPCAngryID((s[.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_1.pyt    ProcessAI+s:""  $       c    CsÄtj|ƒtj|ƒ}|jƒs6|jƒdStj||ƒ}|dksitj    |ƒdkrmdStj
|j ƒ|j ƒ|j ƒ|j ƒƒ}||j ƒkr-t||ƒr)tj
|jƒ|jƒ|j ƒ|j ƒƒ}||j ƒkr|jƒtjkrdS|j|ƒndS|jƒ||jƒ|jƒkrWdSt||ƒr‹|j|j ƒ|j ƒƒr‹dSn|jƒ}|tjkrªdStj||d|ƒdS(Ni(RtSetNPCInBattleStateR    tIsInRefreshAreatMoveBackRtGetObjR#RRtGetDisttGetPosXtGetPosYt
GetAtkDistt__CheckNPCBeAttackCanMovet GetDestPosXt GetDestPosYR
R RtMoveToObj_DeteltStopMovet GetAttackTicktGetAtkIntervalt    FixTagPost
BaseAttacktAttack(    RttagIDttagTypeR(R)tcurTagttagDisttdestDistR,((s[.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_1.pyR'ks6  
!00'
 cCs1|jƒrtS||jdƒdkr-tStS(NtNPCBeAttackedAI1i,(t    GetIsBosstTrueRtFalse(RR(((s[.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_1.pyR9žs
 (t__doc__R RRRARRtrandomRRRRR0R'R9(((s[.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_1.pyt<module>s                    @    3