//计算分数 private static void ResultCalculateScore(this FiveStarRoom fiveStarRoom, int huPaiIndex, int deductIndex, int paiTypeMultiple, int maiMaMultiple) { int unwelcomeCappingMultiple = maiMaMultiple + fiveStarRoom.FiveStarPlayerDic[huPaiIndex].PiaoNum + fiveStarRoom.FiveStarPlayerDic[deductIndex].PiaoNum; //不受封顶番数 影响的 买马 和两人的漂数 int effectCappingMultiple = paiTypeMultiple * fiveStarRoom.LiangDaoAddMultiple(huPaiIndex, deductIndex); //受封顶番数影响 基础倍数乘以 亮倒的倍数 if (effectCappingMultiple > fiveStarRoom.RoomConfig.FengDingFanShu) { effectCappingMultiple = fiveStarRoom.RoomConfig.FengDingFanShu;//如果 基础倍数加上亮倒倍数 超过封顶番数 则就是封顶番数 } //上面算了 打漂的 倍数 亮倒的倍数 还要赢牌的倍数 fiveStarRoom.SmallReultPlayerGetScore(huPaiIndex, deductIndex, (unwelcomeCappingMultiple + effectCappingMultiple) * fiveStarRoom.RoomConfig.BottomScore); }