This is a very simple plugin that will allow you to assign '
extra' required weapons to any
Skill in the database.
Note: By default, MV only allows a single weapon type to be assigned to a weapon. So, without a plugin that adds extra weapon types, such as my Extra Weapon Typesplugin, this plugin is essentially useless.
This plugin
will not replace the default required weapon assigned to a skill. Without one, this plugin will do nothing.
It
will only allow for skills that have been set to require at least ONE Weapon Type, to require one or more additional types.
Example:
SpoilerKnowing your Weapon Types:
[/url]
Setting a skill to require both a Staff & that Staff to have Dragon Magic.
[url=https://forums.rpgmakerweb.com/attachments/16_0131_requiredweapontypes_example_skill-jpg.30555/]
Making sure the weapon has the
Extra Weapon Types.
[/url]
Will now allow this Staff to qualify the actor to use the skill above.
[url=https://forums.rpgmakerweb.com/attachments/16_0131_requiredweapontypes_example_actorequips-jpg.30557/]
[/url]
But not the Spark skill that has been set to require Human Magic!
[url=https://forums.rpgmakerweb.com/attachments/16_0131_requiredweapontypes_example_skill_2-jpg.30552/]
You'll notice that BOTH SPELLS are assigned the Staff Weapon Requirement. It is the addition of another weapon type, that is disabling one spell and allowing the other!
Terms of Use:
SpoilerNo... I changed my mind. You can't use it. Just ADMIRE it.
Soooo useful!!
Oh... Seriously?
Do what you want with it!
I only ask (though do not require) that you mention me in your credits.
(Yes, this means you can use it in a Commercial project!)
Known Compatibility Issues:
SpoilerNone that I am aware of! (This may change)
Installation & Use:
SpoilerAdd this plugin (name it whatever you like, it has no parameters) under my other plugin
Extra Weapon Types.
Which you should be using otherwise this plugin is kind of pointless!
Then add this note tag to a skill to require additional weapon types:
<required wtypes: wtypeID, wtypeID, etc...>
Example:
<required wtypes: 8> (Will add wType 8 as an additional requirement to either of the regularly assigned requirements.)
Example:
<required wtypes: 8,7> (Will add wType 8 and 7 as additional requirements to either of the regularly assigned requirements.)
Note: The added required weapon types are applied to EITHER of the normally assigned required weapons. However, only ONE needs to be assigned.
Thats it!
The Plugin.
View attachment RD_RequiredWeaponTypes.js
本贴来自国际rpgmaker官方论坛作者:Roguedeus处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/roguedeus-required-weapon-types-for-skill-use.56033/