Example #1
0
        private void Process()
        {
            VCharUtil.Instance.ProcessDeadChar(this._data.Target);
            if (this._data.Target.Equals(CombatManager.Instance.GetCurrentlyActing()))
            {
                var bob = this._data.Target.GameHandle.GetComponent <SBob>();
                if (bob != null)
                {
                    bob.Reset();
                }
                CombatManager.Instance.ProcessEndTurn();
            }
            var data = new EvSplatterData();

            data.Target     = this._data.Target.Tile.Handle;
            data.DmgPercent = 0.5;
            var e = new EvSplatter(data);

            e.TryProcess();
            this.DoCallbacks();
        }
Example #2
0
 public void SetData(EvSplatterData data)
 {
     this._data = data;
 }
Example #3
0
 public EvSplatter(EvSplatterData d) : base(EGuiEv.Splatter)
 {
     this._data = d;
 }