This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
def calculate_damage(dex, str, int, do_print, no_howa, no_falcon, no_moat): | |
if do_print: print("Attributes") | |
if do_print: print("--------------------") | |
if do_print: print(f"Total: {dex + int + str}") | |
if do_print: print(f"Dex: {dex} Int: {int} Str: {str}") | |
if do_print: print() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Get user information | |
# | |
read -p "osu! API v1 key: " api_key | |
read -p "bancho.py fork (leave blank for main repo): " bpy_fork | |
bpy_fork=${bpy_fork:-osuakatsuki/bancho.py} | |
# | |
# Setup bancho.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Every X ms the hue changes by 1, and after 360 it went through all colors once. | |
// Might not do any change with low values as the code couldnt keep up, | |
// see it more as a minimum time for it to change to the next hue. | |
// | |
SPEED = 1; // minimum 360ms for full cycle | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Discord; | |
using Discord.Interactions; | |
using huisbot.Models.Osu; | |
using huisbot.Services; | |
using huisbot.Utilities; | |
using huisbot.Utilities.Discord; | |
using OsuParsers.Decoders; | |
using OsuParsers.Enums; | |
using OsuParsers.Enums.Replays; | |
using OsuParsers.Replays; |