spheres vs objects

Another one from <email deleted>:  freezing spheres have the NOTAKE
attribute but flaming and shocking spheres don't.  That means that tame
critters of the latter two types will pick up and drop things.  I only saw
it happen with single gold pieces in my limited testing; I guess they're
really weak.

     This one sounds sort of familiar; I think it might have been reported
before.  The fix is so trivial I don't know why it didn't happen.
This commit is contained in:
nethack.rankin
2005-12-04 05:03:52 +00:00
parent 1bb476cfe5
commit cbab68a4bb
2 changed files with 3 additions and 2 deletions

View File

@@ -165,6 +165,7 @@ tombstone's reason for death from kicking an object could include so much
several quest messages were worded inappropriately if the hero was blind
a samurai quest guardian message used "ninja" where "ronin" was intended
revive from fainting if vault guard or bribe-demanding demon approaches
tame flaming spheres and shocking spheres shouldn't pick up items
Platform- and/or Interface-Specific Fixes

View File

@@ -340,14 +340,14 @@ NEARDATA struct permonst mons[] = {
A(ATTK(AT_EXPL, AD_FIRE, 4, 6), NO_ATTK, NO_ATTK,
NO_ATTK, NO_ATTK, NO_ATTK),
SIZ(10, 10, 0, MS_SILENT, MZ_SMALL), MR_FIRE, MR_FIRE,
M1_FLY|M1_BREATHLESS|M1_NOLIMBS|M1_NOHEAD|M1_MINDLESS,
M1_FLY|M1_BREATHLESS|M1_NOLIMBS|M1_NOHEAD|M1_MINDLESS|M1_NOTAKE,
M2_HOSTILE|M2_NEUTER, M3_INFRAVISIBLE, CLR_RED),
MON("shocking sphere", S_EYE,
LVL(6, 13, 4, 0, 0), (G_NOCORPSE|G_GENO|2),
A(ATTK(AT_EXPL, AD_ELEC, 4, 6), NO_ATTK, NO_ATTK,
NO_ATTK, NO_ATTK, NO_ATTK),
SIZ(10, 10, 0, MS_SILENT, MZ_SMALL), MR_ELEC, MR_ELEC,
M1_FLY|M1_BREATHLESS|M1_NOLIMBS|M1_NOHEAD|M1_MINDLESS,
M1_FLY|M1_BREATHLESS|M1_NOLIMBS|M1_NOHEAD|M1_MINDLESS|M1_NOTAKE,
M2_HOSTILE|M2_NEUTER, M3_INFRAVISIBLE, HI_ZAP),
#if 0 /* not yet implemented */
MON("beholder", S_EYE,