Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

I've just tested your modification but there's another bug:

- when you equip a Hand alone, everything's fine, just one sword strike.

- But if you equip an Offhand weapon only, only one blow is triggered, but it's the MainHand punch, and the Offhand weapon is useless.

EDIT: To be more precise, it's the Offhand weapon's animation that's played, but the Mainhand's damage is applied

(I tested it on a blank project to be sure)...

(1 edit)

Ah, I probably missed that contingency when I rewrote the code again. I'll have it fixed in a few minutes.

Edit: the fix is live, redownload it from the devlog or the main page again and it should say it's version 2.76a now.

(1 edit)

sorry, you're going to end up hating me :P

but there's one last bug:

when the weapon is in offhand, the first punch is also triggered

no worries when there's no weapon, two weapons, or one weapon but in mainhand.

Alas, that one is intended. 

The intent was that you could turn off an extra barehanded attack if your offhand was empty, mostly for two handed weapon use, honestly, but if you're using no weapons at all, in the normal engine, the actor would still make a barehanded attack, so his main hand should always be considered armed, even if he has a weapon in his offhand.

Changing that in particular would be difficult because the plugin was not designed with that in mind. Attacks always come from the main hand first, the only exception being if the offhand is locked during a skill. To change it permanently would be much more involved than the change I did to make the offhand empty attack not trigger.

~Ramza