Help With Dark Knight Skills

KrimsonKatt

Pyromancer
Veteran
Joined
Nov 12, 2016
Messages
101
Reaction score
40
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
115
Reaction score
86
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

Pyromancer
Veteran
Joined
Nov 12, 2016
Messages
101
Reaction score
40
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
30,081
Reaction score
7,050
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

Pyromancer
Veteran
Joined
Nov 12, 2016
Messages
101
Reaction score
40
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

Note to self: One lemon is enough to flavor my drink.
'I'm not homophobic, I'm not scared of me house.' - Peter Kay xD
When did anything under your mid-twenties become the new 10 years old? At least try to act like your old enough to sign a lease.
Having someone tell me that "Right clicking to save an image is soooo creepy" has got to be the weirdest thing I've heard this week.
Finally figured out how to make a signature with a pic that leads to a link, it's so cool! Click the image to check out my demo! :kaopride:

Forum statistics

Threads
98,181
Messages
950,174
Members
129,484
Latest member
AegeanCaos
Top