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,743
Reaction score
1,608
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,743
Reaction score
1,608
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

1638170340913.png
Crossover Inn is getting very crowded, and I love it
Climbing to the top #mapping
1638160732198.png
I've started the first steps of the final few maps that I need to make for B:ms. I haven't been able to say that in a really, really long time. It'd probably be a good idea to blog about this or something.
Question for the Mods: What am I supposed to do when I can't make a synopsis 350 words long? (for project recruitment thread) @Shaz @mlogan
The game is meant to be more on the simple side in order to be achievable so I'm a bit stuck...

Forum statistics

Threads
117,043
Messages
1,104,082
Members
152,988
Latest member
mur2fer
Top