Skip to content

Instantly share code, notes, and snippets.

View masterots's full-sized avatar

Joshua Melvin masterots

  • Rapid7
  • Greater Boston Area, MA
View GitHub Profile
This file has been truncated, but you can view the full file.
{
"Arrow of Slaying": {
"name": "Arrow of Slaying",
"meta": {
"Type": "Ammunition",
"Cost": "0 gp",
"Weight": "0.05 lb",
"Rarity": "very rare",
"Magic": true,
"Roll": "6d10",
How to Use Inventory!
!inv [+/-/?/help/delete] [item] [quantity]
Accesses the cvar inv for the current character.
When specifying an item with a name longer than 1 word, use the format "Item Name"
!inv shows the current character's inventory
!inv ? Item searches for the given item
!inv + Item adds one of the given item
!inv + Item # adds the given number of the given item
!inv - Item removes one of the given item
@masterots
masterots / DeckOfMany
Last active June 25, 2022 17:40
Avrae deck of many commands
Yeah let me copy it over for you
Deck of Many Things
by @Dominus Croebh
So, for this one, you need all of the cvars from the pastebins. Then you call it with:
!deckofmany [#]
The deck maxes at 22. You might notice the images don't match the names, I'm too lazy to photoshop new images.
Cards with a crown are only available in the full deck, as per DMG.162.
@masterots
masterots / Adric Firahel
Last active October 25, 2021 00:04
Avrae discord bot aliases
# Create counter to track Ki points
!customcounter create Ki -min 0 -max 2
# Create command to use Ki points for Flurry of Blows
!alias flurry !multiline
{{"!cc Ki -1" if get_cc("Ki") > 0 else "No Ki left"}}
{{"!attack Unarmed Strike" if get_cc("Ki") > 0 else ""}}
{{"!attack Unarmed Strike" if get_cc("Ki") > 0 else ""}}
# Create command to use Ki points for Flurry of Blows with named opponent
@masterots
masterots / house-repairs.md
Last active August 3, 2016 06:13
Items discussed with contractor
  • Clean and trim 11 trees
  • Roof repair on back of house and inside drywall
  • Laundry room wall repair and replace door
  • Replace fence and gate on side of house
  • Re-tile bathtube, replace main door, replace light fixture
  • Replace entire bathtub in master, replace light fixture
@masterots
masterots / house-questions.md
Last active August 3, 2016 02:29
Questions about the house
  • Is location zoned to allow rental of above-garage space?
    • Yes!
  • Is the property currently rented?
  • Is that loft apt set up to be separate for utilities, mail, etc?
    • 3 meters
  • What is the community like? (How many year round folks, families vs retired folks, etc.)
  • What are the oil/electric heating zones?
  • Is there a fence / can one be built around the back yard for pets?
    • Not completely fenced
  • Sloped backyard

Keybase proof

I hereby claim:

  • I am masterots on github.
  • I am masterots (https://keybase.io/masterots) on keybase.
  • I have a public key ASDKksouqkELMOinqkwFJrkHvsBh57JuvXtrs_hGFgD8Bgo

To claim this, I am signing this object:

@masterots
masterots / largestPalindrome.js
Created April 30, 2015 22:00
Project Euler - largest palindrome
function largestPalindrome(lowNum, highNum) {
var max = 0;
for (var i = highNum; i >= lowNum; i--) {
for (var j = i; j >= lowNum; j--) {
var mul = j * i;
if (isPalindrome(mul) && mul > max) {
max = i * j;
}
}
}
@masterots
masterots / largestPrimeFactor.js
Created April 30, 2015 21:11
Project Euler - Largest prime factor
function isPrime(n) {
if (isNaN(n) || !isFinite(n) || n % 1 || n < 2) {
return false;
}
if (n % 2== 0) {
return (n == 2);
}
if (n % 3== 0) {
return (n == 3);
}
@masterots
masterots / sumOfEvenFibonacciNumbers.js
Last active August 29, 2015 14:20
Project Euler - Even Fibonacci numbers
function *fibbonacciGenerator(max) {
if (!max) {
console.log("Please enter a maximum number for the fibbonacciGenerator");
return;
}
var previous = 0;
var next = 1;
var current = 1;
while (current < max) {
yield current;