cehua_wcy
2018-08-23 a0f72343434cf742b85e22c7aa1da17dd0d58859
1
2
3
4
5
6
7
8
9
10
11
12
13
)‘Zc@s”ddlZddlZddlZddlZddlZddlZddlZddlZddlZd„Z    d„Z
d„Z d„Z dS(iÿÿÿÿNcCstj|||ƒstStS(N(t AttackCommontCheckNPCCanAttackTagtFalsetTrue(tcurPettcurTagNormalNPCtskillttick((s.\ProjectSServer\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((s.\ProjectSServer\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((s.\ProjectSServer\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((s.\ProjectSServer\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_NormalNPC.pyt AttackResulths  ( R    Rt SkillCommonR R*Rt
SkillShellR'RRRR&R1(((s.\ProjectSServer\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\Pet_Attack_NormalNPC.pyt<module>s