1
2
3
4
5
6
7
8
9
10
11
12
13
Sð    hc@s”ddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z dS(iÿÿÿÿNcCstj|||ƒstStS(N(t AttackCommontCheckNPCCanAttackTagtFalsetTrue(tcurPettcurTagNormalNPCtskillttick((sd.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_NormalNPC.pyt GetCanAttack+scCs>tj|ƒ}|tjkr.tjtjfStjtjfS(N(t    NPCCommont
GetFactiontChConfigtCampType_JusticetType_Relation_FriendtDef_PASysMessage_NonetType_Relation_Enemy(RRRRtdefenderCampType((sd.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_NormalNPC.pytGetTagRelation:sc Cs£tj|ƒ}tj||||||ƒ}|j}    tj|ƒ}
tj|ƒ} | r†tj    | |||    ƒ|
j
| |    |ƒntj |||j |    ƒ|S(N( tGameObjtGetHPRt    GetHurtHPtHurtHPR    t
NPCControlt
PetControlt GetPetOwnertNPCAddObjInHurtListtAddObjDetelToAngryList_ByAttacktAddHurttHurtType( Rt    curTagNPCRt
skillValuet skillPercentt skillHurtListRtcurTagNPCHPBeforeAtkthurtTypethurtHPt
npcControlt curPetOwner((sd.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_NormalNPC.pytDoAttackMs    cCs¾tj|ƒrdStj|ƒdkr¤tj|ƒ}tj||||ƒsSdS|dkrˆtj    |||ƒt
j |||ƒntj |ƒ}|j ƒntj||||ƒtS(Ni(tChNPCtOnUndeathBossAttackedRRRRt OnCheckCanDietNoneR    tOnPlayerAttackNPCDietFBLogictDoFB_Player_KillNPCRt    SetKilledt OnNPCAttackedR(RRRRt    curPlayertcurTagNormalNPCControl((sd.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_NormalNPC.pyt AttackResultgs  ( R    Rt SkillCommonR R,Rt
SkillShellR'RRRR&R2(((sd.\\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_NormalNPC.pyt<module>s