hxp
2025-05-29 f08058713e574c675579ca5ccbfabeb1e6702cf0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Sð    hc@s¸ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
ddl Z d„Z d„Z d„Zd„ZdS(iÿÿÿÿNcCstj|||ƒS(N(t AttackCommontCheckNPCCanAttackTag(t curSummonNPCt curTagPlayertskillttick((sg.\\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((sg.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pytGetTagRelation9s c CsÈtj|ƒ}tj||||||ƒ}|j}    tjtj|ƒ}
|
dkr˜tj
||
ƒrtj |||    ƒntj |
|    |dƒntj |||    ƒtj |||j|    ƒ|S(NsSummon v Player(tGameObjtGetHPRt    GetHurtHPtHurtHPRRR    R
R RtSummonAddAngryByOwnert OnPVPDamagetAddHurttHurtType( RRRt
skillValuet skillPercentt skillHurtListRtcurTagPlayerHPBeforeAtkthurtTypethurtHPtcurAttackPlayer((sg.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pytDoAttackXs     c    CsÜtj|ƒ}tj|ƒ}tjtj|ƒ}|dkr|dkrtj    ||ƒ|dkr}tj |||ƒndS|dkr¿tj |||ƒtj |ƒ}|j|ƒntj|ƒ}|jƒtS(Ni(RRtFBLogict OnGetFBCurHPRRR    R
RtSetPlayerBattleStateR tOnPlayerHitPlayertOnPlayerKillPlayert
NPCControltRefreshAngryListt PlayerControltSetDeadtTrue(    RRRRtcurTagPlayerHPtcurTagPlayerFBHPt    curPlayert
npcControlttagPlayerControl((sg.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pyt AttackResult{s   
(R'RR.R    RR Rt
BaseAttacktChEquipt
SkillShelltChNPCRRRR&R6(((sg.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Player.pyt<module>s                
        #