cehua_wcy
2018-11-28 ad07b96c37846dad55542465d9b8f7077c60e432
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Ñþ[c@s”ddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z dS(iÿÿÿÿNcCs|jƒjtjƒdS(N(t GetNPCAngrytInittChConfigtDef_NormalNPCAngryCount(tcurNPC((slE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_20.pytDoInit%sc Csötj|ƒ}tj|ƒd}||krltj||tj|d|ƒƒtjd|jƒƒnt    j
ƒ}|s™tjd|jƒƒdSd}|j t jƒ}|rÉtj|ƒ}ntj|ƒ}|j|ƒ|s:|j|ƒ|jƒ}|r:|jƒ}    |jƒ}
tj|
|    ƒ}q:n|sßtj|jƒ|jƒ|jƒ|jƒƒ} | dkr¼tj|jƒ|jƒdƒ} |j| jƒ| jƒƒn| dkrÛ|j|dƒndSt||||ƒdS(Niis»úÆ÷ÈË»ØÑª!objID=%ss¸±±¾ÖÐûÓÐÍæ¼ÒÔò²»´¦Àí!objID=%si ( tGameObjtGetHPtGetMaxHPtSetHPtrandomtrandintt    GameWorldtDebugLogtGetIDtFBCommontGetCurSingleFBPlayertNonet GetDictByKeyRtDef_PlayerKey_LastHurtNPCObjIDt FindNPCByIDt    NPCCommont
NPCControltRefreshBuffStatetRefreshAngryListtGetMaxAngryTagt
GetObjTypetGetObjIDtGetObjtGetDisttGetPosXtGetPosYtGameMaptGetEmptyPlaceInAreatResetPostMoveToObj_Detelt
__NPCFight( RtticktcurHPt    protectHPtfbPlayertcurTagtplayerAtkObjIDt
npcControlt curNPCAngrytcurNPCAngryTypet curNPCAngryIDtdistt    resultPos((slE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_20.pyt    ProcessAI.s@ $      0 ! cCstj|ƒ|dks.tj|ƒdkr2dStj|jƒ|jƒ|jƒ|jƒƒ}tj    d|ƒ|dkrït
j |jƒ|jƒdƒ}|j |jƒ|jƒƒtj|jƒ|jƒ|jƒ|jƒƒ}n|j tjƒ}|ri|j tjƒ}|s;|jtj|ƒ|}n|||kritj    d|jƒƒdSntj||||ƒr…dS||jƒkr¨|j|ƒdS||jƒ|jƒkrÈdS|j|jƒ|jƒƒrêdStj||d|ƒdS(Nis    ÓëÄ¿±ê¾àÀë: %siis Î´µ½¹¥»÷ʱ¼ä£¬Ôݲ»´¦Àí£¡objID=%s(RtSetNPCInBattleStateRRRR RRRR R R!R"RRtDef_NPC_Dict_AtkDelayTicktDef_NPC_Dict_AtkStartTicktSetDictRtAICommontDoAutoUseSkillt
GetAtkDistR#t GetAttackTicktGetAtkIntervalt    FixTagPost
BaseAttacktAttack(R+RR)R%ttagDistR0t    delayTickt startAtkTick((slE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_20.pyR$Ys: !0 !3     cCsGtj|tj|ƒdƒtjd|jƒtj|ƒfƒtS(Nis"¸ÃNPC²»¿ÉÒÔËÀÍö£¡npcID=%s,curHP=%s(RR    RR tErrLogtGetNPCIDRtFalse(tatkObjRtskillR%((slE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_20.pyt OnCheckCanDie‚s&( RRR RR<RR6R R
RR1R$RF(((slE:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_20.pyt<module>s                     +    )