more prayer tuning
- Don't guarantee high results when you have high Luck, add Luck into random param of rn1(), and just add 1 to the basis, keeping the guaranteed fix of a single major trouble mentioned in the block comment
This commit is contained in:
+1
-1
@@ -745,7 +745,7 @@ pleased(g_align)
|
|||||||
/* if hero was in trouble, but got better, no special favor */
|
/* if hero was in trouble, but got better, no special favor */
|
||||||
if (p_trouble == 0) pat_on_head = 1;
|
if (p_trouble == 0) pat_on_head = 1;
|
||||||
} else {
|
} else {
|
||||||
int action = rn1(on_altar() ? 3 + on_shrine() : 2, Luck+1);
|
int action = rn1(Luck + (on_altar() ? 3 + on_shrine() : 2), 1);
|
||||||
|
|
||||||
if (!on_altar()) action = min(action, 2);
|
if (!on_altar()) action = min(action, 2);
|
||||||
if (u.ualign.record < STRIDENT)
|
if (u.ualign.record < STRIDENT)
|
||||||
|
|||||||
Reference in New Issue
Block a user