hwj35
6 天以前 a5dfefad61af0eecec503b2a43be7eb3963f8d7c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
š)l`c@s‚dZddlZddlZddlZddlZddlZddlZddlZd„Zd„Z    d„Z
d„Z dS(sVersion = 2012-02-10 20:20iÿÿÿÿNcCstj|||ƒstStS(N(t AttackCommontCheckNPCCanAttackTagtFalsetTrue(t curNormalNPCt curTagSummontskillttick((s†E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\NormalNPC_Attack_SummonNPC.pyt GetCanAttack'scCs|jƒtjkr%tjtjfStj|ƒ}tj|ƒ}|tjko^|tjks€||kr€tj    tjfSntj
tj |ƒ}|dkr¹tj
tj |ƒ}n|dkrtj||ƒrçtj    tjfS|jƒtj krtj    tjfSntjtjfS(N(tGetTypet IPY_GameWorldtntFairytChConfigtType_Relation_NonetDef_PASysMessage_Nonet    NPCCommont
GetFactiontCampType_NeutraltType_Relation_FriendtGetSummonNPCOwnert    gotPlayertNonetgotNPCt    GameWorldt    IsSameObjtGetGameObjTypetType_Relation_Enemy(RRRRtattackerCampTypetdefenderCampTypetcurSummonOwner((s†E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\NormalNPC_Attack_SummonNPC.pytGetTagRelation4s    c Csätj|ƒ}tj||||||ƒ}|j}    tj|ƒ}
|
j||    |ƒ|tj|ƒ} tjt    j
|ƒ} | dkrÇ| dkr±tj | ||| ƒntj || dƒntj|||j|    ƒ|S(Nii(tGameObjtGetHPRt    GetHurtHPtHurtHPRt
NPCControltAddObjDetelToAngryList_ByAttackRR
RRtNPCAddObjInHurtListtSummonAddAngryByOwnertAddHurttHurtType( RtcurTagSummonNPCRt
skillValuet skillPercentt skillHurtListRt
curNPCBeHPthurtTypethurtHPt summonControltlastHPt curTagPlayer((s†E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\NormalNPC_Attack_SummonNPC.pytDoAttack\s      cCs~tjtj|ƒ}|dkrItj|ƒdkrItj||ƒntj|ƒdkrztj    |ƒ}|j
ƒnt S(Ni( RRR
RRRR RtSetPlayerBattleStateR#t    SetKilledR(RR)RRR2tcurTagSummonNPCControl((s†E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\NormalNPC_Attack_SummonNPC.pyt AttackResult~s! ( t__doc__RRR R
Rt
SkillShellRRRR3R7(((s†E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\NormalNPC_Attack_SummonNPC.pyt<module>s                (    "