Ninja (role)

From NetHackWiki
Revision as of 23:13, 4 October 2022 by Umbire the Phantom (talk | contribs) (de-SLEX and tag)
Jump to navigation Jump to search

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

"Role exists de-SLEXed in SlashTHEM - retool accordingly"

This article is about the Ninja role that appears in SLASHTHEM. "Ninja" is also one of the NetHack Samurai rank titles. For the monster in NetHack 3.6.0, see Ninja.

The Ninja is a role in the variant and SlashTHEM.

The role draws on two earlier Ninja roles, one a defunct feature in NetHack which was eventually replaced by the Rogue, and the other part of NetHack-- 3.0.10, an ancestor of SLASH'EM.

In SlashTHEM, a female Ninja is called a Kunoichi, e.g. on the base attributes display.

In NetHack, "Ninja" and "Kunoichi" are the male and female rank titles of a Samurai from experience levels 6 to 9. In SlashTHEM, the equivalent rank title is "Kumigashira" (which translates roughly to "squad leader").

Skills

NetHack-- 3.0.10 was based on NetHack 3.0.10, which predated the skill system, so Ninja could use any weapons.

SLASHTHEM gives the Ninja a skill set reminiscent of both the Rogue and Samurai:

Ninja skills
Max Skills
Basic
Skilled
Expert
Master

The Ninja's special spell is enchant weapon. Spell success is determined by intelligence.

  • SLASHTHEM u_init.c line 2081 in v. 0.8

Techniques

Ninja gain these techniques in SLASHTHEM:

SLASHTHEM tech.c 152

Intrinsics

In SLASHTHEM, Ninja gain searching instead of invisibility at XL 3. They continue to gain additional abilities:

SLASHTHEM attrib.c line 71

Starting equipment

The Ninja starts with a pet little dog.

The SlashTHEM Ninja will know the starting shuriken as "hira-shuriken" (flat shuriken), as part of an expanded list of Japanese item names. This reflects the fact that the term "shuriken" was historically also used to refer to other thrown (and sometimes wielded) weapons, not only the star-shaped projectiles associated with the term in Western culture. Darts are known as "bo-shuriken" (stick shuriken).

Item names

Like the Samurai, the Ninja has alternate names for items that follow a Japanese theme.

Rank titles

SLASHTHEM has a different set of rank titles:

  • XL 1-2: Kukkyu
  • XL 3-5: Hakkyu
  • XL 6-9: Nanakyu
  • XL 10-13: Rokkyu
  • XL 14-17: Gokyu
  • XL 18-21: Yonkyu
  • XL 22-25: Sankyu
  • XL 26-29: Nikyu
  • XL 30: Ikkyu

SlashTHEM role.c line 1005

Quest

The quest sees the Ninja fighting Jaquio for the Dragonclan Sword, a lawful katana which has a chance of beheading enemies, like the Vorpal Blade.

SLASHTHEM gives the Ninja a new quest artifact, Fuma-itto no Ken, a chaotic ninja-to (broadsword) which adds +8 to-hit and +8 to damage, grants drain resistance while carried, and can be invoked to create a stack of hira-shuriken. This weapon was adapted from an artifact of the same name from dNetHack.

  • SLASHTHEM artilist.h line

Gods

The SlashTHEM pantheon is taken from the tale of Jiraiya (Jiraiya Goketsu Monogatari):

  • Lawful: Jiraiya
  • Neutral: Tsunade
  • Chaotic: Orochimaru

History

Two early versions of NetHack contained "Ninja" roles. Regular NetHack contained a Ninja role from versions 1.3d to 2.3e, which was replaced in 3.0.0 by the Rogue role, making it a defunct feature. NetHack-- 3.0.10, a variant of version 3.0.10, and a precursor of SLASH'EM, included a revived Ninja role in addition to the Rogue role. The vanilla Ninja had a much simpler inventory than the current role, consisting of a katana, +1 leather armor, and up to 25 shuriken[1]. NetHack-- gave the Ninja the wakizashi, potions of sickness and invisibility, lockpick, and intrinsic stealth that are associated with the role in SlashTHEM, so it seems that the current incarnation of the role is based primarily on the NetHack-- version.

The NetHack-- Ninja was one of nine new roles in that variant, in addition to the twelve in the contemporary version of NetHack. The discussion thread in which the authors first announced the variant suggests that some of the new roles were taken from a list proposing a role for every letter of the alphabet. See here for the relevant post.

After the release of NetHack 3.1.3 in 1993, NetHack-- was updated to NetHack-- 3.1.3 by porting some of the changes from NetHack-- 3.0.10 into a patch for the newest version. Due to some changes in the vanilla code, however, some content was removed to improve compatibility with NetHack. Most significantly, NetHack 3.1 had seen the addition of the Quest branch. To avoid the challenge of fitting full-length quests for the roles that had been added in NetHack-- 3.0.10 into the patch code, those roles were simply left out of the patch.

The Ninja role, along with the other eight new roles in NetHack-- 3.0.10, made its reappearance in the variant SlashTHEM.

References

  • NetHack-- 3.0.10 attrib.c line 80
  • NetHack-- 3.0.10 u_init.c line 257