cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
1
2
3
4
5
6
7
8
9
10
11
12
13
šZÜ[c@s ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    d„Z
d„Z d„Z d„Z dS(iÿÿÿÿNcCs|jƒjtjƒdS(N(t GetNPCAngrytInittChConfigtDef_SummonNPC_Angry_Count(tcurNPC((s^.\\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_222.pytDoInit'sc    Cs£|jƒtkrdStj|ƒ}|jƒdkra||jƒ|jƒkra|jƒdS||jƒtjkr~dStj|ƒ}|j    |dƒxÿt
d|j ƒj ƒƒD]â}|j ƒj |ƒ}|dks¹|jƒdkrøq¹ntj|jƒ|jƒƒ}|dks¹tj|ƒdkr=q¹ntj|jƒ|jƒ|jƒ|jƒƒ|jƒkrq¹nt||||ƒsšq¹ndSWdS(Niiô(tIsAlivetTruet    NPCCommont
NPCControlt GetLastTimet GetBornTimet    SetKilledRtDef_Trap_Born_Idle_TimetRefreshAngryListtrangeRt GetAngryCounttGetAngryValueTagtNonetGetObjIDt    GameWorldtGetObjt
GetObjTypetGameObjtGetHPtGetDisttGetPosXtGetPosYt
GetAtkDisttNPCFight(Rttickt
npcControltitcurAngrytcurObj((s^.\\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_222.pyt    ProcessAI/s0.
"!$cCs³|jƒ}|jdƒ}|dkrBtjd|jƒƒtStj||ƒ}t    j
|ƒ}tj ||ƒsyt S|j d|jƒƒ|j d|jƒƒ|jƒtS(NisÏÝÚå = %s Êý¾Ý¿â²éÕÒ¼¼ÄÜʧ°Üt traptagTypet    traptagID(tGetSkillManagertGetSkillByIndexRRtLogtGetNameRt AttackCommontGetBattleRelationTypet SkillCommontGetSkillBattleTypetCheckBattleRelationTypetFalsetSetDicttGetGameObjTypetGetIDR (RRR"Rt skillManagertcurSkilltbattleRelationTypetskillBattleType((s^.\\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_222.pyRas  
cCsÍ|jdƒ|jƒ}|jdƒ}|s2dStj|jdƒ|jdƒƒ}tjƒjƒ}|dks‰t    j
|ƒdkr t j |||ƒdSt j|||d|ƒt    j|dƒdS(NiiR%R$(tSetHPR&R'RRt GetDictByKeyt GetGameWorldtGetTickRRRt
SkillShellt NPCUseSkilltAICommont DoNPCUseSkill(RthurtTypethurtIDR3R4R"R((s^.\\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_222.pytOnDies  $!(R;RRRt IPY_GameWorldRtGameMapR*R,R=RR#RRA(((s^.\\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\NPC\NPCAI\AIType_222.pyt<module>s                      2