コード例 #1
0
        private void TryUndoActionStatuses()
        {
            if (FActionStatus.HasFlag(this._data.Target.Proxy.GetActionFlags().CurFlags, FActionStatus.Flags.Riposting))
            {
                var data = new EvUndoRiposteData();
                data.Char = this._data.Target;
                var e = new EvUndoRiposte(data);
                e.TryProcess();
            }

            if (FActionStatus.HasFlag(this._data.Target.Proxy.GetActionFlags().CurFlags, FActionStatus.Flags.Spearwalling))
            {
                var data = new EvUndoSpearwallData();
                data.Char = this._data.Target;
                var e = new EvUndoSpearwall(data);
                e.TryProcess();
            }

            if (FActionStatus.HasFlag(this._data.Target.Proxy.GetActionFlags().CurFlags, FActionStatus.Flags.ShieldWalling))
            {
                var data = new EvUndoShieldWallData();
                data.Char = this._data.Target;
                var e = new EvUndoShieldWall(data);
                e.TryProcess();
            }
        }
コード例 #2
0
 public void SetData(EvUndoRiposteData data)
 {
     this._data = data;
 }
コード例 #3
0
 public EvUndoRiposte(EvUndoRiposteData d) : base(ECombatEv.UndoRiposte)
 {
     this._data = d;
 }