Commit 4a11e79 1 parent ad2d578 commit 4a11e79 Copy full SHA for 4a11e79
File tree 3 files changed +25
-12
lines changed
3 files changed +25
-12
lines changed Original file line number Diff line number Diff line change @@ -3988,4 +3988,6 @@ The following changes to date are:
3988
3988
- Add healing spellbook descriptions to the in-game encyclopedia
3989
3989
- Revert commit 0f42eff (priest altar sacrifice artifact restrictions)
3990
3990
- Add clerical spellbook descriptions to the in-game encyclopedia
3991
+ - Don't penalize a priest's alignment if they try to use a bladed
3992
+ artifact weapon
3991
3993
Original file line number Diff line number Diff line change @@ -393,13 +393,13 @@ int *attk_count, *role_roll_penalty;
393
393
chance to hit, inferior ones not so much */
394
394
if (uwep ) {
395
395
if (uwep -> forged_qual == FQ_EXCEPTIONAL
396
- || (u .twoweap
397
- && uswapwep -> forged_qual == FQ_EXCEPTIONAL )) {
396
+ || (u .twoweap
397
+ && uswapwep -> forged_qual == FQ_EXCEPTIONAL )) {
398
398
tmp += 1 ;
399
399
}
400
400
if (uwep -> forged_qual == FQ_INFERIOR
401
- || (u .twoweap
402
- && uswapwep -> forged_qual == FQ_INFERIOR )) {
401
+ || (u .twoweap
402
+ && uswapwep -> forged_qual == FQ_INFERIOR )) {
403
403
tmp -= 2 ;
404
404
}
405
405
}
@@ -580,9 +580,19 @@ register struct monst *mtmp;
580
580
is_slash (uwep ) ? "edged" : "piercing" , ansimpleoname (uwep ));
581
581
exercise (A_WIS , FALSE);
582
582
if (!rn2 (10 )) {
583
- Your ("behavior has displeased %s." ,
584
- align_gname (u .ualign .type ));
585
- adjalign (-1 );
583
+ if (!uwep -> oartifact ) {
584
+ /* priests can receive bladed weapons via altar
585
+ sacrifice. don't punish them if they try to
586
+ use them.
587
+
588
+ TODO: create a bitfield in struct artifact to
589
+ flag artifacts that are actually gifted, so we
590
+ can check against that instead of making all
591
+ artifacts ok to try and use */
592
+ Your ("behavior has displeased %s." ,
593
+ align_gname (u .ualign .type ));
594
+ adjalign (-1 );
595
+ }
586
596
}
587
597
}
588
598
Original file line number Diff line number Diff line change @@ -250,15 +250,16 @@ botl_hitbonus()
250
250
if (!uwep && Role_if (PM_DRUID )
251
251
&& all_druid_forms (monsndx (youmonst .data )))
252
252
tmp += (u .ulevel / 3 ) + 5 ;
253
+
253
254
if (uwep ) {
254
255
if (uwep -> forged_qual == FQ_EXCEPTIONAL
255
- || (u .twoweap
256
- && uswapwep -> forged_qual == FQ_EXCEPTIONAL )) {
256
+ || (u .twoweap
257
+ && uswapwep -> forged_qual == FQ_EXCEPTIONAL )) {
257
258
tmp += 1 ;
258
259
}
259
260
if (uwep -> forged_qual == FQ_INFERIOR
260
- || (u .twoweap
261
- && uswapwep -> forged_qual == FQ_INFERIOR )) {
261
+ || (u .twoweap
262
+ && uswapwep -> forged_qual == FQ_INFERIOR )) {
262
263
tmp -= 2 ;
263
264
}
264
265
}
@@ -2197,7 +2198,7 @@ struct obj *weapon;
2197
2198
&& (uwep -> oclass == WEAPON_CLASS || is_weptool (uwep ))
2198
2199
&& (is_pierce (uwep ) || is_slash (uwep ) || is_ammo (uwep ))) {
2199
2200
/* feedback handled in attack() */
2200
- bonus = -30 ;
2201
+ bonus = -40 ;
2201
2202
}
2202
2203
return bonus ;
2203
2204
}
You can’t perform that action at this time.
0 commit comments