2022-05-16 13:35:37 +00:00
|
|
|
class WMAICommand_HuskOmegaFireBallBarrageAttack extends AICommand_RangedAttack
|
|
|
|
within WMAIController_ZedHusk_Omega;
|
|
|
|
|
|
|
|
/** Simple constructor that pushes a new instance of the command for the AI */
|
|
|
|
static function bool FireBallBarrageAttack(WMAIController_ZedHusk_Omega AI)
|
|
|
|
{
|
|
|
|
local WMAICommand_HuskOmegaFireBallBarrageAttack Cmd;
|
|
|
|
|
|
|
|
if (AI != None)
|
|
|
|
{
|
|
|
|
Cmd = new(AI) default.class;
|
|
|
|
if (Cmd != None)
|
|
|
|
{
|
|
|
|
AI.PushCommand(Cmd);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
state Command_SpecialMove
|
|
|
|
{
|
|
|
|
function ESpecialMove GetSpecialMove()
|
|
|
|
{
|
|
|
|
return SM_Custom1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function Pushed()
|
|
|
|
{
|
|
|
|
Super.Pushed();
|
|
|
|
|
|
|
|
`AILog("Beginning fireball barrage" $ Enemy, 'Command_FireBall_Barrage');
|
|
|
|
AIActionStatus = "Starting fireball barrage AICommand";
|
|
|
|
}
|
|
|
|
|
|
|
|
function Popped()
|
|
|
|
{
|
|
|
|
AIActionStatus = "Finished fireball barrage AICommand";
|
|
|
|
LastFireBallBarrageTime = WorldInfo.TimeSeconds;
|
|
|
|
Super.Popped();
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultproperties
|
|
|
|
{
|
2024-03-08 14:06:36 +00:00
|
|
|
SpecialMoveClass=class'WMSM_Husk_Omega_FireBallBarrageAttack'
|
2022-05-16 13:35:37 +00:00
|
|
|
|
|
|
|
Name="Default__WMAICommand_HuskOmegaFireBallBarrageAttack"
|
|
|
|
}
|