作者iamnodoubt (幸福要从反面看)
看板DIABLO
标题[心得] 多人game对打宝的影响
时间Sat Feb 25 17:45:32 2006
文件参考
http://forums.diabloii.net/showthread.php?t=392254
4.1. TreasureClassEx.txt
6. TC selection and number of dropped items
这两个部份
主要是讲游戏中人越多,掉物品的机率越高,也就是不掉物品的机率(nodrop)越低。
这篇文章主要是探讨游戏中人数跟nodrop之间的关系。
4.1提到一个公式:
NewNoDrop=int( ProbSum/(1/((NoDrop/(NoDrop+ProbSum))^N)-1) )
where
N=int(1+AdditionalPlayers/2+ClosePartiedPlayers),
AdditionalPlayers — the number of all additional players in the game,
where the monster is killed,
ClosePartiedPlayers — the number of players in your party near you (not
far than two screens away),
ProbSum=Prob1+Prob2+Prob3+...+Prob10,
int — operation of truncating fractional part of a number
翻成中文
addtion player就是在游戏中
不是跟你同队且在两个画面的人数
ClosePartiedPlayers就是在游戏中跟你同队且在两个画面的人数
Probsum是指除了nodrop之外其他掉宝数的总合
int是指取整数
嗯,NewNoDrop这行有看没有懂对不对,没关系,我们在看6.0提到这公式的另
外一个型式:
new nodrop rate = (base nodrop rate)^n
new nodrop number = new nodrop rate / (1 - new nodrop rate) * total drops
base nodrop rate是一人game这只怪不掉宝的机率,数据可以参考
http://www.d2data.net
new nodrop rate是指在多人游戏下这只怪新的不掉物品的机率
n是多人game下作用的系数
new nodrop number是指不掉物品的样数,也就是说当这个数字
取整数等於0的时候,这只
怪就不会有nodrop(不掉物品)的状况产生,换言之就是一定会掉物品。
我们来看看是多人game下作用的系数『
n』是怎样在大梅身上作用的:
你查TreasureClassEx.txt会看到大梅在一人game下
nodrop number = 15
total number of other drop = 65
所以不掉宝的机率是 15/(65+15) = 15/80 =18.75%
这个数据你查
http://www.d2data.net也可以看的到
当 n = 2 (游戏中有三个人不同队,或是两个人同队且在打大梅两个画面以内)
new nodrop rate = (15/80)^2 = 0.03515625
new nodrop number = 0.03515625 / (1 - 0.03515625) * 65 = 0.036437*65 =2(取整数)
所以就差不多有 2/(65+2) = 2/67机率不会掉宝
当 n = 3 (游戏中有五个人不同队,或是三个人同队且在打大梅两个画面以内)
new nodrop rate = (15/80)^3 = 0.00659
new nodrop number = 0.00659 / (1 - 0.00659) * 65 = 0.00664 * 65 = 0(取整数)
new nodrop number = 0,
也就是说当三个人同队一起打大梅,假如没有被阶梯柱子吃掉
的话,一定就会掉七个物品!!
以下部份纯属
推测
欢迎推翻 XD
因为文件是在上班时偷看的,我也懒的去学解出TreasureClassEx.txt(跟解starcraft
mpq一样?),
http://www.d2data.net只有base nodrop rate并没有total other drop
number,不过因为hell act boss TC都不会差太多,所以我就先假设total other drop
number差个40~50个先试算,以下是个act boss nodrop的机率
andariel 28.3%
duriel 14.1%
mephisto 18.7%
diablo 18.7%
baal 18.7%
a) andariel在n=3的new nodrop number为
[(0.283)^3 / (1 - 0.283^3)] *total other drop number
= ( 0.022 / 1 - 0.022 ) *total other drop number
= 0.0224 *total other drop number
==>total other drop number 大於50的话
new nodrop number = 1 or more
也就是说在三人同队在同画面的状况下
andariel还是有可能没掉物品,不过机率已经非常小了
b) druiel nodrop rate=14.1% < 18.7%,所以n=3时也是不会有nodrop
c) mephisto,diablo,baal因为nodrop rate都一样,所以n=3也是不会有nodrop
最後我说明一下那个公式是怎麽来的,其实是
a' a a
----- = ----- = --------
b' b 1-a
so
a
new nodrop number = ------ x new total other drop number
1 - a
new nodrop rate
= ------------------------- x total other drop number
1 - (new nodrop rate)
new nodrop number = a'
new total other drop number = b'
new nodrop rate = a
new total other drop rate = b
因为 nodrop rate + total other drop rate = 1 => (a+b=1)
new total other drop number = total other drop number
=>人变多只会对nodrop有影响
只能说他公式写的好烂,一开始我还看不懂~_~,明明那麽简单的东西-_-;
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.168.202.202
1F:推 jimmylee7775:我直接END了 02/25 17:46
2F:→ jimmylee7775:原PO真高手XD 02/25 17:46
3F:→ karen33:真高手 02/25 17:48
4F:推 Hamano:看完的举手 XD 02/25 17:49
5F:→ jacksonmask:太复杂了 看不懂啊 原PO真是高手 02/25 17:49
6F:推 yungnan:看不懂的举手 不过应该就是人越多越好搂 ^^ 不管效率啦 02/25 17:49
7F:推 tales0426:看不懂但是我有LP 02/25 17:51
8F:推 dongxx:比较想知道结论...因为文好复杂看不懂...是多人组队 还是不 02/25 17:54
9F:推 waterice12:您真内行! 02/25 17:55
10F:推 iamnodoubt:直接看红字部份好了 o_o 02/25 18:01
11F:推 nvfp:看完了耶 02/25 18:04
12F:推 iamnodoubt:其我应该写的不深吧,那网页写的才是真的有深度- - 02/25 18:05