※ 引述《lamorak (蒼燄)》之銘言:
: 請問可以了解一下 未鑑定的裝備的掉落是在什麼狀況會掉落呢?
: 比如說是1/300還是?
> more /data/area/area.h
:::::::::::::: /data/area/area.h ::::::::::::::
// 區域的總設定
// 平常值為 1000, 代表千分之一
// 這個值最後會"除"以區域自己本身的 XXX_DROP_RATE
// 得到最終的 DROP_RATE(區域自己的掉寶率不使用 system 去設)
// 比方區域的值為 2 就代表掉寶率 2 倍
#define BASIC_DROP_RATE 1000
通常新開區域的 drop_rate 值會調高一些些,之後會調回,
通常為 1,也就是掉落率千分之一。
另外只有特定幾個區域的特定幾種怪物會掉未定名防具:
/std/new_ob/
arm 類:
"克迷倫": return ({"kemi" ,"克迷倫護臂", 10, 10, 10, 10, 10, 10, 0});
"黔闇城": return ({"dark" ,"黔闇臂甲", 20, 20, 20, 20, 20, 20, 0});
"毒蛇地穴":
switch(random(3))
{
case 0:return ({"snake" ,"蛇紋護臂", 0, 35,-50, 50, 50, 50, 0});
case 1:return ({"snake" ,"靈蛇臂甲", 0, 50,-50, 50, 35, 50, 0});
case 2:return ({"snake" ,"蛇王臂甲", 0, 50,-50, 50, 50, 35, 0});
}
bracelet 類:
"克迷倫": return ({"kemi" ,"克迷倫手環", 10, 10, 10, 10, 10, 10, 0});
"黔闇城": return ({"dark" ,"黔闇手鐲", 20, 20, 20, 20, 20, 20, 0});
"鎖妖塔":
switch(random(3))
{
case 0:return ({"syt" ,"刑天手環", 40, 40, 0, 40, 40,-30, 0});
case 1:return ({"syt" ,"瑯琊封環", -30, 40, 40, 40, 40, 0, 0});
case 2:return ({"syt" ,"天穹碧鐲", 40, 40,-30, 0, 40, 40, 0});
}
cape 類:
"克迷倫": return ({"kemi" ,"克迷倫披風", 10, 10, 10, 10, 10, 10, 0});
"黔闇城": return ({"dark" ,"黔闇肩甲", 20, 20, 20, 20, 20, 20, 0});
"鎖妖塔":
switch(random(3))
{
case 0:return ({"syt" ,"雪羽披風", 50,-30, 50, 0, 30, 40, 0});
case 1:return ({"syt" ,"銀狐披肩", 45,-30, 40, 0, 40, 45, 0});
case 2:return ({"syt" ,"白靈肩甲", 40,-30, 30, 0, 50, 50, 0});
}
cloth 類:
"克迷倫": return ({"kemi" ,"克迷倫羽衣", 10, 10, 10, 10, 10, 10, 0});
"黔闇城": return ({"dark" ,"黔闇長袍", 20, 20, 20, 20, 20, 20, 0});
"鎖妖塔":
switch(random(3))
{
case 0:return ({"syt" ,"龍鱗寶衣", 40, 40,-50, 40, 50, 40, 0});
case 1:return ({"syt" ,"虎皮戰衣", 30, 50, 40, 40, 40,-50, 0});
case 2:return ({"syt" ,"祥鶴羽衣", 50, 30, 40,-50, 30, 40, 0});
}
"天外天":
switch(random(3))
{
case 0:return ({"rocky" ,"魔性之甲", 50, 0, 0, 0,-20, 20, 0});
case 1:return ({"rocky" ,"魅惑羽衣", 50,-20, 20, 0, 0, 0, 0});
case 2:return ({"rocky" ,"天魔戰甲", 50, 0, 0, 20, 0,-20, 0});
}
foot 類:
"克迷倫": return ({"kemi" ,"克迷倫布靴", 10, 10, 10, 10, 10, 10, 0});
"黔闇城": return ({"dark" ,"黔闇之靴", 20, 20, 20, 20, 20, 20, 0});
"鎖妖塔":
switch(random(3))
{
case 0:return ({"syt" ,"魅影神靴", 30, 0, 60, 40, 50,-50, 0});
case 1:return ({"syt" ,"珍瓏繡靴", 60,-50, 50, 40, 30, 0, 0});
case 2:return ({"syt" ,"幻月魔靴", 40,-50, 50, 0, 30, 60, 0});
}
misc 類:
"洛奇洞窟深處":
switch(random(3))
{
case 0:return ({"rocky" ,"洛奇護符", 65, 0, 0,-20, 35, 35, 0});
case 1:return ({"rocky" ,"魔炎之核", 35, 0, 0,-20, 35, 65, 0});
case 2:return ({"rocky" ,"炎龍之護", 35, 0, 0,-20, 65, 30, 0});
}
"天外天":
switch(random(3))
{
case 0:return ({"rocky" ,"天魔之心", 50, 0, 0, 0,-20, 20, 0});
case 1:return ({"rocky" ,"天外魔鈴", 50,-20, 20, 0, 0, 0, 0});
case 2:return ({"rocky" ,"魅惑魔鏡", 50, 0, 0, 20, 0,-20, 0});
}
necklace 類:
"克迷倫": return ({"kemi" ,"精美小墬鍊", 10, 10, 10, 10, 10, 10, 0});
"黔闇城": return ({"dark" ,"黑夜項鍊", 20, 20, 20, 20, 20, 20, 0});
"泰帕依":
switch(random(3))
{
case 0: return ({"tapay" ,"黑魔項鍊", 60, 0, 0,-20, 30, 50, 0});
case 1: return ({"tapay" ,"黑晶墜鍊", 40, 0, 0,-20, 35, 60, 0});
case 2: return ({"tapay" ,"闇芒之鍊", 55, 0, 0,-20, 40, 55, 0});
}
一、目前只開放 arm、bracelet、cloth、foot、mask、misc、
necklace 七類可設定未定名防具。
以後視情況再決定是否開放更多,例如 ring、gloves 等。
二、上面有 switch(random 的意思是,例如以泰帕依的三件為例
,在你鑑定防具時會隨機從 黑魔項鍊、黑晶墜鍊、闇芒之鍊
這三件裡頭挑選出來做為你鑑定出的防具
fel str dex air con mag int
"黑魔項鍊", 60, 0, 0,-20, 30, 50, 0 加較多感性、較低體質及魔力
"黑晶墜鍊", 40, 0, 0,-20, 35, 60, 0 加次低感性、次多體質、較多魔力
"闇芒之鍊", 55, 0, 0,-20, 40, 55, 0 加較低感性、較高體質、次多魔力
上面所設定的屬性值不是絕對,而是基本的防具特性,比方說
你可能可鑑定出
1.感性 +99 的黑晶墜鍊 (最高感性=神知的) 雖然它特性上 fel 較低
2.體質跟魔力都很高的黑魔項鍊 (高魔體的) 雖然它特性上 con mag 較低
3.完全沒扣 air 的闇芒之鍊 (無瑕的) 雖然這防具天生有扣 air
這個就看運氣。神眼鑑定券則可以增加鑑定到好防具的機率。
以上有問題可提出,也歡迎對掉落防具提供建議,如上所示:
1.目前只有哪些區域會掉已列在上頭 => 代表還有很多區域可設定
(限定新型態區域,我列在最下方)
2.既可限定只會掉一種(如克迷倫的設法),也可設定會隨機從 n 種
掉出一種,並可設定這 n 種的屬性特性
(其實重要的都在防具名字而已,只需中文名,設定範例如上)
3.可以指定在包含了 n 種怪物的某區域內,只有哪幾種會掉什麼類
的防具
例如以泰帕依為例,我只設定「泰帕依黑袍女巫」會掉 necklace
類的防具而已,只會掉 黑魔項鍊、黑晶墜鍊、闇芒之鍊 這三個.
目前新型態區域有以下幾個
> more /adm/daemons/map_d.c
#define AREA_MAP_NAMES ([\
"洛奇村":"/u/p/ppl/hiei/rocky/mapx",\
"泰洛卡森林":"/d/ppl/norr/terokkar/room/mapx",\
"冰霜之地":"/d/ppl/norr/ice_plain/room/mapx",\
"丹姆遺跡":"/d/ppl/norr/uldum/room/mapx",\
"奧奇奈地穴":"/d/ppl/norr/auchenai/room/mapx",\
"影月谷":"/d/ppl/norr/shadow_moon/room/mapx",\
"白雲之海":"/u/p/ppl/hiei/cloudsea/mapx",\
"瀑布內的洞窟第一層":"/u/p/ppl/hiei/1/map1x",\
"瀑布內的洞窟第二層":"/u/p/ppl/hiei/1/map2x",\
"光之森":"/u/p/ppl/hiei/elf/lightroad/mapx",\
"菲里德南城森林":"/u/p/ppl/hiei/felid/forest1/mapx",\
"菲里德古堡":"/u/p/ppl/hiei/felid/castle1/mapx",\
"仙境─原野":"/u/p/ppl/pyq/immortal/map1x",\
"仙境─地道":"/u/p/ppl/pyq/immortal/map2x",\
"菲里德古堡主館":"/u/l/laechan/area/felid/castle2/map2x",\
"菲里德古堡修道院":"/u/l/laechan/area/felid/castle3/map3x",\
"菲里德古堡別館":"/u/l/laechan/area/felid/castle4/map4x",\
"菲里德古堡北館":"/u/l/laechan/area/felid/castle4/map4x",\
"菲里德古堡東之庭園":"/u/l/laechan/area/felid/courtyard/map1x",\
"菲里德古堡西之庭園":"/u/l/laechan/area/felid/courtyard/map2x",\
"菲里德古堡研究館":"/u/l/laechan/area/felid/res1/map1x",\
"菲里德古堡地下研究所":"/u/l/laechan/area/felid/res2/map2x",\
"教堂地窖第一層":"/u/p/ppl/hiei/whitetile/under/map1x",\
"教堂地窖第二層":"/u/p/ppl/hiei/whitetile/under/map2x",\
"毒蛇地穴第一層":"/u/l/laechan/area/newsnake/snake_map1x",\
"毒蛇地穴第二層":"/u/l/laechan/area/newsnake/snake_map2x",\
"炙蟻地穴第一層":"/u/p/ppl/hiei/redant/map1x",\
"炙蟻地穴第二層":"/u/p/ppl/hiei/redant/map2x",\
"炙蟻地穴第三層":"/u/p/ppl/hiei/redant/map3x",\
"噬血大地南方":"/u/p/ppl/hiei/hemo/map1x",\
"噬血大地北方":"/u/p/ppl/hiei/hemo/map2x",\
"雪山小徑":"/u/l/laechan/area/skycloud/snow/mapx",\
"洛奇村":"/u/p/ppl/hiei/rocky/mapx",\
"聖誕村":"/u/p/ppl/hiei/rocky/mapx",\
"大山脈中部南端":"/u/p/ppl/hiei/godius/bigmount1/map1x",\
"大山脈中部北端":"/u/p/ppl/hiei/godius/bigmount1/map2x",\
"贛林老墓第一層":"/u/l/laechan/area/fuxk/tomb/map1x",\
"贛林老墓第二層":"/u/l/laechan/area/fuxk/tomb/map2x",\
"贛林老墓第三層":"/u/l/laechan/area/fuxk/tomb/map3x",\
"泰帕依峽谷北部":"/u/p/ppl/hiei/tapay1/map1x",\
"泰帕依峽谷南部":"/u/p/ppl/hiei/tapay1/map2x",\
"泰帕依城外圍平原":"/u/p/ppl/hiei/tapay1/map3x",\
"大山脈中部洞窟":"/u/p/ppl/hiei/godius/rocky1/map1x",\
"洛奇洞窟(表層)":"/u/p/ppl/hiei/godius/rocky1/map2x",\
"洛奇洞窟(裡層)":"/u/p/ppl/hiei/godius/rocky1/map3x",\
"洛奇洞窟深處":"/u/p/ppl/hiei/godius/rocky1/map4x",\
])
大致上目前可設定的分類部份就是
瀑布內的洞窟、菲里德南城森林、菲里德古堡、炙蟻地穴、
噬血大地、大山脈中部、贛林老墓、泰帕依、洛奇洞窟等。
(各分類要分更細也可,更細就是照上面的區域名,像泰帕依
我是把泰帕依峽谷北部、南部、外圍平原都算進來)
laechan