Final Fantasy Wiki
mNo edit summary
mNo edit summary
Line 24: Line 24:
 
|Status = [[Control|Manipulate]]
 
|Status = [[Control|Manipulate]]
 
}}
 
}}
'''SOLDIER: 1st''' is an enemy from ''[[Final Fantasy VII]]''. They carry a piece of armor called [[List of Final Fantasy VII Armor#Shinra Alpha|Shinra Alpha]], which is quite strong and worth stealing as it cannot be bought in any store. Offensively, they use many powerful physical attacks.
+
'''SOLDIER: 1st''' is an enemy from ''[[Final Fantasy VII]]''. They carry a piece of armor called [[List of Final Fantasy VII Armor#Shinra Alpha|Shinra Alpha]], which is quite strong and worth stealing as it cannot be bought in any store. Offensively, they use many powerful physical attacks, especially Sword of Doom. They also use Silence. However, they are immune to no statuses but Manipulate, so the player should not fear them if they can inflict one.
  +
  +
==AI Script==
  +
AI: Setup
  +
{
  +
:SelectTar = Choose Random Opponent
  +
:Count = Rnd(0..2)
  +
:SpclChance = 5
  +
}
  +
AI: Main
  +
{
  +
:If (Count == 0) Then
  +
:{
  +
::Choose Random Opponent
  +
::Use <Fight> on Target
  +
::If (Rnd(1..SpclChance) == 1) Then
  +
::{
  +
:::Choose Random Opponent
  +
:::Use <Fight> on Target
  +
::}
  +
::Count = 0
  +
:} Else If (Count == 1) Then {
  +
::If (SelectTar doesn't have Death Status) Then
  +
::{
  +
:::Choose SelectTar
  +
::} Else {
  +
:::Choose Random Opponent
  +
::}
  +
::Use <Quadra-Cut> on Target
  +
::Count = 0
  +
:} Else {
  +
::If (SelectTar doesn't have Death Status) Then
  +
::{
  +
:::Choose SelectTar
  +
::} Else {
  +
:::Choose Random Opponent
  +
::}
  +
::Use Sword of Doom on Target
  +
::Count = 0
  +
:}
  +
}
  +
AI: Counter - General
  +
{
  +
:If ((SOLDIER:1st's HP <= 25% of SOLDIER:1st's Max HP)
  +
:::AND (SpclChance == 3)) Then
  +
:{
  +
::SelectTar = SOLDIER:1st's Last Attacker (General)
  +
::SpclChance = 2
  +
::Count = 2
  +
:} Else If ((SOLDIER:1st's HP <= 50% of SOLDIER:1st's Max HP)
  +
::::: AND (SpclChance == 4)) Then {
  +
::SelectTar = SOLDIER:1st's Last Attacker (General)
  +
::SpclChance = 3
  +
::Count = 1
  +
:} Else If ((SOLDIER:1st's HP <= 75% of SOLDIER:1st's Max HP)
  +
::::: AND (SpclChance == 5)) Then {
  +
::SelectTar = SOLDIER:1st's Last Attacker (General)
  +
::SpclChance = 4
  +
::Count = 1
  +
:} Else {
  +
::SpclChance = 5
  +
::Count = 0
  +
:}
  +
}
  +
AI: Counter - Magical
  +
{
  +
:Choose SOLDIER:1st's Last Attacker (Magical)
  +
:If ((Target doesn't have Silence Status)
  +
:::AND (SOLDIER:1st's MP >= 24)) Then
  +
:{
  +
::Use Silence on Target
  +
:}
  +
}
   
 
==Related enemies==
 
==Related enemies==

Revision as of 16:22, 22 January 2012

Template:FFVII Enemies SOLDIER: 1st is an enemy from Final Fantasy VII. They carry a piece of armor called Shinra Alpha, which is quite strong and worth stealing as it cannot be bought in any store. Offensively, they use many powerful physical attacks, especially Sword of Doom. They also use Silence. However, they are immune to no statuses but Manipulate, so the player should not fear them if they can inflict one.

AI Script

AI: Setup {

SelectTar = Choose Random Opponent
Count = Rnd(0..2)
SpclChance = 5

} AI: Main {

If (Count == 0) Then
{
Choose Random Opponent
Use <Fight> on Target
If (Rnd(1..SpclChance) == 1) Then
{
Choose Random Opponent
Use <Fight> on Target
}
Count = 0
} Else If (Count == 1) Then {
If (SelectTar doesn't have Death Status) Then
{
Choose SelectTar
} Else {
Choose Random Opponent
}
Use <Quadra-Cut> on Target
Count = 0
} Else {
If (SelectTar doesn't have Death Status) Then
{
Choose SelectTar
} Else {
Choose Random Opponent
}
Use Sword of Doom on Target
Count = 0
}

} AI: Counter - General {

If ((SOLDIER:1st's HP <= 25% of SOLDIER:1st's Max HP)
AND (SpclChance == 3)) Then
{
SelectTar = SOLDIER:1st's Last Attacker (General)
SpclChance = 2
Count = 2
} Else If ((SOLDIER:1st's HP <= 50% of SOLDIER:1st's Max HP)
AND (SpclChance == 4)) Then {
SelectTar = SOLDIER:1st's Last Attacker (General)
SpclChance = 3
Count = 1
} Else If ((SOLDIER:1st's HP <= 75% of SOLDIER:1st's Max HP)
AND (SpclChance == 5)) Then {
SelectTar = SOLDIER:1st's Last Attacker (General)
SpclChance = 4
Count = 1
} Else {
SpclChance = 5
Count = 0
}

} AI: Counter - Magical {

Choose SOLDIER:1st's Last Attacker (Magical)
If ((Target doesn't have Silence Status)
AND (SOLDIER:1st's MP >= 24)) Then
{
Use Silence on Target
}

}

Related enemies