Skip to content

Instantly share code, notes, and snippets.

{
init: function(elevators, floors) {
numElevators = elevators.length;
topFloor = floors.length - 1;
bottomFloor = 0;
rotator = 0;
@seriallos
seriallos / core.lua
Created May 1, 2017 07:33
Add gear from bags to /simc output
local _, Simulationcraft = ...
Simulationcraft = LibStub("AceAddon-3.0"):NewAddon(Simulationcraft, "Simulationcraft", "AceConsole-3.0", "AceEvent-3.0")
local OFFSET_ITEM_ID = 1
local OFFSET_ENCHANT_ID = 2
local OFFSET_GEM_ID_1 = 3
local OFFSET_GEM_ID_2 = 4
local OFFSET_GEM_ID_3 = 5
local OFFSET_GEM_ID_4 = 6
{
"1": [],
"2": [
{
"id": "53",
"spell": {
"id": "186945",
"name": "Wrath of the Ashbringer"
}
},
@seriallos
seriallos / relicTraits.json
Created September 18, 2017 20:52
List of Traits that can appear on relics
{
"1": [],
"2": [
{
"id": "53",
"spell": {
"id": "186945",
"name": "Wrath of the Ashbringer",
"icon": "ability_paladin_sanctifiedwrath"
}
@seriallos
seriallos / seriallos.rc
Created January 9, 2018 21:03
DCSS CAO rcfile
# TEAMCAPTAIN apparentbliss
# include all HDA except HDAtravel
include += HilariousDeathArtist.rc
msg_condense_repeats=true
easy_eat_chunks=true
auto_eat_chunks=true
const azeriteUsable = {
0: 'any',
3: 'shaman - ele',
4: 'shaman - resto ?', // healing stream totem
5: 'dk - blood',
6: 'dk - frost ?',
7: 'dk - unholy',
8: 'dh - havoc + veng', // immolation aura
9: 'dh - havoc ?', // fel rush
10: 'dh - veng',
@seriallos
seriallos / 2.js
Last active December 1, 2018 07:19
let fs = require('fs');
const _ = require('lodash');
const Promise = require('bluebird');
fs = Promise.promisifyAll(fs);
const main = async () => {
const data = await fs.readFileAsync('./1.input', 'utf8');
const changes = _.split(data, '\n');
@seriallos
seriallos / gist:bb07a39dde0b3a43cba4cf4b78915865
Last active December 19, 2019 23:12
Heroic Nyalotha Profileset Scripts, No Corruption
ptr="1"
deathknight="T24_Death_Knight_Blood"
source="default"
spec="blood"
level="120"
race="undead"
role="tank"
position="front"
talents="2220022"
@seriallos
seriallos / T24_Death_Knight_Blood
Created December 20, 2019 02:21
Mythic Nyalotha Profilesets, No Corruption
ptr="1"
deathknight="T24_Death_Knight_Blood"
source="default"
spec="blood"
level="120"
race="undead"
role="tank"
position="front"
talents="2220022"
druid="T24_Druid_Balance"
source="default"
spec="balance"
level="120"
race="troll"
role="spell"
position="ranged_back"
talents="1000231"
azerite_essences="14:3/5:3/4:3"