Difference between revisions of "Doppelganger (starting race)"

From NetHackWiki
Jump to navigation Jump to search
(Feeling like a new doppelganger)
m (Before gaining polymorph control: word choice)
 
(37 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{todo|This article needs source references.}}
+
{{todo|Source code references (currently being worked on).}}
'''Doppelgangers''' are a new race added in [[SLASH'EM]], different from other races in that they have the intrinsic ability to [[polymorph|change form]] at will.
+
'''Doppelgangers''' are a starting race that appear in [[SLASH'EM]], [[SlashTHEM]] and [[Hack'EM]]. Their primary trait is the ability to [[polymorph|change form]] at will, much like monster [[doppleganger]]s. According to the SLASH'EM guidebook:
 +
{{guidebook|Doppelgangers have the enviable ability to change form at will, at a cost of some mystic energy (mana), although what they become may be a bit of a surprise, even for them.}}
  
== Racial benefits and restrictions ==
+
==Racial benefits and restrictions==
Doppelgangers can polymorph into any of the permited monsters with the extended command #youpoly consuming some power; however, until they get polymorph control the attempt may end in an undesired monster. They are still considered human for eating and sacrificial purposes, so you will be considered a cannibal for eating a human.
+
Doppelgangers can polymorph into any permitted monster with the [[extended command]] [[#Polyself|#youpoly]] at the cost of 20 [[power]] - however, a given transformation may fail depending on how much more powerful the desired polyform is. They also gain an [[AC]] bonus for not wearing any [[body armor]] - this bonus is equal to their current level divided by four (with a minimum of 1), and stacks with other AC bonuses, e.g. from their role or dexterity.<ref>[https://github.com/k21971/SlashEM/blob/master/src/do_wear.c#L1809 SLASH'EM do_wear.c, line 1809]</ref><ref>[https://github.com/Soviet5lo/SlashTHEM/blob/v0.9.6/src/do_wear.c#L2035 SlashTHEM do_wear.c, line 1809]</ref> They are still considered human for purposes of determining [[cannibalism]] and same-race [[sacrifice]].
  
Doppelgangers can be either [[neutral]] or [[chaotic]]. They can be any role except [[samurai]], [[knight]] and [[yeoman]]. From an [[attribute]] perspective, at their maximum they have high strength and all other stats except charisma, which strangely caps at 15 (even lower than that of [[orc (starting race)|orcs]]). The low maximum charisma is of little concern, as the player can simply polymorph into a [[foocubus]] or [[nymph]] whenever high charisma is needed – both are guaranteed 18 charisma and are easy to polymorph into due to their low base levels. The following table outlines their maximum (unaided) attribute levels. However to make up for their excellent combat stats doppelgangers are restricted in two-weapon combat.
+
Doppelgangers' [[attribute]] caps combine the best of all other starting races, save for [[charisma]]: their [[strength]] caps at 18/**, while their charisma is capped at 15 (even lower than that of [[orc (starting race)|orcs]]), and the rest of their stats cap at 20. Low charisma is of little concern in practice - doppelgangers in need of charisma can simply polymorph into a [[foocubus]] or [[nymph]], which set charisma to 18 and have relatively low base levels. More pertinently, doppelgangers are restricted in two-weapon combat as a tradeoff for their excellent stats and abilities, and reliance on polyself [[#Feeling like a new doppelganger|can potentially hamper attribute growth]].
 +
 
 +
The following table outlines their base form's maximum attribute levels:
  
 
{|class="prettytable"
 
{|class="prettytable"
Line 25: Line 28:
 
|}
 
|}
  
==Roles==
+
==Intrinsics and techniques==
The doppelgangers' high stats and useful ability to polymorph makes it an excellent choice for any role.
+
In SLASH'EM, doppelgangers gain intrinsics and techniques at the following levels:<ref>[https://github.com/k21971/SlashEM/blob/master/src/attrib.c#L125 SLASH'EM attrib.c, line 125]</ref><ref>[https://github.com/k21971/SlashEM/blob/master/src/tech.c#L163 SLASH'EM tech.c, line 163]</ref>
 
 
Physical roles benefit greatly from the doppelgangers' high strength.
 
  
*[[Monk]]s benefit greatly from the doppelgangers' high stats and their ability to polymorph.
+
* XL 1: [[liquid leap]]
*[[Undead slayer]]s benefit greatly from the high strength, however they are unable to polymorph into undead receiving penalties.
+
* XL 1: Polymorph at will
 +
* XL 9: [[polymorph control]]
  
Magic roles are not a bad option either since the high constitution makes them more durable than the normal. Not to mention, their max unaided int/wis of 20, which is as good as elves.
+
In SlashTHEM, polymorph control is instead gained at experience level 25 - all other techniques and intrinsics remain unchanged.<ref>[https://github.com/Soviet5lo/SlashTHEM/blob/develop/src/attrib.c#L248 SlashTHEM attrib.c, line 248]</ref><ref>[https://github.com/Soviet5lo/SlashTHEM/blob/develop/src/tech.c#L260 SlashTHEM tech.c, line 260]</ref>
  
*[[Healer]]s and [[priest]]s benefit greatly from doppelgangers' high constitution making them better fighters and their Wisdom is good enough to cast spells effectively.
+
==Roles==
*[[Necromancer]] and [[wizard]]s enjoy the high strength and constitution, which are way better than elves would have with the same int/wis of 20.
+
Doppelgangers can be either [[neutral]] or [[chaotic]], and can be played as any role compatible with those alignments.  
  
 
==Polyself==
 
==Polyself==
There are a few conditions which must be satisfied before you can #youpoly. Obviously, you must not be wearing an [[amulet of unchanging]]. If you are in your normal doppelganger form but have less than 20 energy, you won't be able to polymorph. ([[Flame mage]]s, [[ice mage]]s and [[lycanthrope (starting race)|lycanthropes]] have different requirements. For example, flame mages can polymorph into a red dragon for free if they are wearing red dragon scale mail.)
+
{{main|Polyself}}
 +
For Doppelgangers, the #youpoly command can be used at any time as long as you have at least 20 energy and some nutrition to spare. If in your base form, you will be prompted for the type of monster you wish to polymorph into - if already polymorphed, you will return to doppelganger form without consuming any energy or nutrition. Successfully changing form uses up 20 energy plus an additional 5 energy points for each level of your new form - if you lack the energy for this, the excess is instead made up with nutrition points. A doppelganger that self-polymorphs will automatically remove and drop any body armor that would otherwise be destroyed in the process, unless they are cursed or beneath a cursed piece of armor.
  
If you use the #youpoly command while polymorphed, you will return to doppelganger form. This does not consume any energy or nutrition. Flame mages and ice mages can also do this, but lycanthropes need energy to rehumanize.
+
The chance of being able to successfully polymorph into a given form is dependent on the difference between your [[experience level]] and the base level of the polyform - the higher the difference, the less likely you are to transform into that specific form, with the probability of failure calculated as follows:
  
Otherwise, you will be prompted for the type of monster you wish to polymorph into. Doppelgangers gain intrinsic polymorph control at level 9. The prompt is ''Become what kind of monster?'' if you have polymorph control, and ''Attempt to become what kind of monster?'' otherwise.
+
<math>\frac{\text{Monster level} - \text{Your level}}{5}</math>
  
===What you cannot polymorph into===
+
If you have [[polymorph control]], you have [[eat]]en the [[corpse]] or [[tin]] of your chosen monster, or the above equation would yield a result of 0 or less, you have a {{frac|19|20}} chance of transforming successfully and a {{frac|20}} chance that you "feel like a new doppelganger" and re-roll your stats.  
As in vanilla, you will never be permitted to polymorph into any of the following monsters. If you select any of them (or something that doesn't exist), you'll have another chance to choose a monster to polymorph into, up to five tries.
 
  
*Unique named monsters
+
Failure will instead transform you into a random monster or else cause you to re-roll your stats, and you will still remove and drop body armor as usual where applicable. Dopplegangers cannot polymorph into any restricted monsters, and attempting to do so (or else selecting a non-existent form) will prompt you to select another form up to five times.
*High-powered angelic beings (movanic devas, monadic devas, astral devas, Angels, ki-rin, Archons, Planetars and Solars).
 
*Humans, including werecreatures but not Keystone Kops
 
*Valid player races: doppelgangers, drow, dwarves, elves, gnomes, hobbits, humans, orcs and vampires. This rule only bans the precise monsters mentioned. Others of the same species, like woodland-elves and dwarf kings, are OK to polymorph into. You can choose to polymorph into your own race ("human" or "doppelganger") – this guarantees feeling like a new doppelganger.
 
*Ghosts, shadows and shades
 
*Water demons
 
*Djinn
 
*Kraken
 
*Chameleons and sandestins
 
*Nazgul
 
*Erinys
 
*All types of gnoll
 
  
Undead slayers' gods will not allow them to change into an undead monster. If they have polymorph control, the attempt was clearly deliberate and they take an alignment penalty of -5 and abuse their wisdom. If it was a successful attempt by an inexperienced doppelganger, there's no penalty, but not much point either since it won't work.
+
You will remain in your polymorphed form for 500-999 turns, multiplied by your level divided by your new form's level - this is multiplied by 2 if you changed into a monster you have eaten. As with any other polymorph, you can remain in that form indefinitely by wearing an [[amulet of unchanging]]. While polymorphed, you gain that form's intrinsics and other properties - e.g., polymorphing into a [[strong]] monster sets your strength to 18/**, and polymorphing into a monster resistant to a status ailment you have ([[stoning]], [[sliming]], or [[illness]]) will cure that ailment. You still gain experience and levels as normal and can obtain intrinsics for your base form while polymorphed.
  
Even if the monster you've chosen is OK to polymorph into, it may be too powerful for you to take its form yet. If you have polymorph control, or have eaten the monster, there is no problem - you have a 1/20 chance of feeling like a new doppelganger, and otherwise will become the monster you want to become. Otherwise, the probability that you will take the form you want is dependent on the monster's level and your own. If you fail, you will turn into a random monster (or feel like a new doppelganger) instead. The probability of failure is:
+
A polymorphed doppleganger passively restores HP for that polyform as any other monster would; however, while at maximum HP, your base form's HP will regenerate as normal instead, with the usual adjustments for [[regeneration]] and [[healthstone]]s. Changed attributes are temporary, and any changes to those temporary attributes will be lost when you return to doppelganger form - you cannot exercise while polymorphed, and any exercise counter checks that occur after polymorphing only affect your temporary attributes rather than your base ones.
  
<math>\frac{\text{Monster level} - \text{Your level}}{5}</math>
+
===Feeling like a new doppelganger===
 +
Doppelgangers do not experience the typical effects of polymorphing into a new version of yourself - most critically, your level and hit points remain unchanged, preventing abuse and/or undue level loss.
  
===Effects of polymorphing===
+
When transforming into a "new" doppleganger, your current peak strength, [[dexterity]], [[constitution]] and [[charisma]] are adjusted to within two points of their current value. If any changed attribute was previously below its peak, the new attribute will be adjusted in proportion to that peak - e.g., if your strength was 15 (max 16), and your peak strength went up to 18, your new strength would be 18 * 15/16. You also have a {{frac|10}} chance of changing genders.
When you successfully use the #youpoly command as a doppelganger, you use 20 energy points. If you actually changed form, as opposed to feeling like a new doppelganger, you use an additional 5 energy points per level of your new form. If you don't have enough energy for this, the excess is made up with nutrition points.
 
If you are a doppelganger or lycanthrope, you will drop your body armor, cloak and shirt rather than breaking out of them, unless they are cursed or beneath a cursed piece of armor.
 
  
Polymorphing into a strong monster sets your strength to 18/** while you are polymorphed. Polymorphing into a stoning-resistant monster cures stoning, polymorphing into a sickness-resistant monster cures sickness, and polymorphing into a fire elemental, fire vortex or green slime cures sliming.
+
Extremely low hit points and energy are healed, and your nutrition is set to a random value between 500 and 999; sickness and stoning are cured, and the sliming process is not aborted, but instead reset to the beginning. You will always have a minimum of 10 HP and max HP after the polymorph, and your current and maximum power will have a minimum equal to your experience level.
  
When you are polymorphed, your physical stats are temporary. You cannot exercise or abuse stats{{fact}} other than wisdom while polymorphed, and any changes to your stats will be lost when you return to doppelganger form.
+
===Role-specific rules===
 +
<!--Need someone to go in-depth on this-->
 +
Various roles have slightly different requirements for using the #youpoly command:
  
Changes to your [[intelligence]] and [[wisdom]] are also lost when you return, and if the exercise counter is checked leading to a message like "You feel strong! You must have been exercising" while you're polymorphed, only your polymorphed stats change.
+
* Starting from experience level 7, Doppelganger [[Flame Mage]]s and [[Ice Mage]]s that #youpoly will be prompted to [[Draconic ritual|"transform into your draconic form"]], which turns them into a red or white [[dragon]] respectively. This role's special ability overrides their previous polymorphing capability, which is often considered to be a bug.{{refsrc|polyself.c|1671|version=SLASH'EM 0.0.7E7F2}}{{refsrc|polyself.c|1743|version=SLASH'EM 0.0.7E7F2}}
 +
* Doppelganger Lycanthropes need to have energy available in order to rehumanize, unlike other Doppelganger roles.
 +
* Doppelganger Undead Slayers are prevented from changing into an undead monster, which simply fails - additionally, if you actively attempt to do so while having polymorph control, you also take a -5 penalty to your [[alignment record]] and abuse wisdom.
  
===Unpolymorphing===
+
===Restrictions===
 +
The following forms are unavailable to all doppelgangers, with most of the restrictions and their exceptions being the same as in vanilla:
  
You will remain in your polymorphed form for 500-999 turns, multiplied by your level divided by your new form's level, and multiplied by 2 if you are a doppelganger and have changed into a monster you've eaten. You can prolong this time indefinitely by wearing an [[amulet of unchanging]].
+
* Any unique named monster.
 +
* [[Angelic being]]s.
 +
* [[Human (monster attribute)|Humans]], including werecreatures - this does ''not'' include [[Keystone Kop (monster class)|Keystone Kops]], since polymorph and most relevant checks rely on <code>[[S_HUMAN]]</code> rather than the human monster attribute.
 +
** Selecting "human" or "doppelganger" specifically counts as polymorphing into your own race, and thus guarantees feeling like a new doppelganger.
 +
* [[Chameleon]]s and [[sandestin]]s.
 +
* Any ''specific'' monster that corresponds to a valid player race - e.g., [[drow]], [[Dwarf (monster)|dwarf]], [[Elf (monster)|elf]], [[Gnome (monster)|gnome]], [[vampire]], etc. Keep in mind that that their stronger forms (e.g. [[Elvenking]]s, [[vampire lord]]s, etc.) are still valid choices.
 +
* [[Ghost]]s, [[shadow]]s and [[shade]]s.
 +
* [[Water demon]]s.
 +
* [[Djinn]].
 +
* [[Kraken]].
 +
* Monsters that are generated in limited numbers (i.e. [[Nazgul]] and [[erinys]]).
 +
* All types of [[gnoll]].
  
If you run out of hit points while polymorphed, you will change back to your normal form (unless you have the unchanging intrinsic, of course). However, if you die in any other way (e.g. turning to stone or being hit by a death ray), it will be permanent.
+
===Unpolymorphing===
 
+
You will revet back to your base form once your polymorph timer expires, and you can also #youpoly at any time while polymorphed to revert back to your base form - you will retain as many hit points as you had prior to polymorphing, barring certain actions that alter your base form's HP (e.g, eating cursed [[royal jelly]]). When reverting back due to a polyform's timer expiring, the game rolls against your constitution - failing this roll causes you to lose half your base form's current HP.
If you revert to your normal form by the #youpoly command or because your polymorph time ran out, you will come back with at least as many hit points as you had before you polymorphed (barring a few obscure actions like eating cursed royal jelly which knock down your real HP even though you are polymorphed). The way natural healing seems to work while polymorphed is that if your polymorphed form is at below max HP, it will heal, and if it is at max HP, your real doppelganger HP will heal, all at the normal rate as affected by regeneration and healthstones.
 
  
However, if you revert because your polymorphed form died, you lose half your real HP. Non-doppelgangers may also lose half their real HP if they fail a constitution check when their polymorph time runs out.
+
If you die of hit point loss while polymorphed and you do not have unchanging, you will change back to your normal form and lose half your HP. However, if you die in any other way (e.g. stoning or being hit by a death ray), it will be permanent. If your polymorphed form was killed by a monster or explosion, you may also have a number of HP equal to your polymorphed form's level deducted from both your current and maximum HP. This penalty will be extracted every time if you have polymorph control, and {{frac|3}} of the time if you do not.
  
If your polymorphed form was killed by a monster or explosion, you may also have a number of HP equal to your polymorphed form's level deducted from both your current and maximum HP. This penalty will be extracted every time if you have polymorph control and 1/3 of the time if you do not.
+
==Strategy==
 +
The doppelgangers' high stats and useful ability to polymorph makes it an excellent choice for any role in either variant, since they often get the most out of that role's typical attribute distribution. Physical roles such as the [[Monk]] and [[Undead Slayer]] benefit greatly from the doppelgangers' high strength; magic-using roles such as [[Healer]]s, [[Priest]]s, [[Wizard]]s, and [[Necromancer]]s enjoy the high natural power and casting stats that the doppelganger offers, as well as the durability and better combat ability that can come with high physical stats.
  
===Feeling like a new doppelganger===
+
However, the "jack of all trades" attribute maximums can also lead to doppelgangers suffering more from the lower attribute rolls - rerolling by transforming into a new doppelganger is a very limited "solution", and can result in even lower stats for those attributes. A skilled doppelganger will need to put their shapeshifting to use to compensate in these cases, and will also need to keep a close eye on their power, especially if casting regularly. Furthermore, a doppelganger must consider their defenses, e.g. employing a high-AC form with full armor coverage versus one with lesser armor, but a higher base AC augmented by racial and role bonuses.
  
If you are a doppelganger, you will not experience all the typical effects of polymorphing into a new version of yourself. For example, your level and hit points will not change, because if they did, then repeatedly polymorphing into a human would be abusive.
+
Finally, survival will hinge on learning the ideal timings and scenarios for #youpoly. Over-reliance on polyforms is generally perilous: simply polymorphing to have an "extra life" can leave you thoroughly weakened if you are killed in that form, and failed polymorphs that reroll your stats or leave you in a much slower or weaker form in the midst of a fight can be deadly. As mentioned in [[#Polyself|the "Polyself" section above]], constant polymorphing can and often will inhibit the exercise and growth of your actual attributes, in turn possibly resulting in much rougher late-game performance. Doppelgangers should select their polyforms carefully, and may need to make additional role-specific considerations - a doppelganger [[Warrior]] or [[Valkyrie]] might tend towards polyforms with high speed or hit dice to complement their strength, while [[Archeologists]] and other 'fragile' roles that are already fast may want a form that is durable, strong and/or capable of hindering foes. Certain forms can also be used to obtain various pets that can serve as aid in battles.
Here's what will happen. There is a 1/10 chance that you will change sex. All your maximum stats, except for intelligence and wisdom, will change by a random amount ranging from -2 to +2, and your current stats will be adjusted in proportion to your max stats. E.g. if your strength was 15 (max 16), and your max strength went up to 18, your new strength would be 18*15/16. You will no longer be hungry (your nutrition points will be set to a random value between 500 and 999). Sickness and stoning will be cured. Sliming will not be cured, but the sliming process will be restarted from the beginning.
 
 
 
Extremely low hit points and energy will be cured. After the polymorph, your HP and max HP will have a minimum value of 10, and your energy and max energy will have a minimum value equal to your experience level.
 
 
 
Polymorphing into a new version of yourself is permanent, and stats which go down as a result cannot be restored with a unicorn horn, because your max stats changed too.
 
  
 
===Good things to polymorph into===
 
===Good things to polymorph into===
 +
<!--This will be turned into a prettytable for each variant soon™-->
 
====Before gaining polymorph control====
 
====Before gaining polymorph control====
 
* Medium-sized humanoids can wear all armor and use weapons.
 
* Medium-sized humanoids can wear all armor and use weapons.
Line 105: Line 107:
 
** [[Human mummy|Human mummies]] are inediate and normal speed, although not guaranteed until level 6.  They make a good form if you want to wait around an altar and sacrifice. Human mummies have greater carrying capacity than their [[elf mummy|elven counterparts]], and are available at the same level.
 
** [[Human mummy|Human mummies]] are inediate and normal speed, although not guaranteed until level 6.  They make a good form if you want to wait around an altar and sacrifice. Human mummies have greater carrying capacity than their [[elf mummy|elven counterparts]], and are available at the same level.
 
** [[Salamander]]s (guaranteed at level 8) are humanoid with good AC and speed, and have 2 weapon attacks, a fire touch, and a fire crushing attack.
 
** [[Salamander]]s (guaranteed at level 8) are humanoid with good AC and speed, and have 2 weapon attacks, a fire touch, and a fire crushing attack.
** Doppelgangers can start polymorphing into [[mind flayer]]s with a reasonable chance of success at level 6 or 7; the brain-eating attack will make short work of most monsters, but is useless against those without heads or brains, and downright dangerous against monsters with passive attacks. Mind flayers will not be stoned when attacking a cockatrice; the tentacle attack is instead turned off.
+
** Doppelgangers can start polymorphing into [[mind flayer]]s with a reasonable chance of success at level 6 or 7; the brain-eating attack will make short work of most monsters, but is useless against those without heads or brains, and downright dangerous against monsters with passive attacks. Tentacle attacks are suppressed when attacking a cockatrice.
* [[Demon]]s have low natural AC, good attacks, and are a source of powerful pets through demon gating. The weaker demons become guaranteed polymorphable forms before a doppelganger gains intrinsic polymorph control at level 9 as well.
+
* [[Major demon]]s and [[devil]]s generally have low natural AC, good attacks, and are a source of powerful pets through demon gating. Additionally, several of the weaker demons and devils become guaranteed polymorphable forms before a doppelganger gains intrinsic polymorph control at level 9.
** Spined devils have 18 speed (almost as fast as speed boots), are inediate, have resistances to fire, poison, and level-drain, have good natural AC, and hit fairly hard - this is a guaranteed form at level 5. It is strictly better either the elf or dwarf mummy, unless you are working with prayer (the spined devil is a major demon). They cannot wear suits, shirts or cloaks, but can wear other armor.
+
** [[Spined devil]]s have 18 base speed, are inediate, have good natural AC, hit fairly hard, and resist fire, poison, and level-drain - this is a guaranteed form at level 5. It is strictly better either the elf or dwarf mummy unless you desire access to prayer (the spined devil is a major demon). They cannot wear suits, shirts or cloaks, but can wear other armor.
** [[Chasme]]s can attack quickly and can repeatedly put foes to sleep. Great for [[Stealing from shops|killing shopkeepers]] (though this will come at the cost of -5 alignment record if you kill the shopkeeper without having him/her become angry with you due to not waking up).
+
** [[Chasme]]s can attack quickly and can repeatedly put foes to sleep. Great for [[Stealing from shops|killing shopkeepers]] (though this will come at the cost of -5 alignment record if you kill the shopkeeper without having them become angry with you due to not waking up).
** [[Marilith]]s, guaranteed at 7, have normal speed, decent base AC, and attack 5 times. The multiple attack makes [[demon#Summoning while polymorphed|demon gating]] very effective.
+
** [[Marilith]]s, guaranteed at 7, have normal speed, decent base AC, and attack 5 times. The multiple attack makes [[demon gating]] very effective.
* Although not guaranteed until level 8, a level 5-7 character has a reasonable chance of polymorphing into a [[basilisk]]. They are essentially stronger cockatrices, with the same passive attacks. As such, they can be very handy for getting through the [[Gnomish mines]]. [[Nutrition]] can be a problem since you can't eat statues. Also, the similar [[asphynx]] may look appealing, being faster, but it can carry very few items, and cannot pick any up at all.
+
* Although not guaranteed until level 8, a level 5-7 character has a reasonable chance of polymorphing into a [[basilisk]]. They have the same passive attacks as cockatrices, though they are also larger and flagged as strong, making them much more capable of carrying a loaded inventory. As such, they can be very handy for traveling through dangerous early areas such as the [[Gnomish Mines]]. [[Nutrition]] can be a problem since you can't eat statues.
**If you're trapped by a single monster, [[chickatrice]]s are guaranteed at 4 and will stone an attacking monster. However, they have extremely low base HP, can carry very little, and are slow, so they should only be used as an instakill in case of emergency.
+
** The similar and faster [[asphynx]] may look appealing, but it is very small and has no hands, so it can carry very few items and cannot pick any up at all.
* [[Gargoyle]]s and [[winged gargoyle]]s can sit and lay eggs that will hatch has gargoyles; winged gargoyles cannot wear body armor but normal ones can.  Both forms also have excellent natural AC.
+
** If you're trapped by a single monster, [[chickatrice]]s are guaranteed at 4 and will stone an attacking monster. However, they have extremely low base HP, can carry very little, and are slow, so they should only be used as an instakill in case of emergency.
* Other oviparous monsters can provide some highly useful pets via egg laying, especially in the early game. [[Rhaumbusun]], guaranteed at level 2, are weak and slow but very effective at paralysing enemies which can help in scoring easy kills.
 
* [[Soldier ants]] are guaranteed at level 3, and as pets, can if anything be almost too effective - they can often close in, kill and devour weak foes in the time taken for an unhasted player to make even a single move. Creating an army may be tempting, but this can lead to nutrition problems if you can't reach corpses in time. Spawning 2 or 3 is generally more than sufficient.
 
 
* [[Death dog]]s are guaranteed at level 2 and are fairly powerful. Their carry capacity is fairly limited though, so they're not good travel forms if you have a lot of things that you want to keep with you.
 
* [[Death dog]]s are guaranteed at level 2 and are fairly powerful. Their carry capacity is fairly limited though, so they're not good travel forms if you have a lot of things that you want to keep with you.
 
* [[Unicorn]]s are guaranteed at level 4. They have high speed and a decent attack, and can use #monster to remove some bad effects.
 
* [[Unicorn]]s are guaranteed at level 4. They have high speed and a decent attack, and can use #monster to remove some bad effects.
 
* [[Mumak]]il are guaranteed at level 5. They have comparatively very strong attacks, but somewhat low speed. Especially good if you are fast or, better still, very fast.
 
* [[Mumak]]il are guaranteed at level 5. They have comparatively very strong attacks, but somewhat low speed. Especially good if you are fast or, better still, very fast.
 
* [[Leocrotta]]s are guaranteed at level 6. They are moderately fast and quite powerful, although unable to use any weapons or armor.
 
* [[Leocrotta]]s are guaranteed at level 6. They are moderately fast and quite powerful, although unable to use any weapons or armor.
 +
* [[Oviparous]] monsters can provide some highly useful pets via egg laying, especially in the early game:
 +
** [[Gargoyle]]s and [[winged gargoyle]]s can sit and lay eggs that will hatch has gargoyles; normal gargoyles can wear armor, but the [[fly]]ing winged gargoyles cannot.  Both forms also have excellent natural AC.
 +
** [[Rhaumbusun]], guaranteed at level 2, are weak and slow but very effective at paralysing enemies which can help in scoring easy kills.
 +
** [[Soldier ants]] are guaranteed at level 3, and as pets, can if anything be almost too effective - they can often close in, kill and devour weak foes in the time taken for an unhasted player to make even a single move. Creating an army may be tempting, but this can lead to nutrition problems if you can't reach corpses in time. Spawning 2 or 3 is generally more than sufficient.
  
 
====After gaining polymorph control====
 
====After gaining polymorph control====
Line 125: Line 129:
 
Once you have obtained polymorph control, a world of powerful choices is open to you, including [[crystal golem]]s, [[fire vampire]]s, [[vorpal jabberwock]]s, and the nigh-invincible [[giant shoggoth]].
 
Once you have obtained polymorph control, a world of powerful choices is open to you, including [[crystal golem]]s, [[fire vampire]]s, [[vorpal jabberwock]]s, and the nigh-invincible [[giant shoggoth]].
  
==Sources==
+
==See also==
*[http://www.statslab.cam.ac.uk/~eva/slashem/races.html Classes, Races and Alignments Spoiler by Eva Myers]
+
*[https://web.archive.org/web/20170724113018/http://www.statslab.cam.ac.uk/~eva/slashem/races.html Classes, Races and Alignments Spoiler by Eva Myers]
*[http://www.statslab.cam.ac.uk/~eva/slashem/polyself.html Polyself spoiler by Eva Myers]
+
*[https://web.archive.org/web/20190801214811/http://www.statslab.cam.ac.uk:80/~eva/slashem/polyself.html Polyself spoiler by Eva Myers]
{{slashem-7E7}}
+
 
 +
==References==
 +
<references/>
 +
{{slashem-7E7|offset=1}}
 +
{{variant-343}}
 
[[Category:SLASH'EM races]]
 
[[Category:SLASH'EM races]]
 +
[[Category:SlashTHEM races]]

Latest revision as of 20:03, 20 February 2024

A user has suggested improving this page or section as follows:

"Source code references (currently being worked on)."

Doppelgangers are a starting race that appear in SLASH'EM, SlashTHEM and Hack'EM. Their primary trait is the ability to change form at will, much like monster dopplegangers. According to the SLASH'EM guidebook:

Doppelgangers have the enviable ability to change form at will, at a cost of some mystic energy (mana), although what they become may be a bit of a surprise, even for them.


Racial benefits and restrictions

Doppelgangers can polymorph into any permitted monster with the extended command #youpoly at the cost of 20 power - however, a given transformation may fail depending on how much more powerful the desired polyform is. They also gain an AC bonus for not wearing any body armor - this bonus is equal to their current level divided by four (with a minimum of 1), and stacks with other AC bonuses, e.g. from their role or dexterity.[1][2] They are still considered human for purposes of determining cannibalism and same-race sacrifice.

Doppelgangers' attribute caps combine the best of all other starting races, save for charisma: their strength caps at 18/**, while their charisma is capped at 15 (even lower than that of orcs), and the rest of their stats cap at 20. Low charisma is of little concern in practice - doppelgangers in need of charisma can simply polymorph into a foocubus or nymph, which set charisma to 18 and have relatively low base levels. More pertinently, doppelgangers are restricted in two-weapon combat as a tradeoff for their excellent stats and abilities, and reliance on polyself can potentially hamper attribute growth.

The following table outlines their base form's maximum attribute levels:

Character
race
Strength Dexterity Constitution Intelligence Wisdom Charisma
Doppelganger 18/** 20 20 20 20 15

Intrinsics and techniques

In SLASH'EM, doppelgangers gain intrinsics and techniques at the following levels:[3][4]

In SlashTHEM, polymorph control is instead gained at experience level 25 - all other techniques and intrinsics remain unchanged.[5][6]

Roles

Doppelgangers can be either neutral or chaotic, and can be played as any role compatible with those alignments.

Polyself

Main article: Polyself

For Doppelgangers, the #youpoly command can be used at any time as long as you have at least 20 energy and some nutrition to spare. If in your base form, you will be prompted for the type of monster you wish to polymorph into - if already polymorphed, you will return to doppelganger form without consuming any energy or nutrition. Successfully changing form uses up 20 energy plus an additional 5 energy points for each level of your new form - if you lack the energy for this, the excess is instead made up with nutrition points. A doppelganger that self-polymorphs will automatically remove and drop any body armor that would otherwise be destroyed in the process, unless they are cursed or beneath a cursed piece of armor.

The chance of being able to successfully polymorph into a given form is dependent on the difference between your experience level and the base level of the polyform - the higher the difference, the less likely you are to transform into that specific form, with the probability of failure calculated as follows:

\frac{\text{Monster level} - \text{Your level}}{5}

If you have polymorph control, you have eaten the corpse or tin of your chosen monster, or the above equation would yield a result of 0 or less, you have a 1920 chance of transforming successfully and a 120 chance that you "feel like a new doppelganger" and re-roll your stats.

Failure will instead transform you into a random monster or else cause you to re-roll your stats, and you will still remove and drop body armor as usual where applicable. Dopplegangers cannot polymorph into any restricted monsters, and attempting to do so (or else selecting a non-existent form) will prompt you to select another form up to five times.

You will remain in your polymorphed form for 500-999 turns, multiplied by your level divided by your new form's level - this is multiplied by 2 if you changed into a monster you have eaten. As with any other polymorph, you can remain in that form indefinitely by wearing an amulet of unchanging. While polymorphed, you gain that form's intrinsics and other properties - e.g., polymorphing into a strong monster sets your strength to 18/**, and polymorphing into a monster resistant to a status ailment you have (stoning, sliming, or illness) will cure that ailment. You still gain experience and levels as normal and can obtain intrinsics for your base form while polymorphed.

A polymorphed doppleganger passively restores HP for that polyform as any other monster would; however, while at maximum HP, your base form's HP will regenerate as normal instead, with the usual adjustments for regeneration and healthstones. Changed attributes are temporary, and any changes to those temporary attributes will be lost when you return to doppelganger form - you cannot exercise while polymorphed, and any exercise counter checks that occur after polymorphing only affect your temporary attributes rather than your base ones.

Feeling like a new doppelganger

Doppelgangers do not experience the typical effects of polymorphing into a new version of yourself - most critically, your level and hit points remain unchanged, preventing abuse and/or undue level loss.

When transforming into a "new" doppleganger, your current peak strength, dexterity, constitution and charisma are adjusted to within two points of their current value. If any changed attribute was previously below its peak, the new attribute will be adjusted in proportion to that peak - e.g., if your strength was 15 (max 16), and your peak strength went up to 18, your new strength would be 18 * 15/16. You also have a 110 chance of changing genders.

Extremely low hit points and energy are healed, and your nutrition is set to a random value between 500 and 999; sickness and stoning are cured, and the sliming process is not aborted, but instead reset to the beginning. You will always have a minimum of 10 HP and max HP after the polymorph, and your current and maximum power will have a minimum equal to your experience level.

Role-specific rules

Various roles have slightly different requirements for using the #youpoly command:

  • Starting from experience level 7, Doppelganger Flame Mages and Ice Mages that #youpoly will be prompted to "transform into your draconic form", which turns them into a red or white dragon respectively. This role's special ability overrides their previous polymorphing capability, which is often considered to be a bug.[7][8]
  • Doppelganger Lycanthropes need to have energy available in order to rehumanize, unlike other Doppelganger roles.
  • Doppelganger Undead Slayers are prevented from changing into an undead monster, which simply fails - additionally, if you actively attempt to do so while having polymorph control, you also take a -5 penalty to your alignment record and abuse wisdom.

Restrictions

The following forms are unavailable to all doppelgangers, with most of the restrictions and their exceptions being the same as in vanilla:

Unpolymorphing

You will revet back to your base form once your polymorph timer expires, and you can also #youpoly at any time while polymorphed to revert back to your base form - you will retain as many hit points as you had prior to polymorphing, barring certain actions that alter your base form's HP (e.g, eating cursed royal jelly). When reverting back due to a polyform's timer expiring, the game rolls against your constitution - failing this roll causes you to lose half your base form's current HP.

If you die of hit point loss while polymorphed and you do not have unchanging, you will change back to your normal form and lose half your HP. However, if you die in any other way (e.g. stoning or being hit by a death ray), it will be permanent. If your polymorphed form was killed by a monster or explosion, you may also have a number of HP equal to your polymorphed form's level deducted from both your current and maximum HP. This penalty will be extracted every time if you have polymorph control, and 13 of the time if you do not.

Strategy

The doppelgangers' high stats and useful ability to polymorph makes it an excellent choice for any role in either variant, since they often get the most out of that role's typical attribute distribution. Physical roles such as the Monk and Undead Slayer benefit greatly from the doppelgangers' high strength; magic-using roles such as Healers, Priests, Wizards, and Necromancers enjoy the high natural power and casting stats that the doppelganger offers, as well as the durability and better combat ability that can come with high physical stats.

However, the "jack of all trades" attribute maximums can also lead to doppelgangers suffering more from the lower attribute rolls - rerolling by transforming into a new doppelganger is a very limited "solution", and can result in even lower stats for those attributes. A skilled doppelganger will need to put their shapeshifting to use to compensate in these cases, and will also need to keep a close eye on their power, especially if casting regularly. Furthermore, a doppelganger must consider their defenses, e.g. employing a high-AC form with full armor coverage versus one with lesser armor, but a higher base AC augmented by racial and role bonuses.

Finally, survival will hinge on learning the ideal timings and scenarios for #youpoly. Over-reliance on polyforms is generally perilous: simply polymorphing to have an "extra life" can leave you thoroughly weakened if you are killed in that form, and failed polymorphs that reroll your stats or leave you in a much slower or weaker form in the midst of a fight can be deadly. As mentioned in the "Polyself" section above, constant polymorphing can and often will inhibit the exercise and growth of your actual attributes, in turn possibly resulting in much rougher late-game performance. Doppelgangers should select their polyforms carefully, and may need to make additional role-specific considerations - a doppelganger Warrior or Valkyrie might tend towards polyforms with high speed or hit dice to complement their strength, while Archeologists and other 'fragile' roles that are already fast may want a form that is durable, strong and/or capable of hindering foes. Certain forms can also be used to obtain various pets that can serve as aid in battles.

Good things to polymorph into

Before gaining polymorph control

  • Medium-sized humanoids can wear all armor and use weapons.
    • Hill orcs are guaranteed at level 2, and are strong monsters
    • Barrow wights are guaranteed at level 3, and can additionally drain levels.
    • Human mummies are inediate and normal speed, although not guaranteed until level 6. They make a good form if you want to wait around an altar and sacrifice. Human mummies have greater carrying capacity than their elven counterparts, and are available at the same level.
    • Salamanders (guaranteed at level 8) are humanoid with good AC and speed, and have 2 weapon attacks, a fire touch, and a fire crushing attack.
    • Doppelgangers can start polymorphing into mind flayers with a reasonable chance of success at level 6 or 7; the brain-eating attack will make short work of most monsters, but is useless against those without heads or brains, and downright dangerous against monsters with passive attacks. Tentacle attacks are suppressed when attacking a cockatrice.
  • Major demons and devils generally have low natural AC, good attacks, and are a source of powerful pets through demon gating. Additionally, several of the weaker demons and devils become guaranteed polymorphable forms before a doppelganger gains intrinsic polymorph control at level 9.
    • Spined devils have 18 base speed, are inediate, have good natural AC, hit fairly hard, and resist fire, poison, and level-drain - this is a guaranteed form at level 5. It is strictly better either the elf or dwarf mummy unless you desire access to prayer (the spined devil is a major demon). They cannot wear suits, shirts or cloaks, but can wear other armor.
    • Chasmes can attack quickly and can repeatedly put foes to sleep. Great for killing shopkeepers (though this will come at the cost of -5 alignment record if you kill the shopkeeper without having them become angry with you due to not waking up).
    • Mariliths, guaranteed at 7, have normal speed, decent base AC, and attack 5 times. The multiple attack makes demon gating very effective.
  • Although not guaranteed until level 8, a level 5-7 character has a reasonable chance of polymorphing into a basilisk. They have the same passive attacks as cockatrices, though they are also larger and flagged as strong, making them much more capable of carrying a loaded inventory. As such, they can be very handy for traveling through dangerous early areas such as the Gnomish Mines. Nutrition can be a problem since you can't eat statues.
    • The similar and faster asphynx may look appealing, but it is very small and has no hands, so it can carry very few items and cannot pick any up at all.
    • If you're trapped by a single monster, chickatrices are guaranteed at 4 and will stone an attacking monster. However, they have extremely low base HP, can carry very little, and are slow, so they should only be used as an instakill in case of emergency.
  • Death dogs are guaranteed at level 2 and are fairly powerful. Their carry capacity is fairly limited though, so they're not good travel forms if you have a lot of things that you want to keep with you.
  • Unicorns are guaranteed at level 4. They have high speed and a decent attack, and can use #monster to remove some bad effects.
  • Mumakil are guaranteed at level 5. They have comparatively very strong attacks, but somewhat low speed. Especially good if you are fast or, better still, very fast.
  • Leocrottas are guaranteed at level 6. They are moderately fast and quite powerful, although unable to use any weapons or armor.
  • Oviparous monsters can provide some highly useful pets via egg laying, especially in the early game:
    • Gargoyles and winged gargoyles can sit and lay eggs that will hatch has gargoyles; normal gargoyles can wear armor, but the flying winged gargoyles cannot. Both forms also have excellent natural AC.
    • Rhaumbusun, guaranteed at level 2, are weak and slow but very effective at paralysing enemies which can help in scoring easy kills.
    • Soldier ants are guaranteed at level 3, and as pets, can if anything be almost too effective - they can often close in, kill and devour weak foes in the time taken for an unhasted player to make even a single move. Creating an army may be tempting, but this can lead to nutrition problems if you can't reach corpses in time. Spawning 2 or 3 is generally more than sufficient.

After gaining polymorph control

Main article: Polymorph control

Once you have obtained polymorph control, a world of powerful choices is open to you, including crystal golems, fire vampires, vorpal jabberwocks, and the nigh-invincible giant shoggoth.

See also

References