game_score.xml 2.36 KB
<!-- edited with XMLSpy v2013 (http://www.altova.com) by  () -->
<!--
积分计算=玩法公式*玩法系数

玩法系数-陪表

玩法公式-每个玩法公式不同

-->
<root>
	<!--
	id:游戏ID
	param:游戏参数
	-->
	<game id="1" param = "1" name="掼蛋">
		<!--
		type:类型
		cnt:数量
		-->
		<score type="1" cnt="15" desc="和对家排名1 2:各+15分"/>
		<score type="2" cnt="10" desc="和对家排名1 3:各+10分"/>
		<score type="3" cnt="5" desc="和对家排名14:各+5分"/>
		<score type="4" cnt="-5" desc="和对家排名23:各-5分"/>
		<score type="5" cnt="-10" desc="和对家排名24:各-10分"/>
		<score type="6" cnt="-15" desc="和对家排名34:各-15分"/>
	</game>
	<game id="2" param = "1" name="麻将">
		<!--番数均为总和(番数*(放胡/胡牌)的人数)-->
		<score type="1" min="0" max="2" cnt="3" desc="胡牌(0番、2番):+3分"/>
		<score type="2" min="3" max="4" cnt="6" desc="胡牌(3番、4番):+6分"/>
		<score type="3" min="5" max="10000" cnt="9" desc="胡牌(5番、6番以上):+9分"/>
		<score type="4" min="0" max="2" cnt="-3" desc="放炮(0番、2番):-3分"/>
		<score type="5" min="3" max="4" cnt="-6" desc="放炮(3番、4番):-6分"/>
		<score type="6" min="5" max="10000" cnt="-9" desc="放炮(5番、6番以上):-9分"/>
	</game>
	<game id="3" param = "1" name="牛牛">
		<!--
		type:类型1:庄家, 2:非庄家
		win:获胜
		lost:失败
		-->
		<score type="1" win="3" lost="-3"/>
		<score type="2" win="2" lost="-2"/>
	</game>
	<game id="4" param = "2" name="斗地主">
		<!--
		type:类型1:庄家, 2:非庄家
		win:获胜
		lost:失败
		-->
		<score type="1" win="10" lost="-3"/>
		<score type="2" win="3" lost="-1"/>
	</game>
	<game id="7" param = "1" name="麻将血流成河">
		<!--番数均为总和(番数*(放胡/胡牌)的人数)-->
		<score type="1" min="1" max="2" cnt="3" desc="胡牌(1番、2番):+3分"/>
		<score type="2" min="3" max="4" cnt="6" desc="胡牌(3番、4番):+6分"/>
		<score type="3" min="5" max="10000" cnt="9" desc="胡牌(5番、6番以上):+9分"/>
		<score type="4" min="1" max="2" cnt="-3" desc="放炮(1番、2番):-3分"/>
		<score type="5" min="3" max="4" cnt="-6" desc="放炮(3番、4番):-6分"/>
		<score type="6" min="5" max="10000" cnt="-9" desc="放炮(5番、6番以上):-9分"/>
	</game>
</root>