Enemy attack with multiple conditions?

Discussion in 'RPG Maker VX Ace' started by zigman32, Mar 12, 2014.

  1. zigman32

    zigman32 Turn based friend Veteran

    Messages:
    44
    Likes Received:
    0
    First Language:
    English
    Hi.

    I have a skill I want the enemy to use when both of the following are true.

    A ) his HP is low

    B ) his MP is zero

    I can only seem to set one condition for enemy attacks, how would I do this?
     
    Last edited by a moderator: Mar 12, 2014
    #1
  2. Hollow

    Hollow (◡‿◡✿) Veteran

    Messages:
    519
    Likes Received:
    438
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    Try putting the conditions in some conditional branches in the troop events in all the troops this enemy appears in. If both the conditions are true, you can turn on a switch and condition the skill to the switch instead of both HP and MP amounts.
     
    #2
  3. Selchar

    Selchar Veteran Veteran

    Messages:
    299
    Likes Received:
    78
    First Language:
    English
  4. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,640
    Likes Received:
    2,969
    Location:
    Philippines
    First Language:
    Tagalog
    or just put two of those skills, it's possible I think
     
    #4
  5. Solaris

    Solaris Villager Member

    Messages:
    15
    Likes Received:
    0
    First Language:
    Swedish
    Putting two of it makes it so that the enemy uses it if it has either low HP OR no MP, whereas I think op wants both to be fulfilled before the skill is unlocked.
     
    #5
  6. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,640
    Likes Received:
    2,969
    Location:
    Philippines
    First Language:
    Tagalog
    ah yes... I thought it was OR... sorry :)
     
    #6

Share This Page