Author Topic: proud clod - Emerald Weapon AI  (Read 2530 times)

chocofeather

  • Guest
proud clod - Emerald Weapon AI
« on: 2009-10-03 01:44:56 »
I am also creating a difficulty mod for FF7, I have started with emerald weapon.  So far it is going very well.  Only thing I need to know is how it decides to use "aire tam storm"  i have noticed it only seems to do it when the eyes are out, is it completely random?

Bosola

  • Fire hazard!
  • *
  • Posts: 1752
    • View Profile
    • My YouTube Channel
Re: proud clod - Emerald Weapon AI
« Reply #1 on: 2009-10-20 06:49:28 »
Terrence says, "Only used when at least one Eye is alive, or as a C/A under certain conditions". He renders the AI script as,

} Else {
      Count = 5
      If (BattleVar:EyesLeft != 0) Then {
         Choose All Opponents
         Use Aire Tam Storm on Target
         If (Emerald Weapon's HP > 50% of Emerald Weapon's Max HP) Then
         {
            TempVar:Angry = 0
         }

with the counter as

 If (Last Attack was Knights of Round) Then
   {
      TempVar:Angry = 1
      If ((Emerald Weapon's HP <= 50% of Emerald Weapon's Max HP)
            AND (Stage == 1))
      {
         Choose All Opponents
         Use Aire Tam Storm on Target
      }



So, it's used on attack count 5 if at least one eye is remaining, or it can be used as a counter to KOTR when Emerad Weapon's HP is below 50%