- 打卡等级:热心大叔
- 打卡总天数:94
- 打卡月天数:17
- 打卡总奖励:94
- 最近打卡:2025-01-18 01:28:20
|
- -- local nXinFaLevel = 597 + x808232_GetXinFaLevelData(sceneId,selfId,60)
-
- if GetHp( sceneId, selfId ) ~= 0 then
- --角色时间内被击杀
- --队伍检测 by:雪舞新改写法[BUG-489] 2022-8-18 14:27:38
- local leaderguid = LuaFnGetCopySceneData_TeamLeader(sceneId)
- local leaderObjId = LuaFnGuid2ObjId(sceneId,leaderguid)
- local nearteammembercount = GetNearTeamCount( sceneId, leaderObjId)
- local mems = {}
- for i=0,nearteammembercount-1 do
- mems[i] = GetNearTeamMember(sceneId, leaderObjId, i)
- if mems[i] ~= selfId then
- LuaFnSendSpecificImpactToUnit( sceneId, mems[i], mems[i], mems[i], 594, 0 ) --失明状态
- -- BroadMsgByChatPipe( sceneId, selfId, "队伍数量:"..GetTeamSize(sceneId,selfId).."玩家ID:"..mems[i], 0 ) --调试信息 by雪舞
- end
- end
-
- else
- -- BroadMsgByChatPipe( sceneId, selfId, "Test5", 4 )
- --角色未死亡时触发
- local leaderguid = LuaFnGetCopySceneData_TeamLeader(sceneId)
- local leaderObjId = LuaFnGuid2ObjId(sceneId,leaderguid)
- local nearteammembercount = GetNearTeamCount( sceneId, leaderObjId)
- local mems = {}
- for i=0,nearteammembercount-1 do
- mems[i] = GetNearTeamMember(sceneId, leaderObjId, i)
- if mems[i] ~= selfId then
- LuaFnSendSpecificImpactToUnit( sceneId, mems[i], mems[i], mems[i], 594, 0 ) --失明状态
- LuaFnSendSpecificImpactToUnit( sceneId, mems[i], mems[i], mems[i], 613, 0 ) --伤害
- -- BroadMsgByChatPipe( sceneId, selfId, "队伍数量:"..GetTeamSize(sceneId,selfId).."玩家ID:"..mems[i], 0 ) --调试信息 by雪舞
- end
- end
-
- end
复制代码
|
|