1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
)™Ÿec@sŽdZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„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.pytGetTagRelation5s    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|ƒdkrt    j
|ƒrqdStj |ƒ}|j
ƒnt S(Ni( RRR
RRRR RtSetPlayerBattleStatet
TurnAttackt    SetKilledR#R(RR)RRR2tcurTagSummonNPCControl((s†E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\NormalNPC_Attack_SummonNPC.pyt AttackResults! ( t__doc__RRR R
Rt
SkillShellR5RRRR3R8(((s†E:\SnxxServerCode\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\NormalNPC_Attack_SummonNPC.pyt<module>s                 (    "