Difference between revisions of "Talk:Baalzebub"

From NetHackWiki
Jump to navigation Jump to search
(New page: How much money does he ask for? --~~~~)
 
(basic answer)
Line 1: Line 1:
 
How much money does he ask for?  --[[User:Andronikus|Andronikus]] 02:43, 8 October 2007 (UTC)
 
How much money does he ask for?  --[[User:Andronikus|Andronikus]] 02:43, 8 October 2007 (UTC)
 +
 +
172. demand = (cash * (rnd(80) + 20 * Athome)) /
 +
173.      (100 * (1 + (sgn(u.ualign.type) == sgn(mtmp->data->maligntyp))));[[minion.c#line172]]
 +
:so (cash+rnd(80)+20)/(100 or 200 if same alignment). that is the cash you have in your inventory so you can stuff it all in a bag to avoid being charged too much.
 +
:[[User:Addps4cat|Addps4cat]] 03:04, 8 October 2007 (UTC)

Revision as of 03:04, 8 October 2007

How much money does he ask for? --Andronikus 02:43, 8 October 2007 (UTC)

172. demand = (cash * (rnd(80) + 20 * Athome)) /
173.  	    (100 * (1 + (sgn(u.ualign.type) == sgn(mtmp->data->maligntyp))));minion.c#line172
so (cash+rnd(80)+20)/(100 or 200 if same alignment). that is the cash you have in your inventory so you can stuff it all in a bag to avoid being charged too much.
Addps4cat 03:04, 8 October 2007 (UTC)