範海辛的奇妙冒險2物品掉落概率與品質修改方法
修改好的文件:
大家都知道
掉落機率和掉落質量都是在中更改的
舉例────────
VH2_Treasurechest
{
None=0
Gold
{
Amount=350-2500
Chance=647
}
Item
{
Rarity=normal
Chance=35
}
Item
{
Rarity=magic
Chance=150
}
Item
{
Rarity=rare
Chance=150
}
Item
{
Rarity=epic
Chance=3
}
Item
{
Category=dropable_consumable
Chance=5
}
Item
{
Category=scroll
Chance=15
}
}
以上拿寶箱的掉落來舉例
1. None=0 意思就是不可能開出來是空的
2. Gold / Item就是掉落的種類
3. Name物品名稱 / Type裝備分類 / Category分類 / Rarity物品質量 ......等等這些就是條件
4. Chance 就是機率
機率如何算呢?
很簡單
VH2_Treasurechest { } 這個大括號內所有Chance加起來就是總數
0+647+35+150+150+3+5+15=1005
其中epic的掉落機率就是3/1005
夠坑爹吧?