DBee

Villager
Member
Joined
Feb 12, 2015
Messages
23
Reaction score
2
First Language
English
Primarily Uses
I'm not entirely sure if this is the right place to post this (I am very sorry if it's not). At first I was going to post this in 'Plugin support' but it's about requesting a javascript snippet for a custom eval to put in a skill's note area.

I've been making a 'frenzy' skill that has specific selections, and I am using Target Core (YEP). The default settings don't cover my specific needs, and I was hoping someone would be kind enough to write the 'lunatic' snippet for it.

What I am looking for is for this skill to target everyone alive (both foes and allies) except for the user. By default, Targetcore lets you select 'everyone' which includes the user or 'all allies except user'- I need 'everyone but user', basically. I just fixed this part with YEP_X_SelectionControl, but I'd still like the following:

I would also like for this skill to target a random amount of targets (like, 1 to 5 targets), and hit each target for a random amount of times (like 1 to 3 times).

This skill is meant to emulate the skill user becoming berserk in battle and lashing out at everyone.

Thank you in advance to anyone willing to help me with this, I greatly appreciate it!

Edit- I forgot to link to the Target Core document, fixed. But here's the link again: http://www.yanfly.moe/wiki/Target_Core_(YEP)
Edit 2- I fixed part of my issue myself. There's the irony of asking for help and immediately finding your own solution...
 
Last edited:

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,746
Reaction score
1,611
First Language
English
Primarily Uses
RMMV
I think you'd be best off just installing Yanfly's Action Sequences and learning the commands. It's fairly straightforward to program your skill to do this in an action sequence.
 

DBee

Villager
Member
Joined
Feb 12, 2015
Messages
23
Reaction score
2
First Language
English
Primarily Uses
I think you'd be best off just installing Yanfly's Action Sequences and learning the commands. It's fairly straightforward to program your skill to do this in an action sequence.
I was under the impression that Action Sequences were for for cinematic side view battle segments and didn't know they effected targeting or repeat hits!

Thank you, I'll look into it!
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,746
Reaction score
1,611
First Language
English
Primarily Uses
RMMV
I was under the impression that Action Sequences were for for cinematic side view battle segments and didn't know they effected targeting or repeat hits!
They can't affect the targeting phase, but in your case that doesn't matter since you want it attacking random targets, anyway. So you'd just leave the targeting to the entire enemy party then use code in the action sequence to randomly determine individual enemies and do random numbers of hits.
You don't have to actually move your battlers around if it's not in the style of your game.

There's a big thread for action sequences that has a lot of demo stuff, including things with targeting random enemies, but you can always ask for help if you can't figure it out.
 

Latest Threads

Latest Posts

Latest Profile Posts


It's a Spanish devlog don't get scared!.
Just read the forum rules just for kicks and rule 14 reminds me of this:
150.jpg
I'm in the process of converting all locks and intimidate/persuade dialogue options into D20 DC based success/fail (modified by player skill). Before, it required a certain flat amount you had to meet, but with rolls, it offers more freedom. For instance, you can repeatedly try to unlock a door instead of just not meeting the requirement to unlock it.
Since we get very close: If you want to enjoy the advent calendar as it is intended, wait til your date and the day in the URL line up, so you have the final day on actual christmas and not the day before... time zones ;3
1638170340913.png
Crossover Inn is getting very crowded, and I love it

Forum statistics

Threads
117,050
Messages
1,104,157
Members
153,014
Latest member
Nastyboydima
Top