cehua_ZWJ
2019-01-30 6afaa4408f4e09e3e95dbd92f0d1cd5a1fb2942b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
x{[c@sŽdZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z dS(sVersion = 2016-02-26 17:00iÿÿÿÿNcCstS(N(tFalse(t curSummonNPCt    curTagPettskillttick((sp.\ServerPython\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((sp.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Pet.pytGetTagRelation3s  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((sp.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Pet.pytDoAttack[s     cCs×tj|ƒ}tjtj|ƒ}|dkrw|jƒdkrwtj    ||ƒ|dkrwtj
|||ƒqwn|jƒdkrÓtj |ƒ}|j ƒ|dkrÓ|dkrÓtj |||ƒqÓntS(Ni(RRR    R
R R R tGetHPRtSetPlayerBattleStatetOnPlayerHitPlayerRt    SetKilledt
AddPKValuetTrue(RRRRRRtcurTagPetNPCControl((sp.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Pet.pyt AttackResultzs 
( t__doc__R    RRR Rt PlayerControlRt
SkillShellRRR+R3(((sp.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Pet.pyt<module>s                 (