- Joined
- Jun 23, 2014
- Messages
- 322
- Reaction score
- 177
- First Language
- English
- Primarily Uses
- RMMV
http://pastebin.com/v4DCjbRc
So here's something I threw together when I realized Yanfly's Target Core didn't do one of the things I was hoping it would do.
This script will let you switch between targeting one enemy/ally and targeting multiple enemies/allies for any skill marked with <OneOrAll>. It will even let you split the damage between multiple targets with <SplitMulti> (which divides damage by the number of targets) or <DivideMulti: x> (which divides damage by x so long as there are at least two targets), even if the skill isn't marked with <OneOrAll>!
You can control which keys/buttons switch the targeting with the parameters.
The plugin itself is compatible with Target Core, but any Target Core tag will override <OneOrAll> (except <Repeat: x>), so don't bother putting both on the same skill, at least not with this version.
That said, this IS compatible with Yami's Invert Target.
Place this below Battle Core.
UPDATE:
0.5b: Better counting of targets for <DivideMulti> and SplitMulti>.
0.6: Now you can define which keys switch the targeting - though "shift" (which should translate to the X button) doesn't seem to work with my Logitech (note: not Xbox) controller. Huh. It works on my keyboard, and other buttons work with my controller... Anyway, at this point I'm tempted to move the plugin to the completed plugins page, but I can still look into single-targeting Target Core tags. No guarantees though.
So here's something I threw together when I realized Yanfly's Target Core didn't do one of the things I was hoping it would do.
This script will let you switch between targeting one enemy/ally and targeting multiple enemies/allies for any skill marked with <OneOrAll>. It will even let you split the damage between multiple targets with <SplitMulti> (which divides damage by the number of targets) or <DivideMulti: x> (which divides damage by x so long as there are at least two targets), even if the skill isn't marked with <OneOrAll>!
You can control which keys/buttons switch the targeting with the parameters.
The plugin itself is compatible with Target Core, but any Target Core tag will override <OneOrAll> (except <Repeat: x>), so don't bother putting both on the same skill, at least not with this version.
That said, this IS compatible with Yami's Invert Target.
Place this below Battle Core.
UPDATE:
0.5b: Better counting of targets for <DivideMulti> and SplitMulti>.
0.6: Now you can define which keys switch the targeting - though "shift" (which should translate to the X button) doesn't seem to work with my Logitech (note: not Xbox) controller. Huh. It works on my keyboard, and other buttons work with my controller... Anyway, at this point I'm tempted to move the plugin to the completed plugins page, but I can still look into single-targeting Target Core tags. No guarantees though.
Last edited by a moderator:
