Subject: zangband: dsd Package: zangband Version: 1:2.7.5pre1-3 Severity: normal Tags: patch
Thanks for the patch Guillaume. I'll file it on the Debian bug database so I don't forget. On Wed, 2009-02-18 at 23:03 -0500, Guillaume Giroux wrote: > hey there. I think you're the maintainer for zangband*, and I think its > not active upstream, so I'm turning to you. > > I hit a small bug while playing zangband 1:2.7.5pre1-3, I got the 'Spear > of Hagen' artifact, but it made the game spew out > > error: attempt to perform arithmetic on field `level' (a nil value) > <string " b.pspeed = (player.level + 4) / 5": line 1> > Script for object: Spear of Hagen (1d10) (+11,+65%) (+3) failed. > > every turn wielding it. here is a small patch which should fix it: > > --- a_info.txt.ori 2009-02-18 22:55:20.000000000 -0500 > +++ a_info.txt 2007-11-27 12:35:59.000000000 -0500 > @@ -1491,7 +1491,7 @@ > F:STEALTH | RES_DARK | INFRA | > F:BRAND_COLD | SLAY_UNDEAD | RES_COLD | SEE_INVIS | SHOW_MODS | THROW > F:INSTA_ART > -L:BONUS: b.pspeed = (player.level + 4) / 5 > +L:BONUS: b.pspeed = (player.lev + 4) / 5 > L:SPOIL: return "+1 speed / 5 levels" > > # The Spear 'Soulsucker' > > > > > /Guillaume -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

