Exemplo n.º 1
0
        public Potion()
        {
            Stackable     = true;
            DefaultAction = AC_DRINK;

            if (_handler == null)
            {
                return;
            }

            image  = _handler.Image(GetType()) ?? 0;
            _color = _handler.Label(GetType());
        }
Exemplo n.º 2
0
        protected Scroll()
        {
            Stackable     = true;
            DefaultAction = AcRead;

            if (_handler == null)
            {
                return;
            }

            image = _handler.Image(GetType()) ?? 0;
            _rune = _handler.Label(GetType());
        }