예제 #1
0
        protected override string GetDescString(string langid = null)
        {
            var desc = $"";

            if (BlankClearRadius != 0)
            {
                desc = $"<style=cIsUtility>{descText}</style>";
            }
            if (BlankClearRadius == -1)
            {
                desc += $" in the stage.";
            }
            else
            {
                desc += $"within a radius of {BlankClearRadius} meters";
            }
            desc += $" <style=cIsUtility>Pushes enemies back</style>, and <style=cIsDamage>deals {Pct(Blank_DamageDealt)} damage</style>";
            if (BlankRadius == BlankClearRadius)
            {
                desc += $".";
            }
            else
            {
                desc += $" within {BlankRadius}";
            }
            desc += $"\nConsumed on use." +
                    $"\nCooldown: {ConfigBlankCooldown} seconds" +
                    $"\nPress " + BlankButton.ToString() + " to activate";
            return(desc);
        }
예제 #2
0
        public static Bitmap GetBitmap(BlankButton button)
        {
            // Have we already extracted this bmp?
            // Buttons are stored as lower case.
            string buttonname = button.ToString().ToLowerInvariant();

            return(GetImage(buttonname, "png"));
        }
예제 #3
0
        public static Bitmap GetBitmap(BlankButton button)
        {
            // Have we already extracted this bmp?
            // Buttons are stored as lower case.
            string buttonname = button.ToString().ToLowerInvariant();

            return GetImage(buttonname, "png");
        }