Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Chimaera
- ========
- Cap the duration of Panic to 3 turns.
- Cap the duration of Fear to 3 turns.
- Cap the duration of Paralysis to 4 turns.
- Cap the duration of Blind to 4 turns.
- Cap the duration of Head Bind to 4 turns.
- Cap the duration of Arm Bind to 4 turns.
- Cap the duration of Leg Bind to 4 turns.
- If flag 9 is not active, set counters 1 and 2 to 0. Activate flag 9.
- If counter 1 is less than 6, add 1 to counter 1.
- If counter 2 is less than 6, add 1 to counter 1.
- If self is in a pitfall trap:
- If the turn count is equal to 2 or above, cast Pitfall Escape. (Targets self.) Set counter 2 to 0.
- Else, cast Pitfall Snare. (Targets self.)
- Cast Snake Pile on the 1st turn. (Targets the front row.)
- If HP is below 16%:
- If counter 2 is greater than or equal to 2, cast Snake Pile. (Targets the front row.) Set counter 2 to 0.
- If flag 1 is not active, cast Great Blaze. (Standard targeting.) Activate flag 1.
- Else, cast Double Strike. (Standard targeting.) Deactivate flag 1.
- If HP is below 31%:
- If counter 1 is greater than or equal to 5, 89% chance to cast Menacing Roar. (Standard targeting.) Set counter 1 to 0.
- If counter 2 is greater than or equal to 3, 89% chance to cast Snake Pile. (Standard targeting.) Set counter 2 to 0.
- If flag 1 is not active, cast Great Blaze. (Standard targeting.) Activate flag 1. Deactivate flag 2.
- If flag 2 is not active, cast Double Strike. (Standard targeting.) Activate flag 2.
- Else, use a regular attack. (Standard targeting.) Activate flag 2.
- If HP is below 41%:
- If counter 1 is greater than or equal to 5, 89% chance to cast Menacing Roar. (Standard targeting.) Set counter 1 to 0.
- If counter 2 is greater than or equal to 4, 89% chance to cast Snake Pile. (Standard targeting.) Set counter 2 to 0.
- If flag 1 is not active, cast Great Blaze. (Standard targeting.) Activate flag 1. Deactivate flag 2.
- Else, use a regular attack. (Standard targeting.)
- If flag 2 is active, deactivate flag 1.
- Else, activate flag 2.
- If HP is below 51%:
- If counter 2 is greater than or equal to 4, 89% chance to cast Snake Pile. (Standard targeting.) Set counter 2 to 0.
- If flag 1 is not active, cast Great Blaze. (Standard targeting.) Activate flag 1. Deactivate flag 2.
- Else, use a regular attack. (Standard targeting.)
- If flag 2 is active, deactivate flag 1.
- Else, activate flag 2.
- If HP is below 61%:
- If counter 2 is greater than or equal to 5, 89% chance to cast Snake Pile. (Standard targeting.) Set counter 2 to 0.
- If flag 1 is not active, cast Great Blaze. (Standard targeting.) Activate flag 1. Deactivate flag 2.
- Else, use a regular attack. (Standard targeting.)
- If flag 2 is active, deactivate flag 1.
- Else, activate flag 2.
- Else:
- If flag 1 is not active, cast Great Blaze. (Standard targeting.) Activate flag 1. Deactivate flag 2.
- Else, use a regular attack. (Standard targeting.)
- If flag 2 is active, deactivate flag 1.
- Else, activate flag 2.
- Arachne
- =======
- [Note: Fang Sharpen activates persistent flag 30. Poison Swamp activates flags 7 through 14 depending on the level of the skill used, and will always activate flags 17 and 18.]
- Cap the duration of Panic to 3 turns.
- Cap the duration of Fear to 3 turns.
- Cap the duration of Paralysis to 4 turns.
- Cap the duration of Blind to 4 turns.
- Cap the duration of Head Bind to 4 turns.
- Cap the duration of Arm Bind to 4 turns.
- Cap the duration of Leg Bind to 4 turns.
- Run this AI script the moment it's the user's turn.
- Start of turn parameters:
- If flag 16 is not active, store 4 in counter 1. Activate flag 16.
- If counter 1 is greater than or equal to 1, subtract 1 from counter 1.
- End of turn parameters:
- If flag 20 is active, and self is capable of acting:
- Store 4 in counter 1. Deactivate flags 18 and 20.
- If flag 14 is active, deactivate flag 14.
- If flag 13 is active, deactivate flag 13.
- If flag 12 is active, deactivate flag 12.
- If flag 11 is active, deactivate flag 11.
- If flag 10 is active, deactivate flag 10.
- If flag 9 is active, deactivate flag 9.
- If flag 8 is active, deactivate flag 8.
- If flag 7 is active, deactivate flag 7.
- If flag 18 is active, and self is capable of acting, store 4 in counter 1. Deactivate flag 18.
- If self is asleep or panicking, do nothing. Deactivate persistent flag 30.
- If counter 1 is equal to 2, cast Fang Sharpen. (Targets self.) Display message: "Arachne began sharpening her fangs..."
- Else, do nothing. (Targets self.)
- If persistent flag 30 is active, and counter 1 is equal to 1, cast Venomous Bite. (Targets the front row.)
- If self can act, deactivate persistent flag 30.
- If self can act, deactivate persistent flag 30.
- If flag 17 is not active:
- If HP is below 45% and the action counter is equal to 4 or above, cast Poison Swamp (Level 1). Display message: "Arachne spewed poison and created a poison marsh."
- If self is head bound, and self can act, activate flag 20.
- If counter 1 is less than or equal to 0, and flag 7 is not active, cast Poison Swamp (Level 1). Display message: "Arachne spewed poison and created a poison marsh."
- If self is head bound, and self can act, activate flag 20.
- If counter 1 is less than or equal to 0, and flag 8 is not active, cast Poison Swamp (Level 2). Display message: "Arachne spewed poison and created a poison marsh."
- If self is head bound, and self can act, activate flag 20.
- If counter 1 is less than or equal to 0, and flag 9 is not active, cast Poison Swamp (Level 3). Display message: "Arachne spewed poison and created a poison marsh."
- If self is head bound, and self can act, activate flag 20.
- If counter 1 is less than or equal to 0, and flag 10 is not active, cast Poison Swamp (Level 4). Display message: "Arachne spewed poison and created a poison marsh."
- If self is head bound, and self can act, activate flag 20.
- If counter 1 is less than or equal to 0, and flag 11 is not active, cast Poison Swamp (Level 5). Display message: "Arachne spewed poison and created a poison marsh."
- If self is head bound, and self can act, activate flag 20.
- If counter 1 is less than or equal to 0, and flag 12 is not active, cast Poison Swamp (Level 6). Display message: "Arachne spewed poison and created a poison marsh."
- If self is head bound, and self can act, activate flag 20.
- If counter 1 is less than or equal to 0, and flag 13 is not active, cast Poison Swamp (Level 7). Display message: "Arachne spewed poison and created a poison marsh."
- If self is head bound, and self can act, activate flag 20.
- If counter 1 is less than or equal to 0, and flag 14 is not active, cast Poison Swamp (Level 8). Display message: "Arachne spewed poison and created a poison marsh."
- If self is head bound, and self can act, activate flag 20.
- If counter 1 is less than or equal to 0, cast Poison Swamp (Level 9). Display message: "Arachne spewed poison and created a poison marsh."
- If self is head bound, and self can act, activate flag 20.
- If HP is below 15%:
- If flag 6 is not active and self cannot act, deactivate flags 1, 2, 3, and 4. Activate flag 6.
- If flag 1 is not active, cast Silk Spit. (Standard targeting.) If self can act, activate flag 1.
- If flag 2 is not active, cast Stinger. (Standard targeting.) If self can act, activate flag 2.
- Else, cast Silk Spread. (Standard targeting.) If self can act, deactivate flags 1 and 2.
- If HP is below 30%:
- If flag 5 is not active and self cannot act, deactivate flags 1, 2, and 3. Activate flag 5.
- If flag 1 is not active, cast Silk Spit. (Standard targeting.) If self can act, activate flag 1.
- If flag 2 is not active, use a regular attack. (Standard targeting.) If self can act, activate flag 2.
- If flag 3 is not active, cast Silk Spread. (Standard targeting.) If self can act, deactivate flags 1 and 2.
- Else, cast Stinger. (Standard targeting.) If self can act, deactivate flags 1, 2, and 3.
- If flag 17 is active:
- If flag 1 is not active, cast Silk Spit. (Standard targeting.) If self can act, activate flag 1.
- If flag 2 is not active, use a regular attack. (Standard targeting.) If self can act, activate flag 2.
- Else, cast Silk Spread. (Standard targeting.) If self can act, deactivate flags 1 and 2.
- Else, use a regular attack. (Standard targeting.)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement