じ☆ve冰风 发表于 2026-7-19 17:04:44

Dual Wielding Script

Dual Wielding v1.1
By Winthorp Darkrites/WinterDream Games Creator​

This plugin allow you to change the Dual Wielding trait of an Actor mid-game

If the Actor ever appeared during the game the plugin will check if he has an item in his off-hand and will push it back in the inventory before changing the trait.

If the Actor never appeared yet in the game, the plugin will check if he has an incompatible item in his off-hand and will simply remove it from the data

RPG Maker MZ editor will not know if you change the dual wield, so an Actor thatstarted as a sword and shield fighter will ALWAYS be a sword and shield fighterwhen it comes to the RMMZ editor commands (namedly: add equipment command)

To fix this, this plugin allows you to manually add off-hand weapons and shields to an Actor (provided he has the corresponding wielding trait)



== PLUGIN COMMANDS ==​


[*] Change Dual Wielding: This command changes the dual wielding trait of a character, you can choose between Dual Wielding (turn on Dual Wielding traits if there isn't and does nothing if there is), Normal Wielding (removes Dual Wielding traits if there is and does nothing if there isn't) or Switch (turns on Dual Wielding if Normal Wielding or turn on Normal Wielding if Dual Wielding). Items in the off-hand will be removed.
[*]Add offHand Weapon (for non native dual wielder): Since the editor won't let you add an off-hand weapon to an Actor that doesn't have the Dual Wielding trait from the start, you can use this command to change his off-hand Weapon. (Does not require to have the item in inventory)
[*]Add offHand Armor (for non native normal wielder): Since the editor won't let you add an off-hand armor to an Actor thathave the Dual Wielding trait from the start, you can use this command to change his off-hand Armor. (Does not require to have the item in inventory)
[*]Remove off-Hand Item: Simply does what it says, the item will be dropped in the inventory

Screenshoot


https://forums.rpgmakerweb.com/attachments/dual01-png.297867/


Video


https://www.youtube.com/embed/Q25JZfcXp0c

Terms of use

Refer to the Terms of Use at this link


Version, bugs and further development

VERSION 1.0:

[*]Initial Release
VERSION 1.1:

[*] Fixed a critical oversight that resulted in the game not remembering your changes once closed and opened again (Thanks to caethyril from RpgMakerWeb)

Further developments will include: Future released will allow to check if an Actor is a dual wielder or not and will also come with the option to equip items in the off-hand only if present in the Inventory


Download for free on Itch.io


本贴来自国际rpgmaker官方论坛作者:Winthorp处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/dual-wielding-script.166668/
页: [1]
查看完整版本: Dual Wielding Script