2014-01-13 10:22:16 k73游戏之家 作者:小新
.treasurepools财宝系列说明,凡是起手包、怪物掉落物、宝箱等皆可称之为财宝,想要取得乐器、晶片或是随机生成武器系列等就要从这裡设定。
位置:
treasure
{
//财宝名称
"starterTreasure" : [
//财宝定义,0目前是定死为fill类型且不可增加种类
//1以上的皆为pool类型并可增加种类让系统抽选
[0, {
//填充类型:没有机率设定,直接写物品上去
"fill" : [
//不可数物品
"beamaxe",
"flashlight",
//可数物品[物品名称,数量]
[ "cornseed", 3],
[ "coalore", 3],
//随机生成物品[随机生成物品类型,数量,{"definition" : 随机生成物品名称}]
[ "generatedgun", 1, { "definition" : "commonassaultrifle" } ],
[ "generatedsword", 1, { "definition" : "crappybroadsword" } ]
],
//等级变动(目前不明)
"levelVariance" : [0, 0],
//是否允许复製
"allowDuplication" : false
} ]
],
"basicMonsterTreasure" : [
//财宝定义若为pool类型且设定2种以上,系统会随机选择其中一种作为财宝呈现
[1, {
//赌球类型:有机率设定,需要写上机率再写物品上去
"pool" : [
//机率物品[机率(最大为1.00)[物品名称,数量(需可数物品)]]
[0.36, [ "money", 10] ],
[0.36, [ "money", 10] ],
[0.18, [ "money", 25] ],
[0.10, [ "alienmeat" ] ]
],
//赌球机率
"poolRounds" : [
//抽选次数机率[机率(最大为1.00),数量]
[0.20, 0],
[0.80, 1]
],
"levelVariance" : [0, 0],
"allowDuplication" : false
} ],
[2, {
"pool" : [
[0.36, [ "money", 10] ],
[0.36, [ "money", 60] ],
[0.18, [ "money", 75] ],
[0.10, [ "cellmateria", 1] ],
[0.10, [ "monsterplating", 1] ]
],
"poolRounds" : [
[0.20, 0],
[0.80, 1]
],
"levelVariance" : [0, 0],
"allowDuplication" : false
} ]
]
}