Make Ogresmasher grant 25 constitution
This commit is contained in:
@@ -354,6 +354,7 @@ put throne room gold in the chest
|
|||||||
wielding Trollsbane prevents trolls from reviving
|
wielding Trollsbane prevents trolls from reviving
|
||||||
wielding Demonbane prevents demons summoning friends
|
wielding Demonbane prevents demons summoning friends
|
||||||
wielding Dragonbane confers reflection
|
wielding Dragonbane confers reflection
|
||||||
|
wielding Ogresmasher grants 25 constitution
|
||||||
Elbereth must now be on a square by itself to function
|
Elbereth must now be on a square by itself to function
|
||||||
Elbereth now erodes based on attacks by the player, not monsters scared
|
Elbereth now erodes based on attacks by the player, not monsters scared
|
||||||
novels are made of paper, not gold
|
novels are made of paper, not gold
|
||||||
|
|||||||
@@ -1002,6 +1002,9 @@ int x;
|
|||||||
&& (youmonst.data->mlet == S_NYMPH || u.umonnum == PM_SUCCUBUS
|
&& (youmonst.data->mlet == S_NYMPH || u.umonnum == PM_SUCCUBUS
|
||||||
|| u.umonnum == PM_INCUBUS))
|
|| u.umonnum == PM_INCUBUS))
|
||||||
return (schar) 18;
|
return (schar) 18;
|
||||||
|
} else if (x == A_CON) {
|
||||||
|
if (uwep && uwep->oartifact == ART_OGRESMASHER)
|
||||||
|
return (schar) 25;
|
||||||
} else if (x == A_INT || x == A_WIS) {
|
} else if (x == A_INT || x == A_WIS) {
|
||||||
/* yes, this may raise int/wis if player is sufficiently
|
/* yes, this may raise int/wis if player is sufficiently
|
||||||
* stupid. there are lower levels of cognition than "dunce".
|
* stupid. there are lower levels of cognition than "dunce".
|
||||||
@@ -1047,6 +1050,9 @@ int attrindx;
|
|||||||
/* lower limit for Str can also be 25 */
|
/* lower limit for Str can also be 25 */
|
||||||
if (uarmg && uarmg->otyp == GAUNTLETS_OF_POWER)
|
if (uarmg && uarmg->otyp == GAUNTLETS_OF_POWER)
|
||||||
lolimit = hilimit;
|
lolimit = hilimit;
|
||||||
|
} else if (attrindx == A_CON) {
|
||||||
|
if (uwep && uwep->oartifact == ART_OGRESMASHER)
|
||||||
|
lolimit = hilimit;
|
||||||
}
|
}
|
||||||
/* this exception is hypothetical; the only other worn item affecting
|
/* this exception is hypothetical; the only other worn item affecting
|
||||||
Int or Wis is another helmet so can't be in use at the same time */
|
Int or Wis is another helmet so can't be in use at the same time */
|
||||||
|
|||||||
@@ -1638,6 +1638,8 @@ int mode, final, attrindx;
|
|||||||
break;
|
break;
|
||||||
case A_CON:
|
case A_CON:
|
||||||
attrname = "constitution";
|
attrname = "constitution";
|
||||||
|
if (uwep && uwep->oartifact == ART_OGRESMASHER && uwep->cursed)
|
||||||
|
hide_innate_value = TRUE;
|
||||||
break;
|
break;
|
||||||
case A_INT:
|
case A_INT:
|
||||||
attrname = "intelligence";
|
attrname = "intelligence";
|
||||||
|
|||||||
@@ -96,6 +96,9 @@ register struct obj *obj;
|
|||||||
if (!Blind)
|
if (!Blind)
|
||||||
pline("%s shining.", Tobjnam(olduwep, "stop"));
|
pline("%s shining.", Tobjnam(olduwep, "stop"));
|
||||||
}
|
}
|
||||||
|
if (uwep == obj && ((uwep && uwep->oartifact == ART_OGRESMASHER)
|
||||||
|
|| olduwep && olduwep->oartifact == ART_OGRESMASHER))
|
||||||
|
context.botl = 1;
|
||||||
/* Note: Explicitly wielding a pick-axe will not give a "bashing"
|
/* Note: Explicitly wielding a pick-axe will not give a "bashing"
|
||||||
* message. Wielding one via 'a'pplying it will.
|
* message. Wielding one via 'a'pplying it will.
|
||||||
* 3.2.2: Wielding arbitrary objects will give bashing message too.
|
* 3.2.2: Wielding arbitrary objects will give bashing message too.
|
||||||
|
|||||||
Reference in New Issue
Block a user