|
- score_check_xy=function(n,l,w)
- score.xiangyun=Trim(w[1]) --六个状态,生、旺、败、平、衰、死
- score.xiangyunzhi=(w[2])
- --print(score.xiangyunzhi)
- if scorexy==false then
- scorexy=smyteam*1
- end
- if smyteam<scorexy then ---从下面弄上来,先定义为9组,然后减
- smyteam=scorexy*1
- end
- --if score.xiangyun=='衰' or score.xiangyun=='死' then
- if score.xiangyun=='衰' and score.xiangyunzhi*1 > 5 then
- if smyteam>=scorexy then
- smyteam=8 --scorexy-2
- end
- end
- if score.xiangyun=='衰' and score.xiangyunzhi*1 > 10 then
- if smyteam>=scorexy then
- smyteam=7 --scorexy-2
- end
- end
- if score.xiangyun=='死' and score.xiangyunzhi*1 > 10 then
- if smyteam>=scorexy then
- smyteam=7 --scorexy-2
- end
- end
- if score.xiangyun=='死' and score.xiangyunzhi*1 < 11 then
- if smyteam>=scorexy then
- smyteam=8 --scorexy-2
- end
- end
- if score.xiangyun=='死' and score.xiangyunzhi*1 < 6 then
- if smyteam>=scorexy then
- smyteam=9 --scorexy-2
- end
- end
-
- --if job.zuhe["songmoya"] then job.zuhe["songmoya"]=nil end
- --else
- --if smyteam<scorexy then
- --smyteam=scorexy*1
- --end
- --if go_on_smy~=0 and job.zuhe["songmoya"]==nil then job.zuhe["songmoya"]=true end
复制代码
end
========分了3个级别,一个是平常组数,一个是衰死值5-10减一组,11----再减一组====== |
评分
-
1
查看全部评分
-
|