hxp
2019-01-22 4f68ab6721e63e3e1cdb7122518b1f8fdbefcdbd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ÿÓB\c@s ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    d„Z
d„Z d„Z d„Z dS(iÿÿÿÿNcCsÞ|jƒtjkrLtjƒ}|jƒd}|jtj|dƒdS|jƒtj    kr˜tjƒ}|jƒd}|jt
j|dƒdSd}t |ƒdkr½|d}n|rÐt |ƒn
t |ƒdS(Nii(tGetMapIDtChConfigtDef_FBMapID_SealDemont    GameWorldt GetGameWorldt GetPropertyIDtSetGameWorldDicttGameLogic_SealDemontFBDict_RemainHPtDef_FBMapID_ZhuXianBosstGameLogic_ZhuXianBosstlent__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.pyR Os  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 GetCurActionRtlaNPCDietGetTypet    ntMonstert
GetVisiblet AttackCommontNPCAddObjInHurtListtSetHPtSetDicttDef_PlayerKey_LastHurtt GetPlayerIDt
BaseAttacktDoLogic_AttackResultR(RR+R%tcurHP((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\KillScreenNPC.pyR#Ws .     (tLogUIRRRRAR;R1R3RR
RR R R#(((sb.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\GM\Commands\KillScreenNPC.pyt<module>s