- Joined
- Oct 29, 2014
- Messages
- 156
- Reaction score
- 4
- First Language
- English
Is there any way I can make it so a character can dual-wield two weapons, but certain weapons cannot be dual-wielded, since they require both hands to wield?
Maliki's Dual Wield?@Emperor DragonBreath
If an actor has the dual wield type, he would be unable to equip a shield unless you removed that type first. You could achieve this through traits on certain weapons, but it'd be nearly impossible to have an actor use the same weapon for both dual wielding and for one-handing with a shield.
There is a plugin that modifies this default behavior to force all actors to dual wield and treat shields as an offhand only weapon, but the name escapes me right now, and it involves a lot of setup.
I'm using Maliki's Dual Wield plugin. Can I use the condition you showed me to cut a weapon's attack power in half if you are wielding two weapons and not a shield?You can also use this instead if you don't want it to automatically unequip something. This will just gray out the 2h item in question if you already dual wielding (make it so one-handed weapons grant the dual wielding trait, instead of having it on the actor itself).
<Custom Equip Requirement Condition>
if (user.isDualWield()) {
condition = false;
} else {
condition = true;
}
</Custom Equip Requirement Condition>
Require's Yanfly's equiprequirements plugin.
