9415 【BT】【后端】古神战场(阵营buff对机器人有效; 修复黑夜降临掉血buff击杀对方时地图报错bug)
|  |  |  | 
|---|
|  |  |  | if not player: | 
|---|
|  |  |  | continue | 
|---|
|  |  |  | SkillShell.__DoLogic_AddBuff(curPlayer, player, buffSkill, False, tick, addForce=True) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | for robotID in factionObj.robotObjIDList: | 
|---|
|  |  |  | robotNPC = GameWorld.GetObj(robotID, IPY_GameWorld.gotNPC) | 
|---|
|  |  |  | if not robotNPC: | 
|---|
|  |  |  | continue | 
|---|
|  |  |  | SkillShell.__DoLogic_AddBuff(curPlayer, robotNPC, buffSkill, False, tick, addForce=True) | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __OnCollectOK_EventWall(curPlayer, curNPC, tick): | 
|---|
|  |  |  | 
|---|
|  |  |  | return | 
|---|
|  |  |  | if buffOwner.GetGameObjType() != IPY_GameWorld.gotPlayer: | 
|---|
|  |  |  | return | 
|---|
|  |  |  | if not defender or not defender.GetID() or GameObj.GetHP(defender) <= 0: | 
|---|
|  |  |  | return | 
|---|
|  |  |  | # 执行次数。 当汲灵对目标造成3次伤害时,可降低目标20%的防御 | 
|---|
|  |  |  | curBuff.SetValue1(curBuff.GetValue1() + 1) | 
|---|
|  |  |  | tick = GameWorld.GetGameWorld().GetTick() | 
|---|