CeHua_ZWJ
2018-09-21 11380d50702fd6453d88034a5c4dfe11bff0de5f
1
2
3
4
5
6
7
8
9
10
11
12
13
~р[c@s”ddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z dS(iÿÿÿÿNcCstj|||ƒstStS(N(t AttackCommontCheckNPCCanAttackTagtFalsetTrue(tcurPettcurTagNormalNPCtskillttick((sp.\ServerPython\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((sp.\ServerPython\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((sp.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_NormalNPC.pytDoAttackMs    cCs¢tj|ƒrdStj|ƒdkrˆtj|ƒ}|dkrltj|||ƒt    j
|||ƒnt    j |ƒ}|j ƒntj ||||ƒtS(Ni(tChNPCtOnUndeathBossAttackedRRRRtNonetFBLogictDoFB_Player_KillNPCR    tOnPlayerAttackNPCDieRt    SetKilledt OnNPCAttackedR(RRRRt    curPlayertcurTagNormalNPCControl((sp.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_NormalNPC.pyt AttackResultgs  ( R    Rt SkillCommonR R*Rt
SkillShellR'RRRR&R1(((sp.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_NormalNPC.pyt<module>s