Difference between revisions of "Sacrifice"

From NetHackWiki
Jump to navigation Jump to search
(Messages: all the messages indicating it's "safe" to pray don't actually necessarily mean it really is safe to pray)
(make the article a little bit better: remove incorrect information, reorder information, provide source references for most of the things.)
Line 1: Line 1:
 
{{religion}}
 
{{religion}}
Sacrifice is a means whereby you can reduce your prayer timeout, increase your luck, and gain powerful [[artifact weapon]]s. Alternatively, you can also change your alignment by sacrificing to another god when you have negative luck. To sacrifice, you stand on an [[altar]], use the '''#offer''' command, and select a fresh [[corpse]] from your inventory or one that is lying on the altar. Unsurprisingly, this breaks the atheist [[conduct]]. The greater the monster's [[difficulty]], the more your god will appreciate it.
+
Sacrifice is a means whereby you can reduce your prayer timeout, increase your luck, and gain powerful [[artifact weapon]]s. Alternatively, you can also change your alignment by sacrificing to another god when you have negative luck. To sacrifice, you stand on an [[altar]],{{refsrc|pray.c|1127}} use the '''#offer''' command, and select a fresh [[corpse]] from your inventory or one that is lying on the altar. Unsurprisingly, this breaks the atheist [[conduct]]. The greater the monster's [[difficulty]], the more your god will appreciate it.
  
 
If the corpse is a [[cockatrice]] and your hands are bare, you suffer the effects of touching it, even if it wasn't in your inventory.{{refsrc|pray.c|1157}}
 
If the corpse is a [[cockatrice]] and your hands are bare, you suffer the effects of touching it, even if it wasn't in your inventory.{{refsrc|pray.c|1157}}
Line 9: Line 9:
 
This applies to sacrifices made on your own god's altar that are not of your own race, not a pet, not a unicorn, and not made in the endgame.
 
This applies to sacrifices made on your own god's altar that are not of your own race, not a pet, not a unicorn, and not made in the endgame.
  
If the creature is not an [[acid blob]] and is more than 50 turns old or more than 50 turns out of an icebox, it is rejected: "Nothing happens."{{refsrc|pray.c|1160}}{{refsrc|pray.c|1319}} (Acid blobs never expire for sacrifices, although they do rot.) Otherwise, the sacrifice is accepted and you get "Your sacrifice is consumed in a burst of flame" if neutral or chaotic, and "Your sacrifice is consumed in a flash of light" if lawful. If you are blind you will instead get the message "Your sacrifice disappears" and if you are hallucinating you get one of the following messages: "Your sacrifice sprouts wings and a propeller and roars away!", "Your sacrifice puffs up, swelling bigger and bigger, and pops!", or "Your sacrifice collapses into a cloud of dancing particles and fades away!"
+
If the creature is not an [[acid blob]] and is more than 50 turns old or more than 50 turns out of an icebox, it is rejected: "Nothing happens."{{refsrc|pray.c|1160}}{{refsrc|pray.c|1319}} (Acid blobs never expire for sacrifices, although they will eventually rot away.) Otherwise, the sacrifice is accepted and you get "Your sacrifice is consumed in a burst of flame" if neutral or chaotic, and "Your sacrifice is consumed in a flash of light" if lawful.{{refsrc|pray.c|1112}} If you are lawful and blind, you will instead get the message "Your sacrifice disappears".{{refsrc|pray.c|1110}} If you are hallucinating you get one of the following messages: "Your sacrifice sprouts wings and a propeller and roars away!",{{refsrc|pray.c|1101}} "Your sacrifice puffs up, swelling bigger and bigger, and pops!",{{refsrc|pray.c|1104}} or "Your sacrifice collapses into a cloud of dancing particles and fades away!"{{refsrc|pray.c|1107}}
  
Creatures have a particular sacrifice value depending generally on their toughness. In some special cases, the value may be negative if the offering displeases your god; see below. Partially-eaten corpses normally have their value decreased by roughly the percentage that's been eaten. But NetHack rounds down, often to zero. For lawful or neutral characters, [[undead]] have an extra point of value,{{refsrc|pray.c|1232}} but this is only relevant to [[wraith]]s, since other undead corpses are automatically aged too much to sacrifice them.
+
Creatures have a particular sacrifice value depending generally on their toughness. In some special cases, the value may be negative if the offering displeases your god; see below. Partly eaten corpses normally have their value decreased by roughly the percentage that's been eaten.{{refsrc|pray.c|1164}}{{reffunc|eat.c|eaten_stat}} For lawful or neutral characters, [[undead]] have an extra point of value,{{refsrc|pray.c|1232}} but this is only relevant to [[wraith]]s, since other undead corpses are automatically aged too much to sacrifice them.
  
;'''If your god is angry at you:'''
+
;If your god is [[anger|angry]] at you<nowiki>:</nowiki>{{refsrc|pray.c|1418}}
:His anger is decreased by 1/8 the value of the sacrifice, or if you're chaotic by 1/12 the value of the sacrifice (chaotic gods are harder to appease),{{refsrc|pray.c|1419}} the decrease in anger is always rounded down. High-difficulty monsters can be hard to find early in the game, but a [[black pudding]] from a [[sink]] will work.
+
:Their anger is decreased by 1/8 the value of the sacrifice, or if you're chaotic by 1/12 the value of the sacrifice (chaotic gods are harder to appease).{{refsrc|pray.c|1420}}{{refsrc|pray.c|1147|name=maxvalue}} The decrease in anger is always rounded down. High-difficulty monsters can be hard to find early in the game, but a [[black pudding]] from a [[sink]] will work.
 +
:If this reduces your god's anger to zero,{{refsrc|pray.c|1428}}{{refsrc|pray.c|1423|name=anger_not_to_zero}}{{refsrc|pray.c|1421}} you'll receive the message that your god "seems mollified" (if [[hallucination|hallucinating]], "seems cosmic (not a new fact)"),{{refsrc|pray.c|1430}} and your base [[Luck]] will be increased to zero if negative.{{refsrc|pray.c|1432}}
 +
:If anger is reduced but not to zero,<ref name="anger_not_to_zero"/> your god "seems slightly mollified" ("seems groovy" if hallucinating),{{refsrc|pray.c|1425}} and your base Luck will be increased by one point if negative.{{refsrc|pray.c|1427}}
 +
:If anger has not been reduced at all, "You have a feeling of inadequacy" (if hallucinating, "The gods seem tall").{{refsrc|pray.c|1434}}
 +
;If your god is not angry at you, but your [[alignment]] is negative<nowiki>:</nowiki>{{refsrc|pray.c|1439|comment=<tt>ugod_is_angry</tt> tests for negative alignment record}}
 +
:Your alignment is increased by the value of the sacrifice,{{refsrc|pray.c|1442}} up to a maximum of 0 alignment{{refsrc|pray.c|1441}} or 24 points,{{refsrc|pray.c|1440}}<ref name="maxvalue"/> and "You feel partially absolved."{{refsrc|pray.c|1443}}
 +
;If your god is not angry and your alignment is positive but your [[prayer timeout]] is greater than zero<nowiki>:</nowiki>{{refsrc|pray.c|1444}}
 +
:Your prayer timeout is decreased by 12.5 times the sacrifice's value if you are lawful or neutral, or 125/6 (about 20.8) times its value if you're chaotic, to a minimum of zero.{{refsrc|pray.c|1446}}
 +
:If this decreases your prayer timeout to 0,{{refsrc|pray.c|1455}}{{refsrc|pray.c|1449|name=blesscnt_not_to_zero}} then "You have a feeling of reconciliation"{{refsrc|pray.c|1459}} (if hallucinating, "Overall, there is a smell of fried onions"{{refsrc|pray.c|1457}}) and your base Luck is increased to zero if negative.{{refsrc|pray.c|1460}}
 +
:If your prayer timeout is not yet zero,<ref name="blesscnt_not_to_zero"/> "You have a hopeful feeling"{{refsrc|pray.c|1453}} (if hallucinating, "You realize the gods are not like you and I"{{refsrc|pray.c|1451}}), your base Luck is increased by one if negative,{{refsrc|pray.c|1454}} and it is not yet safe to pray.
 +
;If none of the above cases applied (i.e. your prayer timeout is zero, your god is not angry and your alignment record is positive)<nowiki>:</nowiki>{{refsrc|pray.c|1463}}
 +
:If your base Luck is nonnegative and you are at least at [[experience level]] 3, you may receive a {{sa|Gifts|gift}}.{{refsrc|pray.c|1469|name=may_get_gift}}
 +
:If you did ''not'' receive a gift (or were not eligible for one at all),{{refsrc|pray.c|1485}} your base Luck will be increased by about a fifth of the sacrifice value (specifically, 10/48), rounded down.{{refsrc|pray.c|1488}}{{refsrc|you.h|326}}<ref name="maxvalue"/> If your base Luck is still negative after this, it will be set to 0.{{refsrc|pray.c|1489}} If your Luck was changed by this, you will see the message "You glimpse a four-leaf clover at your <feet>."{{refsrc|pray.c|1495}} ("You think something brushed your <feet>." if blind;{{refsrc|pray.c|1492}} "You see crabgrass at your <feet>. A funny thing in a dungeon." if hallucinating and not blind{{refsrc|pray.c|1494}}).
  
:If this reduces your god's anger to zero, you'll receive the message that he "seems mollified" (if [[hallucination|hallucinating]], "seems astral (not a new fact)"), and your luck will be increased to zero if negative.
+
None of the possible effects will ''guarantee'' that you can safely pray; this is because they only affect ''base'' [[Luck]], so a cursed [[luckstone]] may still cause your actual Luck to be negative.
 
 
:If anger is reduced but not to zero, your god "seems slightly mollified" ("seems groovy" if hallucinating), and your luck will be increased by one point if negative.
 
 
 
:If anger has not been reduced at all, "You have a feeling of inadequacy" (if hallucinating, "The gods seem tall").
 
 
 
;'''If your god is not angry at you, but your [[alignment]] is negative:'''
 
 
 
:Your alignment is increased by the value of the sacrifice, up to a maximum of 0 alignment, and "You feel partially absolved."{{refsrc|pray.c|1439}}
 
 
 
;'''If your god is not angry and your alignment is positive but your [[prayer timeout]] is greater than zero:'''
 
 
 
:Your prayer timeout is decreased by 12.5 times the sacrifice's value if you are lawful or neutral, or 125/6 (about 20.8) times its value if you're chaotic, to a minimum of zero.
 
 
 
:If this decreases your prayer timeout to 0, then "You have a feeling of reconciliation" (if hallucinating, "Overall, there is a smell of fried onions"), your luck is increased to zero if negative, and it's safe to pray.
 
 
 
:If your prayer timeout is not yet zero, "You have a hopeful feeling" (if hallucinating, "You realize the gods are not like you and I"), your luck is increased by one if negative, and it is not yet safe to pray.{{refsrc|pray.c|1444}}
 
  
 
==Gifts==
 
==Gifts==
If you can pray, have positive alignment, and your god is not angry, you generally have a chance of getting an [[artifact]]. Your level must be greater than 2, and your luck must be nonnegative.{{refsrc|pray.c|1469}} If those conditions are met, the chances of your getting an artifact are 1 / (10 + 2 &times; Number of existing artifacts &times; Number of gifts granted by your god).{{refsrc|pray.c|1470}}
+
If your prayer timeout is 0, you have positive alignment, and your god is not angry, you generally have a chance of getting an [[artifact]]. Your [[experience level]] must be at least 3, and your luck must be nonnegative.<ref name="may_get_gift"/> If those conditions are met, the chances of your getting an artifact are 1 / (10 + 2 &times; Number of existing artifacts &times; Number of gifts granted by your god).{{refsrc|pray.c|1470}}
 
 
If you receive an artifact, you get the message "An object appears at your feet!", and your god will tell you to "use my gift wisely!" Your wisdom is exercised, your prayer timeout is set to rnz(300 + 50 &times; Number of existing artifacts), and your [[skill]] in using the artifact's type of weapon becomes [[unrestricted]]. The artifact will also be made [[erodeproof]].
 
  
Whether or not you get the artifact, your luck increases by 5/24 (about 20.8%) the value of the sacrifice and is set to 0 if still negative. You receive the message "You glimpse a four-leaf clover at your feet" (if hallucinating, "You see crabgrass at your feet. A funny thing in a dungeon"). This luck bonus occurs even if you're below level 3 or have negative luck, but not if you had an angry god, negative alignment, or nonzero prayer timeout.
+
If you receive an artifact, you get the message "An object appears at your feet!",{{refsrc|pray.c|1477}} and your god will tell you to "use my gift wisely!"{{refsrc|pray.c|1478}} Your wisdom is exercised,{{refsrc|pray.c|1481}} your prayer timeout is set to [[rnz]](300 + 50 &times; Number of existing artifacts),{{refsrc|pray.c|1480}} and your [[skill]] in using the artifact's type of weapon becomes [[unrestricted]].{{refsrc|pray.c|1483}} The artifact will also be made [[erodeproof]]{{refsrc|pray.c|1475}} and set to at least +0;{{refsrc|pray.c|1473}} it will not be cursed.{{refsrc|pray.c|1474}}
  
Your first gift will be a co-aligned artifact that does not hate your current form. Some [[role]]s have a guaranteed first sacrifice gift, which is noted below; its alignment will be adjusted to your starting alignment if necessary. Excalibur, quest artifacts, and cross-aligned artifacts cannot be gifted.
+
Your first gift will be a co-aligned artifact{{refsrc|artifact.c|137|name=alignment}} that does not hate your current form.{{refsrc|artifact.c|140}} Some [[role]]s have a guaranteed first sacrifice gift,{{refsrc|artifact.c|142}} which is noted below; its alignment will be adjusted to your starting alignment at the beginning of the game if necessary.{{refsrc|artifact.c|63}} Excalibur,{{refsrc|artifact.c|139|name=spfx_nogen}} quest artifacts,<ref name="spfx_nogen"/> and cross-aligned artifacts cannot be gifted.<ref name="alignment"/>
  
Once a co-aligned artifact has already been given, then unaligned ones also become eligible.{{refsrc|artifact.c|112}}
+
Once a co-aligned artifact has already been given, then unaligned ones also become eligible.{{refsrc|artifact.c|138}}
  
 
Lawful gifts:
 
Lawful gifts:
Line 75: Line 69:
 
If the creature you sacrifice is of your own race, you get good effects if you're chaotic and bad effects otherwise.
 
If the creature you sacrifice is of your own race, you get good effects if you're chaotic and bad effects otherwise.
  
;'''If you are chaotic:'''
+
;If you are chaotic<nowiki>:</nowiki>
* You gain five alignment.{{refsrc|pray.c|1219}}
+
:You gain five points of alignment.{{refsrc|pray.c|1219}}
* If you are a [[demon]], you [[exercise]] your [[wisdom]].
+
:If the altar is chaotic, you gain two points of Luck, and if the altar is unaligned, you lose two points of Luck.{{refsrc|pray.c|1197}} Your Luck is unaffected if the altar is cross-aligned (but the altar will be converted as noted in the cross-aligned altars section below).
* If the altar is chaotic, you gain two luck,{{refsrc|pray.c|1197}} and if the altar is unaligned, you lose two luck. Your luck is unaffected if the altar is cross-aligned (but the altar will be converted as noted in the cross-aligned altars section below).
+
;If you are non-chaotic<nowiki>:</nowiki>
 
+
:Your [[wisdom]] is abused unless you are polymorphed into a demon.{{refsrc|pray.c|1173}} ("You'll regret this infamous offense!")
;'''If you are non-chaotic:'''
+
:You lose five points of alignment.{{refsrc|pray.c|1214}}
* Whatever alignment the altar is, you abuse your wisdom.{{refsrc|pray.c|1167}}
+
:Your god's anger increases by three.{{refsrc|pray.c|1215}}
* You lose 5 alignment.
+
:Your Luck decreases by 5.{{refsrc|pray.c|1218}}
* Your god's anger increases by three.
+
:You lose one point of [[wisdom]].{{refsrc|pray.c|1216}} This can be cured with a [[unicorn horn]].
* Your luck decreases by 5.
+
:Outside of [[Gehennom]], your god will punish you as for [[pray]]ing too much (depending on the level of anger).{{refsrc|pray.c|1217}}
* Outside of [[Gehennom]], your god will punish you as for [[pray]]ing too much (depending on the level of anger).{{refsrc|pray.c|1213}}  
+
:If the altar ''is'' chaotic, you'll destroy it and anger any attendant priest.{{refsrc|pray.c|1188}}
* Finally, if the altar ''is'' chaotic, you'll destroy it and anger any attendant priest.{{refsrc|pray.c|1188}}
+
;Whether or not you are chaotic<nowiki>:</nowiki>
* If the altar is lawful or neutral, it will be immediately converted to chaotic &ndash; independently of the hero's alignment (except on the [[Astral Plane]]). This will anger any priests but apparently not suffer the other effects of conversion.{{refsrc|pray.c|1167}}
+
:If the altar is chaotic or unaligned, a demon may be summoned. The demon will be [[peaceful]] if you are chaotic and hostile otherwise. The first two demons will be [[Juiblex]] and [[Yeenoghu]] in any order, followed by [[foocubi]].{{refsrc|pray.c|1203}}
 
+
:If you are polymorphed into a demon, "You find the idea very satisfying."; your [[wisdom]] is exercised.{{refsrc|pray.c|1170}}
Whether or not you are chaotic, if the altar is chaotic or unaligned, a demon may be summoned. The demon will be [[peaceful]] if you are chaotic and hostile otherwise. The first two demons will be [[Juiblex]] and [[Yeenoghu]] in any order, followed by [[foocubi]].{{refsrc|pray.c|1203}}
+
:If the altar is lawful or neutral, it will immediately be converted to chaotic (except on the [[Astral Plane]]),{{refsrc|pray.c|1180}} independent of your alignment; if there is a [[aligned priest|priest]] tending the altar, they will be angered.{{refsrc|pray.c|1181}}
  
 
The check for same race is done before the check for a former pet and ignores the check for age, so same-race corpses are always fit for sacrifice until they rot away completely. This is just about the only time an undead creature is a valid sacrifice.
 
The check for same race is done before the check for a former pet and ignores the check for age, so same-race corpses are always fit for sacrifice until they rot away completely. This is just about the only time an undead creature is a valid sacrifice.
Line 96: Line 90:
  
 
==Sacrificing pets==
 
==Sacrificing pets==
Sacrificing creatures that died while tame will generally cause you to lose three alignment and gain the [[aggravate monster]] [[intrinsic]].{{refsrc|pray.c|1223}} The pet will have a sacrificial value of -1. It proceeds as [[#Ordinary sacrifice|an ordinary sacrifice]]. Former pets that have [[tameness|gone feral]] no longer count as pets, and may be killed and sacrificed as usual.
+
Sacrificing creatures that died while tame{{refsrc|pray.c|1223}} will generally cause you to lose three points of alignment{{refsrc|pray.c|1229}} and gain the [[aggravate monster]] [[intrinsic]].{{refsrc|pray.c|1231}} The pet will have a sacrificial value of -1,{{refsrc|pray.c|1230}} so this will only result in the god of the altar being [[anger|angered]];{{refsrc|pray.c|1335}} the corpse will ''not'' be consumed. Former pets that have [[tameness|gone feral]] no longer count as pets, and may be killed and sacrificed as usual.
  
 
==Cross-aligned altars==
 
==Cross-aligned altars==
 
[[File:NHC-Altar-Conversion.png|thumb|(Level + 2) / (Level + 8)]]
 
[[File:NHC-Altar-Conversion.png|thumb|(Level + 2) / (Level + 8)]]
  
You can convert cross-aligned altars by sacrificing at them if they're not in [[Gehennom]]. If you fail, you will lose 1 [[Luck]] and possibly have monsters sent in to defend the altar. If you succeed then you gain 1 [[Luck]] and the altar becomes coaligned. The chances to convert an altar go up with character level. Converting an altar with a [[aligned priest|priest]] present will cause the priest to attack you.
+
You can convert cross-aligned altars (but not high altars{{refsrc|pray.c|1325}}) by sacrificing at them if they're not unaligned altars in [[Gehennom]].{{refsrc|pray.c|1343}}{{refsrc|pray.c|1346}} If you fail, you will lose 1 [[Luck]]{{refsrc|pray.c|1406}} and abuse [[wisdom]].{{refsrc|pray.c|1407}} If you succeed then you gain 1 [[Luck]]{{refsrc|pray.c|1384}} and the altar becomes coaligned. The chances to convert an altar go up with character level. Converting an altar with a [[aligned priest|priest]] present will cause the priest to attack you.{{refsrc|pray.c|1400}}
 +
 
 +
The probability to convert an altar is (Your level + 2) / (your level + 8).{{fact}}
  
The probability to convert an altar is (YourLevel + 2) / (YourLevel + 8).
+
In any case, minions may be summoned to protect the altar.{{refsrc|pray.c|1398}}{{refsrc|pray.c|1410}}
  
When attempting to convert an altar, you will get the message '''"You sense a conflict between ''<your god>'' and ''<the god of the altar>''."''' A successful conversion will produce the message '''"You feel the power of ''<your god>'' increase."''' A failed one will result in '''"Unluckily, you feel the power of ''<your god>'' decrease."'''
+
When attempting to convert an altar, you will get the message "You sense a conflict between ''<your god>'' and ''<the god of the altar>''." A successful conversion will produce the message "You feel the power of ''<your god>'' increase." A failed one will result in "Unluckily, you feel the power of ''<your god>'' decrease."
  
A sacrifice with negative value, such as a former pet, will not cause an attempted conversion. Instead, it will anger the altar's god, which will actually ''decrease'' your own god's anger by one.{{refsrc|pray.c|1336|comment=negative-value sacrifice will altar the altar's god}} You will still suffer the usual effects of angering a god, including the loss of any divine protection and being smitten by the angry god. The pet corpse is not consumed, so you can cure as much anger as you like.
+
A sacrifice with negative value, such as a former pet, will not cause an attempted conversion. Instead, it will anger the altar's god, which will actually ''decrease'' your own god's anger by one.{{refsrc|pray.c|1336|comment=negative-value sacrifice will anger the altar's god}} You will still suffer the usual effects of angering a god, including the loss of any divine protection and being smitten by the angry god. The pet corpse is not consumed, so you can cure as much anger as you like.
  
Attempting to convert an altar while your alignment is negative may convert your alignment to that of the altar, take away 3 of your luck and increase your prayer timeout to 300 ("You have a sudden sense of a new direction"). If this happens before you have been admitted to the quest, the game will be [[unwinnable]].
+
Attempting to convert an altar while your alignment is negative{{refsrc|pray.c|1346}} may convert your alignment to that of the altar,{{refsrc|pray.c|1357}} take away 3 of your Luck{{refsrc|pray.c|1363}} and increase your prayer timeout by 300{{refsrc|pray.c|1364}} ("You have a sudden sense of a new direction"). This can only be done once per game on a non-unaligned altar;{{refsrc|pray.c|1347}} if this happens before you have been admitted to the quest, the game will be [[unwinnable]].
  
As with coaligned altars, if you get a message saying "'''Nothing happens'''", then the corpse was too old and, indeed, nothing happened.
+
As with coaligned altars, if you get a message saying "Nothing happens", then the corpse was too old and, indeed, nothing happened.
  
 
==Sacrificing unicorns==
 
==Sacrificing unicorns==
 
Sacrificing [[unicorn]]s is complicated because the altar's alignment, your alignment, and the unicorn's alignment all factor into the outcome.{{refsrc|pray.c|1235}} A unicorn's alignment is represented by its color. The white is lawful, grey neutral, and black chaotic. The points to remember are:
 
Sacrificing [[unicorn]]s is complicated because the altar's alignment, your alignment, and the unicorn's alignment all factor into the outcome.{{refsrc|pray.c|1235}} A unicorn's alignment is represented by its color. The white is lawful, grey neutral, and black chaotic. The points to remember are:
  
* Never sacrifice a unicorn on an altar of its own alignment. You lose one point of [[wisdom]] and the altar's god becomes angry, with the [[Prayer#Possible_negative_effects_of_praying|same effect]] as angering that god through prayer.{{refsrc|pray.c|1335|comment=sacrificing a unicorn on an altar of its own alignment angers the respective god}} If the altar is not of your alignment, your god's anger is reduced by one.{{refsrc|pray.c|1088|comment=sacrificing a cross-aligned unicorn on an altar of its alignment pleases your god}}
+
* Never sacrifice a unicorn on an altar of its own alignment. You lose one point of [[wisdom]] and the altar's god becomes angry, with the [[Prayer#Possible negative effects of praying|same effect]] as angering that god through prayer.{{refsrc|pray.c|1335|comment=sacrificing a unicorn on an altar of its own alignment angers the respective god}} If the altar is not of your alignment, your god's anger is reduced by one.{{refsrc|pray.c|1088|comment=sacrificing a cross-aligned unicorn on an altar of its alignment pleases your god}}
 
* Never sacrifice a unicorn of your own alignment. This increases your god's anger by one and acts as above if the altar is also of your alignment. If the altar is cross-aligned, this will set your alignment score to -1, which makes your sacrifice convert ''you'' instead of the altar.
 
* Never sacrifice a unicorn of your own alignment. This increases your god's anger by one and acts as above if the altar is also of your alignment. If the altar is cross-aligned, this will set your alignment score to -1, which makes your sacrifice convert ''you'' instead of the altar.
 
* If you have already been converted once before then an attempted conversion sacrifice will be rejected by the altar's deity (-5 to luck and alignment score, -2 to wisdom) and you will anger and be punished by your current deity.
 
* If you have already been converted once before then an attempted conversion sacrifice will be rejected by the altar's deity (-5 to luck and alignment score, -2 to wisdom) and you will anger and be punished by your current deity.
  
Each time you sacrifice a unicorn of a different alignment on your own altar, you get a +5 boost to your [[alignment_record|alignment]] and the message "You feel appropriately {lawful | neutral | chaotic}", or "You feel you are thoroughly on the right path" if alignment is at maximum.
+
Each time you sacrifice a unicorn of a different alignment on your own altar, you get a +5 boost to your [[alignment record|alignment]] and the message "You feel appropriately {lawful | neutral | chaotic}", or "You feel you are thoroughly on the right path" if alignment is at maximum.
  
 
The rest of the effects are summarized in the following table:
 
The rest of the effects are summarized in the following table:

Revision as of 13:47, 1 June 2013

Sacrifice is a means whereby you can reduce your prayer timeout, increase your luck, and gain powerful artifact weapons. Alternatively, you can also change your alignment by sacrificing to another god when you have negative luck. To sacrifice, you stand on an altar,[1] use the #offer command, and select a fresh corpse from your inventory or one that is lying on the altar. Unsurprisingly, this breaks the atheist conduct. The greater the monster's difficulty, the more your god will appreciate it.

If the corpse is a cockatrice and your hands are bare, you suffer the effects of touching it, even if it wasn't in your inventory.[2]

Further effects depend on the details of the sacrifice.

Ordinary sacrifice

This applies to sacrifices made on your own god's altar that are not of your own race, not a pet, not a unicorn, and not made in the endgame.

If the creature is not an acid blob and is more than 50 turns old or more than 50 turns out of an icebox, it is rejected: "Nothing happens."[3][4] (Acid blobs never expire for sacrifices, although they will eventually rot away.) Otherwise, the sacrifice is accepted and you get "Your sacrifice is consumed in a burst of flame" if neutral or chaotic, and "Your sacrifice is consumed in a flash of light" if lawful.[5] If you are lawful and blind, you will instead get the message "Your sacrifice disappears".[6] If you are hallucinating you get one of the following messages: "Your sacrifice sprouts wings and a propeller and roars away!",[7] "Your sacrifice puffs up, swelling bigger and bigger, and pops!",[8] or "Your sacrifice collapses into a cloud of dancing particles and fades away!"[9]

Creatures have a particular sacrifice value depending generally on their toughness. In some special cases, the value may be negative if the offering displeases your god; see below. Partly eaten corpses normally have their value decreased by roughly the percentage that's been eaten.[10][11] For lawful or neutral characters, undead have an extra point of value,[12] but this is only relevant to wraiths, since other undead corpses are automatically aged too much to sacrifice them.

If your god is angry at you:[13]
Their anger is decreased by 1/8 the value of the sacrifice, or if you're chaotic by 1/12 the value of the sacrifice (chaotic gods are harder to appease).[14][15] The decrease in anger is always rounded down. High-difficulty monsters can be hard to find early in the game, but a black pudding from a sink will work.
If this reduces your god's anger to zero,[16][17][18] you'll receive the message that your god "seems mollified" (if hallucinating, "seems cosmic (not a new fact)"),[19] and your base Luck will be increased to zero if negative.[20]
If anger is reduced but not to zero,[17] your god "seems slightly mollified" ("seems groovy" if hallucinating),[21] and your base Luck will be increased by one point if negative.[22]
If anger has not been reduced at all, "You have a feeling of inadequacy" (if hallucinating, "The gods seem tall").[23]
If your god is not angry at you, but your alignment is negative:[24]
Your alignment is increased by the value of the sacrifice,[25] up to a maximum of 0 alignment[26] or 24 points,[27][15] and "You feel partially absolved."[28]
If your god is not angry and your alignment is positive but your prayer timeout is greater than zero:[29]
Your prayer timeout is decreased by 12.5 times the sacrifice's value if you are lawful or neutral, or 125/6 (about 20.8) times its value if you're chaotic, to a minimum of zero.[30]
If this decreases your prayer timeout to 0,[31][32] then "You have a feeling of reconciliation"[33] (if hallucinating, "Overall, there is a smell of fried onions"[34]) and your base Luck is increased to zero if negative.[35]
If your prayer timeout is not yet zero,[32] "You have a hopeful feeling"[36] (if hallucinating, "You realize the gods are not like you and I"[37]), your base Luck is increased by one if negative,[38] and it is not yet safe to pray.
If none of the above cases applied (i.e. your prayer timeout is zero, your god is not angry and your alignment record is positive):[39]
If your base Luck is nonnegative and you are at least at experience level 3, you may receive a gift.[40]
If you did not receive a gift (or were not eligible for one at all),[41] your base Luck will be increased by about a fifth of the sacrifice value (specifically, 10/48), rounded down.[42][43][15] If your base Luck is still negative after this, it will be set to 0.[44] If your Luck was changed by this, you will see the message "You glimpse a four-leaf clover at your <feet>."[45] ("You think something brushed your <feet>." if blind;[46] "You see crabgrass at your <feet>. A funny thing in a dungeon." if hallucinating and not blind[47]).

None of the possible effects will guarantee that you can safely pray; this is because they only affect base Luck, so a cursed luckstone may still cause your actual Luck to be negative.

Gifts

If your prayer timeout is 0, you have positive alignment, and your god is not angry, you generally have a chance of getting an artifact. Your experience level must be at least 3, and your luck must be nonnegative.[40] If those conditions are met, the chances of your getting an artifact are 1 / (10 + 2 × Number of existing artifacts × Number of gifts granted by your god).[48]

If you receive an artifact, you get the message "An object appears at your feet!",[49] and your god will tell you to "use my gift wisely!"[50] Your wisdom is exercised,[51] your prayer timeout is set to rnz(300 + 50 × Number of existing artifacts),[52] and your skill in using the artifact's type of weapon becomes unrestricted.[53] The artifact will also be made erodeproof[54] and set to at least +0;[55] it will not be cursed.[56]

Your first gift will be a co-aligned artifact[57] that does not hate your current form.[58] Some roles have a guaranteed first sacrifice gift,[59] which is noted below; its alignment will be adjusted to your starting alignment at the beginning of the game if necessary.[60] Excalibur,[61] quest artifacts,[61] and cross-aligned artifacts cannot be gifted.[57]

Once a co-aligned artifact has already been given, then unaligned ones also become eligible.[62]

Lawful gifts: Demonbane, Grayswandir, Snickersnee (Samurai), Sunsword

Neutral gifts: Cleaver (Barbarian), Giantslayer, Magicbane (Wizard), Mjollnir (Valkyrie), Vorpal Blade

Chaotic gifts: Grimtooth, Orcrist, Sting, Stormbringer

Unaligned gifts: Dragonbane, Fire Brand, Frost Brand, Ogresmasher, Trollsbane, Werebane

Sacrificing creatures of own race

If the creature you sacrifice is of your own race, you get good effects if you're chaotic and bad effects otherwise.

If you are chaotic:
You gain five points of alignment.[63]
If the altar is chaotic, you gain two points of Luck, and if the altar is unaligned, you lose two points of Luck.[64] Your Luck is unaffected if the altar is cross-aligned (but the altar will be converted as noted in the cross-aligned altars section below).
If you are non-chaotic:
Your wisdom is abused unless you are polymorphed into a demon.[65] ("You'll regret this infamous offense!")
You lose five points of alignment.[66]
Your god's anger increases by three.[67]
Your Luck decreases by 5.[68]
You lose one point of wisdom.[69] This can be cured with a unicorn horn.
Outside of Gehennom, your god will punish you as for praying too much (depending on the level of anger).[70]
If the altar is chaotic, you'll destroy it and anger any attendant priest.[71]
Whether or not you are chaotic:
If the altar is chaotic or unaligned, a demon may be summoned. The demon will be peaceful if you are chaotic and hostile otherwise. The first two demons will be Juiblex and Yeenoghu in any order, followed by foocubi.[72]
If you are polymorphed into a demon, "You find the idea very satisfying."; your wisdom is exercised.[73]
If the altar is lawful or neutral, it will immediately be converted to chaotic (except on the Astral Plane),[74] independent of your alignment; if there is a priest tending the altar, they will be angered.[75]

The check for same race is done before the check for a former pet and ignores the check for age, so same-race corpses are always fit for sacrifice until they rot away completely. This is just about the only time an undead creature is a valid sacrifice.

Keep in mind that werecreatures are considered human, so sacrificing them if you're human will have the consequences described above.

Sacrificing pets

Sacrificing creatures that died while tame[76] will generally cause you to lose three points of alignment[77] and gain the aggravate monster intrinsic.[78] The pet will have a sacrificial value of -1,[79] so this will only result in the god of the altar being angered;[80] the corpse will not be consumed. Former pets that have gone feral no longer count as pets, and may be killed and sacrificed as usual.

Cross-aligned altars

(Level + 2) / (Level + 8)

You can convert cross-aligned altars (but not high altars[81]) by sacrificing at them if they're not unaligned altars in Gehennom.[82][83] If you fail, you will lose 1 Luck[84] and abuse wisdom.[85] If you succeed then you gain 1 Luck[86] and the altar becomes coaligned. The chances to convert an altar go up with character level. Converting an altar with a priest present will cause the priest to attack you.[87]

The probability to convert an altar is (Your level + 2) / (your level + 8).[citation needed]

In any case, minions may be summoned to protect the altar.[88][89]

When attempting to convert an altar, you will get the message "You sense a conflict between <your god> and <the god of the altar>." A successful conversion will produce the message "You feel the power of <your god> increase." A failed one will result in "Unluckily, you feel the power of <your god> decrease."

A sacrifice with negative value, such as a former pet, will not cause an attempted conversion. Instead, it will anger the altar's god, which will actually decrease your own god's anger by one.[90] You will still suffer the usual effects of angering a god, including the loss of any divine protection and being smitten by the angry god. The pet corpse is not consumed, so you can cure as much anger as you like.

Attempting to convert an altar while your alignment is negative[91] may convert your alignment to that of the altar,[92] take away 3 of your Luck[93] and increase your prayer timeout by 300[94] ("You have a sudden sense of a new direction"). This can only be done once per game on a non-unaligned altar;[95] if this happens before you have been admitted to the quest, the game will be unwinnable.

As with coaligned altars, if you get a message saying "Nothing happens", then the corpse was too old and, indeed, nothing happened.

Sacrificing unicorns

Sacrificing unicorns is complicated because the altar's alignment, your alignment, and the unicorn's alignment all factor into the outcome.[96] A unicorn's alignment is represented by its color. The white is lawful, grey neutral, and black chaotic. The points to remember are:

  • Never sacrifice a unicorn on an altar of its own alignment. You lose one point of wisdom and the altar's god becomes angry, with the same effect as angering that god through prayer.[97] If the altar is not of your alignment, your god's anger is reduced by one.[98]
  • Never sacrifice a unicorn of your own alignment. This increases your god's anger by one and acts as above if the altar is also of your alignment. If the altar is cross-aligned, this will set your alignment score to -1, which makes your sacrifice convert you instead of the altar.
  • If you have already been converted once before then an attempted conversion sacrifice will be rejected by the altar's deity (-5 to luck and alignment score, -2 to wisdom) and you will anger and be punished by your current deity.

Each time you sacrifice a unicorn of a different alignment on your own altar, you get a +5 boost to your alignment and the message "You feel appropriately {lawful | neutral | chaotic}", or "You feel you are thoroughly on the right path" if alignment is at maximum.

The rest of the effects are summarized in the following table:

You Unicorn Altar Effect
Lawful.pngLawful Lawful.pngWhite Lawful.pngLawful Bad
Lawful.pngLawful Lawful.pngWhite Neutral.pngNeutral You become neutral
Lawful.pngLawful Lawful.pngWhite Chaotic.pngChaotic You become chaotic
Lawful.pngLawful Neutral.pngGrey Lawful.pngLawful Good
Lawful.pngLawful Neutral.pngGrey Neutral.pngNeutral Bad
Lawful.pngLawful Neutral.pngGrey Chaotic.pngChaotic Attempt to convert altar
Lawful.pngLawful Chaotic.pngBlack Lawful.pngLawful Good
Lawful.pngLawful Chaotic.pngBlack Neutral.pngNeutral Attempt to convert altar
Lawful.pngLawful Chaotic.pngBlack Chaotic.pngChaotic Bad
Neutral.pngNeutral Lawful.pngWhite Lawful.pngLawful Bad
Neutral.pngNeutral Lawful.pngWhite Neutral.pngNeutral Good
Neutral.pngNeutral Lawful.pngWhite Chaotic.pngChaotic Attempt to convert altar
Neutral.pngNeutral Neutral.pngGrey Lawful.pngLawful You become lawful
Neutral.pngNeutral Neutral.pngGrey Neutral.pngNeutral Bad
Neutral.pngNeutral Neutral.pngGrey Chaotic.pngChaotic You become chaotic
Neutral.pngNeutral Chaotic.pngBlack Lawful.pngLawful Attempt to convert altar
Neutral.pngNeutral Chaotic.pngBlack Neutral.pngNeutral Good
Neutral.pngNeutral Chaotic.pngBlack Chaotic.pngChaotic Bad
Chaotic.pngChaotic Lawful.pngWhite Lawful.pngLawful Bad
Chaotic.pngChaotic Lawful.pngWhite Neutral.pngNeutral Attempt to convert altar
Chaotic.pngChaotic Lawful.pngWhite Chaotic.pngChaotic Good
Chaotic.pngChaotic Neutral.pngGrey Lawful.pngLawful Attempt to convert altar
Chaotic.pngChaotic Neutral.pngGrey Neutral.pngNeutral Bad
Chaotic.pngChaotic Neutral.pngGrey Chaotic.pngChaotic Good
Chaotic.pngChaotic Chaotic.pngBlack Lawful.pngLawful You become lawful
Chaotic.pngChaotic Chaotic.pngBlack Neutral.pngNeutral You become neutral
Chaotic.pngChaotic Chaotic.pngBlack Chaotic.pngChaotic Bad

Note: You will lose any intrinsic protection whenever your alignment changes.

Messages

You have a hopeful feeling.
You may not pray yet because your prayer timeout hasn't expired.
You have a feeling of reconciliation.
Your sacrifice reduced your prayer timeout to zero. Unless you have a cursed luckstone, you may pray.
An object appears at your feet!
You may not pray because you received a gift and your prayer timeout has been increased.
You have a feeling of inadequacy.
You may not pray. Your god is still angry at you; your sacrifice did nothing to reduce his anger.
<Deity> seems slightly mollified.
You may not pray. Your god's anger has been reduced but it is not yet zero.
<Deity> seems mollified.
Your god's anger has been reduced to zero. Sacrifice again to to find if it's safe to pray.
You feel partially absolved.
You may not pray because your alignment was negative, and has been increased by the level of the corpse, to a maximum of zero. Sacrifice again to find if it's safe to pray.
You glimpse a four-leaf clover at your feet.
Your base Luck was increased and is at least 0. Unless you have a cursed luckstone, you may pray.
You think something brushed your foot.
As above, while blind..
You see crabgrass at your feet. A funny thing in a dungeon.
As above, while hallucinating.
Your sacrifice is consumed...
If not followed by another message, you may pray.
You have a sudden sense of a new direction.
You have been permanently converted to a new alignment.

SLASH'EM

In SLASH'EM, in addition to the usual benefits of sacrifice, you may have wielded and worn items blessed by your god, or minions granted as pets. Additionally, due to the many new artifacts in SLASH'EM, there is much more variation in the types of artifacts you may receive.

Sacrifice gifts in SLASH'EM

Lawful gifts: Demonbane, Firewall (Flame mage 1st gift), Grayswandir, Holy Spear of Light, Orcrist, Quick Blade, Reaper (Yeoman 2nd gift), Skullcrusher (Caveman 1st gift), Snickersnee (Samurai 1st gift), Sting, Sunsword, Sword of Justice (Yeoman 1st gift)

Neutral gifts: Cleaver (Barbarian 1st gift), Deluder (Wizard 2nd gift), Disrupter (Priest 1st gift), Gauntlets of Defense (Monk 1st gift), Giantkiller, Luckblade, Magicbane (Wizard 1st gift), Mirrorbright (Healer 1st gift), Mjollnir (Valkyrie 1st gift), Sword of Balance, Vorpal Blade, Whisperfeet (Tourist 1st gift)

Chaotic gifts: Bat from Hell (Rogue 1st gift), Deathsword (Barbarian 2nd gift), Deep Freeze (Ice Mage 1st gift), Doomblade, Elfrist, Grimtooth, Hellfire, Houchou, Plague, Serpent's Tongue (Necromancer 1st gift), Stormbringer

Unaligned gifts: Dragonbane, Fire Brand, Frost Brand, Ogresmasher, Trollsbane, Wallet of Perseus, Werebane

References

  1. pray.c in NetHack 3.4.3, line 1127
  2. pray.c in NetHack 3.4.3, line 1157
  3. pray.c in NetHack 3.4.3, line 1160
  4. pray.c in NetHack 3.4.3, line 1319
  5. pray.c in NetHack 3.4.3, line 1112
  6. pray.c in NetHack 3.4.3, line 1110
  7. pray.c in NetHack 3.4.3, line 1101
  8. pray.c in NetHack 3.4.3, line 1104
  9. pray.c in NetHack 3.4.3, line 1107
  10. pray.c in NetHack 3.4.3, line 1164
  11. eaten_stat in eat.c
  12. pray.c in NetHack 3.4.3, line 1232
  13. pray.c in NetHack 3.4.3, line 1418
  14. pray.c in NetHack 3.4.3, line 1420
  15. 15.0 15.1 15.2 pray.c in NetHack 3.4.3, line 1147
  16. pray.c in NetHack 3.4.3, line 1428
  17. 17.0 17.1 pray.c in NetHack 3.4.3, line 1423
  18. pray.c in NetHack 3.4.3, line 1421
  19. pray.c in NetHack 3.4.3, line 1430
  20. pray.c in NetHack 3.4.3, line 1432
  21. pray.c in NetHack 3.4.3, line 1425
  22. pray.c in NetHack 3.4.3, line 1427
  23. pray.c in NetHack 3.4.3, line 1434
  24. pray.c in NetHack 3.4.3, line 1439: ugod_is_angry tests for negative alignment record
  25. pray.c in NetHack 3.4.3, line 1442
  26. pray.c in NetHack 3.4.3, line 1441
  27. pray.c in NetHack 3.4.3, line 1440
  28. pray.c in NetHack 3.4.3, line 1443
  29. pray.c in NetHack 3.4.3, line 1444
  30. pray.c in NetHack 3.4.3, line 1446
  31. pray.c in NetHack 3.4.3, line 1455
  32. 32.0 32.1 pray.c in NetHack 3.4.3, line 1449
  33. pray.c in NetHack 3.4.3, line 1459
  34. pray.c in NetHack 3.4.3, line 1457
  35. pray.c in NetHack 3.4.3, line 1460
  36. pray.c in NetHack 3.4.3, line 1453
  37. pray.c in NetHack 3.4.3, line 1451
  38. pray.c in NetHack 3.4.3, line 1454
  39. pray.c in NetHack 3.4.3, line 1463
  40. 40.0 40.1 pray.c in NetHack 3.4.3, line 1469
  41. pray.c in NetHack 3.4.3, line 1485
  42. pray.c in NetHack 3.4.3, line 1488
  43. you.h in NetHack 3.4.3, line 326
  44. pray.c in NetHack 3.4.3, line 1489
  45. pray.c in NetHack 3.4.3, line 1495
  46. pray.c in NetHack 3.4.3, line 1492
  47. pray.c in NetHack 3.4.3, line 1494
  48. pray.c in NetHack 3.4.3, line 1470
  49. pray.c in NetHack 3.4.3, line 1477
  50. pray.c in NetHack 3.4.3, line 1478
  51. pray.c in NetHack 3.4.3, line 1481
  52. pray.c in NetHack 3.4.3, line 1480
  53. pray.c in NetHack 3.4.3, line 1483
  54. pray.c in NetHack 3.4.3, line 1475
  55. pray.c in NetHack 3.4.3, line 1473
  56. pray.c in NetHack 3.4.3, line 1474
  57. 57.0 57.1 artifact.c in NetHack 3.4.3, line 137
  58. artifact.c in NetHack 3.4.3, line 140
  59. artifact.c in NetHack 3.4.3, line 142
  60. artifact.c in NetHack 3.4.3, line 63
  61. 61.0 61.1 artifact.c in NetHack 3.4.3, line 139
  62. artifact.c in NetHack 3.4.3, line 138
  63. pray.c in NetHack 3.4.3, line 1219
  64. pray.c in NetHack 3.4.3, line 1197
  65. pray.c in NetHack 3.4.3, line 1173
  66. pray.c in NetHack 3.4.3, line 1214
  67. pray.c in NetHack 3.4.3, line 1215
  68. pray.c in NetHack 3.4.3, line 1218
  69. pray.c in NetHack 3.4.3, line 1216
  70. pray.c in NetHack 3.4.3, line 1217
  71. pray.c in NetHack 3.4.3, line 1188
  72. pray.c in NetHack 3.4.3, line 1203
  73. pray.c in NetHack 3.4.3, line 1170
  74. pray.c in NetHack 3.4.3, line 1180
  75. pray.c in NetHack 3.4.3, line 1181
  76. pray.c in NetHack 3.4.3, line 1223
  77. pray.c in NetHack 3.4.3, line 1229
  78. pray.c in NetHack 3.4.3, line 1231
  79. pray.c in NetHack 3.4.3, line 1230
  80. pray.c in NetHack 3.4.3, line 1335
  81. pray.c in NetHack 3.4.3, line 1325
  82. pray.c in NetHack 3.4.3, line 1343
  83. pray.c in NetHack 3.4.3, line 1346
  84. pray.c in NetHack 3.4.3, line 1406
  85. pray.c in NetHack 3.4.3, line 1407
  86. pray.c in NetHack 3.4.3, line 1384
  87. pray.c in NetHack 3.4.3, line 1400
  88. pray.c in NetHack 3.4.3, line 1398
  89. pray.c in NetHack 3.4.3, line 1410
  90. pray.c in NetHack 3.4.3, line 1336: negative-value sacrifice will anger the altar's god
  91. pray.c in NetHack 3.4.3, line 1346
  92. pray.c in NetHack 3.4.3, line 1357
  93. pray.c in NetHack 3.4.3, line 1363
  94. pray.c in NetHack 3.4.3, line 1364
  95. pray.c in NetHack 3.4.3, line 1347
  96. pray.c in NetHack 3.4.3, line 1235
  97. pray.c in NetHack 3.4.3, line 1335: sacrificing a unicorn on an altar of its own alignment angers the respective god
  98. pray.c in NetHack 3.4.3, line 1088: sacrificing a cross-aligned unicorn on an altar of its alignment pleases your god