KrimsonKatt

The Endless
Regular
Joined
Nov 12, 2016
Messages
271
Reaction score
165
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

Regular
Regular
Joined
Jan 3, 2017
Messages
122
Reaction score
90
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
Regular
Joined
Nov 12, 2016
Messages
271
Reaction score
165
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

Regular
Regular
Joined
Mar 5, 2013
Messages
39,282
Reaction score
11,467
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
Regular
Joined
Nov 12, 2016
Messages
271
Reaction score
165
First Language
English
Primarily Uses
RMMV
@Andar Thanks for the help! Highly appreciated.

-KrimsonKatt
 

Latest Threads

Latest Profile Posts

An optimal price for an indie game on Steam also needs to be accompanied by an optimal sales discount %. For a solo indie game, I think the optimal price is where it should be low enough that a single Steam card can be used to buy it, after tax. A few cents the wrong direction can potentially mean someone who was gifted a Steam card can't buy the game, then picks something else to buy.
I've been so lazy about doing art but I finally decided to buckle down and get some work done on the party!

aa312ffbcd667933.png

3d554012e96e4526.png
SallyFaceTest.png
Testing the first face in battle!

Forum statistics

Threads
134,684
Messages
1,249,686
Members
177,416
Latest member
HyperStream
Top