配置文件

配置文件

  • 服务端MatchServer和客户端新增配置文件 ms_deer_lua.xml
  • 修改该配置文件,需要同步服务端MatchServer和客户端
<?xml version="1.0" encoding="utf-8" ?>
<!--
    本文件为MatchServer的海外侍灵付费活动配置
-->

<!-- 字段说明 -->
<!--
<module moduletype="类型定义 侍灵付费为9" status="是否开启" name="侍灵付费 deer"/>

<deerroot>
    <deer id="第几次开启" begin="开始时间" end="结束时间" show="是否显示" actkey="活动键值,配合客户端" actnamekey="全服通知key">
        <target hp="总血量" deathContinue="是否可以鞭尸"/>  

        <useList>
            <use id="1" cost="消耗代币数目" get="获得道具数目" discount="显示折扣" costGoodsId="消耗代币的道具ID" award="宝箱iconID, 奖品数目" />
        </useList>

        <harmProps> 伤害道具
            <prop idx="序号" nameEN="道具名称英文" nameCH="道具名称中文" propType="道具id" harm="伤害区间" chance="获得权重"/>
        </harmProps>        

        <dropPool> 掉落奖池
            <goods idx="序号" goods="奖品id,奖品数目" chance="获得权重" globalNtf="全服通知与否"/>
        </dropPool>

        <harmAward>  伤害累计奖励
            <personal>  
                <goods idx="序号" goods="奖品id,奖品数目" totalHarm="达到的累计伤害值" flag="奖励标记,是否是大奖 0:普通奖励,1:大奖"/>
            </personal>

            【注意】 idx为递增值(与totalHarm关联递增),上线后不可改变
        </harmAward>
    </deer>
</deerroot>
-->
<root>
<module moduletype="9" status="1" name="deer"/>

<deerroot>
      <deer id="1" begin="20200705T120000" end="20220924T235959" show="1" actkey="default" actnamekey="S_PLUGIN_DEER_NAME_KEY" awardkey="S_PLUGIN_DEER_AWARD_KEY">

        <playTarget hp="10000" deathContinue="1"/>

        <useList>
            <use idx="1" cost="1" get="1" discount="100" costGoodsId="5002301" award="4600801,1" />
            <use idx="2" cost="9" get="10" discount="90" costGoodsId="5002301" award="4600801,10" />
        </useList>

        <harmProps>
            <prop idx="1" nameEN="firecracker" nameCH="鞭炮" propType="1001" harm="50, 100" chance="100"/>
            <prop idx="2" nameEN="fireworks" nameCH="烟花" propType="1002" harm="101, 150" chance="50"/>
            <prop idx="3" nameEN="bomb" nameCH="炸弹" propType="1003" harm="200, 300" chance="20"/>
        </harmProps>        

        <dropPool>
            <goods idx="1" goods="100201,1" chance="500" globalNtf="0"/> <!--点将卡1-->
            <goods idx="2" goods="100301,1" chance="400" globalNtf="0"/> <!--手气卡1-->
            <goods idx="3" goods="100401,1" chance="300" globalNtf="0"/> <!--换将卡1-->
            <goods idx="4" goods="100608,1" chance="200" globalNtf="0"/> <!--双倍经验卡1-->
            <goods idx="5" goods="111401,1" chance="100" globalNtf="0"/> <!--公会契约书1-->
            <goods idx="6" goods="112101,10" chance="10" globalNtf="0"/> <!--雁翎10-->
            <goods idx="7" goods="4606001,10" chance="10" globalNtf="0"/> <!--神将卡宝箱10-->
        </dropPool>

        <harmAward>
            <personal>
                <goods idx="1" goods="434601,1" totalHarm="100" flag="0" globalNtf="0"/> <!--招募令1-->
                <goods idx="2" goods="100201,10" totalHarm="500" flag="0" globalNtf="0"/> <!--点将卡10-->
                <goods idx="3" goods="180001,10" totalHarm="1000" flag="0" globalNtf="0"/> <!--身份卡10-->
                <goods idx="4" goods="200201,20" totalHarm="2000" flag="0" globalNtf="0"/> <!--诏令20-->
                <goods idx="5" goods="434501,5" totalHarm="5000" flag="0" globalNtf="0"/> <!--雁翎甲5-->
                <goods idx="6" goods="111401,10" totalHarm="8000" flag="0" globalNtf="1"/> <!--补签卡10-->
                <goods idx="7" goods="636509,1" totalHarm="9500" flag="0" globalNtf="1"/> <!--弃武从文*徐庶-->
                <goods idx="8" goods="944001,1" totalHarm="10000" flag="1" globalNtf="1" motionSkinId = ""/> <!--神陆逊, 是皮肤奖励的时候读motionSkinId-->
            </personal>
        </harmAward>
    </deer>
</deerroot>
</root>