Difference between revisions of "Template:HPdice"
m |
m (1 revision: importing templates from old_crawl wiki) |
(No difference)
|
Revision as of 04:21, 21 December 2012
({{{hd}}}*{{{min_hp}}}+{{{rand_hp}}}) to ({{{hd}}}*({{{min_hp}}}+{{{rand_hp}}})+{{{add_hp}}})
From mon-util.h, line 428:
// hpdice[4]: [0]=HD [1]=min_hp [2]=rand_hp [3]=add_hp // min hp = [0]*[1]+[3] & max hp = [0]*([1]+[2])+[3]) // example: the Iron Golem, hpdice={15,7,4,0} // 15*7 < hp < 15*(7+4), // 105 < hp < 165 // hp will be around 135 each time.