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

Bugfix: Rods of force don't use two handed sword skill unless two handed.

This commit is contained in:
ChrisANG 2021-09-25 00:50:48 -04:00
parent d374d6485e
commit 252d4e4150

View file

@ -3063,7 +3063,9 @@ struct obj *obj;
CHECK_ALTERNATE_SKILL(P_TWO_HANDED_SWORD)
}
else if(obj->otyp == ROD_OF_FORCE){
CHECK_ALTERNATE_SKILL(P_TWO_HANDED_SWORD)
if(!uarms && !u.twoweap){
CHECK_ALTERNATE_SKILL(P_TWO_HANDED_SWORD)
}
}
else if(obj->otyp == KHOPESH){
CHECK_ALTERNATE_SKILL(P_AXE)