1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-31 01:42:24 +01:00

Allow mass shadow pistol ammo to be artifacts

This commit is contained in:
Chris-plus-alphanumericgibberish 2017-07-14 02:23:58 -04:00
parent 5e00648e97
commit b948b0a2b6

View file

@ -527,6 +527,7 @@ int shotlimit;
otmp->cursed = blaster->cursed;
otmp->spe = blaster->spe;
otmp->quan = m_shot.n;
otmp->oartifact = blaster->otyp == MASS_SHADOW_PISTOL ? blaster->cobj->oartifact : 0;
if(!u.dx && !u.dy) range = 1;
else range = objects[(blaster->otyp)].oc_range;