Chnaging an enemy's actions depending on state

Discussion in 'Javascript/Plugin Support' started by Johnboy, Dec 19, 2016.

Thread Status:
Not open for further replies.
  1. Johnboy

    Johnboy Veteran Veteran

    Messages:
    317
    Likes Received:
    104
    Location:
    Canadia
    First Language:
    English
    I'm a little bit stumped on how to go about changing the actions on my boss to work with specific states. I'm using YEP Battle AI Core.


    I'm sure this can be done using this plugin but I will try to elaborate a bit more.


    My monster has several different states, only 1 of which can be active at any time, and these states change every 6 turns. What I would like to do is if it has the attack buff state, it will focus on using only physical attacks but once it changes to magic buff state, it will switch to using magical attacks. The other buffs I would like it to use a mix of physical and magical attacks as they do not buff the attack or magic parameters.


    If anyone could provide some insight or assistance I'd be very grateful.
     
    #1
  2. Solis

    Solis Veteran Veteran

    Messages:
    366
    Likes Received:
    84
    First Language:
    English
    Are you using Yanfly? 
     
    #2
  3. Shaz

    Shaz Veteran Veteran

    Messages:
    37,549
    Likes Received:
    11,258
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    Action Patterns (on the enemy tab) have state as a condition.
     
    #3
    Solis likes this.
  4. Johnboy

    Johnboy Veteran Veteran

    Messages:
    317
    Likes Received:
    104
    Location:
    Canadia
    First Language:
    English
    Bah I'm a dweeb. Making things more difficult than they have to be lol.


    Also I just noticed I can't spell. Can probably lock this now.
     
    Last edited by a moderator: Dec 19, 2016
    #4
  5. Shaz

    Shaz Veteran Veteran

    Messages:
    37,549
    Likes Received:
    11,258
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    report the thread and ask for it to be locked, as per the forum rules ;)
     
    #5
  6. mlogan

    mlogan Global Moderators Global Mod

    Messages:
    13,718
    Likes Received:
    7,580
    Location:
    Texas
    First Language:
    English
    Primarily Uses:
    RMMV
    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
     
    #6
Thread Status:
Not open for further replies.

Share This Page