|
本帖最后由 zerg@tj 于 2016-12-29 23:25 编辑
score_check_xy=function(n,l,w)
score.xiangyun=Trim(w[1])
score.xynum=tonumber(Trim(w[2]))
if score.xiangyun=='死' and score.xynum>=10 then smyteam=10 end
if score.xiangyun=='死' and score.xynum<10 then smyteam=11 end
if score.xiangyun=='衰' and score.xynum>=10 then smyteam=10 end
if score.xiangyun=='衰' and score.xynum<10 then smyteam=10 end
if score.xiangyun=='平' then smyteam=11 end
if score.xiangyun=='败' and score.xynum>=8 then smyteam=12 end
if score.xiangyun=='败' and score.xynum<8 then smyteam=11 end
if score.xiangyun=='生' and score.xynum>=8 then smyteam=12 end
if score.xiangyun=='生' and score.xynum<8 then smyteam=11 end
if score.xiangyun=='旺' then smyteam=12 end
end |
|