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

Nerf: Limited Moon costs energy to hit stuff with

3 energy per hit if over 1/3
This commit is contained in:
ChrisANG 2017-12-15 10:44:05 -05:00
parent cc97e4a185
commit 717b893f5c

View file

@ -2421,7 +2421,7 @@ int dieroll; /* needed for Magicbane and vorpal blades */
if(otmp->oartifact == ART_LIMITED_MOON && magr == &youmonst){
*dmgptr *= ((double)u.uen/u.uenmax);
// if(u.uen >= 10) u.uen -= 10;
if(u.uen >= ((int)(.3*u.uenmax + 3))) u.uen -= 3;
}
if (otmp->oartifact == ART_ICONOCLAST && is_angel(mdef->data) ) *dmgptr += 9;