TempusMUD / Tempuscode

Codebase for TempusMUD
http://tempusmud.com/
Other
7 stars 6 forks source link

Strike uses the wrong weapon sometimes #479

Closed mikeclemson closed 4 months ago

mikeclemson commented 10 years ago

In act.offensive.c, strike can use either wielded or hand weapons, but will always set weapon to the wielded weapon. It also doesn't check for off-hand weapons. It should check for wield, second wield, hand, and for each, set weap to that object.

dlowe-net commented 4 months ago

Looking at the description, it didn't make sense for this to work with off-hand weapons. The hand weapon did need to be assigned, though.