add warning glow for Orcrist & Grimtooth
Make Orcrist glow light blue when orcs are present, just like Sting. (Sting supposedly glowed because it was made by the elves of Gondolin rather than any particular attribute built into it, and Orcrist was made there too. I think it also glowed in the Hobbit; that was how Bilbo recognized what the situation was when he first saw Sting glow. Maybe it was the other sword rather than Orcrist, but they were treated as being functionally equivalent.) Also make Grimtooth glow red when elves are present. That's from thin air, to give it some novelty. Unlike Sting, whose double-damage bonus is restricted to orc targets, Grimtooth's weak 1d6 bonus still applies to all targets.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 artilist.h $NHDT-Date: 1432512781 2015/05/25 00:13:01 $ $NHDT-Branch: master $:$NHDT-Revision: 1.14 $ */
|
||||
/* NetHack 3.6 artilist.h $NHDT-Date: 1432946531 2015/05/30 00:42:11 $ $NHDT-Branch: master $:$NHDT-Revision: 1.15 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -65,21 +65,24 @@ STATIC_OVL NEARDATA struct artifact artilist[] = {
|
||||
A("Cleaver", BATTLE_AXE, SPFX_RESTR, 0, 0, PHYS(3, 6), NO_DFNS, NO_CARY,
|
||||
0, A_NEUTRAL, PM_BARBARIAN, NON_PM, 1500L),
|
||||
|
||||
A("Grimtooth", ORCISH_DAGGER, SPFX_RESTR, 0, 0, PHYS(2, 6), NO_DFNS,
|
||||
/*
|
||||
* Grimtooth glows in warning when elves are present, but its
|
||||
* damage bonus applies to all targets rather than just elves
|
||||
* (handled as special case in spec_dbon()).
|
||||
*/
|
||||
A("Grimtooth", ORCISH_DAGGER, (SPFX_RESTR | SPFX_WARN | SPFX_DFLAG2),
|
||||
0, M2_ELF, PHYS(2, 6), NO_DFNS,
|
||||
NO_CARY, 0, A_CHAOTIC, NON_PM, PM_ORC, 300L),
|
||||
/*
|
||||
* Orcrist and Sting have same alignment as elves.
|
||||
*
|
||||
* The combination of SPFX_WARN+SPFX_DFLAG2+M2_value will trigger
|
||||
* EWarn_of_mon for all monsters that have the M2_value flag.
|
||||
* Sting and Orcrist will warn of M2_ORC monsters.
|
||||
*/
|
||||
A("Orcrist", ELVEN_BROADSWORD, SPFX_DFLAG2, 0, M2_ORC, PHYS(5, 0),
|
||||
NO_DFNS, NO_CARY, 0, A_CHAOTIC, NON_PM, PM_ELF, 2000L),
|
||||
A("Orcrist", ELVEN_BROADSWORD, (SPFX_WARN | SPFX_DFLAG2), 0, M2_ORC,
|
||||
PHYS(5, 0), NO_DFNS, NO_CARY, 0, A_CHAOTIC, NON_PM, PM_ELF, 2000L),
|
||||
|
||||
/*
|
||||
* The combination of SPFX_WARN and M2_something on an artifact
|
||||
* will trigger EWarn_of_mon for all monsters that have the
|
||||
* appropriate
|
||||
* M2_something flags. In Sting's case it will trigger EWarn_of_mon
|
||||
* for M2_ORC monsters.
|
||||
*/
|
||||
A("Sting", ELVEN_DAGGER, (SPFX_WARN | SPFX_DFLAG2), 0, M2_ORC, PHYS(5, 0),
|
||||
NO_DFNS, NO_CARY, 0, A_CHAOTIC, NON_PM, PM_ELF, 800L),
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user