Yep Target Core and Variables.

atreyoauron

Villager
Member
Joined
Jan 24, 2017
Messages
13
Reaction score
2
First Language
Portuguese
Primarily Uses
RMMV
Hi.
I'm trying to create some sort of multicast skill, that uses multiple random targets as it's scope by using the Target Core plugin.

Let's say that i have a skill called "Multi-Fire" and another one called "Double Cast", which Multi-fire is only accesible with the Skill Extender plugin (SRD_SkillExtender).

Also there would be more versions of Double Cast skill, which would increase the number of times that multi-fire is casted.
Example: "Double Cast", "Quadra Cast" etc.

So what i was trying to do was to use variables and the note tag "<Target: Target x Random Foes>", for each multi casting skill so it would react properly.
Example:
If Double Cast is used, then Multi-fire would hit two random enemies.
if Quadra Cast is used, then multi-fire would hit four random enemies.

So what i want to know how to use variables and this notetags together (i don't know if this is possible anyway) or get some easy way to create this multicasting thing.

Here is how the spells interact with each other.

Here is what i tried:

So, if there is a way to make it work or an easy way to create a multicasting thing for a base skill, i would apreciate it. :)
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,639
First Language
Czech
Primarily Uses
RMMV
Unfortunately, notetags don't work this way.
<Target: Target x random foes> is a simple eval. The plugin looks only for this notetag, ignoring the if thingies.
If you want to create custom conditions for targeting, you need to use lunatic mode and create a javascript code inside <Custom target eval> </Custom target eval>. There is a help to how to use this command on Yanfly's website.
 

atreyoauron

Villager
Member
Joined
Jan 24, 2017
Messages
13
Reaction score
2
First Language
Portuguese
Primarily Uses
RMMV
Ah, i see...

Well, thing is, i'm kinda new to this stuff and i barely understand javascript.
If someone could give me an example of how it would work in the Target Core plugin, i would try to work on it myself, i just don't have any idea where to start.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top