cehua_wcy
2018-08-27 c6f03d29b8c78ea2298276ddb808bd2289baa9b3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
x{[c@s”ddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z dS(iÿÿÿÿNcCstj|||ƒS(N(t AttackCommontCheckNPCCanAttackTag(t curSummonNPCtcurTagNormalNPCtskillttick((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_NormalNPC.pyt GetCanAttack.scCstj|ƒ}tjtj|ƒ}|dkr_|tjkrOtjtj    fStj
tj    fS|j tj ƒ}||krtj
tj    fStjtj    fS(N( t    NPCCommont
GetFactiontGetSummonNPCOwnert IPY_GameWorldt    gotPlayertNonetChConfigtCampType_JusticetType_Relation_FriendtDef_PASysMessage_NonetType_Relation_Enemyt GetDictByKeytDef_NpcDictKey_CampType(RRRRtdefenderCampTypetnpcOwner_PlayertattackerCampType((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_NormalNPC.pytGetTagRelation:s  c Csötj|ƒ}tj||||||ƒ}|j}    tj|ƒ}
|
j||    |ƒtj|ƒ} | dkrÙ| j
ƒt j kr¡tj | |||    ƒn|    } |dkrÆ| |jƒ7} n|
j| | ƒntj|||j|    ƒ|S(N(tGameObjtGetHPRt    GetHurtHPtHurtHPRt
NPCControltAddObjDetelToAngryList_ByAttacktGetSummonOwnerDetelR tGetGameObjTypeR
R tNPCAddObjInHurtListt GetSkillAngrytAddObjToAngryListtAddHurttHurtType( Rt    curTagNPCRt
skillValuet skillPercentt skillHurtListRtcurTagNPCHPBeforeAtkthurtTypethurtHPtcurTagNPCControlt summonOwnertaddAngry((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_NormalNPC.pytDoAttackZs       cCs©tj|ƒrdStj|ƒdkrBtj||||ƒdStjtj|ƒ}|dkryt
j |||ƒnt
j |||ƒtj |ƒ}|jƒdS(Ni(tChNPCtOnUndeathBossAttackedRRt OnNPCAttackedRR    R
R R tFBLogictDoFB_Player_KillNPCtDoFB_Npc_KillNPCRt    SetKilled(RR%RRt    curPlayerR,((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_NormalNPC.pyt AttackResult„s 
( RR
RR t    GameWorldR3t
SkillShellR0RRRR/R8(((sv.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_NormalNPC.pyt<module>s                       *