Throw Command
Version 1.0
by Fomar0153
Description
Implements a throw command, allowing you to throw weapons.
Requires
Actor Battle Commands.
Features
Throw weapons at your enemies.
Customise the damage.
Notetag weapons as not throwable.
Notetag weapons to deal bonus throwing damage.
Screenshots
How to Use
Place the plugin in your project's js/plugins/ folder.
Inside RPG Maker MZ's editor, open the Plugin Manager.
Create a new entry and select this plugin from the list, make sure it is below Actor Battle Commands.
Customise the options to your liking and then click ok.
To give someone the throw command in their battle commands notetag use, "throw" like this:
<battlecommands: attack, skilltype 2, throw, item>
You will need to make a skill for this plugin to use. Scope, accuracy, animation etc are all determined by your skill.
Here's the skill I used when making this:
For the damage formula I used:
JavaScript:
- 50*a._throwMult*$dataWeapons[a._lastThrow].params[2]-b.def*2
复制代码
Once you've set that up you should be good to go!
You can use the following notetags on weapons:
<nothrow> - the weapon will not appear in the throw menu.
<throwmult:n> - if you are using the damage formula layout I proposed then you can use this to make the weapon do n x damage when thrown.
Spoiler: Example Weapons
Download
Click here.
FAQ
Q: Nothing seems to happen when I use your plugin.
A: Make sure the plugin has its original name and that you haven't accidentally renamed it.
Q: I get an error.
A: Make sure this plugin is below Actor Battle Commands in the plugin manager.
Credits
Fomar0153
Terms of Use
As long as I am credited, you may use this plugin in your projects both commercial and non-commercial.
本贴来自国际rpgmaker官方论坛作者:Fomar0153处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/throw-command.126094/