CeHua_ZWJ
2018-09-21 11380d50702fd6453d88034a5c4dfe11bff0de5f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
x{[c@sšddlZddlZddlZddlZddlZddlZddlZddlZddlZdZ    d„Z
d„Z d„Z d„Z dS(iÿÿÿÿNicCsªtjtj|ƒ}|stStj|tjƒs8tS|j    ƒsHtStjtj|ƒ}|dkrmtS|j    ƒ s‰t j |ƒrtSt j|||ƒs¦tStS(N(t    NPCCommontGetSummonNPCOwnert IPY_GameWorldt    gotPlayertFalset GameFuncCommt GetFuncCanUset ShareDefinetGameFuncID_Truckt GetCanAttacktNonet PlayerTrucktIsTruckDestroyt AttackCommontCheckNPCCanAttackTagtTrue(t curSummonNPCt curTagTrucktskillttickt    curPlayert curTagPlayer((sr.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Truck.pyR    )s  cCsAtjtj|ƒ}|dkr1tjtjfStj    ||ƒS(N(
RRRRR
tChConfigtType_Relation_EnemytDef_PASysMessage_NoneR tGetPlayerAndTruckRelation(RRRRR((sr.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Truck.pytGetTagRelationMs c Csœtj|ƒ}tj||||||ƒ}|j}    tj|ƒ}
|
dkr|
jƒt    j
krtj |
|||    ƒntj |||j |    ƒ|S(N(tGameObjtGetHPR t    GetHurtHPtHurtHPRtGetSummonOwnerDetelR
tGetGameObjTypeRRtNPCAddObjInHurtListtAddHurttHurtType( RRRt
skillValuet skillPercentt skillHurtListRt curTagTruckHPthurtTypethurtHPtcurSummonNPCOwner((sr.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Truck.pytDoAttack`s    !cCs tjtj|ƒ}tjtj|ƒ}|dkr[|jƒdkr[tj||ƒntj    |ƒrztj
|ƒn|dkrœtj |||ƒnt S(Ni( RRRRR
RR tSetPlayerBattleStateR R tDoTruckDestroytOnPlayerKillTruckR(RRRRRR((sr.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Truck.pyt AttackResult{s (RR RRt
SkillShellRR RRt TruckSafeDistR    RR+R/(((sr.\ServerPython\ZoneServerGroup\map1_8G\MapServer\MapServerData\Script\Attack\AttackLogic\SummonNPC_Attack_Truck.pyt<module>s         
    $