Hey Ramza, I'm having an issue where with the newest version of dual wield installed, certain weapons will only deal 0 damage. In previous versions I had the issue when the dual wield/two hand modifiers weren't 1, but now even when it's 1 it returns 0. Is there any fix for this?
Hey there.
This is the first I'm hearing of an issue like this, so I suspect the problem has to do with plugin configuration. The way the damage formula works, if it causes an error, or would otherwise return a value that isn't a number, the game engine forces it to deal zero damage instead.
To narrow down what is causing the problem, you'd need to determine what is causing these specific weapons to deal zero damage.
- Are they all one-handed? Two-handed? A mix of both?
- The plugin parameter for the two-handed weapon modifier is expecting a float value, If you provide something that isn't a float value, it would cause an error and return zero during the damage calculation.
- Ensure that the numbers in those boxes are only numbers. eg: 1 1.5 0.75 Do not use a % sign, or quotation marks.
- If changing this has no effect, you can also delete the plugin from your plugin manager and re-import it, which will set the modifiers back to their default values. This part of the plugin should work fine without being modified by the end-user, so removing and re-adding it should also make it work fine.
- Are you making use of the new(ish) note tags <TwoHanded Attack Modifier> or <Offhand Attack Modifier> to modify the attack value on weapons directly?
- If yes, are all weapons exhibiting this problem tagged with one of those tags?
- Try removing these tags and see if the problem is resolved. If it is, there may be an issue with the way you're using the tags on your items. If the issue persists this is probably not the culprit.
- Do you use the switchable weapons extension?
- Are weapons with this problem switchable?
- Are all weapons with this problem switchable?
- Are they in one or two-handed mode? Both?
The issue could also be that your damage formula itself is simply being reduced by enemy defense with some weapons so low that it deals zero damage. Try setting an affected weapon to a ridiculously high attack value and see if the problem still persists as well, just to be sure.
-Ramza