Difference between revisions of "Template:HPdice"

From CrawlWiki
Jump to: navigation, search
m
 
m (Propose deletion.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
<noinclude>{{delete}}</noinclude>
 
({{{hd}}}*{{{min_hp}}}+{{{rand_hp}}}) to ({{{hd}}}*({{{min_hp}}}+{{{rand_hp}}})+{{{add_hp}}})
 
({{{hd}}}*{{{min_hp}}}+{{{rand_hp}}}) to ({{{hd}}}*({{{min_hp}}}+{{{rand_hp}}})+{{{add_hp}}})
 
<noinclude>
 
<noinclude>

Latest revision as of 13:28, 10 February 2016

A user has suggested the deletion of this page. Reason: This page is no longer necessary.

({{{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.