2017-06-12 03:50:02 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using FFXIVClassic_Map_Server.Actors;
|
|
|
|
|
|
|
|
|
|
namespace FFXIVClassic_Map_Server.actors.chara.ai.state
|
|
|
|
|
{
|
|
|
|
|
class AttackState : State
|
|
|
|
|
{
|
|
|
|
|
public AttackState(Character owner, Character target) :
|
|
|
|
|
base(owner, target)
|
|
|
|
|
{
|
|
|
|
|
this.startTime = DateTime.Now;
|
2017-06-18 22:01:55 +01:00
|
|
|
|
// todo: should handle everything here instead of on next tick..
|
2017-06-12 03:50:02 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnStart()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-14 20:01:15 +01:00
|
|
|
|
public override void Update(DateTime time)
|
2017-06-12 03:50:02 +01:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnInterrupt()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void OnComplete()
|
|
|
|
|
{
|
2017-06-18 22:01:55 +01:00
|
|
|
|
isCompleted = true;
|
2017-06-12 03:50:02 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void TryInterrupt()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|