This file contains 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
diff --git a/sim/common/wotlk/shadowmourne.go b/sim/common/wotlk/shadowmourne.go | |
index 8529994a..6d45414f 100644 | |
--- a/sim/common/wotlk/shadowmourne.go | |
+++ b/sim/common/wotlk/shadowmourne.go | |
@@ -22,7 +22,7 @@ func init() { | |
core.NewItemEffect(49623, func(agent core.Agent) { | |
player := agent.GetCharacter() | |
- ppmm := player.AutoAttacks.NewPPMManager(12, core.ProcMaskMelee) | |
+ ppmm := player.AutoAttacks.NewPPMManager(12, core.ProcMaskMeleeAndSuppressedMeleeProcs) |
This file contains 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
from collections import namedtuple | |
from itertools import product | |
from dataclasses import dataclass, field | |
from math import ceil | |
from typing import List, Dict, Tuple | |
from PIL import Image, ImageDraw | |
from copy import deepcopy | |
base_weapon_speed = 2.9 | |
haste = 1.15 |
This file contains 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
from collections import namedtuple | |
from itertools import product | |
from dataclasses import dataclass, field | |
from math import ceil | |
from typing import List, Dict, Tuple | |
from PIL import Image, ImageDraw | |
from copy import deepcopy | |
base_weapon_speed = 2.9 | |
haste = 3 |
This file contains 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
from itertools import product | |
from typing import Dict, Tuple | |
melee_as = 3.9 | |
ranged_as = 2.9 | |
ranged_haste = 1.15 * 1.2 | |
auto_damage, steady_damage, raptor_damage, attack_damage = 1463, 1457, 1432, 1207 |
This file contains 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
diffbr () { git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative ${2:-'master'}..$1; } | |
diffc () { git diff $1~ $1; } |
This file contains 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
#!/bin/bash | |
export AFL_NO_AFFINITY=1 | |
while [ -z "$sync_dir" ]; do | |
while getopts ":o:" opt; do | |
case "${opt}" in | |
o) | |
sync_dir="${OPTARG}" | |
;; |
This file contains 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
# Used as a property on field-like things meant to be computed once. | |
def lazy_property(func): | |
name = func.__name__ | |
class SuicidalGetter(object): | |
def __get__(self, instance, owner): | |
# Replaces itself with the result of instance.func() | |
setattr(instance, name, func(instance)) | |
return getattr(instance, name) # Oh and return the result | |
return SuicidalGetter() | |