Help With Dark Knight Skills

KrimsonKatt

The Endless
Veteran
Joined
Nov 12, 2016
Messages
177
Reaction score
75
First Language
English
Primarily Uses
RMMV
Hello. Right now I'm working on Generic RPG Quest 3 and trying to make all the blue magick spells. (Enemy only, you can't learn them... yet!) One of the enemies is a dark knight similar to the class dark knight from Final Fantasy and the Bravely Series. One of the final bosses is also a dark-knight type character, and of course they need custom moves to set them apart from other enemies. I have three skills in mind.

Dark Bane: Deals heavy dark damage to one random foe. Costs HP. (Uses Yanfly Skills Cost HP plugin)

Dark Nova: Deals heavy dark damage to all enemies. Costs HP. (Uses Yanfly Skills Cost HP plugin)

Dark Rage: Constantly use Dark Bane until you run out of HP or attack 6 times.

I can do the first two, but the third one (Dark Rage) is giving me trouble. Is there any way I can do this with plugins/common events? I tried making a common event that would activate when the skill is used, but there's no conditional branch for "If enemy has skill x" or "if enemy HP x" so I'm a bit stuck. Any help would be appropriated. Thanks!

-KrimsonKatt
 

AsuranFish

Veteran
Veteran
Joined
Jan 3, 2017
Messages
119
Reaction score
88
First Language
English
Primarily Uses
I don’t have my laptop handy, but if you can’t set enemy HP as a conditional’s... condition...

...couldn’t you set a variable as the enemy’s HP, and then use variable as the conditional?
 

KrimsonKatt

The Endless
Veteran
Joined
Nov 12, 2016
Messages
177
Reaction score
75
First Language
English
Primarily Uses
RMMV
That would work, but I'm not quite sure on how to set an enemy's HP to a variable. Can you please walk me though it? Thanks.

-KrimsonKatt

edit: fixed spelling
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,671
First Language
German
Primarily Uses
RMMV
no conditional branch for "If enemy has skill x" or "if enemy HP x"
you need two commands.
use control variable command, game data section (the one that defaults to map id) to load the enemy HP into the variable, then use the conditional branch to check its value
 

KrimsonKatt

The Endless
Veteran
Joined
Nov 12, 2016
Messages
177
Reaction score
75
First Language
English
Primarily Uses
RMMV
@Andar Thanks for the help! Highly appreciated.

-KrimsonKatt
 

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

Latest Threads

Latest Profile Posts

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
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,854
Messages
1,016,998
Members
137,562
Latest member
tamedeathman
Top