Throw Command


Screenshot
Throw Command
EngineRPG Maker MZ
Download Download
LinksRPGMaker.net
RPG Maker Web
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.

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.
Click here to see the skill I used when making this.

For the damage formula I used:
          
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.

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.