Re: [问题] 关于未鉴定的装备

楼主: laechan (挥泪斩马云)   2017-03-11 15:44:31
※ 引述《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

Links booklink

Contact Us: admin [ a t ] ucptt.com