RPG Maker MV

RPG Maker MV

Whirlwind attack programming
I want to create an attack called Whirlwind that will attack 5+ times against all enemies randomly, however I seem to have only two options. The first is to set the setting to target "4 random enemies" which will have the attack hit four times randomly amongst all targets. The second setting is to set the settings to "all enemies" and have it activate 5 times, but this literally makes it attack all enemies 5 times.
< >
Показване на 1-13 от 13 коментара
In your skill, you can set "repeat", which is 1 by default, to 5.
So do target "All Enemies" and set repeat to 5.

Oh keep in mind, if this skill uses TP, and gain TP, it will cost TP once, but gains TP 5 times. So, make sure you gain less TP than 20% of cost TP. (Or else, the skill can be repeated endlessly, without ever running out of TP)
Последно редактиран от JohnDoeNews; 13 апр. 2019 в 12:27
More than 4 random targets will need a plugin, I think; "repeat" selects the targets once then repeats the effects on those targets.

Yanfly's Target Core has a notetag you can put in the skill box:
<Target: 5 Random Foes>
Plugin link: http://yanfly.moe/2016/02/26/yep-74-target-core/ =)
Oh wait... You say "all targets randomly" Do you want to hit a random target or all targets? My solution is for all targets, 5 times.

Otherwise what you can do is select 1 random target, repeat 5 times. This will select 5 random targets.
Okay, so I want the skill to attack 5 times, but each individual hit to randomly select a target. So if I used the attack Whirlwind on you, your friend John, and that weird neighbor who never wears pants when he's home but always has the windows open, the attack may hit you, John, Mr. Pantsless, Mr. Pantless, You, and finally Mr. Pantless, ya know?
There's no telling who will get hit, but a total of five hits will be made.
Whahaha. Funny name you choose, it confused me so much, cause I am John. :p

You can do "target 1 random enemy" and then "repeat 5 times" This will do exactly what you want.
Oh! Okay, that would be awesome. Sorry about that BigF. I'll try and see if that combo does what I need the attack to do.
Okay, so I tried it, and it seems to target 1 character, and hits them five times. = /
Really? Hmmmm... I really thought that would work. I'm going to try some stuff out.
Hopefully you can figure out what to do. I'm still new to programming these kinds of things.
Yea, that's why I suggested Yanfly's plugin. The limit of four random targets is essentially an arbitrary limit in the editor. =)
Първоначално публикувано от Caethyril:
Yea, that's why I suggested Yanfly's plugin. The limit of four random targets is essentially an arbitrary limit in the editor. =)
That is weird though, cause you can add upto 8 enemies in a group by default.
Well, even 8 random targets (using the default random target selection) wouldn't guarantee that all 8 enemies get hit once, so I guess 4 makes as much sense as 7 or 8 in that respect.

Without a plugin: you could probably use a variable (to store user's actor ID via damage formula), branches (to pick actor based on variable), and Force Action in an attached common event. I feel that's more effort than it's worth, though. .-.
Първоначално публикувано от Caethyril:
Well, even 8 random targets (using the default random target selection) wouldn't guarantee that all 8 enemies get hit once,

True, but if you want to hit all anemies, you can just select hit all enemies :p
< >
Показване на 1-13 от 13 коментара
На страница: 1530 50

Дата на публикуване: 13 апр. 2019 в 12:13
Публикации: 13