1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-05-09 08:45:38 +01:00

Tweak: Also let Feng Huo Lun boost speed while wielded.

This commit is contained in:
ChrisANG 2024-11-21 14:42:47 -05:00
parent 6477ad112b
commit 4b6fd2f30b

View file

@ -608,7 +608,9 @@ boolean affect_game_state;
artinstance[ART_SEVEN_LEAGUE_BOOTS].LeagueMod += NORMAL_SPEED/6;
}
}
if(uarmf && uarmf->oartifact == ART_FENG_HUO_LUN){
if((uarmf && uarmf->oartifact == ART_FENG_HUO_LUN)
|| (uwep && uwep->oartifact == ART_FENG_HUO_LUN)
){
MOVECOST(NORMAL_SPEED - artinstance[ART_FENG_HUO_LUN].LeagueMod);
if(affect_game_state && artinstance[ART_FENG_HUO_LUN].LeagueMod < NORMAL_SPEED/2){
artinstance[ART_FENG_HUO_LUN].LeagueMod += NORMAL_SPEED/4;