AI for Imperial Asssault (Fan-Made Android App)

By Boba Rick, in Star Wars: Imperial Assault

Instructions on using Automated Emperor

Setup
  1. Automated Emperor Deck
    • Set Blitz level (2 at beginning of campaign)
    • Start at 2 at campaign start, increase by one for each mission Imperials lose
    • When drawn, deployment group focuses on Priority Target, regardless of if they would assigned one by mission card
    • Secondary Target is closest Rebel figure with least health
    • Resolve actions in listed order on Blitz Cards
  2. Deployment Deck
    • Draw cards equal to indicated number of open groups noted on mission to form deployment hand
    • If no open groups, no cards are drawn
    • When deployment group is defeated, shuffle back into deployment hand
    • When given AE has an opportunity to resolve an optional deployment at mission start, deploy a card starting from top of deployment hand if sufficient threat.
    • If insufficient threat, cycle through deployment hand until able to deploy a card.
  3. Threat Level
    • Increase threat level as noted in campaign
  4. Agenda Deck
    • Choose one card from each Agenda set that applies to time period
    • Draw top 6 cards to determine which agenda sets are used by AE
    • Shuffle all cards from chosen sets to form Agenda Deck
  5. Rebel Color Assignment
    • Assign each rebel character with a color of: Blue, Yellow, Green, Red
  6. Mission Cards
    • Select the mission being played
    • Follow instructions on green for setup
    • Mission cards will notify when to use red side
  7. Imperial Class Deck
    • Randomly select one of the class decks for AE to use
Activation Phase and Deployment Groups
  • During a round, AE activates deployment groups in order from left to right.
  • Figures are activated starting with one closest to a hero or priority target
  1. Automated Emperor Cards
    • An AE card is drawn whenever AE activates a deployment group
    • Follow actions on drawn card to determine actions
    • A card can also be drawn when needing to determine a target outside of figure activation
    • Hit reshuffle when all cards are drawn
  2. Blitz Cards
    • Blitz cards are part of the AE deck
    • When drawn deployment group focuses on Imperial Priority Target, regardless of group being assigned a target by mission card
    • Closest rebel figure with least health is designated as secondary target
    • All figures in deployment group attempt to resolve actions in listed order on Blitz card
    • If drawn to determine a target outside figure activation, target will be the rebel figure with least health. Threat is still gained as indicated
  3. Imperial Class Cards
    • Cards bought by AE are arranged left to right by point cost
    • They are played at FIRST valid opportunity, starting from the left
    • When a deployment card leaves play, return any attachments to Imperial Class hand
    • Attachments with abilities can be triggered when the corresponding figure resolves an ABILITY action on an AE card
    • Attachments are played when a new deployment card is played only if valid
    • Cards with threat cost are only played if AE has twice the required threat
  4. Agenda Cards
    • Agenda Cards are also arranged left to right, and played at first valid opportunity
    • If card can be discarded OR returned to deck after being played, it is discarded
    • Side missions are played immediately
    • If there is a current Imperial side mission, new side missions are held in reserve until current mission is complete
    • However, forced side missions are played immediately regardless if there is another Imperial side mission in play
Choosing Targets
  • Target choice is determine by mission card and automated emperor card drawn at start of a group's activation
  • Priority targets will always be targeted before any other targets
  • If a figure is not assigned a priority target, or priority target is not in range, figure attempts to resolve action against a Secondary Target
  • Secondary targets are shown as Rebel icons on the Automated Emperor card, and resolved left to right
  • If no priority or secondary targets are available, closest rebel controlled figure with least health is targeted
Automated Emperor Card ActionsAttempt to resolve actions on drawn Automated Emperor card in listed order. Standard action rules apply. Actions that cannot be completed or don't apply are skipped. If bottom of list is reached and actions are still remaining, start from top of list.

  • Attack
    1. Closest assigned priority target
    2. 1st Secondary Target within range
    3. Closes Rebel-controlled figure with least health
  • Range Definition
    • Melee : Adjacent space
    • Reach : 2 spaces
    • Ranged : 4 spaces
    • Non-surge +Accuracy modifiers are added to figure's max attack range
    • If no targets are in range/line of sight, Attack action is skipped
    • If priority target is not attackable, attack action becomes interact
    • Attack action becomes interact, in the case of doors
  • Engage
    • Move action to figure's speed
      1. Attempt for max attack range & line of sight, using shortest route
      2. Move towards closest assigned priority target as much as possible, regardless of distance
      3. Move toward closest secondary target as list if no priority target
    • Move through opposing figures if necessary if there are enough move points
  • Ability
    • Activate ability if it makes sense
    • Includes attached Modification Imperial Class cards
    • Resolve in order as listed on deployment card
  • Repositioning
    • Utilize any remaining move points to reposition to better position
    • Melee : Break line of sight of ranged rebels
    • Reach : Move to be 2 spaces away from nearby rebels
    • Ranged : Move to be up to 4 spaces away from nearby rebels. Use cover if possible
    • Attempt to move towards closest Priority target if assigned and not already in max attack range and line of sight
  • Surges
    1. Spend to increase accuracy to hit
    2. Double Surges
    3. Apply remaining from left to right, top to bottom on deployment card
Conditions
  • If an Imperial figure has condition that requires action to remove, they will use an action at start of activation to remove it
Status Phase
  • During Status Phase, AE will reinforce an existing deployment group, or deploy a new group
  • If there are 4 or more deployment groups in play, or no cards in the deployment hand, it will attempt to reinforce a deployment group
  • If there are fewer than 4 deployment groups, it will attempt to deploy a new group.
  • Reinforcements are placed at the closest Imperial spawn point to the heros
  • Reinforcement
    • Locate the first deployment group in play starting from the left that can accept reinforcements
    • Reinforce with as many units as possible
    • If reinforcements are placed, AE will not attempt to deploy new groups
    • If is an inadequet amount of threat, AE will save it for next status phase
  • Deployment
    • Draw top card of deployment hand
    • If AE has enough threat to deploy, do so
    • Place deployment card right of any in play
    • If there is not enough theat, place the deployment card at the bottom of the deployment hand and save threat for next status phase
  • Allies
    • If playing with less than 4 Rebels, assign a color to an Ally when placing them for a mission
Upgrade Stage
  • Rebels upgrade as usual
  • Purchasing Class Cards
    • Shuffle the Imperial Class deck and draw the top card
    • If AE has enough XP to buy the card, place it into the AE play area
    • If it cannot be bought, draw another card until 3 cards are drawn, or a card is bought
  • Purchasing Agenda Cards
    • Shuffle the Agenda deck and draw the top card
    • If AE has enough influence to buy the card, place it into the AE play area
    • If the card cannot be bought, draw anohter card, repeat until 4 cards have been drawn, or a card has been bought
  • Increase AE Difficulty
    • If AE lost the previous mission, increase the Blitz card counter
Other Bits
  • Any effect that would target a single Rebel will target the mission Priority Target
  • If Priority Target is not a valid target, draw an AE card and target the first Secondary Target
  • Any effect/ability that targets multiple targets should be placed to maximize targets
  • If unsure of anything, do the action that is MOST damaging to the Rebels
  • Imperial Figure Abilities
    • AT-ST
      • Targeting Computer: If a single HIT result is rolled on the RED die, use this ability to reroll
    • Darth Vader
      • Brutality: This ability will only be used if there are 2 different targets in range
      • Foresight: If a single DEFENSE result is rolled on a DEFENSE die, then use this ability to reroll
    • General Weiss
      • General's Orders: Choose 2 figures that are furthest away and not within max attack of a target
      • Epic Arsenal: If within 2 spaces of a target, use 2 RED and 1 GREEN attack dice. If not within 2 spaces, use 1 RED, 1 BLUE, and 1 GREEN attack dice
    • IG-88
      • Arsenal: If within 2 spaces of a target, use the RED and GREEN attack dice. If not, use the BLUE and GREEN attack dice
    • Imperial Officer
      • Order: Choose the closest friendly figure
      • Executive Order: Choose the closest friendly figure. If the figure is in range to attack, attck. If not, move
      • Cower: Reroll if the result is a blank face on a defense die
    • Nexu
      • Pounce: Use if within 4 spaces of a target, and Nexu has not performed an Attack this activation
    • Probe Droid
      • Self-Destruct: Use this ability when adjacent to 2 or more Rebels are the end of the round, and there are NO adjacent friendly figures
    • Royal Guard Champion
      • Brutality: This ability will only be used if there are 2 different targets in range
    • Stormtrooper
      • Last Stand: Choose the closest friendly figure when using this ability

Sigh, I have no idea how this works, but I'd really like to.

Ya this is a great concept just needs some work. I've played with the solo variant before and it is fun but I hated all the cards. And by that I mean I didn't print them just tried to use them on the computer and it doesn't work. This app would solve that problem.

Edited by FrogTrigger

The newest Vassal IA Campaign module also has the RAIV 1.6 assets integrated, so it is possible to play solo (other than 2-handed play, which I have done with some one-off missions). There are short instructions how to (mis)use the existing module decks for the decks needed by RAIV. You will of course also need to read the RAIV instructions.

Edited by a1bert

Ya this is a great concept just needs some work. I've played with the solo variant before and it is fun but I hated all the cards. And by that I mean I didn't print them just tried to use them on the computer and it doesn't work. This app would solve that problem.

Is there a simple explanation somewhere on how to do this? It's way over my head.

giphy.gif

Shame for not making the title "AI for IA".

Simple explanation for how to play it on the computer? I just downloaded the PDF files and used a random number generator to pick cards. It was a bit messy but it worked.

Thanks for the link! I'll definitely have to try this out at some point

Shame for not making the title "AI for IA".

AI4IA?