hxp
2025-05-23 69b88f45f12469ffe581eb208fedf79990e4818f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Sð    hc@s ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    d„Z
d„Z d„Z d„Z dS(iÿÿÿÿNcCstj|||ƒS(N(t AttackCommontCheckNPCCanAttackTag(tcurPett curTagPlayertskillttick((sa.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_Player.pyt GetCanAttack/scCstj|ƒ}|dkr+tjtjfStj||ƒrMtjtjfSt    j
||ƒsotjtj fSt    j ||ƒS(N( t
PetControlt GetPetOwnertNonetChConfigtType_Relation_EnemytDef_PASysMessage_Nonet    GameWorldt    IsSameObjtType_Relation_FriendRtCheckPlayerAttackMode_PlayertDef_PASysMessage_AttackModetGetPlayersRelation(RRRRt curPetOwner((sa.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_Player.pytGetTagRelation9s c Cs‡tj|ƒ}tj||||||ƒ}|j}    tj|ƒ}
|
dkrjtj|
|    |dƒntj    |||j
|    ƒ|S(Ns Pet v Player( tGameObjtGetHPRt    GetHurtHPtHurtHPRRR    t OnPVPDamagetAddHurttHurtType( RRRt
skillValuet skillPercentt skillHurtListRtcurTagPlayerHPBeforeAtkthurtTypethurtHPtcurAttackPlayer((sa.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_Player.pytDoAttackVs         cCsŸtj|ƒ}tj|ƒ}|dkr`tj||ƒ|dkr\tj|||ƒndS|dkr‚tj|||ƒnt    j    |ƒ}|j
ƒt S(Ni( RRRRRtSetPlayerBattleStateR    tOnPlayerHitPlayertOnPlayerKillPlayert PlayerControltSetDeadtTrue(RRRRtcurTagPlayerHPt    curPlayerttagPlayerControl((sa.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_Player.pyt AttackResultys   
(t    NPCCommonR'Rt SkillCommonR
R tChEquipRt
SkillShellRRRR#R-(((sa.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_Player.pyt<module>s              
        #