Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Amalgolem/Golem Body
- ====================
- NOTE: This AI Script controls the Golem Body, Golem Head, Golem Arm, and Golem Leg.
- If self is not petrified, panicking, and asleep, and Golem Leg, Golem Arm, and Golem Head are in the battle, cast Explode. (Standard targeting.)
- If Golem Legs, Golem Arms, and Golem Head are in the battle, cast Explode. (Standard targeting.)
- Basic routine:
- Turn 1: Golem Leg acts.
- Turn 2: Golem Arm acts.
- Turn 3: Golem Head acts.
- Loop from the beginning.
- If there are no FOEs on the field, cast Summon Ally. (Targets self.)
- If the Golem Leg dies before self can cast Stomp, do nothing. Display message: "Amalgolem tried to attack, but it has no legs!"
- If the Golem Leg dies before self can cast Stomp Crush, do nothing. Display message: "Amalgolem tried to attack, but it has no legs!"
- If the Golem Arm dies before self can cast Flame Strike, do nothing. Display message: "Amalgolem tried to attack, but it has no arms!"
- If the Golem Arm dies before self can cast Ice Strike, do nothing. Display message: "Amalgolem tried to attack, but it has no arms!"
- If the Golem Head dies before self can cast Daunting Breath, do nothing. Display message: "Amalgolem tried to attack, but it has no head!"
- If the Golem Head dies before self can cast Stone Breath, do nothing. Display message: "Amalgolem tried to attack, but it has no head!"
- If Amalgolem cannot act for whatever reason, display message: "Amalgolem is panicked!"
- From 100% to 51% HP:
- If Golem Leg is in the battle:
- 80% chance to cast Stomp. (Standard targeting.)
- 20% chance to cast Stomp Crush. (Standard targeting.)
- If Golem Arm is in the battle:
- 80% chance to cast Flame Strike. (Standard targeting.)
- 20% chance to cast Ice Strike. (Targets the front row.)
- If Golem Head is in the battle:
- 80% chance to cast Daunting Breath. (Standard targeting.)
- 20% chance to cast Stone Breath. (Standard targeting.)
- If self cast Explode on the last turn:
- 30% chance to do nothing. Display message: "Amalgolem is panicked!"
- 70% chance to cast Command Ally. (Targets self.)
- If Golem Head, Golem Arm, or Golem Leg are not alive on the appropriate turn:
- 30% chance to cast Command Ally. (Targets self.)
- 30% chance to cast Summon Ally. (Targets self.)
- 40% chance to do nothing. Display message: "Amalgolem is panicked!"
- From 50% HP to death:
- If Golem Leg is in the battle:
- 30% chance to cast Stomp. (Standard targeting.)
- 70% chance to cast Stomp Crush. (Standard targeting.)
- If Golem Arm is in the battle:
- 30% chance to cast Flame Strike. (Standard targeting.)
- 70% chance to cast Ice Strike. (Targets the front row.)
- If Golem Head is in the battle:
- 30% chance to cast Daunting Breath. (Standard targeting.)
- 70% chance to cast Stone Breath. (Standard targeting.)
- If self cast Explode on the last turn:
- 30% chance to do nothing. Display message: "Amalgolem is panicked!"
- 70% chance to cast Command Ally. (Targets self.)
- If Golem Head, Golem Arm, or Golem Leg are not alive on the appropriate turn:
- 30% chance to cast Command Ally. (Targets self.)
- 30% chance to cast Summon Ally. (Targets self.)
- 40% chance to do nothing. Display message: "Amalgolem is panicked!"
- Golem Head/Golem Arm/Golem Leg
- ==============================
- Do nothing.
- White Golem/Red Golem/Black Golem/Yellow Golem
- ==============================================
- NOTE: All the Golems share the same AI.
- If Golem Body is not in the battle:
- 40% chance to do nothing. Display message: "White/Red/Black/Yellow Golem is dozing!"
- 60% chance to use a regular attack. (Standard targeting.)
- Else:
- 10% chance to do nothing. Display message: "White/Red/Black/Yellow Golem is dozing!"
- 90% chance to use a regular attack. (Standard targeting.)
- If Amalgolem's HP is at or above 51%:
- If no one else cast Fuse, cast Fuse at the end of the turn.
- Fusion order:
- Turn 1: Reform Golem Leg.
- Turn 2: Reform Golem Arm.
- Turn 3: Reform Golem Head.
- Loop from the beginning.
- If Amalgolem's HP at or below 50%:
- If no one else cast Fuse, cast Fuse at the end of the turn.
- 70% chance to follow this routine:
- Fusion order:
- Turn 1: Reform Golem Leg.
- Turn 2: Reform Golem Arm.
- Turn 3: Reform Golem Head.
- Loop from the beginning.
- 35% chance to cast this routine instead:
- Fusion order:
- Turn 1: Reform Golem Head.
- Turn 2: Reform Golem Arm.
- Turn 3: Reform Golem Leg.
- Loop from the beginning.
- If the last routine was not followed, 70% chance to follow this routine:
- Fusion order:
- Turn 1: Reform Golem Arm.
- Turn 2: Reform Golem Leg.
- Turn 3: Reform Golem Head.
- Loop from the beginning.
- Else, follow this routine:
- Fusion order:
- Turn 1: Reform Golem Leg.
- Turn 2: Reform Golem Arm.
- Turn 3: Reform Golem Head.
- Loop from the beginning.
- Hippogryph
- ==========
- While in the Wing Shield state, follow this routine:
- Turn 1: Cast Rest. (Targets self.)
- Turn 2: Cast Rest. (Targets self.)
- Turn 3: Cast Rest. (Targets self.) Cast Wing Shield Down at the end of the turn. (Targets self.)
- If self is petrified, panicking, or asleep while in the Wing Shield state, do nothing.
- Cast Wing Shield at the end of the turn after casting Sky Dive. (Targets self.)
- Cast Sky Dive once HP falls below 31%. (Standard targeting.)
- Cast Sky Dive once HP falls below 51%. (Standard targeting.)
- Cast Lightning Storm once out of the Wing Shield state. (Standard targeting.)
- Cast Sky Dive once HP falls below 71%. (Standard targeting.)
- Cast Panic Glare. This routine can only activate once. (Standard targeting.)
- From 100% to 51% HP:
- 40% chance to cast Bind Claw. (Standard targeting.)
- 20% chance to cast Back Kick. (Targets the front row.)
- 10% chance to cast Panic Glare. (Standard targeting.)
- 30% chance to use a regular attack. (Standard targeting.)
- From 50% HP to death:
- 40% chance to cast Lightning Storm. (Standard targeting.)
- 30% chance to cast Back Kick. (Targets the front row.)
- 10% chance to cast Bind Claw. (Standard targeting.)
- 15% chance to cast Panic Glare. (Standard targeting.)
- 5% chance to use a regular attack. (Standard targeting.)
- Undead King (Winged Form)
- =========================
- Do not cast Purge if there is at least 1 Undead Fencer in the battle, or self is dead, panicking, asleep, or petrified.
- Else, cast Purge. (Targets self.)
- If all Undead Fencers die before self can cast Wraith Explosion, do nothing. Display message: "Undead King attempted to attack, but there were no Undead Fencers!"
- If all Undead Fencers die before self can cast Wraith Dance, do nothing. Display message: "Undead King attempted to attack, but there were no Undead Fencers!"
- If all Undead Fencers die before self can cast Grave, do nothing. Display message: "Undead King attempted to attack, but there were no Undead Fencers!"
- If all Undead Fencers die before self can cast Undead Shield, do nothing. Display message: "Undead King attempted to attack, but there were no Undead Fencers!"
- If there is at least 1 Undead Fencer in the battle after 4 turns have passed since changing forms, cast Wraith Explosion. (Standard targeting.)
- If there are 2 Undead Fencers, cast Wraith Explosion twice.
- From 100% to 76% HP:
- If there is at least 1 Undead Fencer in the battle:
- 80% chance to cast Undead Shield. (Targets an Undead Fencer.)
- If Undead Shield does not get cast, 95% chance to cast Wraith Dance. (Standard targeting.)
- If Wraith Dance does not get cast, 99% chance to cast Grave. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Else:
- Use a regular attack. (Standard targeting.)
- From 75% to 51% HP:
- If there is at least 1 Undead Fencer in the battle:
- 45% chance to cast Wraith Dance. (Standard targeting.)
- If Wraith Dance does not get cast, 95% chance to cast Undead Shield. (Targets an Undead Fencer.)
- If Undead Shield does not get cast, 70% chance to cast Wraith Dance. (Standard targeting.)
- If Wraith Dance does not get cast, 99% chance to cast Grave. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- From 50% HP to death:
- If there is at least 1 Undead Fencer in the battle:
- 35% chance to cast Grave. (Standard targeting.)
- If Grave does not get cast, 60% chance to cast Grave. (Standard targeting.)
- If Grave does not get cast, 50% chance to cast Undead Shield. (Targets an Undead Fencer.)
- If Undead Shield does not get cast, 99% chance to cast Wraith Dance. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Else:
- Use a regular attack. (Standard targeting.)
- Undead King (Standing Form)
- ===========================
- Do not cast Dock if there is at least 1 Undead Archer in the battle, or self is dead, panicking, asleep, or petrified.
- Else, cast Dock. (Targets self.)
- Cast Summon Wraith after switching forms. (Targets self.)
- If self tries to cast Black Ice Bomb, but every living party member is cursed, cast Life Compensation instead. (Targets self.)
- If all Undead Archers are dead before self can cast Black Ice Bomb, do nothing instead. Display message: "Undead King attempted to attack, but there were no Undead Archers!"
- If self tries to cast Poison Bomb, but every living party member is cursed and poisoned, cast Life Compensation instead. (Targets self.)
- If all Undead Archers are dead before self can cast Poison Bomb, do nothing instead. Display message: "Undead King attempted to attack, but there were no Undead Archers!"
- If all Undead Archers are dead before self can cast Life Compensation, do nothing instead. Display message: "Undead King attempted to attack, but there were no Undead Archers!"
- If there are no Undead Archers in the battle, cast Summon Wraith. (Targets self.)
- If there is at least 1 Undead Archer in the battle after 2 turns have passed since changing forms, cast Life Compensation. (Standard targeting.)
- If there are 2 Undead Archers, cast Life Compensation twice.
- From 100% to 51% HP:
- If there is at least 1 Undead Fencer in the battle:
- 20% chance to cast Black Ice Bomb. (Standard targeting.)
- If Black Ice Bomb does not get cast, cast Poison Bomb. (Standard targeting.)
- From 50% HP to death:
- If there is at least 1 Undead Fencer in the battle:
- 70% chance to cast Black Ice Bomb. (Standard targeting.)
- If Black Ice Bomb does not get cast, cast Poison Bomb. (Standard targeting.)
- Else:
- Use a regular attack. (Standard targeting.)
- Undead Fencer
- =============
- If Shield Formation was not cast on the last 4 turns and no one else cast Shield Formation, cast Shield Formation. (Targets self.)
- If the Undead King (Winged Form) is at or below 50% HP:
- 60% chance to cast Falcon Rush. (Standard targeting.)
- 30% chance to cast Power Break. (Standard targeting.)
- 10% chance to use a regular attack. (Standard targeting.)
- Else:
- If no one else cast Falcon Rush, 30% chance to cast Falcon Rush. (Standard targeting.)
- If no one else cast Power Break, 90% chance to cast Power Break. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Undead Archer
- =============
- Cast Arm Snipe. (70% chance to target the front row. Standard targeting otherwise.)
- Crystal Dragon (Dragon Form)
- ============================
- End of turn parameters:
- If self is petrified, asleep, or panicking, do nothing.
- If HP total from last turn - current HP = 10% or more, 5 turns pass, or flag 2 is active:
- If at least 1 party member has the Banefire Breath debuff, and flag 2 is not active, do nothing. Activate flag 1.
- Else, cast Mode Change. (Targets self.)
- Else, do nothing.
- If flag 1 is active:
- If HP is below 51%:
- 30% chance to cast Frostcoat Breath. (Standard targeting.) Activate flag 2.
- 30% chance to cast Lockvolt Breath. (Targets the front row.) Activate flag 2.
- 40% chance to cast Prisim Laser. (Standard targeting.) Activate flag 2.
- Else:
- 50% chance to cast Frostcoat Breath. (Standard targeting.)
- 50% chance to cast Lockvolt Breath. (Targets the front row.)
- Else:
- If flag 3 is not active and HP is below 51%, cast Prism Laser. (Standard targeting.) Activate flag 3.
- If flag 4 is not active and HP is below 76%, cast Clear Breath. (Standard targeting.) Activate flag 4.
- If at least 1 party member has a buff, and flag 4 is active, and HP is below 76%, 30% chance to cast Clear Breath. (Standard targeting.)
- From 100% to 76% HP:
- If flag 21 is active:
- 40% chance to cast Lockvolt Breath. (Targets the front row.) Activate flag 22. Deactivate flag 21.
- 40% chance to cast Banefire Breath. (Standard targeting.) Activate flag 23. Deactivate flag 21.
- 20% chance to use a regular attack. (Standard targeting.) Deactivate flag 21.
- If flag 22 is active:
- 40% chance to cast Frostcoat Breath. (Standard targeting.) Activate flag 21. Deactivate flag 22.
- 40% chance to cast Banefire Breath. (Standard targeting.) Activate flag 23. Deactivate flag 22.
- 20% chance to use a regular attack. (Standard targeting.) Deactivate flag 22.
- If flag 23 is active:
- 40% chance to cast Frostcoat Breath. (Standard targeting.) Activate flag 21. Deactivate flag 23.
- 40% chance to cast Lockvolt Breath. (Targets the front row.) Activate flag 22. Deactivate flag 23.
- 20% chance to use a regular attack. (Standard targeting.) Deactivate flag 23.
- Else:
- 30% chance to cast Frostcoat Breath. (Standard targeting.) Activate flag 21.
- 30% chance to cast Lockvolt Breath. (Targets the front row.) Activate flag 22.
- 30% chance to cast Banefire Breath. (Standard targeting.) Activate flag 23.
- 10% chance to use a regular attack. (Standard targeting.)
- From 76% to 51% HP:
- If at least 1 party member is petrified:
- 10% chance to cast Frostcoat Breath. (Standard targeting.)
- 30% chance to cast Lockvolt Breath. (Targets the front row.)
- 30% chance to cast Banefire Breath. (Standard targeting.)
- If flag 4 is active:
- 20% chance to cast Clear Breath. (Standard targeting.)
- 10% chance to use a regular attack. (Standard targeting.)
- Else:
- 30% chance to use a regular attack. (Standard targeting.)
- If at least 1 party member has their arms bound:
- 30% chance to cast Frostcoat Breath. (Standard targeting.)
- 10% chance to cast Lockvolt Breath. (Targets the front row.)
- 30% chance to cast Banefire Breath. (Standard targeting.)
- If flag 4 is active:
- 20% chance to cast Clear Breath. (Standard targeting.)
- 10% chance to use a regular attack. (Standard targeting.)
- Else:
- 30% chance to use a regular attack. (Standard targeting.)
- If at least 1 party member has a defense debuff:
- 30% chance to cast Frostcoat Breath. (Standard targeting.)
- 30% chance to cast Lockvolt Breath. (Targets the front row.)
- 10% chance to cast Banefire Breath. (Standard targeting.)
- If flag 4 is active:
- 20% chance to cast Clear Breath. (Standard targeting.)
- 10% chance to use a regular attack. (Standard targeting.)
- Else:
- 30% chance to use a regular attack. (Standard targeting.)
- Else:
- 25% chance to cast Frostcoat Breath. (Standard targeting.)
- 25% chance to cast Lockvolt Breath. (Targets the front row.)
- 25% chance to cast Banefire Breath. (Standard targeting.)
- If flag 4 is active:
- 15% chance to cast Clear Breath. (Standard targeting.)
- 10% chance to use a regular attack. (Standard targeting.)
- Else:
- 25% chance to use a regular attack. (Standard targeting.)
- From 50% HP to death:
- If flag 11 is not active:
- 30% chance to cast Frostcoat Breath. (Standard targeting.) Activate flag 11.
- 30% chance to cast Lockvolt Breath. (Targets the front row.) Activate flag 11.
- 30% chance to cast Banefire Breath. (Standard targeting.) Activate flag 11.
- 9% chance to cast Clear Breath. (Standard targeting.) Activate flag 11.
- 1% chance to use a regular attack. (Standard targeting.)
- Else:
- 80% chance to cast Prism Laser. (Standard targeting.) Deactivate flag 11.
- 10% chance to cast Clear Breath. (Standard targeting.) Deactivate flag 11.
- 10% chance to use a regular attack. (Standard targeting.) Deactivate flag 11.
- Crystal Dragon (Speed Form)
- ===========================
- End of turn parameters:
- If self is petrified, asleep, or panicking, do nothing.
- If HP total from last turn - current HP = 10% or more, 5 turns pass, or flag 2 is active:
- If at least 1 party member is asleep, and flag 2 is not active, do nothing. Activate flag 1.
- Else, cast Mode Change. (Targets self.)
- Else, do nothing.
- If flag 1 is active:
- 40% chance to cast Sonic Blow. (Targets party members that are asleep.) Activate flag 2.
- 20% chance to cast Rock Bullet. (Targets the front row.) Activate flag 2.
- 40% chance to cast Rending Claws. (Standard targeting.) Activate flag 2.
- If flag 3 is not active, and HP is below 51%, cast Prism Laser. (Standard targeting.) Activate flag 3.
- If flag 4 is not active, and HP is below 76%, cast Eternal Lament. (Standard targeting. Activate flag 4.
- If no one is asleep, flag 4 is active, and HP is below 76%, 30% chance to cast Eternal Lament. (Standard targeting.)
- If at least 1 party member is asleep, and HP is below 76%, 30% chance to cast Sonic Blow. (Targets party members that are asleep.)
- From 100% to 76% HP:
- If flag 21 is active:
- 40% chance to cast Rock Bullet. (Targets the front row.) Activate flag 22. Deactivate flag 21.
- 40% chance to cast Rending Claws. (Standard targeting.) Activate flag 23. Deactivate flag 21.
- 20% chance to use a regular attack. (Standard targeting.) Deactivate flag 21.
- If flag 22 is active:
- 40% chance to cast Sonic Blow. (Standard targeting.) Activate flag 21. Deactivate flag 22.
- 40% chance to cast Rending Claws. (Standard targeting.) Activate flag 23. Deactivate flag 22.
- 20% chance to use a regular attack. (Standard targeting.) Deactivate flag 22.
- If flag 23 is active:
- 40% chance to cast Sonic Blow. (Standard targeting.) Activate flag 21. Deactivate flag 23.
- 40% chance to cast Rock Bullet. (Targets the front row.) Activate flag 22. Deactivate flag 23.
- 20% chance to use a regular attack. (Standard targeting.) Deactivate flag 23.
- Else:
- 30% chance to cast Sonic Blow. (Standard targeting.) Activate flag 21.
- 30% chance to cast Rock Bullet. (Targets the front row.) Activate flag 22.
- 30% chance to cast Rending Claws. (Standard targeting.) Activate flag 23.
- 10% chance to use a regular attack. (Standard targeting.)
- From 75% to 51% HP:
- If at least 1 party member is asleep, 70% chance to cast Sonic Blow. (Targets party members that are asleep.)
- Else:
- 30% chance to cast Sonic Blow. (Standard targeting.)
- 30% chance to cast Rock Bullet. (Targets the front row.)
- 30% chance to cast Rending Claws. (Standard targeting.)
- 10% chance to use a regular attack. (Standard targeting.)
- From 50% HP to death:
- If flag 11 is not active:
- 45% chance to cast Sonic Blow. (Standard targeting.) Activate flag 11.
- 45% chance to cast Rending Claws. (Standard targeting.) Activate flag 11.
- 10% chance to use a regular attack. (Standard targeting.)
- Else:
- 50% chance to cast Prism Laser. (Standard targeting.) Deactivate flag 11.
- 40% chance to cast Rock Bullet. (Targets the front row.) Deactivate flag 11.
- 9% chance to cast Eternal Lament. (Standard targeting.) Deactivate flag 11.
- 1% chance to use a regular attack. (Standard targeting.) Deactivate flag 11.
- Eternal Tyrant
- ==============
- End of turn parameters:
- Activate flag 22.
- Add 1 to counter 1.
- Add 1 to counter 2.
- If Grudge Miasma is active, set counters 1 and 2 to 0.
- If Grudge Miasma is active, cast Miasma Blade at the end of the turn. (Standard targeting.)
- If self is petrified, asleep, or panicking, do nothing.
- If counter 1 is at 5 or above, and Grudge Miasma is not active, cast Grudge Miasma. (Standard targeting.)
- Else, do nothing.
- If counter 1 is at 2 or less, deactivate flag 22.
- If Miasma Drain is active, cast Burning Miasma. (Standard targeting.) Set counter 1 to 0.
- If counter 2 is at 2 or above, cast Miasma Drain. (Standard targeting.) Deactivate flags 1, 2, 11, 12, 13, 14, and 15.
- If no one has the Ruinous Roar buff, flags 21 and 22 are not active, and HP is below 76%, cast Ruinous Roar. (Standard targeting.) Activate flags 1 and 21.
- If no one has the Ruinous Roar buff, flag 1 is not active, counter 1 is at 3 or above, and HP is below 51%, 40% chance to cast Ruinous Roar. (Standard targeting.) Activate flag 1.
- If no one has the Ruinous Roar buff, flags 1 and 2 are not active, counter 1 is at 4 or above, and HP is below 51%, 60% chance to cast Ruinous Roar. (Standard targeting.) Activate flag 2.
- If no one has the Ruinous Roar buff, flag 1 is not active, counter 1 is at 2 or below, and HP is below 76%, 50% chance to cast Ruinous Roar. (Standard targeting.) Activate flag 1.
- If no one has the Ruinous Roar buff, flag 2 are not active, Grudge Miasma is active, and HP is below 76%, 20% chance to cast Ruinous Roar. (Standard targeting.) Activate flag 2.
- From 100% to 76% HP:
- If flag 11 is active, cast Freeze Breath. (Standard targeting.) Deactivate flag 11.
- If Grudge Miasma is active:
- 40% chance to activate flag 13.
- 25% chance to activate flag 12.
- 30% chance to activate flag 13.
- 5% chance to do nothing.
- Else:
- 65% chance to activate flag 12.
- 30% chance to activate flag 13.
- 5% chance to do nothing.
- If flag 12 is active, cast Dark Claw. (Standard targeting.) Deactivate flag 12.
- If Grudge Miasma is active:
- 40% chance to activate flag 13.
- 25% chance to activate flag 11.
- 30% chance to activate flag 13.
- 5% chance to do nothing.
- Else:
- 65% chance to activate flag 11.
- 30% chance to activate flag 13.
- 5% chance to do nothing.
- If flag 13 is active, cast Crushing Claws. (Standard targeting.) Deactivate flag 13.
- If Grudge Miasma is not active:
- 45% chance to activate flag 11.
- 50% chance to activate flag 12.
- 5% chance to do nothing.
- Else:
- 35% chance to activate flag 11.
- 35% chance to activate flag 12.
- 30% chance to do nothing.
- Else, use a regular attack. (Standard targeting.)
- 45% chance to activate flag 11.
- 45% chance to activate flag 12.
- 10% chance to do nothing.
- From 75% to 51% HP:
- If counter 1 is at 2, and flags 15 and 25 are not active, 70% chance to cast Panic Crush. (Targets the front row.) Activate flags 15 and 25.
- If flag 11 is active, cast Freeze Breath. (Standard targeting.) Deactivate flag 11.
- If Grudge Miasma is active:
- 40% chance to activate flag 15.
- 30% chance to activate flag 12.
- 29% chance to activate flag 13.
- 1% chance to do nothing.
- Else:
- 20% chance to activate flag 15.
- 40% chance to activate flag 12.
- 39% chance to activate flag 13.
- 1% chance to do nothing.
- If flag 12 is active, cast Dark Claw. (Standard targeting.) Deactivate flag 12.
- If Grudge Miasma is active:
- 40% chance to activate flag 15.
- 30% chance to activate flag 11.
- 29% chance to activate flag 13.
- 1% chance to do nothing.
- Else:
- 20% chance to activate flag 15.
- 40% chance to activate flag 11.
- 39% chance to activate flag 13.
- 1% chance to do nothing.
- If flag 13 is active, cast Crushing Claws. (Standard targeting.) Deactivate flag 13.
- 10% chance to activate flag 15.
- 45% chance to activate flag 11.
- 44% chance to activate flag 12.
- 1% chance to do nothing.
- If flag 14 is active, cast Thunder Howl. (Standard targeting.) Deactivate flag 14.
- 10% chance to activate flag 15.
- 30% chance to activate flag 11.
- 30% chance to activate flag 12.
- 29% chance to activate flag 13.
- 1% chance to do nothing.
- If flag 15 is active, cast Panic Crush. (Targets the front row.) Deactivate flag 15.
- 40% chance to activate flag 11.
- 40% chance to activate flag 12.
- 19% chance to activate flag 13.
- 1% chance to do nothing.
- Else, use a regular attack. (Standard targeting.)
- 45% chance to activate flag 11.
- 45% chance to activate flag 12.
- 5% chance to activate flag 13.
- 5% chance to do nothing.
- From 50% HP to death:
- If counter 1 is at 2, and flags 14 and 26 are not active, 70% chance to cast Thunder Howl. (Standard targeting.) Activate flags 14 and 26.
- If flag 11 is active, cast Freeze Breath. (Standard targeting.) Deactivate flag 11.
- If Grudge Miasma is active:
- 10% chance to activate flag 14.
- 40% chance to activate flag 15.
- 20% chance to activate flag 12.
- 29% chance to activate flag 13.
- 1% chance to do nothing.
- Else:
- 10% chance to activate flag 14.
- 20% chance to activate flag 15.
- 35% chance to activate flag 12.
- 34% chance to activate flag 13.
- 1% chance to do nothing.
- If flag 12 is active, cast Dark Claw. (Standard targeting.) Deactivate flag 12.
- If Grudge Miasma is active:
- 10% chance to activate flag 15.
- 40% chance to activate flag 14.
- 20% chance to activate flag 11.
- 29% chance to activate flag 13.
- 1% chance to do nothing.
- Else:
- 10% chance to activate flag 15.
- 20% chance to activate flag 14.
- 35% chance to activate flag 11.
- 34% chance to activate flag 13.
- 1% chance to do nothing.
- If flag 13 is active, cast Crushing Claws. (Standard targeting.) Deactivate flag 13.
- If Grudge Miasma is active:
- 10% chance to activate flag 15.
- 40% chance to activate flag 14.
- 20% chance to activate flag 11.
- 29% chance to activate flag 12.
- 1% chance to do nothing.
- Else:
- 10% chance to activate flag 15.
- 20% chance to activate flag 14.
- 35% chance to activate flag 11.
- 34% chance to activate flag 12.
- 1% chance to do nothing.
- If flag 14 is active, cast Thunder Howl. (Standard targeting.) Deactivate flag 14.
- 10% chance to activate flag 15.
- 30% chance to activate flag 11.
- 30% chance to activate flag 12.
- 29% chance to activate flag 13.
- 1% chance to do nothing.
- If flag 15 is active, cast Panic Crush. (Targets the front row.) Deactivate flag 15.
- 10% chance to activate flag 14.
- 30% chance to activate flag 11.
- 30% chance to activate flag 12.
- 29% chance to activate flag 13.
- 1% chance to do nothing.
- Else, use a regular attack. (Standard targeting.)
- 45% chance to activate flag 11.
- 45% chance to activate flag 12.
- 5% chance to activate flag 13.
- 1% chance to activate flag 14.
- 1% chance to activate flag 15.
- 3% chance to do nothing.
- Harvester
- =========
- End of turn parameters:
- Set counter 3 to 0.
- If self is petrified, asleep, or panicking, do nothing.
- If flag 21 is not active and HP is below 91%, set counter 2 to 0.
- If flag 22 is not active and HP is below 71%, set counter 2 to 0.
- Add 1 to counter 1.
- Add 1 to counter 2.
- If counter 1 is at 5 or above, set counter 1 to 0. Deactivate flags 1, 2, 3, 4, and 5.
- If counter 2 is at 5 or above, set counter 2 to 0.
- If self is petrified, asleep, or panicking, do nothing.
- If HP is below 51%:
- While self does not have a buff, 30% chance to follow this routine:
- If self does not have an accuracy buff, 30% chance to cast Calculated Jig. (Targets self.)
- If self does not have a defense buff, 30% chance to cast Guard Waltz. (Targets self.)
- If self does not have an attack buff, 30% chance to cast Charge Flamenco. (Targets self.)
- If self does not have a disable resistance buff, 30% chance to cast Aberrant Klezmer. (Targets self.)
- Else, add 1 to counter 3.
- If counter 3 is at 6 or above, do nothing.
- Else, Dodge Mazurka. (Targets self.)
- If HP is below 70%:
- If flags 21 or 22 are not active, activate flags 21 and 22.
- If counter 2 is at 1, cast Aberrant Klezmer. (Targets self.)
- If counter 2 is at 2, cast Dodge Mazurka. (Targets self.)
- If counter 2 is at 3 or above:
- 33% chance to cast Calculated Jig. (Targets self.)
- 33% chance to cast Guard Waltz. (Targets self.)
- 34% chance to cast Charge Flamenco. (Targets self.)
- Else, do nothing.
- If HP is below 90%:
- If flag 21 is not active, activate flag 21.
- If counter 2 is at 1, cast Calculated Jig. (Targets self.)
- If counter 2 is at 2, cast Guard Waltz. (Targets self.)
- If counter 2 is at 3, cast Charge Flamenco. (Targets self.)
- Else, do nothing. Set counter 2 to 0.
- Else, do nothing.
- If counter 1 is at 4, and HP is below 76%, cast Marionette. (Standard targeting.)
- If every living party member has their heads, arms, and legs bound, cast Marionette. (Standard targeting.)
- If HP is below 76%, chance to cast Marionette. (Standard targeting.) The chance is calculated by multiplying the number of binds on the party by 10.
- From 100% to 76% HP:
- If counter 1 is at 0, cast Conviction. (Targets the front row.) Activate flag 1.
- If counter 1 is at 1, cast Boreal Wind. (Standard targeting.) Activate flag 2.
- If counter 1 is at 2, cast Discipline. (Standard targeting.) Activate flag 3.
- Else, use a regular attack. (Standard targeting.)
- From 75% to 51% HP:
- If counter 1 is at 4 and flag 25 is not active, cast Inflame. (Standard targeting.) Add 4 to counter 1. Activate flag 25.
- If flag 1 is active, cast Conviction. (Targets the front row.) Deactivate flag 1.
- 40% chance to activate flag 2.
- 40% chance to activate flag 3.
- 20% chance to do nothing.
- If flag 2 is active, cast Boreal Wind. (Standard targeting.) Deactivate flag 2.
- 40% chance to activate flag 1.
- 40% chance to activate flag 3.
- 20% chance to do nothing.
- If flag 3 is active, cast Discipline. (Standard targeting.) Deactivate flag 3.
- 40% chance to activate flag 1.
- 40% chance to activate flag 2.
- 20% chance to do nothing.
- Else, use a regular attack. (Standard targeting.)
- 30% chance to activate flag 1.
- 30% chance to activate flag 2.
- 30% chance to activate flag 3.
- 10% chance to do nothing.
- From 50% HP to death:
- If flag 26 is not active, cast Glorious Flare. (Standard targeting.) Activate flags 5 and 26.
- If counter 1 is at 1, and flag 4 is not active, 20% chance to cast Inflame. (Standard targeting.) Activate flag 4.
- If counter 1 is at 4, and flag 4 is not active, 30% chance to cast Inflame. (Standard targeting.) Activate flag 4.
- If flag 5 is active, cast Glorious Flare. (Standard targeting.) Deactivate flag 5.
- 33% chance to activate flag 1.
- 33% chance to activate flag 2.
- 33% chance to activate flag 3.
- 1% chance to do nothing.
- If flag 1 is active, cast Conviction. (Targets the front row.) Deactivate flag 1.
- 30% chance to activate flag 2.
- 30% chance to activate flag 3.
- 39% chance to activate flag 5.
- 1% chance to do nothing.
- If flag 2 is active, cast Boreal Wind. (Standard targeting.) Deactivate flag 2.
- 30% chance to activate flag 1.
- 30% chance to activate flag 3.
- 39% chance to activate flag 5.
- 1% chance to do nothing.
- If flag 3 is active, cast Discipline. (Standard targeting.) Deactivate flag 3.
- 30% chance to activate flag 1.
- 30% chance to activate flag 2.
- 39% chance to activate flag 5.
- 1% chance to do nothing.
- Else, use a regular attack. (Standard targeting.)
- 20% chance to activate flag 1.
- 20% chance to activate flag 2.
- 20% chance to activate flag 3.
- 39% chance to activate flag 5.
- 1% chance to do nothing.
- Primordiphant
- =============
- If HP is below 61%, and flag 2 is not active, cast King's Grace. (Standard targeting.) Activate flags 2 and 1.
- If HP is below 91%, and flag 1 is not active, cast Leg Binder. (Standard targeting.) Activate flag 1.
- If flag 0 is active:
- Add 1 to counter 1.
- If counter 1 is at 5 or above, set counter to 0.
- If HP is below 31%:
- If counter 1 is at 3 or above, cast Emperor Strike. (Standard targeting.) Add 1 to counter 1.
- If counter 1 is at 2, 50% chance to cast Fang Skewer. (Targets the front row.)
- If coutner 1 is at 1:
- 50% chance to cast Trunk Whip. (Standard targeting.)
- 50% chance to cast Leg Binder. (Stnadard targeting.)
- If counter 1 is at 0:
- If no one has the King's Grace debuff, cast King's Grace. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 61%:
- If counter 1 is at 4 or above, cast Emperor Strike. (Standard targeting.)
- If counter 1 is at 2, cast Fang Skewer. (Targets the front row.)
- If counter 1 is at 1:
- If no one has the King's Grace debuff, cast King's Grace. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If counter 1 is at 0, cast Trunk Whip. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- If HP is below 91%:
- If counter 1 is at 4 or above, cast Emperor Strike. (Standard targeting.)
- If counter 1 is at 2, cast Fang Skewer. (Targets the front row.)
- If counter 1 is at 1, cast Leg Binder. (Standard targeting.)
- Else, use a regular attack. (Standard targeting.)
- Else:
- If counter 1 is at 4 or above, cast Emperor Strike. (Standard targeting.)
- If counter 1 is at 2, cast Fang Skewer. (Targets the front row.)
- Else, use a regular attack. (Standard targeting.)
- Else, cast Emperor Strike. (Standard targeting.) Activate flag 0.
- Dryad
- =====
- End of turn parameters:
- Add 1 to counter 1.
- If counter 1 is at 6 or above, set counter to 0, then deactivate flags 1, 2, 3, 4, 5, and 6.
- If self is petrified, asleep, or panicking, do nothing.
- Cast Form Change on the 1st turn. (Targets self.)
- If counter 1 is at 5, cast Form Change. (Targets self.)
- Else, do nothing.
- If self is in the Form Change state, cast Earth's Heal. (Targets self.)
- If flag 11 is not active, cast Rage Vent. (Standard targeting.) Activate flag 11.
- From 100% to 76% HP:
- If flag 1 is active, cast Double Flame. (Standard targeting.) Deactivate flag 1.
- 65% chance to activate flag 2.
- 30% chance to activate flag 3.
- 5% chance to do nothing.
- If flag 2 is active, cast Icicle Triad. (Targets the front row.) Deactivate flag 2.
- 65% chance to activate flag 1.
- 30% chance to activate flag 3.
- 5% chance to do nothing.
- If flag 3 is active, cast Bull Whip. (Standard targeting.) Deactivate flag 3.
- 45% chance to activate flag 1.
- 45% chance to activate flag 2.
- 10% chance to do nothing.
- Else, use a regular attack. (Standard targeting.)
- 65% chance to activate flag 2.
- 30% chance to activate flag 3.
- 5% chance to do nothing.
- From 75% to 51% HP:
- If counter 1 is equal to 2 or 4:
- 65% chance to cast Thunderbolt. (Standard targeting.)
- 30% chance to cast Bull Whip. (Stnadard targeting.)
- 5% chance to use a regular attack. (Standard targeting.)
- Else:
- 35% chance to cast Double Flame. (Standard targeting.)
- 35% chance to cast Icicle Triad. (Targets the front row.)
- 25% chance to cast Bull Whip. (Standard targeting.)
- 5% chance to use a regular attack. (Standard targeting.)
- From 50% HP to death:
- If counter 1 is equal to 0, 70% chance to cast Black Pollen. (Standard targeting.) Activate flag 5.
- If counter 1 is equal to 1, and flag 5 is not active, cast Black Pollen. (Standard targeting.) Activate flag 5.
- If counter 1 is equal to 1, and flag 5 is active, 70% chance to cast Rage Vent. (Standard targeting.) Activate flag 6.
- If counter 1 is equal to 2, and flag 6 is not active, cast Rage Vent. (Standard targeting.) Activate flag 6.
- Else:
- If flag 1 is active, cast Double Flame. (Standard targeting.) Deactivate flag 1.
- 40% chance to activate flag 2.
- 30% chance to activate flag 3.
- 25% chance to activate flag 4.
- 5% chance to do nothing.
- If flag 2 is active, cast Icicle Triad. (Targets the front row.) Deactivate flag 2.
- 40% chance to activate flag 1.
- 30% chance to activate flag 3.
- 25% chance to activate flag 4.
- 5% chance to do nothing.
- If flag 3 is active, cast Bull Whip. (Standard targeting.) Deactivate flag 3.
- 40% chance to activate flag 1.
- 40% chance to activate flag 2.
- 15% chance to activate flag 4.
- 5% chance to do nothing.
- If flag 4 is active, cast Thunderbolt. (Standard targeting.) Deactivate flag 4.
- 35% chance to activate flag 1.
- 35% chance to activate flag 2.
- 25% chance to activate flag 3.
- 5% chance to do nothing.
- Else, use a regular attack. (Standard targeting.)
- 35% chance to activate flag 1.
- 35% chance to activate flag 2.
- 20% chance to activate flag 3.
- 5% chance to activate flag 4.
- 5% chance to do nothing.
Advertisement
Add Comment
Please, Sign In to add comment