cehua_lyf
2019-03-06 3c8ee0a8a524a6251d7d5aae2372e76fd8a99b9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
’¦ [c@s¬ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
d„Z d„Z d„Z d„ZdS(iÿÿÿÿNcCstj|||ƒS(N(t AttackCommontCheckNPCCanAttackTag(t curSummonNPCt curTagPlayertskillttick((st.\\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pyt GetCanAttack.scCs…tjtj|ƒ}|dkr1tjtjfStj    ||ƒrStj
tjfSt j ||ƒsutj
tj fSt j||ƒS(N(t    NPCCommontGetSummonNPCOwnert IPY_GameWorldt    gotPlayertNonetChConfigtType_Relation_EnemytDef_PASysMessage_Nonet    GameWorldt    IsSameObjtType_Relation_FriendRtCheckPlayerAttackMode_PlayertDef_PASysMessage_AttackModetGetPlayersRelation(RRRRt summonOwner((st.\\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pytGetTagRelation8s c CsÅ|jƒ}tj||||||ƒ}|j}    tjtj|ƒ}
|
dkr•tj    ||
ƒr|tj
|||    ƒntj |
|    |dƒntj
|||    ƒtj |||j |    ƒ|S(NsSummon v Player(tGetHPRt    GetHurtHPtHurtHPRRR    R
R RtSummonAddAngryByOwnert OnPVPDamagetAddHurttHurtType( RRRt
skillValuet skillPercentt skillHurtListRtcurTagPlayerHPBeforeAtkthurtTypethurtHPtcurAttackPlayer((st.\\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pytDoAttackWs      c    CsÙ|jƒ}tj|ƒ}tjtj|ƒ}|dkr~|dkr~tj||ƒ|dkrztj
|||ƒndS|dkr¼tj |||ƒtj |ƒ}|j |ƒntj|ƒ}|jƒtS(Ni(RtFBLogict OnGetFBCurHPRRR    R
RtSetPlayerBattleStateR tOnPlayerHitPlayertOnPlayerKillPlayert
NPCControltRefreshAngryListt PlayerControltSetDeadtTrue(    RRRRtcurTagPlayerHPtcurTagPlayerFBHPt    curPlayert
npcControlttagPlayerControl((st.\\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pyt AttackResultzs    
(R&RR-R    RR Rt
BaseAttacktChEquipt
SkillShelltChNPCRRR%R5(((st.\\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pyt<module>s               
        #