1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Sð    hc@sšdZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    d„Z
d„Z d„Z d„Z dS(sVersion = 2016-02-26 17:00iÿÿÿÿNcCstS(N(tFalse(t curSummonNPCt    curTagPettskillttick((sd.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Pet.pyt GetCanAttack)scCsÀtjtjfStjtj|ƒ}|dkrAtjtjfSt    j
|ƒ}|dkr°t j ||ƒr~tj tjfStj||ƒs tj tjfStj||ƒStjtjfS(N(tChConfigtType_Relation_NonetDef_PASysMessage_Nonet    NPCCommontGetSummonNPCOwnert IPY_GameWorldt    gotPlayertNonetType_Relation_Enemyt
PetControlt GetPetOwnert    GameWorldt    IsSameObjtType_Relation_Friendt AttackCommontCheckPlayerAttackMode_PlayertDef_PASysMessage_AttackModetGetPlayersRelation(RRRRt    curPlayert curTagPlayer((sd.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Pet.pytGetTagRelation4s  c Csétj||||||ƒ}|j}tj|ƒ}    |    j|||ƒtj|ƒ}
|
dkrw|    j|
dƒntj    t
j |ƒ} t j |ƒ} | dkrÌ| dkrÌtj| || dƒntj|||j|ƒ|S(Nis Summon v Pet(Rt    GetHurtHPtHurtHPR    t
NPCControltAddObjDetelToAngryList_ByAttacktGetSummonOwnerDetelR tAddObjToAngryListR
R R RRt OnPVPDamagetAddHurttHurtType( RRRt
skillValuet skillPercentt skillHurtListRthurtTypethurtHPt
petControlt summonOwnerRR((sd.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Pet.pytDoAttack\s     cCsÝtj|ƒ}tjtj|ƒ}|dkrztj|ƒdkrzt    j
||ƒ|dkrzt    j |||ƒqzntj|ƒdkrÙtj |ƒ}|j ƒ|dkrÙ|dkrÙt    j|||ƒqÙntS(Ni(RRR    R
R R R tGameObjtGetHPRtSetPlayerBattleStatetOnPlayerHitPlayerRt    SetKilledt
AddPKValuetTrue(RRRRRRtcurTagPetNPCControl((sd.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Pet.pyt AttackResult{s! 
(t__doc__R    RRR Rt PlayerControlRt
SkillShellR,RRR+R4(((sd.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Pet.pyt<module>s                  (