mattgodbolt / xania

Xania MUD source
Other
58 stars 13 forks source link

Some melee skills should be dodgeable/parryable/shield blockable? #257

Open snellers opened 3 years ago

snellers commented 3 years ago

In fight.cpp damage() there's a clause that prevents dodge, parry and shield block from working on any attack type that is skill based. So they only appy to regular melee blows. Arguably it should be possible for some of these skills to be effect against certain skill combinations, but to do it nicely would require some refactoring. At least the upcoming enhancements to one_hit() and damage() that ought to be easier to do.