cehua_lyf
2019-03-06 3c8ee0a8a524a6251d7d5aae2372e76fd8a99b9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
“Ñ€[c@s¦dZddlZddlZddlZddlZddlZddlZddlZddlZddl    Z    ddl
Z
d„Z d„Z d„Z d„ZdS(sVersion = 2016-02-26 17:00iÿÿÿÿNcCs3tj||ƒstStj|||ƒs/tStS(N(t AttackCommontCheckPlayerCanAttackTagtFalsetCheckPlayerAttackDisttTrue(t    curPlayertcurTagSummonNPCtskillttick((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Player_Attack_SummonNPC.pyt GetCanAttack/s
cCs…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 curTagPlayer((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Player_Attack_SummonNPC.pytGetTagRelationAs c CsØtj|ƒ}tj||||||ƒ}|j}    tj|ƒ}
|
j||    |ƒtj||||    ƒtj    t
j |ƒ} | dkr¨tj ||    | dƒntj|||    ƒtj|||j|    ƒ|S(NsPlayer v Summon(tGameObjtGetHPRt    GetHurtHPtHurtHPR
t
NPCControltAddObjDetelToAngryList_ByAttacktNPCAddObjInHurtListR R R Rt OnPVPDamagetSummonAddAngryByOwnertAddHurttHurtType( Rt curTagSummonRt
skillValuet skillPercentt skillHurtListRtcurTagSummonBeHPthurtTypethurtHPt summonControlR((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Player_Attack_SummonNPC.pytDoAttack`s     cCs¤tjtj|ƒ}|dkr\|jƒdkrFtj||ƒntj|||ƒnt    j|ƒdkr tj
|||ƒtj |ƒ}|j ƒnt S(Ni(R
R R R RRRtSetPlayerBattleStatetOnPlayerHitPlayerRtOnPlayerAttackNPCDieRt    SetKilledR(RR%RRRtcurTagNormalNPCControl((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Player_Attack_SummonNPC.pyt AttackResult€s  (t__doc__R
RRR t PlayerControlt SkillCommonRtChEquipt
SkillShellRR    RR-R3(((ss.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Player_Attack_SummonNPC.pyt<module>s