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:
parent
d374d6485e
commit
252d4e4150
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue