cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ÉF\c@s¬ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
d„Z d„Z d„Z d„ZdS(iÿÿÿÿNcCs|jƒtjkrLtjƒ}|jƒd}|jtj|dƒdS|jƒtj    kr˜tjƒ}|jƒd}|jt
j|dƒdS|jƒtj krÊtj ƒj tjdƒdSd}t|ƒdkrï|d}n|rt|ƒn
t|ƒdS(Nii(tGetMapIDtChConfigtDef_FBMapID_SealDemont    GameWorldt GetGameWorldt GetPropertyIDtSetGameWorldDicttGameLogic_SealDemontFBDict_RemainHPtDef_FBMapID_ZhuXianBosstGameLogic_ZhuXianBosstDef_FBMapID_ZhuXianTowert    GetGameFBt SetGameFBDicttGameLogic_ZhuXianTowertlent__KillMapAllNPCt__KillScreenNPC(t    curPlayert
playerListt    gameWorldtlineIDt isMapAllNPC((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\KillScreenNPC.pytOnExec$s(    
c    Cs/tjƒ}tjƒjƒ}x
t|jƒtj|jƒtjƒD]ß}xÖt|jƒtj|jƒtjƒD]«}|j    ||ƒ}|sœqxnx„td|j
ƒƒD]m}|j |ƒ}|dkrÙq²n|j ƒtjkrôq²ntj|jƒtjƒ}t|||ƒq²WqxWqHWdS(Ni(RtGetMapRtGetTicktrangetGetPosXRtDef_Screen_AreatGetPosYt    GetPosObjt GetObjCountt GetObjByIndextNonetGetGameObjTypet IPY_GameWorldtgotNPCtGetObjtGetIDt __DoKillNPC(    RtgameMaptticktitjttempObjtktcurObjtcurNPC((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\KillScreenNPC.pyR?s  00 cCs^tjƒjƒ}tjƒ}x9t|jƒƒD]%}|j|ƒ}t|||ƒq1WdS(N(RRRt GetNPCManagerRt GetNPCCountt GetNPCByIndexR'(RR)tgameNPCManagertindexR/((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\KillScreenNPC.pyRSs  cCsû| s.|jƒdks.tj|ƒdkr2dStj|ƒtjkrNdS|jƒtj    krgdS|j
ƒtj gkrƒdS|j ƒs“dStj|ƒ}t j||||ƒtj|dƒ|jtj|jƒƒtj||d|ƒdS(Ni(R&tGameObjtGetHPt    NPCCommont
GetFactionRtCampType_Justicet GetCurActionR#tlaNPCDietGetTypet    ntMonstert
GetVisiblet AttackCommontNPCAddObjInHurtListtSetHPtSetDicttDef_PlayerKey_LastHurtt GetPlayerIDt
BaseAttacktDoLogic_AttackResultR!(RR/R)tcurHP((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\KillScreenNPC.pyR'[s .     (tLogUIR#RRRER?R5R7RR
RRRRR'(((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\KillScreenNPC.pyt<module>s