Closed rpherbig closed 8 years ago
After the change in 3c12d233e55e66d3a2a6e5ba0c858dbe7447a9c5, the behavior is better (not yet correct though):
[combat-trainer]>skin
Moving with impressive skill and grace, you effortlessly retrieve a perfect pelt from the dire bear.
Roundtime: 2 sec.
[combat-trainer]>get bundling rope
You need a free hand to pick that up.
[combat-trainer: failed to match a weapon for bola]
[combat-trainer]>drop my pelt
You drop a bear pelt.
[combat-trainer]>loot
You search the dire bear.
You find nothing of interest.
A dire bear rots away into nothingness.
The root cause of this is what you need both hands to make a bundle. Summoned weapons are finicky in terms of emptying your hands.
Keep in mind that elemental weapons can be stowed or dropped, but only for a few seconds. Moonblades cannot be stowed or dropped, but can be worn.
A possible solution for this is to move the logic in SetupProcess::check_weapon to, say, equipmanager
. While I'd hate to break my elemental weapon just to make a bundle, it should only happen 0 or 1 times per hunt.
This occurs because (currently) summoned weapons do not have any data in
gear
, so equipmanager cannot look up the tie/stow/wear info for use in thestow_weapon
call (see https://github.com/rpherbig/dr-scripts/blob/master/combat-trainer.lic#L342).