模板:Main

出自【暗黑百科】DiabloWiki_凯恩之角

(修订版本间的差异)
跳转到: 导航, 搜索
(以内容“Calculating the magnitude of a spell (damage, healing, or duration) is implemented in Diablo I using several different variables and specific functions.<ref>http://...”创建新页面)
(清空页面)
 
第1行: 第1行:
-
Calculating the magnitude of a spell (damage, healing, or duration) is implemented in [[Diablo I]] using several different variables and specific functions.<ref>http://www.diablo.hu/useful/download/dio1hf/jarulf162.pdf</ref>
 
-
== Variables ==
 
-
*'''slvl''': the level of the spell
 
-
*'''clvl''': the level of the character
 
-
*'''mlvl''': the level of the monster in context
 
-
*'''maxmana''': maximum mana of the character
 
-
*'''maxlife''': maximum hitpoints of the character
 
-
 
-
== Functions ==
 
-
*'''[ ]''': round down
 
-
*'''Rnd[x]''': random number in the range 0 to x - 1
 
-
*'''Rnd[clvl]''': random number in the range 0 to character level - 1
 
-
*'''Rec(slvl, slvl0)''': a recursive function defined as follows,
 
-
**'''Rec(0, slvl0)''' → [slvl0]
 
-
**for '''slvl > 0; Rec(slvl, slvl0)''' → [Rec(slvl - 1, slvl0) * 9/8]
 
-
*'''Itt(n, value)''': an iterative function, defined as follows,
 
-
**'''Itt(0, value)''' → value
 
-
**for '''n > 0; Itt(n, value)''' → Itt(n - 1, value) + value
 
-
 
-
== References ==
 
-
<references />
 
-
 
-
{{Diablo I Spells}}
 

在2012年3月24日 (六) 08:01的最新修订版本

个人工具
分享到: 更多
名字空间
变换
动作
网站地图
暗黑破坏神 III
暗黑破坏神 II
暗黑破坏神
工具箱
编辑箱
关于暗黑百科