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); }
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")); }
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"); }