mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-28 16:32:27 +01:00
Merge pull request #1416 from NeroOneTrueKing/patch-twoweap-ranged-training
Only train twoweapon combat in melee
This commit is contained in:
commit
3efcb617e6
1 changed files with 1 additions and 1 deletions
|
@ -12914,7 +12914,7 @@ int vis; /* True if action is at all visible to the player */
|
|||
bonsdmg += skill_damage;
|
||||
|
||||
/* now, train skills */
|
||||
use_skill(u.twoweap ? P_TWO_WEAPON_COMBAT : wtype, 1);
|
||||
use_skill((melee && u.twoweap) ? P_TWO_WEAPON_COMBAT : wtype, 1);
|
||||
|
||||
if (melee && weapon && is_lightsaber(weapon) && litsaber(weapon) && P_SKILL(wtype) >= P_BASIC){
|
||||
use_skill(P_SHII_CHO, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue