CeHua_ZWJ
2018-09-21 11380d50702fd6453d88034a5c4dfe11bff0de5f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
x{[c@s¬ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
d„Z d„Z d„Z d„ZdS(iÿÿÿÿNcCstj|||ƒS(N(t AttackCommontCheckNPCCanAttackTag(t curSummonNPCt curTagPlayertskillttick((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pyt GetCanAttack.scCs…tjtj|ƒ}|dkr1tjtjfStj    ||ƒrSt
j ||ƒSt j ||ƒsutjtjfSt j||ƒS(N(t    NPCCommontGetSummonNPCOwnert IPY_GameWorldt    gotPlayertNonetChConfigtType_Relation_EnemytDef_PASysMessage_Nonet    GameWorldt    IsSameObjtChNPCtOnGetOwnerRelationRtCheckPlayerAttackMode_PlayertType_Relation_FriendtDef_PASysMessage_AttackModetGetPlayersRelation(RRRRt summonOwner((ss.\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((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pytDoAttackVs      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((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pyt AttackResultys    
(R(RR/R    RR Rt
BaseAttacktChEquipt
SkillShellRRRR'R7(((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pyt<module>s               
        #