Help With Dark Knight Skills

Discussion in 'RPG Maker MV' started by KrimsonKatt, Jun 27, 2019.

  1. KrimsonKatt

    KrimsonKatt Pyromancer Veteran

    Messages:
    57
    Likes Received:
    26
    Location:
    Neo Arcadia, Nabes Desert, Kingdom of Nogarde
    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
     
    #1
  2. AsuranFish

    AsuranFish Veteran Veteran

    Messages:
    115
    Likes Received:
    81
    First Language:
    English
    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?
     
    #2
    KrimsonKatt likes this.
  3. KrimsonKatt

    KrimsonKatt Pyromancer Veteran

    Messages:
    57
    Likes Received:
    26
    Location:
    Neo Arcadia, Nabes Desert, Kingdom of Nogarde
    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
     
    #3
  4. Andar

    Andar Veteran Veteran

    Messages:
    28,426
    Likes Received:
    6,485
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    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
     
    #4
    KrimsonKatt likes this.
  5. KrimsonKatt

    KrimsonKatt Pyromancer Veteran

    Messages:
    57
    Likes Received:
    26
    Location:
    Neo Arcadia, Nabes Desert, Kingdom of Nogarde
    First Language:
    English
    Primarily Uses:
    RMMV
    @Andar Thanks for the help! Highly appreciated.

    -KrimsonKatt
     
    #5

Share This Page