diff --git a/.github/ISSUE_TEMPLATE/missing-item-s-.md b/.github/ISSUE_TEMPLATE/missing-item-s-.md index eb684d8f6d..7acc4ddc3f 100644 --- a/.github/ISSUE_TEMPLATE/missing-item-s-.md +++ b/.github/ISSUE_TEMPLATE/missing-item-s-.md @@ -7,4 +7,4 @@ assignees: '' --- -Links to [WOTLK Wowhead](https://wowhead.com/wotlk/items "https://wowhead.com/wotlk/items") for each item: +Links to [Cataclysm Wowhead](https://wowhead.com/cata/items "https://wowhead.com/cata/items") for each item: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 046c13aca4..eb7cf060e5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,7 +31,7 @@ jobs: - name: Build 🔧 run: | - make dist/wotlk/.dirstamp + make dist/cata/.dirstamp - name: Test run: | @@ -41,5 +41,5 @@ jobs: uses: JamesIves/github-pages-deploy-action@4.1.5 with: branch: gh-pages - folder: dist/wotlk - single-commit: true \ No newline at end of file + folder: dist/cata + single-commit: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e4f5c9d6f..51f48bfe20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ on: description: 'Version Tag' default: 'v0.0.0' required: true - + jobs: build-and-release: runs-on: ubuntu-latest @@ -42,7 +42,7 @@ jobs: uses: actions/checkout@v2.3.1 with: ref: ${{ github.event.inputs.ref }} - + - name: Test run: | make test @@ -50,7 +50,7 @@ jobs: - name: Build 🔧 run: | make clean && VERSION=${{ github.event.inputs.tag }} make release - + - name: Release uses: ncipollo/release-action@v1 with: @@ -62,8 +62,8 @@ jobs: artifacts: | wowsimcli-amd64-linux.zip wowsimcli-windows.exe.zip - wowsimwotlk-amd64-darwin.zip - wowsimwotlk-arm64-darwin.zip - wowsimwotlk-amd64-linux.zip - wowsimwotlk-windows.exe.zip - + wowsimcata-amd64-darwin.zip + wowsimcata-arm64-darwin.zip + wowsimcata-amd64-linux.zip + wowsimcata-windows.exe.zip + diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index b1fc4d4bff..51a31c5d2a 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -31,7 +31,7 @@ jobs: - name: Build 🔧 run: | - make dist/wotlk/.dirstamp + make dist/cata/.dirstamp - name: Test run: | diff --git a/.gitignore b/.gitignore index e1c399c8ae..538e2adb7e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,15 +12,15 @@ ui/*/index.html dist binary_dist sim/web/__debug_bin -/wowsimwotlkcli* -/wowsimwotlk* +/wowsimcatacli* +/wowsimcata* # temporary files *.results.tmp .dockerignore -/wotlk/ +/cata/ *.code-workspace -wowsimwotlk +wowsimcata # old result file TestAPL.results @@ -32,6 +32,6 @@ TestAPL.results tmp/ # lib -wowsimwotlk*.so -wowsimwotlk*.dll -wowsimwotlk*.h +wowsimcata*.so +wowsimcata*.dll +wowsimcata*.h diff --git a/Dockerfile b/Dockerfile index d512eef261..32062dd364 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM golang:1.21 -WORKDIR /wotlk +WORKDIR /cata COPY . . COPY gitconfig /etc/gitconfig diff --git a/README.md b/README.md index e232c04675..f615caf984 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,23 @@ -Welcome to the WoW WOTLK Classic simulator! If you have questions or are thinking about contributing, [join our discord](https://discord.gg/jJMPr9JWwx "https://discord.gg/jJMPr9JWwx") to chat! +Welcome to the WoW Cataclysm Classic simulator! If you have questions or are thinking about contributing, [join our discord](https://discord.gg/jJMPr9JWwx "https://discord.gg/jJMPr9JWwx") to chat! The primary goal of this project is to provide a framework that makes it easy to build a DPS sim for any class/spec, with a polished UI and accurate results. Each community will have ownership / responsibility over their portion of the sim, to ensure accuracy and that their community is represented. By having all the individual sims on the same engine, we can also have a combined 'raid sim' for testing raid compositions. This project is licensed with MIT license. We request that anyone using this software in their own project to make sure there is a user visible link back to the original project. -[Live sims can be found here.](https://wowsims.github.io/wotlk "https://wowsims.github.io/wotlk") +[Live sims can be found here.](https://wowsims.github.io/cata "https://wowsims.github.io/cata") [Support our devs via Patreon.](https://www.patreon.com/wowsims) # Downloading Sim Links for latest Sim build: -- [Windows Sim](https://github.com/wowsims/wotlk/releases/latest/download/wowsimwotlk-windows.exe.zip) -- [MacOS Sim](https://github.com/wowsims/wotlk/releases/latest/download/wowsimwotlk-amd64-darwin.zip) -- [Linux Sim](https://github.com/wowsims/wotlk/releases/latest/download/wowsimwotlk-amd64-linux.zip) +- [Windows Sim](https://github.com/wowsims/cata/releases/latest/download/wowsimcata-windows.exe.zip) +- [MacOS Sim](https://github.com/wowsims/cata/releases/latest/download/wowsimcata-amd64-darwin.zip) +- [Linux Sim](https://github.com/wowsims/cata/releases/latest/download/wowsimcata-amd64-linux.zip) Then unzip the downloaded file, then open the unzipped file to open the sim in your browser! -Alternatively, you can choose from a specific relase on the [Releases](https://github.com/wowsims/wotlk/releases) page and click the suitable link under "Assets" +Alternatively, you can choose from a specific relase on the [Releases](https://github.com/wowsims/cata/releases) page and click the suitable link under "Assets" # Local Dev Installation This project has dependencies on Go >=1.21, protobuf-compiler and the corresponding Go plugins, and node >= 14.0. @@ -28,14 +28,14 @@ Script below will curl latest versions and install them. ```sh # Standard Go installation script curl -O https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz -sudo rm -rf /usr/local/go +sudo rm -rf /usr/local/go sudo tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz echo 'export PATH=$PATH:/usr/local/go/bin' >> $HOME/.bashrc echo 'export GOPATH=$HOME/go' >> $HOME/.bashrc echo 'export PATH=$PATH:$GOPATH/bin' >> $HOME/.bashrc source $HOME/.bashrc -cd wotlk +cd cata # Install protobuf compiler and Go plugins sudo apt update && sudo apt upgrade @@ -54,26 +54,26 @@ npm install ## Docker Alternatively, install Docker and your workflow will look something like this: ```sh -git clone https://github.com/wowsims/wotlk.git -cd wotlk +git clone https://github.com/wowsims/cata.git +cd cata # Build the docker image and install npm dependencies (only need to run these once). -docker build --tag wowsims-wotlk . -docker run --rm -v $(pwd):/wotlk wowsims-wotlk npm install +docker build --tag wowsims-cata . +docker run --rm -v $(pwd):/cata wowsims-cata npm install -# Now you can run the commands as shown in the Commands sections, preceding everything with, "docker run --rm -it -p 8080:8080 -v $(pwd):/wotlk wowsims-wotlk". +# Now you can run the commands as shown in the Commands sections, preceding everything with, "docker run --rm -it -p 8080:8080 -v $(pwd):/cata wowsims-cata". # For convenience, set this as an environment variable: -WOTLK_CMD="docker run --rm -it -p 8080:8080 -v $(pwd):/wotlk wowsims-wotlk" +CATA_CMD="docker run --rm -it -p 8080:8080 -v $(pwd):/cata wowsims-cata" # ... do some coding on the sim ... # Run tests -$(echo $WOTLK_CMD) make test +$(echo $CATA_CMD) make test # ... do some coding on the UI ... # Host a local site -$(echo $WOTLK_CMD) make host +$(echo $CATA_CMD) make host ``` ## Windows @@ -100,8 +100,8 @@ make test make update-tests # Host a local version of the UI at http://localhost:8080. Visit it by pointing a browser to -# http://localhost:8080/wotlk/YOUR_SPEC_HERE, where YOUR_SPEC_HERE is the directory under ui/ with your custom code. -# Recompiles the entire client before launching using `make dist/wotlk` +# http://localhost:8080/cata/YOUR_SPEC_HERE, where YOUR_SPEC_HERE is the directory under ui/ with your custom code. +# Recompiles the entire client before launching using `make dist/cata` make host # With file-watching so the server auto-restarts and recompiles on Go or TS changes: @@ -113,7 +113,7 @@ make clean # Recompiles the ts only for the given spec (e.g. make host_elemental_shaman) make host_$spec -# Recompiles the `wowsimwotlk` server binary and runs it, hosting /dist directory at http://localhost:3333/wotlk. +# Recompiles the `wowsimcata` server binary and runs it, hosting /dist directory at http://localhost:3333/cata. # This is the fastest way to iterate on core go simulator code so you don't have to wait for client rebuilds. # To rebuild client for a spec just do 'make $spec' and refresh browser. make rundevserver @@ -121,16 +121,16 @@ make rundevserver # With file-watching so the server auto-restarts and recompiles on Go or TS changes: WATCH=1 make rundevserver -# Creates the 'wowsimwotlk' binary that can host the UI and run simulations natively (instead of with wasm). +# Creates the 'wowsimcata' binary that can host the UI and run simulations natively (instead of with wasm). # Builds the UI and the compiles it into the binary so that you can host the sim as a server instead of wasm on the client. -# It does this by first doing make dist/wotlk and then copying all those files to binary_dist/wotlk and loading all the files in that directory into its binary on compile. -make wowsimwotlk +# It does this by first doing make dist/cata and then copying all those files to binary_dist/cata and loading all the files in that directory into its binary on compile. +make wowsimcata -# Using the --usefs flag will instead of hosting the client built into the binary, it will host whatever code is found in the /dist directory. +# Using the --usefs flag will instead of hosting the client built into the binary, it will host whatever code is found in the /dist directory. # Use --wasm to host the client with the wasm simulator. # The server also disables all caching so that refreshes should pickup any changed files in dist/. The client will still call to the server to run simulations so you can iterate more quickly on client changes. -# make dist/wotlk && ./wowsimwotlk --usefs would rebuild the whole client and host it. (you would have had to run `make devserver` to build the wowsimwotlk binary first.) -./wowsimwotlk --usefs +# make dist/cata && ./wowsimcata --usefs would rebuild the whole client and host it. (you would have had to run `make devserver` to build the wowsimcata binary first.) +./wowsimcata --usefs # Generate code for items. Only necessary if you changed the items generator. make items @@ -164,7 +164,7 @@ The UI and sim can be done in either order, but it is generally recommended to b No .html is needed, it will be generated based on `ui/index_template.html` and the `$SPEC` name. -When you're ready to try out the site, run `make host` and navigate to `http://localhost:8080/wotlk/$SPEC`. +When you're ready to try out the site, run `make host` and navigate to `http://localhost:8080/cata/$SPEC`. ## Implement the Sim This step is where most of the magic happens. A few highlights to start understanding the sim code: diff --git a/assets/database/loader.go b/assets/database/loader.go index 15f695fca6..e3f8d983f7 100644 --- a/assets/database/loader.go +++ b/assets/database/loader.go @@ -3,7 +3,7 @@ package database import ( _ "embed" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" googleProto "google.golang.org/protobuf/proto" ) diff --git a/assets/img/cata.jpg b/assets/img/cata.jpg new file mode 100644 index 0000000000..7c00ee62ce Binary files /dev/null and b/assets/img/cata.jpg differ diff --git a/assets/img/wotlk.jpg b/assets/img/wotlk.jpg deleted file mode 100644 index 966405c582..0000000000 Binary files a/assets/img/wotlk.jpg and /dev/null differ diff --git a/cmd/wowsimcli/cli_main.go b/cmd/wowsimcli/cli_main.go index 02aa208d5a..4891d97f48 100644 --- a/cmd/wowsimcli/cli_main.go +++ b/cmd/wowsimcli/cli_main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/wowsims/wotlk/cmd/wowsimcli/cmd" - "github.com/wowsims/wotlk/sim" + "github.com/wowsims/cata/cmd/wowsimcli/cmd" + "github.com/wowsims/cata/sim" ) func init() { diff --git a/cmd/wowsimcli/cmd/basic_sim.go b/cmd/wowsimcli/cmd/basic_sim.go index 38b03712d8..03180791e6 100644 --- a/cmd/wowsimcli/cmd/basic_sim.go +++ b/cmd/wowsimcli/cmd/basic_sim.go @@ -6,8 +6,8 @@ import ( "os" "github.com/spf13/cobra" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/cmd/wowsimcli/cmd/bulk_replace.go b/cmd/wowsimcli/cmd/bulk_replace.go index f70e2731bf..92e81ba1d9 100644 --- a/cmd/wowsimcli/cmd/bulk_replace.go +++ b/cmd/wowsimcli/cmd/bulk_replace.go @@ -10,8 +10,8 @@ import ( "time" "github.com/spf13/cobra" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/cmd/wowsimcli/cmd/decode_link.go b/cmd/wowsimcli/cmd/decode_link.go index 720ccdddf7..a9c5ae6b0d 100644 --- a/cmd/wowsimcli/cmd/decode_link.go +++ b/cmd/wowsimcli/cmd/decode_link.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/spf13/cobra" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" "google.golang.org/protobuf/encoding/protojson" goproto "google.golang.org/protobuf/proto" ) diff --git a/go.mod b/go.mod index 781080a543..cdb5e0fb95 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/wowsims/wotlk +module github.com/wowsims/cata go 1.21 diff --git a/makefile b/makefile index 85108484a3..a5fd1dc7aa 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -OUT_DIR := dist/wotlk +OUT_DIR := dist/cata TS_CORE_SRC := $(shell find ui/core -name '*.ts' -type f) ASSETS_INPUT := $(shell find assets/ -type f) ASSETS := $(patsubst assets/%,$(OUT_DIR)/assets/%,$(ASSETS_INPUT)) @@ -68,11 +68,11 @@ ui/core/index.ts: $(TS_CORE_SRC) clean: rm -rf ui/core/proto/*.ts \ sim/core/proto/*.pb.go \ - wowsimwotlk \ - wowsimwotlk-windows.exe \ - wowsimwotlk-amd64-darwin \ - wowsimwotlk-arm64-darwin \ - wowsimwotlk-amd64-linux \ + wowsimcata \ + wowsimcata-windows.exe \ + wowsimcata-amd64-darwin \ + wowsimcata-arm64-darwin \ + wowsimcata-amd64-linux \ dist \ binary_dist \ ui/core/index.ts \ @@ -88,7 +88,7 @@ ui/core/proto/api.ts: proto/*.proto node_modules ui/%/index.html: ui/index_template.html $(eval title := $(shell echo $(shell basename $(@D)) | sed -r 's/(^|_)([a-z])/\U \2/g' | cut -c 2-)) - cat ui/index_template.html | sed -e 's/@@TITLE@@/WOTLK $(title) Simulator/g' -e 's/@@SPEC@@/$(shell basename $(@D))/g' > $@ + cat ui/index_template.html | sed -e 's/@@TITLE@@/cata $(title) Simulator/g' -e 's/@@SPEC@@/$(shell basename $(@D))/g' > $@ package-lock.json: npm install @@ -106,7 +106,7 @@ $(OUT_DIR)/%/index.html: ui/index_template.html $(OUT_DIR)/assets $(eval title := $(shell echo $(shell basename $(@D)) | sed -r 's/(^|_)([a-z])/\U \2/g' | cut -c 2-)) echo $(title) mkdir -p $(@D) - cat ui/index_template.html | sed -e 's/@@TITLE@@/WOTLK $(title) Simulator/g' -e 's/@@SPEC@@/$(shell basename $(@D))/g' > $@ + cat ui/index_template.html | sed -e 's/@@TITLE@@/cata $(title) Simulator/g' -e 's/@@SPEC@@/$(shell basename $(@D))/g' > $@ .PHONY: wasm wasm: $(OUT_DIR)/lib.wasm @@ -120,37 +120,37 @@ $(OUT_DIR)/lib.wasm: sim/wasm/* sim/core/proto/api.pb.go $(filter-out sim/core/i printf "\033[1;31mWASM COMPILE FAILED\033[0m\n"; \ exit 1; \ fi - + $(OUT_DIR)/assets/%: assets/% mkdir -p $(@D) cp $< $@ binary_dist/dist.go: sim/web/dist.go.tmpl - mkdir -p binary_dist/wotlk - touch binary_dist/wotlk/embedded + mkdir -p binary_dist/cata + touch binary_dist/cata/embedded cp sim/web/dist.go.tmpl binary_dist/dist.go binary_dist: $(OUT_DIR)/.dirstamp rm -rf binary_dist mkdir -p binary_dist cp -r $(OUT_DIR) binary_dist/ - rm binary_dist/wotlk/lib.wasm - rm -rf binary_dist/wotlk/assets/db_inputs - rm binary_dist/wotlk/assets/database/db.bin - rm binary_dist/wotlk/assets/database/leftover_db.bin + rm binary_dist/cata/lib.wasm + rm -rf binary_dist/cata/assets/db_inputs + rm binary_dist/cata/assets/database/db.bin + rm binary_dist/cata/assets/database/leftover_db.bin # Rebuild the protobuf generated code. .PHONY: proto proto: sim/core/proto/api.pb.go ui/core/proto/api.ts # Builds the web server with the compiled client. -.PHONY: wowsimwotlk -wowsimwotlk: binary_dist devserver +.PHONY: wowsimcata +wowsimcata: binary_dist devserver .PHONY: devserver devserver: sim/core/proto/api.pb.go sim/web/main.go binary_dist/dist.go @echo "Starting server compile now..." - @if go build -o wowsimwotlk ./sim/web/main.go; then \ + @if go build -o wowsimcata ./sim/web/main.go; then \ printf "\033[1;32mBuild Completed Successfully\033[0m\n"; \ else \ printf "\033[1;31mBUILD FAILED\033[0m\n"; \ @@ -169,30 +169,30 @@ endif rundevserver: air devserver ifeq ($(WATCH), 1) npx vite build -m development --watch & - ulimit -n 10240 && air -tmp_dir "/tmp" -build.include_ext "go,proto" -build.args_bin "--usefs=true --launch=false" -build.bin "./wowsimwotlk" -build.cmd "make devserver" -build.exclude_dir "assets,dist,node_modules,ui,tools" + ulimit -n 10240 && air -tmp_dir "/tmp" -build.include_ext "go,proto" -build.args_bin "--usefs=true --launch=false" -build.bin "./wowsimcata" -build.cmd "make devserver" -build.exclude_dir "assets,dist,node_modules,ui,tools" else - ./wowsimwotlk --usefs=true --launch=false --host=":3333" + ./wowsimcata --usefs=true --launch=false --host=":3333" endif -wowsimwotlk-windows.exe: wowsimwotlk +wowsimcata-windows.exe: wowsimcata # go build only considers syso files when invoked without specifying .go files: https://github.com/golang/go/issues/16090 cp ./assets/favicon_io/icon-windows_amd64.syso ./sim/web/icon-windows_amd64.syso - cd ./sim/web/ && GOOS=windows GOARCH=amd64 GOAMD64=v2 go build -o wowsimwotlk-windows.exe -ldflags="-X 'main.Version=$(VERSION)' -s -w" + cd ./sim/web/ && GOOS=windows GOARCH=amd64 GOAMD64=v2 go build -o wowsimcata-windows.exe -ldflags="-X 'main.Version=$(VERSION)' -s -w" cd ./cmd/wowsimcli && GOOS=windows GOARCH=amd64 GOAMD64=v2 go build -o wowsimcli-windows.exe --tags=with_db -ldflags="-X 'main.Version=$(VERSION)' -s -w" rm ./sim/web/icon-windows_amd64.syso - mv ./sim/web/wowsimwotlk-windows.exe ./wowsimwotlk-windows.exe + mv ./sim/web/wowsimcata-windows.exe ./wowsimcata-windows.exe mv ./cmd/wowsimcli/wowsimcli-windows.exe ./wowsimcli-windows.exe -release: wowsimwotlk wowsimwotlk-windows.exe - GOOS=darwin GOARCH=amd64 GOAMD64=v2 go build -o wowsimwotlk-amd64-darwin -ldflags="-X 'main.Version=$(VERSION)' -s -w" ./sim/web/main.go - GOOS=darwin GOARCH=arm64 go build -o wowsimwotlk-arm64-darwin -ldflags="-X 'main.Version=$(VERSION)' -s -w" ./sim/web/main.go - GOOS=linux GOARCH=amd64 GOAMD64=v2 go build -o wowsimwotlk-amd64-linux -ldflags="-X 'main.Version=$(VERSION)' -s -w" ./sim/web/main.go +release: wowsimcata wowsimcata-windows.exe + GOOS=darwin GOARCH=amd64 GOAMD64=v2 go build -o wowsimcata-amd64-darwin -ldflags="-X 'main.Version=$(VERSION)' -s -w" ./sim/web/main.go + GOOS=darwin GOARCH=arm64 go build -o wowsimcata-arm64-darwin -ldflags="-X 'main.Version=$(VERSION)' -s -w" ./sim/web/main.go + GOOS=linux GOARCH=amd64 GOAMD64=v2 go build -o wowsimcata-amd64-linux -ldflags="-X 'main.Version=$(VERSION)' -s -w" ./sim/web/main.go GOOS=linux GOARCH=amd64 GOAMD64=v2 go build -o wowsimcli-amd64-linux --tags=with_db -ldflags="-X 'main.Version=$(VERSION)' -s -w" ./cmd/wowsimcli/cli_main.go # Now compress into a zip because the files are getting large. - zip wowsimwotlk-windows.exe.zip wowsimwotlk-windows.exe - zip wowsimwotlk-amd64-darwin.zip wowsimwotlk-amd64-darwin - zip wowsimwotlk-arm64-darwin.zip wowsimwotlk-arm64-darwin - zip wowsimwotlk-amd64-linux.zip wowsimwotlk-amd64-linux + zip wowsimcata-windows.exe.zip wowsimcata-windows.exe + zip wowsimcata-amd64-darwin.zip wowsimcata-amd64-darwin + zip wowsimcata-arm64-darwin.zip wowsimcata-arm64-darwin + zip wowsimcata-amd64-linux.zip wowsimcata-amd64-linux zip wowsimcli-amd64-linux.zip wowsimcli-amd64-linux zip wowsimcli-windows.exe.zip wowsimcli-windows.exe @@ -202,15 +202,15 @@ sim/core/proto/api.pb.go: proto/*.proto # Only useful for building the lib on a host platform that matches the target platform .PHONY: locallib locallib: sim/core/proto/api.pb.go - go build -buildmode=c-shared -o wowsimwotlk.so --tags=with_db ./sim/lib/library.go + go build -buildmode=c-shared -o wowsimcata.so --tags=with_db ./sim/lib/library.go .PHONY: nixlib nixlib: sim/core/proto/api.pb.go - GOOS=linux GOARCH=amd64 GOAMD64=v2 go build -buildmode=c-shared -o wowsimwotlk-linux.so --tags=with_db ./sim/lib/library.go + GOOS=linux GOARCH=amd64 GOAMD64=v2 go build -buildmode=c-shared -o wowsimcata-linux.so --tags=with_db ./sim/lib/library.go .PHONY: winlib winlib: sim/core/proto/api.pb.go - GOOS=windows GOARCH=amd64 GOAMD64=v2 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc go build -buildmode=c-shared -o wowsimwotlk-windows.dll --tags=with_db ./sim/lib/library.go + GOOS=windows GOARCH=amd64 GOAMD64=v2 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc go build -buildmode=c-shared -o wowsimcata-windows.dll --tags=with_db ./sim/lib/library.go .PHONY: items items: sim/core/items/all_items.go sim/core/proto/api.pb.go @@ -251,7 +251,7 @@ host: air $(OUT_DIR)/.dirstamp node_modules ifeq ($(WATCH), 1) ulimit -n 10240 && air -tmp_dir "/tmp" -build.include_ext "go,ts,js,html" -build.bin "npx" -build.args_bin "http-server $(OUT_DIR)/.." -build.cmd "make" -build.exclude_dir "dist,node_modules,tools" else - # Intentionally serve one level up, so the local site has 'wotlk' as the first + # Intentionally serve one level up, so the local site has 'cata' as the first # directory just like github pages. npx http-server $(OUT_DIR)/.. endif diff --git a/package-lock.json b/package-lock.json index e34e3bb3c9..348087fd56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "wotlk", + "name": "cata", "version": "0.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "wotlk", + "name": "cata", "version": "0.1.0", "dependencies": { "@popperjs/core": "^2.11.6", diff --git a/package.json b/package.json index 01a8b8d9f2..0e792ca6cd 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "wotlk", + "name": "cata", "version": "0.1.0", "private": true, "engines": { diff --git a/sim/common/includes.go b/sim/common/includes.go index b3623c694f..976ca959f2 100644 --- a/sim/common/includes.go +++ b/sim/common/includes.go @@ -2,6 +2,7 @@ package common // Just import other directories, so importing common from elsewhere is enough. import ( - _ "github.com/wowsims/wotlk/sim/common/tbc" - _ "github.com/wowsims/wotlk/sim/common/wotlk" + _ "github.com/wowsims/cata/sim/common/tbc" + _ "github.com/wowsims/cata/sim/common/wotlk" + // _ "github.com/wowsims/cata/sim/common/cata" ) diff --git a/sim/common/tbc/caster_items.go b/sim/common/tbc/caster_items.go index 2baca19187..1d6664d88c 100644 --- a/sim/common/tbc/caster_items.go +++ b/sim/common/tbc/caster_items.go @@ -3,8 +3,8 @@ package tbc import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) // Keep these (and their functions) in alphabetical order. diff --git a/sim/common/tbc/caster_trinkets.go b/sim/common/tbc/caster_trinkets.go index bbd3e8803e..537ef831c9 100644 --- a/sim/common/tbc/caster_trinkets.go +++ b/sim/common/tbc/caster_trinkets.go @@ -3,8 +3,8 @@ package tbc import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func init() { diff --git a/sim/common/tbc/enchant_effects.go b/sim/common/tbc/enchant_effects.go index 9c87895b7a..abdecd5292 100644 --- a/sim/common/tbc/enchant_effects.go +++ b/sim/common/tbc/enchant_effects.go @@ -3,9 +3,9 @@ package tbc import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func init() { diff --git a/sim/common/tbc/melee_items.go b/sim/common/tbc/melee_items.go index 7f40d11c0f..fa41517d24 100644 --- a/sim/common/tbc/melee_items.go +++ b/sim/common/tbc/melee_items.go @@ -3,8 +3,8 @@ package tbc import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func init() { diff --git a/sim/common/tbc/melee_sets.go b/sim/common/tbc/melee_sets.go index eb3eb312ed..d7cac04233 100644 --- a/sim/common/tbc/melee_sets.go +++ b/sim/common/tbc/melee_sets.go @@ -3,9 +3,9 @@ package tbc import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // Keep these in alphabetical order. diff --git a/sim/common/tbc/melee_trinkets.go b/sim/common/tbc/melee_trinkets.go index 38ff5d9f2b..411bd564b8 100644 --- a/sim/common/tbc/melee_trinkets.go +++ b/sim/common/tbc/melee_trinkets.go @@ -3,8 +3,8 @@ package tbc import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func init() { diff --git a/sim/common/tbc/metagems.go b/sim/common/tbc/metagems.go index 6fd0a0160a..4a0e67b83e 100644 --- a/sim/common/tbc/metagems.go +++ b/sim/common/tbc/metagems.go @@ -3,8 +3,8 @@ package tbc import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func init() { diff --git a/sim/common/tbc/other_items.go b/sim/common/tbc/other_items.go index b976c8fd52..36b96ce495 100644 --- a/sim/common/tbc/other_items.go +++ b/sim/common/tbc/other_items.go @@ -1,8 +1,8 @@ package tbc import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func init() { diff --git a/sim/common/wotlk/capacitors.go b/sim/common/wotlk/capacitors.go index d6f47eae25..4676c6efe9 100644 --- a/sim/common/wotlk/capacitors.go +++ b/sim/common/wotlk/capacitors.go @@ -3,7 +3,7 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) type CapacitorHandler func(*core.Simulation) diff --git a/sim/common/wotlk/damage_procs.go b/sim/common/wotlk/damage_procs.go index 12c69d4afa..4cb8d6dcd5 100644 --- a/sim/common/wotlk/damage_procs.go +++ b/sim/common/wotlk/damage_procs.go @@ -3,7 +3,7 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) type ProcDamageEffect struct { diff --git a/sim/common/wotlk/enchant_effects.go b/sim/common/wotlk/enchant_effects.go index 84dd4fe82e..0e4894ccfd 100644 --- a/sim/common/wotlk/enchant_effects.go +++ b/sim/common/wotlk/enchant_effects.go @@ -3,9 +3,9 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func CreateBlackMagicProcAura(character *core.Character) *core.Aura { diff --git a/sim/common/wotlk/highest_stat_effects.go b/sim/common/wotlk/highest_stat_effects.go index e18147663c..376e473a2b 100644 --- a/sim/common/wotlk/highest_stat_effects.go +++ b/sim/common/wotlk/highest_stat_effects.go @@ -3,8 +3,8 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) type HighestStatAura struct { diff --git a/sim/common/wotlk/item_sets.go b/sim/common/wotlk/item_sets.go index fbfd057397..91ca837d78 100644 --- a/sim/common/wotlk/item_sets.go +++ b/sim/common/wotlk/item_sets.go @@ -3,9 +3,9 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // Keep these in alphabetical order. diff --git a/sim/common/wotlk/metagems.go b/sim/common/wotlk/metagems.go index 071581e42c..bb4eb589a2 100644 --- a/sim/common/wotlk/metagems.go +++ b/sim/common/wotlk/metagems.go @@ -3,8 +3,8 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func init() { diff --git a/sim/common/wotlk/nibelung.go b/sim/common/wotlk/nibelung.go index ac83876ef7..d09e794798 100644 --- a/sim/common/wotlk/nibelung.go +++ b/sim/common/wotlk/nibelung.go @@ -3,8 +3,8 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) var valkyrStats = stats.Stats{ diff --git a/sim/common/wotlk/other_effects.go b/sim/common/wotlk/other_effects.go index c4fb16e840..5e04e67d46 100644 --- a/sim/common/wotlk/other_effects.go +++ b/sim/common/wotlk/other_effects.go @@ -4,9 +4,9 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func init() { diff --git a/sim/common/wotlk/shadowmourne.go b/sim/common/wotlk/shadowmourne.go index 8afc208bf1..98e086537f 100644 --- a/sim/common/wotlk/shadowmourne.go +++ b/sim/common/wotlk/shadowmourne.go @@ -3,8 +3,8 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) // https://www.wowhead.com/wotlk/item=49623/shadowmourne diff --git a/sim/common/wotlk/stat_bonus_cds.go b/sim/common/wotlk/stat_bonus_cds.go index f2d84cdd39..d1cf77885d 100644 --- a/sim/common/wotlk/stat_bonus_cds.go +++ b/sim/common/wotlk/stat_bonus_cds.go @@ -3,8 +3,8 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) type StatCDFactory func(itemID int32, bonus float64, duration time.Duration, cooldown time.Duration) diff --git a/sim/common/wotlk/stat_bonus_procs.go b/sim/common/wotlk/stat_bonus_procs.go index b1d379ef5c..e722f742d7 100644 --- a/sim/common/wotlk/stat_bonus_procs.go +++ b/sim/common/wotlk/stat_bonus_procs.go @@ -3,8 +3,8 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) type ProcStatBonusEffect struct { diff --git a/sim/common/wotlk/stat_bonus_stacking.go b/sim/common/wotlk/stat_bonus_stacking.go index 8d122f66f8..83a9176aa4 100644 --- a/sim/common/wotlk/stat_bonus_stacking.go +++ b/sim/common/wotlk/stat_bonus_stacking.go @@ -3,8 +3,8 @@ package wotlk import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) type StackingStatBonusEffect struct { diff --git a/sim/core/agent.go b/sim/core/agent.go index 13b9037561..bde764642e 100644 --- a/sim/core/agent.go +++ b/sim/core/agent.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) // Agent can be thought of as the 'Player', i.e. the thing controlling the Character. diff --git a/sim/core/api.go b/sim/core/api.go index 4827435ed2..4ed4702808 100644 --- a/sim/core/api.go +++ b/sim/core/api.go @@ -4,8 +4,8 @@ package core import ( "context" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) /** diff --git a/sim/core/apl.go b/sim/core/apl.go index 7382372437..899c1896b5 100644 --- a/sim/core/apl.go +++ b/sim/core/apl.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/sim/core/apl_action.go b/sim/core/apl_action.go index 4737678eb7..dc9652c857 100644 --- a/sim/core/apl_action.go +++ b/sim/core/apl_action.go @@ -3,7 +3,7 @@ package core import ( "fmt" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLAction struct { diff --git a/sim/core/apl_actions_casting.go b/sim/core/apl_actions_casting.go index e5041680b2..afe51b2d75 100644 --- a/sim/core/apl_actions_casting.go +++ b/sim/core/apl_actions_casting.go @@ -2,7 +2,8 @@ package core import ( "fmt" - "github.com/wowsims/wotlk/sim/core/proto" + + "github.com/wowsims/cata/sim/core/proto" ) type APLActionCastSpell struct { diff --git a/sim/core/apl_actions_misc.go b/sim/core/apl_actions_misc.go index d7817454b4..81c1fe4906 100644 --- a/sim/core/apl_actions_misc.go +++ b/sim/core/apl_actions_misc.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLActionChangeTarget struct { diff --git a/sim/core/apl_actions_sequences.go b/sim/core/apl_actions_sequences.go index a2cfb4d27f..9c28a8b4a4 100644 --- a/sim/core/apl_actions_sequences.go +++ b/sim/core/apl_actions_sequences.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLActionSequence struct { diff --git a/sim/core/apl_actions_timing.go b/sim/core/apl_actions_timing.go index 3552133d52..33c27c83d0 100644 --- a/sim/core/apl_actions_timing.go +++ b/sim/core/apl_actions_timing.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLActionWait struct { diff --git a/sim/core/apl_helpers.go b/sim/core/apl_helpers.go index 2cff11b827..dec66c1dce 100644 --- a/sim/core/apl_helpers.go +++ b/sim/core/apl_helpers.go @@ -1,7 +1,7 @@ package core import ( - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) // Struct for handling unit references, to account for values that can diff --git a/sim/core/apl_value.go b/sim/core/apl_value.go index 7d47505c69..25872730f3 100644 --- a/sim/core/apl_value.go +++ b/sim/core/apl_value.go @@ -3,7 +3,7 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValue interface { diff --git a/sim/core/apl_values_aura.go b/sim/core/apl_values_aura.go index bf559e046e..448903e9a6 100644 --- a/sim/core/apl_values_aura.go +++ b/sim/core/apl_values_aura.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueAuraIsActive struct { diff --git a/sim/core/apl_values_auto_attacks.go b/sim/core/apl_values_auto_attacks.go index 36c59c42fc..20e215cfac 100644 --- a/sim/core/apl_values_auto_attacks.go +++ b/sim/core/apl_values_auto_attacks.go @@ -3,7 +3,7 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueAutoTimeToNext struct { diff --git a/sim/core/apl_values_boss.go b/sim/core/apl_values_boss.go index e44227aa88..48f188c971 100644 --- a/sim/core/apl_values_boss.go +++ b/sim/core/apl_values_boss.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueBossSpellIsCasting struct { diff --git a/sim/core/apl_values_core.go b/sim/core/apl_values_core.go index 27577eb2ad..f4c5ac78c5 100644 --- a/sim/core/apl_values_core.go +++ b/sim/core/apl_values_core.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueDotIsActive struct { diff --git a/sim/core/apl_values_encounter.go b/sim/core/apl_values_encounter.go index a56d80728f..bac3bddb90 100644 --- a/sim/core/apl_values_encounter.go +++ b/sim/core/apl_values_encounter.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueCurrentTime struct { diff --git a/sim/core/apl_values_gcd.go b/sim/core/apl_values_gcd.go index a5387e3d63..905346c18f 100644 --- a/sim/core/apl_values_gcd.go +++ b/sim/core/apl_values_gcd.go @@ -3,7 +3,7 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueGCDIsReady struct { diff --git a/sim/core/apl_values_operators.go b/sim/core/apl_values_operators.go index 8d2c35cefd..143327c863 100644 --- a/sim/core/apl_values_operators.go +++ b/sim/core/apl_values_operators.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueConst struct { diff --git a/sim/core/apl_values_properties.go b/sim/core/apl_values_properties.go index d73bfa5b01..aa5d4a9689 100644 --- a/sim/core/apl_values_properties.go +++ b/sim/core/apl_values_properties.go @@ -3,7 +3,7 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueChannelClipDelay struct { diff --git a/sim/core/apl_values_resources.go b/sim/core/apl_values_resources.go index 89524d2995..eb0b6c3742 100644 --- a/sim/core/apl_values_resources.go +++ b/sim/core/apl_values_resources.go @@ -3,7 +3,7 @@ package core import ( "fmt" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueCurrentHealth struct { diff --git a/sim/core/apl_values_runes.go b/sim/core/apl_values_runes.go index eb473bf6a7..43355488df 100644 --- a/sim/core/apl_values_runes.go +++ b/sim/core/apl_values_runes.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueCurrentRuneCount struct { diff --git a/sim/core/apl_values_sequences.go b/sim/core/apl_values_sequences.go index 9292fa35ff..5cae3d9373 100644 --- a/sim/core/apl_values_sequences.go +++ b/sim/core/apl_values_sequences.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueSequenceIsComplete struct { diff --git a/sim/core/apl_values_spell.go b/sim/core/apl_values_spell.go index db6d8eff40..98dca2346d 100644 --- a/sim/core/apl_values_spell.go +++ b/sim/core/apl_values_spell.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type APLValueSpellCanCast struct { diff --git a/sim/core/apl_values_test.go b/sim/core/apl_values_test.go index bd3a7808bc..95de44e438 100644 --- a/sim/core/apl_values_test.go +++ b/sim/core/apl_values_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) func TestValueConst(t *testing.T) { diff --git a/sim/core/armor_test.go b/sim/core/armor_test.go index 906228a6a0..bb8f83a2fd 100644 --- a/sim/core/armor_test.go +++ b/sim/core/armor_test.go @@ -3,7 +3,7 @@ package core import ( "testing" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/stats" ) func TestSunderArmorStacks(t *testing.T) { diff --git a/sim/core/attack.go b/sim/core/attack.go index 97fe1dd898..fca408e012 100644 --- a/sim/core/attack.go +++ b/sim/core/attack.go @@ -4,8 +4,8 @@ import ( "slices" "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // ReplaceMHSwing is called right before a main hand auto attack fires. diff --git a/sim/core/aura.go b/sim/core/aura.go index 6e1b3a18c9..586d8509cd 100644 --- a/sim/core/aura.go +++ b/sim/core/aura.go @@ -8,8 +8,8 @@ import ( "golang.org/x/exp/constraints" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) const NeverExpires = time.Duration(math.MaxInt64) diff --git a/sim/core/aura_helpers.go b/sim/core/aura_helpers.go index 1f93580025..98dee77297 100644 --- a/sim/core/aura_helpers.go +++ b/sim/core/aura_helpers.go @@ -5,7 +5,7 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/stats" ) type AuraCallback uint16 diff --git a/sim/core/avoid_dr.go b/sim/core/avoid_dr.go index 22fbac8081..7d1fb5b827 100644 --- a/sim/core/avoid_dr.go +++ b/sim/core/avoid_dr.go @@ -1,7 +1,7 @@ package core import ( - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/stats" ) // Could be in constants.go, but they won't be used anywhere else diff --git a/sim/core/base_stats.go b/sim/core/base_stats.go index f204318fb7..ebd99ec4e4 100644 --- a/sim/core/base_stats.go +++ b/sim/core/base_stats.go @@ -1,8 +1,8 @@ package core import ( - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type BaseStatsKey struct { diff --git a/sim/core/base_stats_auto_gen.go b/sim/core/base_stats_auto_gen.go index c3dfa085fa..1945ba955c 100644 --- a/sim/core/base_stats_auto_gen.go +++ b/sim/core/base_stats_auto_gen.go @@ -5,8 +5,8 @@ package core // ************************************** import ( - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) const ExpertisePerQuarterPercentReduction = 8.197496 diff --git a/sim/core/buffs.go b/sim/core/buffs.go index 129cb47c5b..b96e30d820 100644 --- a/sim/core/buffs.go +++ b/sim/core/buffs.go @@ -9,8 +9,8 @@ import ( googleProto "google.golang.org/protobuf/proto" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // Applies buffs that affect individual players. diff --git a/sim/core/bulksim.go b/sim/core/bulksim.go index ad3c39f794..eaba869003 100644 --- a/sim/core/bulksim.go +++ b/sim/core/bulksim.go @@ -14,7 +14,7 @@ import ( goproto "google.golang.org/protobuf/proto" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) const ( diff --git a/sim/core/bulksim_test.go b/sim/core/bulksim_test.go index b1b170970f..8c9517bd97 100644 --- a/sim/core/bulksim_test.go +++ b/sim/core/bulksim_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/google/go-cmp/cmp" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/sim/core/character.go b/sim/core/character.go index 2f21f7b69f..22e47e9a4f 100644 --- a/sim/core/character.go +++ b/sim/core/character.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" "google.golang.org/protobuf/encoding/protowire" "google.golang.org/protobuf/reflect/protoreflect" ) diff --git a/sim/core/consumes.go b/sim/core/consumes.go index da709a3ae1..6dfb2a562d 100644 --- a/sim/core/consumes.go +++ b/sim/core/consumes.go @@ -3,8 +3,8 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // Registers all consume-related effects to the Agent. diff --git a/sim/core/database.go b/sim/core/database.go index 1d63b48524..158889d795 100644 --- a/sim/core/database.go +++ b/sim/core/database.go @@ -4,8 +4,8 @@ import ( "fmt" "math" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/sim/core/database_load.go b/sim/core/database_load.go index 637c4a2210..50c9b7ea10 100644 --- a/sim/core/database_load.go +++ b/sim/core/database_load.go @@ -5,8 +5,8 @@ package core import ( - "github.com/wowsims/wotlk/assets/database" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/assets/database" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/core/debuffs.go b/sim/core/debuffs.go index ee7223233e..f98c8707d2 100644 --- a/sim/core/debuffs.go +++ b/sim/core/debuffs.go @@ -4,8 +4,8 @@ import ( "strconv" "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func applyDebuffEffects(target *Unit, targetIdx int, debuffs *proto.Debuffs, raid *proto.Raid) { diff --git a/sim/core/dot_test.go b/sim/core/dot_test.go index 1da5e272ee..b4a7c58649 100644 --- a/sim/core/dot_test.go +++ b/sim/core/dot_test.go @@ -4,8 +4,8 @@ import ( "testing" "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func init() { diff --git a/sim/core/energy.go b/sim/core/energy.go index 0497696e49..7dd285558c 100644 --- a/sim/core/energy.go +++ b/sim/core/energy.go @@ -6,7 +6,7 @@ import ( "slices" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) // Time between energy ticks. diff --git a/sim/core/environment.go b/sim/core/environment.go index 89bcf75bfb..c671cf5bd1 100644 --- a/sim/core/environment.go +++ b/sim/core/environment.go @@ -4,7 +4,7 @@ import ( "slices" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type EnvironmentState int diff --git a/sim/core/flags.go b/sim/core/flags.go index 3b28178dee..bdb29bce8e 100644 --- a/sim/core/flags.go +++ b/sim/core/flags.go @@ -4,8 +4,8 @@ import ( "math/bits" "strconv" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type ProcMask uint32 diff --git a/sim/core/focus.go b/sim/core/focus.go index f70c4928de..e74a668171 100644 --- a/sim/core/focus.go +++ b/sim/core/focus.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) // Time between focus ticks. diff --git a/sim/core/health.go b/sim/core/health.go index 280b55a0d9..16e375fb32 100644 --- a/sim/core/health.go +++ b/sim/core/health.go @@ -3,8 +3,8 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type healthBar struct { diff --git a/sim/core/item_effects.go b/sim/core/item_effects.go index 819bfd1065..f7578a358e 100644 --- a/sim/core/item_effects.go +++ b/sim/core/item_effects.go @@ -6,8 +6,8 @@ import ( "strconv" "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // Function for applying permanent effects to an Agent. diff --git a/sim/core/item_swaps.go b/sim/core/item_swaps.go index 0677fb1fad..824fb91fcb 100644 --- a/sim/core/item_swaps.go +++ b/sim/core/item_swaps.go @@ -3,8 +3,8 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type OnSwapItem func(*Simulation) diff --git a/sim/core/major_cooldown.go b/sim/core/major_cooldown.go index 17e1805910..9c3584f366 100644 --- a/sim/core/major_cooldown.go +++ b/sim/core/major_cooldown.go @@ -4,8 +4,8 @@ import ( "slices" "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) const ( diff --git a/sim/core/mana.go b/sim/core/mana.go index 11a9130088..4009bb6cdb 100644 --- a/sim/core/mana.go +++ b/sim/core/mana.go @@ -5,8 +5,8 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) const ThreatPerManaGained = 0.5 diff --git a/sim/core/metrics_aggregator.go b/sim/core/metrics_aggregator.go index 8dab4abeaf..de41947b3d 100644 --- a/sim/core/metrics_aggregator.go +++ b/sim/core/metrics_aggregator.go @@ -4,7 +4,7 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type ResourceKey struct { diff --git a/sim/core/pet.go b/sim/core/pet.go index b403118647..dbc9ccf82e 100644 --- a/sim/core/pet.go +++ b/sim/core/pet.go @@ -5,8 +5,8 @@ import ( "slices" "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // Extension of Agent interface, for Pets. diff --git a/sim/core/presim.go b/sim/core/presim.go index c89288d657..c97e68cd95 100644 --- a/sim/core/presim.go +++ b/sim/core/presim.go @@ -3,7 +3,7 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" googleProto "google.golang.org/protobuf/proto" ) diff --git a/sim/core/professions.go b/sim/core/professions.go index 65bbc34934..0dc4b714e1 100644 --- a/sim/core/professions.go +++ b/sim/core/professions.go @@ -3,8 +3,8 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // This is just the static bonuses. Most professions are handled elsewhere. diff --git a/sim/core/racials.go b/sim/core/racials.go index f18a39e7e7..20ab70a3a7 100644 --- a/sim/core/racials.go +++ b/sim/core/racials.go @@ -3,8 +3,8 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func applyRaceEffects(agent Agent) { diff --git a/sim/core/rage.go b/sim/core/rage.go index 7efaf4d42d..4270cae1b8 100644 --- a/sim/core/rage.go +++ b/sim/core/rage.go @@ -3,7 +3,7 @@ package core import ( "fmt" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) const MaxRage = 100.0 diff --git a/sim/core/raid.go b/sim/core/raid.go index 4893a4c5d7..b52e27db65 100644 --- a/sim/core/raid.go +++ b/sim/core/raid.go @@ -3,8 +3,8 @@ package core import ( "slices" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" googleProto "google.golang.org/protobuf/proto" ) diff --git a/sim/core/runic_power.go b/sim/core/runic_power.go index 1dc5516b14..22840b1639 100644 --- a/sim/core/runic_power.go +++ b/sim/core/runic_power.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type RuneChangeType int32 diff --git a/sim/core/sim.go b/sim/core/sim.go index 735d7a3aaa..c59a5b8026 100644 --- a/sim/core/sim.go +++ b/sim/core/sim.go @@ -12,7 +12,7 @@ import ( "strings" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type Task interface { diff --git a/sim/core/spell.go b/sim/core/spell.go index 6314a2b110..f1d42223b2 100644 --- a/sim/core/spell.go +++ b/sim/core/spell.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/stats" ) type ApplySpellResults func(sim *Simulation, target *Unit, spell *Spell) diff --git a/sim/core/spell_outcome.go b/sim/core/spell_outcome.go index 9996172cae..5553fc5a00 100644 --- a/sim/core/spell_outcome.go +++ b/sim/core/spell_outcome.go @@ -1,7 +1,7 @@ package core import ( - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/stats" ) // This function should do 3 things: diff --git a/sim/core/spell_resistances.go b/sim/core/spell_resistances.go index 7d84f3727a..e8a921d9b9 100644 --- a/sim/core/spell_resistances.go +++ b/sim/core/spell_resistances.go @@ -5,7 +5,7 @@ import ( "math" "strings" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/stats" ) func (result *SpellResult) applyResistances(sim *Simulation, spell *Spell, isPeriodic bool, attackTable *AttackTable) { diff --git a/sim/core/spell_resistances_test.go b/sim/core/spell_resistances_test.go index 89edef1a36..52cafe373e 100644 --- a/sim/core/spell_resistances_test.go +++ b/sim/core/spell_resistances_test.go @@ -4,8 +4,8 @@ import ( "math" "testing" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func Test_PartialResistsVsPlayer(t *testing.T) { diff --git a/sim/core/spell_result.go b/sim/core/spell_result.go index 8a05cf26cc..065619306d 100644 --- a/sim/core/spell_result.go +++ b/sim/core/spell_result.go @@ -4,7 +4,7 @@ import ( "fmt" "math" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/stats" ) type SpellResult struct { diff --git a/sim/core/stats/stats.go b/sim/core/stats/stats.go index ebfcdfe386..6f0cf2ceb7 100644 --- a/sim/core/stats/stats.go +++ b/sim/core/stats/stats.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type Stats [Len]float64 diff --git a/sim/core/stats/stats_test.go b/sim/core/stats/stats_test.go index 78bfa382e3..8f0ba8f755 100644 --- a/sim/core/stats/stats_test.go +++ b/sim/core/stats/stats_test.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) func TestStatsAdd(t *testing.T) { diff --git a/sim/core/statweight.go b/sim/core/statweight.go index 0a3722e93c..6a31f391d0 100644 --- a/sim/core/statweight.go +++ b/sim/core/statweight.go @@ -7,8 +7,8 @@ import ( "sync/atomic" "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" googleProto "google.golang.org/protobuf/proto" ) diff --git a/sim/core/target.go b/sim/core/target.go index a5a28b78e8..13249ed3a1 100644 --- a/sim/core/target.go +++ b/sim/core/target.go @@ -4,8 +4,8 @@ import ( "strconv" "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type Encounter struct { diff --git a/sim/core/target_ai.go b/sim/core/target_ai.go index 6bb2085cbd..2e493eb981 100644 --- a/sim/core/target_ai.go +++ b/sim/core/target_ai.go @@ -3,7 +3,7 @@ package core import ( "log" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) type TargetAI interface { diff --git a/sim/core/target_dummy.go b/sim/core/target_dummy.go index b232f9914a..0ba0b8b2dd 100644 --- a/sim/core/target_dummy.go +++ b/sim/core/target_dummy.go @@ -3,8 +3,8 @@ package core import ( "fmt" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type TargetDummy struct { diff --git a/sim/core/test_generators.go b/sim/core/test_generators.go index ee4d9c9135..a1549fb165 100644 --- a/sim/core/test_generators.go +++ b/sim/core/test_generators.go @@ -5,7 +5,7 @@ import ( "slices" "strings" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" googleProto "google.golang.org/protobuf/proto" ) diff --git a/sim/core/test_suite.go b/sim/core/test_suite.go index 6e02aaec0d..b1a0219058 100644 --- a/sim/core/test_suite.go +++ b/sim/core/test_suite.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" "google.golang.org/protobuf/encoding/prototext" ) diff --git a/sim/core/test_utils.go b/sim/core/test_utils.go index f37983362a..2a0152fc37 100644 --- a/sim/core/test_utils.go +++ b/sim/core/test_utils.go @@ -5,8 +5,8 @@ import ( "os" "testing" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" googleProto "google.golang.org/protobuf/proto" ) diff --git a/sim/core/unit.go b/sim/core/unit.go index fbca1a10a0..dd1520d13d 100644 --- a/sim/core/unit.go +++ b/sim/core/unit.go @@ -3,8 +3,8 @@ package core import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type UnitType int diff --git a/sim/core/utils.go b/sim/core/utils.go index 50e0c2f796..542ea391e8 100644 --- a/sim/core/utils.go +++ b/sim/core/utils.go @@ -5,7 +5,7 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) func DurationFromSeconds(numSeconds float64) time.Duration { diff --git a/sim/deathknight/anti_magic_shell.go b/sim/deathknight/anti_magic_shell.go index d46cf66bc3..b950459e86 100644 --- a/sim/deathknight/anti_magic_shell.go +++ b/sim/deathknight/anti_magic_shell.go @@ -3,9 +3,9 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (dk *Deathknight) registerAntiMagicShellSpell() { diff --git a/sim/deathknight/army_of_the_dead.go b/sim/deathknight/army_of_the_dead.go index a2bde0ae51..4fc7485591 100644 --- a/sim/deathknight/army_of_the_dead.go +++ b/sim/deathknight/army_of_the_dead.go @@ -3,7 +3,7 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (dk *Deathknight) registerArmyOfTheDeadCD() { diff --git a/sim/deathknight/blood_boil.go b/sim/deathknight/blood_boil.go index 62f5dcb046..74eaa715ab 100644 --- a/sim/deathknight/blood_boil.go +++ b/sim/deathknight/blood_boil.go @@ -1,7 +1,7 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) var BloodBoilActionID = core.ActionID{SpellID: 49941} diff --git a/sim/deathknight/blood_strike.go b/sim/deathknight/blood_strike.go index 11eefb5708..26d350188b 100644 --- a/sim/deathknight/blood_strike.go +++ b/sim/deathknight/blood_strike.go @@ -1,7 +1,7 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) var BloodStrikeActionID = core.ActionID{SpellID: 49930} diff --git a/sim/deathknight/blood_tap.go b/sim/deathknight/blood_tap.go index 1da2e98997..9e6c89d5b4 100644 --- a/sim/deathknight/blood_tap.go +++ b/sim/deathknight/blood_tap.go @@ -3,7 +3,7 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (dk *Deathknight) registerBloodTapSpell() { diff --git a/sim/deathknight/bloodworm_pet.go b/sim/deathknight/bloodworm_pet.go index f778fe5887..49e0a6f82f 100644 --- a/sim/deathknight/bloodworm_pet.go +++ b/sim/deathknight/bloodworm_pet.go @@ -1,8 +1,8 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) type BloodwormPet struct { diff --git a/sim/deathknight/bone_shield.go b/sim/deathknight/bone_shield.go index 8f1b21e12a..d85c15d00a 100644 --- a/sim/deathknight/bone_shield.go +++ b/sim/deathknight/bone_shield.go @@ -3,8 +3,8 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (dk *Deathknight) registerBoneShieldSpell() { diff --git a/sim/deathknight/dancing_rune_weapon.go b/sim/deathknight/dancing_rune_weapon.go index 17a2232610..d814becca0 100644 --- a/sim/deathknight/dancing_rune_weapon.go +++ b/sim/deathknight/dancing_rune_weapon.go @@ -3,9 +3,9 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (dk *Deathknight) registerDancingRuneWeaponCD() { diff --git a/sim/deathknight/death_and_decay.go b/sim/deathknight/death_and_decay.go index 6ea70642ef..3b9d5dc19e 100644 --- a/sim/deathknight/death_and_decay.go +++ b/sim/deathknight/death_and_decay.go @@ -3,8 +3,8 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (dk *Deathknight) registerDeathAndDecaySpell() { diff --git a/sim/deathknight/death_coil.go b/sim/deathknight/death_coil.go index b2c6b777f9..c80a8e5e10 100644 --- a/sim/deathknight/death_coil.go +++ b/sim/deathknight/death_coil.go @@ -1,8 +1,8 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) var DeathCoilActionID = core.ActionID{SpellID: 49895} diff --git a/sim/deathknight/death_pact.go b/sim/deathknight/death_pact.go index 4bb256c9ce..0b547354fb 100644 --- a/sim/deathknight/death_pact.go +++ b/sim/deathknight/death_pact.go @@ -3,7 +3,7 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (dk *Deathknight) registerDeathPactSpell() { diff --git a/sim/deathknight/death_strike.go b/sim/deathknight/death_strike.go index c26d7811ad..0cf21a9157 100644 --- a/sim/deathknight/death_strike.go +++ b/sim/deathknight/death_strike.go @@ -1,8 +1,8 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) // TODO: Cleanup death strike the same way we did for plague strike diff --git a/sim/deathknight/deathknight.go b/sim/deathknight/deathknight.go index 673004d4df..d6ad4f2fa1 100644 --- a/sim/deathknight/deathknight.go +++ b/sim/deathknight/deathknight.go @@ -4,10 +4,10 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/common/wotlk" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/common/wotlk" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) const ( diff --git a/sim/deathknight/diseases.go b/sim/deathknight/diseases.go index 7a8b02cb5e..cd46afc67f 100644 --- a/sim/deathknight/diseases.go +++ b/sim/deathknight/diseases.go @@ -3,8 +3,8 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (dk *Deathknight) drwCountActiveDiseases(target *core.Unit) float64 { diff --git a/sim/deathknight/dps/dps_deathknight.go b/sim/deathknight/dps/dps_deathknight.go index 8f0cfbce50..344f49cf54 100644 --- a/sim/deathknight/dps/dps_deathknight.go +++ b/sim/deathknight/dps/dps_deathknight.go @@ -1,9 +1,9 @@ package dps import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/deathknight" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/deathknight" ) func RegisterDpsDeathknight() { diff --git a/sim/deathknight/dps/dps_deathknight_test.go b/sim/deathknight/dps/dps_deathknight_test.go index f0db8878b3..a59bf98992 100644 --- a/sim/deathknight/dps/dps_deathknight_test.go +++ b/sim/deathknight/dps/dps_deathknight_test.go @@ -3,9 +3,9 @@ package dps import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get item effects included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get item effects included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/deathknight/empower_rune_weapon.go b/sim/deathknight/empower_rune_weapon.go index b4ab41c1c4..36af27bcdb 100644 --- a/sim/deathknight/empower_rune_weapon.go +++ b/sim/deathknight/empower_rune_weapon.go @@ -3,7 +3,7 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (dk *Deathknight) registerEmpowerRuneWeaponSpell() { diff --git a/sim/deathknight/frost_strike.go b/sim/deathknight/frost_strike.go index be66fea405..38483570ac 100644 --- a/sim/deathknight/frost_strike.go +++ b/sim/deathknight/frost_strike.go @@ -1,8 +1,8 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) var frostStrikeActionID = core.ActionID{SpellID: 55268} diff --git a/sim/deathknight/ghoul_frenzy.go b/sim/deathknight/ghoul_frenzy.go index 7f58727694..abe0ac703a 100644 --- a/sim/deathknight/ghoul_frenzy.go +++ b/sim/deathknight/ghoul_frenzy.go @@ -3,7 +3,7 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (dk *Deathknight) registerGhoulFrenzySpell() { diff --git a/sim/deathknight/ghoul_pet.go b/sim/deathknight/ghoul_pet.go index 7df8cddbbf..46b83ce458 100644 --- a/sim/deathknight/ghoul_pet.go +++ b/sim/deathknight/ghoul_pet.go @@ -3,9 +3,9 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type GhoulPet struct { diff --git a/sim/deathknight/heart_strike.go b/sim/deathknight/heart_strike.go index 92dbdde6b2..ab7375b924 100644 --- a/sim/deathknight/heart_strike.go +++ b/sim/deathknight/heart_strike.go @@ -1,7 +1,7 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) var HeartStrikeActionID = core.ActionID{SpellID: 55262} diff --git a/sim/deathknight/horn_of_winter.go b/sim/deathknight/horn_of_winter.go index 1ef67ae6e6..1a6861853d 100644 --- a/sim/deathknight/horn_of_winter.go +++ b/sim/deathknight/horn_of_winter.go @@ -3,7 +3,7 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (dk *Deathknight) registerHornOfWinterSpell() { diff --git a/sim/deathknight/howling_blast.go b/sim/deathknight/howling_blast.go index eb35f49173..f335e61e33 100644 --- a/sim/deathknight/howling_blast.go +++ b/sim/deathknight/howling_blast.go @@ -3,8 +3,8 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) var HowlingBlastActionID = core.ActionID{SpellID: 51411} diff --git a/sim/deathknight/icebound_fortitude.go b/sim/deathknight/icebound_fortitude.go index 87f9744afd..5749f6be54 100644 --- a/sim/deathknight/icebound_fortitude.go +++ b/sim/deathknight/icebound_fortitude.go @@ -3,9 +3,9 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (dk *Deathknight) registerIceboundFortitudeSpell() { diff --git a/sim/deathknight/icy_touch.go b/sim/deathknight/icy_touch.go index 41a793d5c0..8c779602c0 100644 --- a/sim/deathknight/icy_touch.go +++ b/sim/deathknight/icy_touch.go @@ -1,7 +1,7 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) var IcyTouchActionID = core.ActionID{SpellID: 59131} diff --git a/sim/deathknight/items.go b/sim/deathknight/items.go index 9bddfbaea6..66a3c3b553 100644 --- a/sim/deathknight/items.go +++ b/sim/deathknight/items.go @@ -3,8 +3,8 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) // TODO: T9 Dps missing Heart Strike diff --git a/sim/deathknight/mark_of_blood.go b/sim/deathknight/mark_of_blood.go index e3272b6eec..9de8a96be8 100644 --- a/sim/deathknight/mark_of_blood.go +++ b/sim/deathknight/mark_of_blood.go @@ -3,7 +3,7 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (dk *Deathknight) registerMarkOfBloodSpell() { diff --git a/sim/deathknight/obliterate.go b/sim/deathknight/obliterate.go index 249e517bfc..e72a8badd7 100644 --- a/sim/deathknight/obliterate.go +++ b/sim/deathknight/obliterate.go @@ -1,8 +1,8 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) // TODO: Cleanup obliterate the same way we did for plague strike diff --git a/sim/deathknight/pestilence.go b/sim/deathknight/pestilence.go index f469766812..cde6b1e7e3 100644 --- a/sim/deathknight/pestilence.go +++ b/sim/deathknight/pestilence.go @@ -1,8 +1,8 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) var PestilenceActionID = core.ActionID{SpellID: 50842} diff --git a/sim/deathknight/plague_strike.go b/sim/deathknight/plague_strike.go index f8d26b25ab..dccb70eb71 100644 --- a/sim/deathknight/plague_strike.go +++ b/sim/deathknight/plague_strike.go @@ -1,8 +1,8 @@ package deathknight import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) var PlagueStrikeActionID = core.ActionID{SpellID: 49921} diff --git a/sim/deathknight/presences.go b/sim/deathknight/presences.go index 6e2a651e38..3ce51c8707 100644 --- a/sim/deathknight/presences.go +++ b/sim/deathknight/presences.go @@ -3,8 +3,8 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) type Presence uint8 diff --git a/sim/deathknight/raise_dead.go b/sim/deathknight/raise_dead.go index f4a2baf26b..262467d931 100644 --- a/sim/deathknight/raise_dead.go +++ b/sim/deathknight/raise_dead.go @@ -3,7 +3,7 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (dk *Deathknight) registerRaiseDeadCD() { diff --git a/sim/deathknight/rune_strike.go b/sim/deathknight/rune_strike.go index d74c270fd2..8857757980 100644 --- a/sim/deathknight/rune_strike.go +++ b/sim/deathknight/rune_strike.go @@ -3,8 +3,8 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) var RuneStrikeActionID = core.ActionID{SpellID: 56815} diff --git a/sim/deathknight/rune_tap.go b/sim/deathknight/rune_tap.go index 0f8780d2d7..b9b63a10d8 100644 --- a/sim/deathknight/rune_tap.go +++ b/sim/deathknight/rune_tap.go @@ -3,8 +3,8 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (dk *Deathknight) GetRuneTapHealing() float64 { diff --git a/sim/deathknight/scourge_strike.go b/sim/deathknight/scourge_strike.go index ad72c18a5e..b6634bc4ff 100644 --- a/sim/deathknight/scourge_strike.go +++ b/sim/deathknight/scourge_strike.go @@ -3,8 +3,8 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) var ScourgeStrikeActionID = core.ActionID{SpellID: 55271} diff --git a/sim/deathknight/summon_gargoyle.go b/sim/deathknight/summon_gargoyle.go index 47dcb507be..2525f134e2 100644 --- a/sim/deathknight/summon_gargoyle.go +++ b/sim/deathknight/summon_gargoyle.go @@ -3,8 +3,8 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (dk *Deathknight) registerSummonGargoyleCD() { diff --git a/sim/deathknight/talents_blood.go b/sim/deathknight/talents_blood.go index ea4139317b..9a3fd96ac4 100644 --- a/sim/deathknight/talents_blood.go +++ b/sim/deathknight/talents_blood.go @@ -1,16 +1,16 @@ package deathknight import ( - //"github.com/wowsims/wotlk/sim/core/proto" + //"github.com/wowsims/cata/sim/core/proto" //"time" "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (dk *Deathknight) ApplyBloodTalents() { diff --git a/sim/deathknight/talents_frost.go b/sim/deathknight/talents_frost.go index aac81c7795..4b9f1dd8b9 100644 --- a/sim/deathknight/talents_frost.go +++ b/sim/deathknight/talents_frost.go @@ -1,12 +1,12 @@ package deathknight import ( - //"github.com/wowsims/wotlk/sim/core/proto" + //"github.com/wowsims/cata/sim/core/proto" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (dk *Deathknight) ToughnessArmorMultiplier() float64 { diff --git a/sim/deathknight/talents_unholy.go b/sim/deathknight/talents_unholy.go index f339e874d4..4d40a0c093 100644 --- a/sim/deathknight/talents_unholy.go +++ b/sim/deathknight/talents_unholy.go @@ -3,9 +3,9 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (dk *Deathknight) ApplyUnholyTalents() { diff --git a/sim/deathknight/tank/tank_deathknight.go b/sim/deathknight/tank/tank_deathknight.go index 8a5643e8dc..d71602b145 100644 --- a/sim/deathknight/tank/tank_deathknight.go +++ b/sim/deathknight/tank/tank_deathknight.go @@ -1,9 +1,9 @@ package tank import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/deathknight" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/deathknight" ) func RegisterTankDeathknight() { diff --git a/sim/deathknight/tank/tank_deathknight_test.go b/sim/deathknight/tank/tank_deathknight_test.go index 70e68f03a6..ad1166cddb 100644 --- a/sim/deathknight/tank/tank_deathknight_test.go +++ b/sim/deathknight/tank/tank_deathknight_test.go @@ -3,9 +3,9 @@ package tank import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get item effects included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get item effects included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/deathknight/unbreakable_armor.go b/sim/deathknight/unbreakable_armor.go index 6cba92a926..e2019df653 100644 --- a/sim/deathknight/unbreakable_armor.go +++ b/sim/deathknight/unbreakable_armor.go @@ -3,9 +3,9 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (dk *Deathknight) registerUnbreakableArmorSpell() { diff --git a/sim/deathknight/unholy_frenzy.go b/sim/deathknight/unholy_frenzy.go index 08a15f2538..f1c1684856 100644 --- a/sim/deathknight/unholy_frenzy.go +++ b/sim/deathknight/unholy_frenzy.go @@ -3,7 +3,7 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (dk *Deathknight) registerUnholyFrenzyCD() { diff --git a/sim/deathknight/vampiric_blood.go b/sim/deathknight/vampiric_blood.go index c2601e3d22..f9e6b912ca 100644 --- a/sim/deathknight/vampiric_blood.go +++ b/sim/deathknight/vampiric_blood.go @@ -3,9 +3,9 @@ package deathknight import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (dk *Deathknight) registerVampiricBloodSpell() { diff --git a/sim/druid/balance/balance.go b/sim/druid/balance/balance.go index d0cea4e797..55b2f60965 100644 --- a/sim/druid/balance/balance.go +++ b/sim/druid/balance/balance.go @@ -3,11 +3,11 @@ package balance import ( "time" - "github.com/wowsims/wotlk/sim/common/wotlk" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" - "github.com/wowsims/wotlk/sim/druid" + "github.com/wowsims/cata/sim/common/wotlk" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" + "github.com/wowsims/cata/sim/druid" ) func RegisterBalanceDruid() { diff --git a/sim/druid/balance/balance_test.go b/sim/druid/balance/balance_test.go index 6d4faf9b5b..1948480229 100644 --- a/sim/druid/balance/balance_test.go +++ b/sim/druid/balance/balance_test.go @@ -3,9 +3,9 @@ package balance import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get caster sets included. (we use spellfire here) - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get caster sets included. (we use spellfire here) + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/druid/barkskin.go b/sim/druid/barkskin.go index e461ecb340..c8e36e1133 100644 --- a/sim/druid/barkskin.go +++ b/sim/druid/barkskin.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (druid *Druid) registerBarkskinCD() { diff --git a/sim/druid/berserk.go b/sim/druid/berserk.go index cd58cb4966..c71ff2777d 100644 --- a/sim/druid/berserk.go +++ b/sim/druid/berserk.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (druid *Druid) registerBerserkCD() { diff --git a/sim/druid/demoralizing_roar.go b/sim/druid/demoralizing_roar.go index 889498c522..19ca8849b9 100644 --- a/sim/druid/demoralizing_roar.go +++ b/sim/druid/demoralizing_roar.go @@ -3,7 +3,7 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (druid *Druid) registerDemoralizingRoarSpell() { diff --git a/sim/druid/druid.go b/sim/druid/druid.go index cab2a21f2f..04a44f82a2 100644 --- a/sim/druid/druid.go +++ b/sim/druid/druid.go @@ -3,9 +3,9 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) const ( diff --git a/sim/druid/enrage.go b/sim/druid/enrage.go index d1f0ea5d0d..f6545c143f 100644 --- a/sim/druid/enrage.go +++ b/sim/druid/enrage.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (druid *Druid) registerEnrageSpell() { diff --git a/sim/druid/faerie_fire.go b/sim/druid/faerie_fire.go index e2052f4d4b..b9a3618fab 100644 --- a/sim/druid/faerie_fire.go +++ b/sim/druid/faerie_fire.go @@ -3,7 +3,7 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (druid *Druid) registerFaerieFireSpell() { diff --git a/sim/druid/fake_gotw.go b/sim/druid/fake_gotw.go index 4885072812..a0c985477e 100644 --- a/sim/druid/fake_gotw.go +++ b/sim/druid/fake_gotw.go @@ -1,8 +1,8 @@ package druid import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) // This is 'fake' because it doesnt actually account for any actual buff updating diff --git a/sim/druid/feral/apl_values.go b/sim/druid/feral/apl_values.go index aa26424991..4b6cec9178 100644 --- a/sim/druid/feral/apl_values.go +++ b/sim/druid/feral/apl_values.go @@ -3,8 +3,8 @@ package feral import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (cat *FeralDruid) NewAPLValue(rot *core.APLRotation, config *proto.APLValue) core.APLValue { diff --git a/sim/druid/feral/feral.go b/sim/druid/feral/feral.go index 0fadd3b062..433842079c 100644 --- a/sim/druid/feral/feral.go +++ b/sim/druid/feral/feral.go @@ -3,9 +3,9 @@ package feral import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/druid" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/druid" ) func RegisterFeralDruid() { diff --git a/sim/druid/feral/feral_test.go b/sim/druid/feral/feral_test.go index e59ed5bc76..84fce76451 100644 --- a/sim/druid/feral/feral_test.go +++ b/sim/druid/feral/feral_test.go @@ -3,9 +3,9 @@ package feral import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/druid/feral/pooling_actions.go b/sim/druid/feral/pooling_actions.go index 8c2f5319ee..0da969ee6e 100644 --- a/sim/druid/feral/pooling_actions.go +++ b/sim/druid/feral/pooling_actions.go @@ -4,7 +4,7 @@ import ( "slices" "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) type PoolingAction struct { diff --git a/sim/druid/feral/rotation.go b/sim/druid/feral/rotation.go index b6d790f689..5c8bb1c55f 100644 --- a/sim/druid/feral/rotation.go +++ b/sim/druid/feral/rotation.go @@ -4,9 +4,9 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/druid" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/druid" ) func (cat *FeralDruid) OnGCDReady(sim *core.Simulation) { diff --git a/sim/druid/feral/rotation_aoe.go b/sim/druid/feral/rotation_aoe.go index cb1886bdfe..0d49d6efde 100644 --- a/sim/druid/feral/rotation_aoe.go +++ b/sim/druid/feral/rotation_aoe.go @@ -4,7 +4,7 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (cat *FeralDruid) doAoeRotation(sim *core.Simulation) (bool, time.Duration) { diff --git a/sim/druid/ferocious_bite.go b/sim/druid/ferocious_bite.go index a96fe831a2..79eb1c70f1 100644 --- a/sim/druid/ferocious_bite.go +++ b/sim/druid/ferocious_bite.go @@ -3,7 +3,7 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (druid *Druid) registerFerociousBiteSpell() { diff --git a/sim/druid/force_of_nature.go b/sim/druid/force_of_nature.go index 2cb99ab5ca..0f189324fb 100644 --- a/sim/druid/force_of_nature.go +++ b/sim/druid/force_of_nature.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (druid *Druid) registerForceOfNatureCD() { diff --git a/sim/druid/forms.go b/sim/druid/forms.go index df31ee17dd..ad36d90ae9 100644 --- a/sim/druid/forms.go +++ b/sim/druid/forms.go @@ -1,10 +1,11 @@ package druid import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" "math" + + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type DruidForm uint8 diff --git a/sim/druid/frenzied_regeneration.go b/sim/druid/frenzied_regeneration.go index b7a15a82d0..993fb9c8f1 100644 --- a/sim/druid/frenzied_regeneration.go +++ b/sim/druid/frenzied_regeneration.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (druid *Druid) registerFrenziedRegenerationCD() { diff --git a/sim/druid/hurricane.go b/sim/druid/hurricane.go index b13106b6d1..64d0ee950b 100644 --- a/sim/druid/hurricane.go +++ b/sim/druid/hurricane.go @@ -3,7 +3,7 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (druid *Druid) registerHurricaneSpell() { diff --git a/sim/druid/innervate.go b/sim/druid/innervate.go index 3cd3ea0324..c6db3f29a8 100644 --- a/sim/druid/innervate.go +++ b/sim/druid/innervate.go @@ -1,7 +1,7 @@ package druid import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) // Returns the time to wait before the next action, or 0 if innervate is on CD diff --git a/sim/druid/insect_swarm.go b/sim/druid/insect_swarm.go index 192e7d1d15..2ea425c250 100644 --- a/sim/druid/insect_swarm.go +++ b/sim/druid/insect_swarm.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) const CryingWind int32 = 45270 diff --git a/sim/druid/items.go b/sim/druid/items.go index b08b5204b6..f1f03861c6 100644 --- a/sim/druid/items.go +++ b/sim/druid/items.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) var ItemSetThunderheartRegalia = core.NewItemSet(core.ItemSet{ diff --git a/sim/druid/lacerate.go b/sim/druid/lacerate.go index ebb76634d3..e23ab784d3 100644 --- a/sim/druid/lacerate.go +++ b/sim/druid/lacerate.go @@ -3,7 +3,7 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (druid *Druid) registerLacerateSpell() { diff --git a/sim/druid/mangle.go b/sim/druid/mangle.go index cdba2f8900..4fe7425f41 100644 --- a/sim/druid/mangle.go +++ b/sim/druid/mangle.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (druid *Druid) registerMangleBearSpell() { diff --git a/sim/druid/maul.go b/sim/druid/maul.go index cf82c24d2b..540d080114 100644 --- a/sim/druid/maul.go +++ b/sim/druid/maul.go @@ -1,8 +1,8 @@ package druid import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (druid *Druid) registerMaulSpell() { diff --git a/sim/druid/moonfire.go b/sim/druid/moonfire.go index 6d06c7da9c..39fbed9d09 100644 --- a/sim/druid/moonfire.go +++ b/sim/druid/moonfire.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (druid *Druid) registerMoonfireSpell() { diff --git a/sim/druid/rake.go b/sim/druid/rake.go index 45de0a7105..68eb127372 100644 --- a/sim/druid/rake.go +++ b/sim/druid/rake.go @@ -3,7 +3,7 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (druid *Druid) registerRakeSpell() { diff --git a/sim/druid/rebirth.go b/sim/druid/rebirth.go index d67f50502a..f7fcb83cb8 100644 --- a/sim/druid/rebirth.go +++ b/sim/druid/rebirth.go @@ -3,7 +3,7 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) // Right now, add the additional GCD + mana cost for shifting back to Moonkin form as a hack diff --git a/sim/druid/restoration/restoration.go b/sim/druid/restoration/restoration.go index d0d6137a65..22760d537d 100644 --- a/sim/druid/restoration/restoration.go +++ b/sim/druid/restoration/restoration.go @@ -1,9 +1,9 @@ package restoration import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/druid" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/druid" ) func RegisterRestorationDruid() { diff --git a/sim/druid/restoration/restoration_test.go b/sim/druid/restoration/restoration_test.go index 9860678554..a581db6513 100644 --- a/sim/druid/restoration/restoration_test.go +++ b/sim/druid/restoration/restoration_test.go @@ -3,9 +3,9 @@ package restoration import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get caster sets included. (we use spellfire here) - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get caster sets included. (we use spellfire here) + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/druid/rip.go b/sim/druid/rip.go index 781fbba989..0cc62f7f03 100644 --- a/sim/druid/rip.go +++ b/sim/druid/rip.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (druid *Druid) registerRipSpell() { diff --git a/sim/druid/savage_defense.go b/sim/druid/savage_defense.go index 79c5382647..87d907392b 100644 --- a/sim/druid/savage_defense.go +++ b/sim/druid/savage_defense.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (druid *Druid) registerSavageDefensePassive() { diff --git a/sim/druid/savage_roar.go b/sim/druid/savage_roar.go index 15deac4a7d..50fe43b74f 100644 --- a/sim/druid/savage_roar.go +++ b/sim/druid/savage_roar.go @@ -3,9 +3,9 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (druid *Druid) getSavageRoarMultiplier() float64 { diff --git a/sim/druid/shred.go b/sim/druid/shred.go index 041054bac3..377ae4b2fe 100644 --- a/sim/druid/shred.go +++ b/sim/druid/shred.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (druid *Druid) registerShredSpell() { diff --git a/sim/druid/starfall.go b/sim/druid/starfall.go index a7550c1cd8..219deaa694 100644 --- a/sim/druid/starfall.go +++ b/sim/druid/starfall.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) // We register two spells to apply two different dot effects and get two entries in Damage/Detailed results diff --git a/sim/druid/starfire.go b/sim/druid/starfire.go index 927e9ad667..b32259e491 100644 --- a/sim/druid/starfire.go +++ b/sim/druid/starfire.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (druid *Druid) registerStarfireSpell() { diff --git a/sim/druid/survival_instincts.go b/sim/druid/survival_instincts.go index fd1b7a90cc..5587aeedbe 100644 --- a/sim/druid/survival_instincts.go +++ b/sim/druid/survival_instincts.go @@ -3,9 +3,9 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (druid *Druid) registerSurvivalInstinctsCD() { diff --git a/sim/druid/swipe.go b/sim/druid/swipe.go index 727606538d..6ab7a5fb7a 100644 --- a/sim/druid/swipe.go +++ b/sim/druid/swipe.go @@ -3,7 +3,7 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (druid *Druid) registerSwipeBearSpell() { diff --git a/sim/druid/talents.go b/sim/druid/talents.go index 3a63ceadc1..8ebb72a504 100644 --- a/sim/druid/talents.go +++ b/sim/druid/talents.go @@ -4,9 +4,9 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (druid *Druid) ThickHideMultiplier() float64 { diff --git a/sim/druid/tank/tank.go b/sim/druid/tank/tank.go index 21fab7ceeb..e62deb30c2 100644 --- a/sim/druid/tank/tank.go +++ b/sim/druid/tank/tank.go @@ -1,9 +1,9 @@ package tank import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/druid" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/druid" ) func RegisterFeralTankDruid() { diff --git a/sim/druid/tank/tank_test.go b/sim/druid/tank/tank_test.go index b9788176e7..8737554248 100644 --- a/sim/druid/tank/tank_test.go +++ b/sim/druid/tank/tank_test.go @@ -3,9 +3,9 @@ package tank import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/druid/tigers_fury.go b/sim/druid/tigers_fury.go index 5da3aa320a..91670ee4b4 100644 --- a/sim/druid/tigers_fury.go +++ b/sim/druid/tigers_fury.go @@ -3,7 +3,7 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (druid *Druid) registerTigersFurySpell() { diff --git a/sim/druid/typhoon.go b/sim/druid/typhoon.go index 2dd8aa2033..0161eb283c 100644 --- a/sim/druid/typhoon.go +++ b/sim/druid/typhoon.go @@ -3,8 +3,8 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (druid *Druid) registerTyphoonSpell() { diff --git a/sim/druid/wrath.go b/sim/druid/wrath.go index 8390d6d216..555cfb4998 100644 --- a/sim/druid/wrath.go +++ b/sim/druid/wrath.go @@ -3,7 +3,7 @@ package druid import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) const IdolAvenger int32 = 31025 diff --git a/sim/encounters/default_ai.go b/sim/encounters/default_ai.go index c747c870a8..bd619b5eb3 100644 --- a/sim/encounters/default_ai.go +++ b/sim/encounters/default_ai.go @@ -3,8 +3,8 @@ package encounters import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) // Default implementation of TargetAI which takes a list of abilities as input diff --git a/sim/encounters/icc/lichking25h_ai.go b/sim/encounters/icc/lichking25h_ai.go index e1e5e5d161..9fad874da8 100644 --- a/sim/encounters/icc/lichking25h_ai.go +++ b/sim/encounters/icc/lichking25h_ai.go @@ -3,9 +3,9 @@ package icc import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addLichKing25H(bossPrefix string) { diff --git a/sim/encounters/icc/sindragosa25h_ai.go b/sim/encounters/icc/sindragosa25h_ai.go index b9aa9e7e89..6e8571bde6 100644 --- a/sim/encounters/icc/sindragosa25h_ai.go +++ b/sim/encounters/icc/sindragosa25h_ai.go @@ -4,9 +4,9 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addSindragosa25H(bossPrefix string) { diff --git a/sim/encounters/naxxramas/kelthuzad25_ai.go b/sim/encounters/naxxramas/kelthuzad25_ai.go index dd771f29e0..9708cbb24f 100644 --- a/sim/encounters/naxxramas/kelthuzad25_ai.go +++ b/sim/encounters/naxxramas/kelthuzad25_ai.go @@ -1,9 +1,9 @@ package naxxramas import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addKelThuzad25(bossPrefix string) { diff --git a/sim/encounters/naxxramas/loatheb25_ai.go b/sim/encounters/naxxramas/loatheb25_ai.go index dd35f3df9d..6bc3f35cb7 100644 --- a/sim/encounters/naxxramas/loatheb25_ai.go +++ b/sim/encounters/naxxramas/loatheb25_ai.go @@ -1,9 +1,9 @@ package naxxramas import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addLoatheb25(bossPrefix string) { diff --git a/sim/encounters/naxxramas/patchwerk10_ai.go b/sim/encounters/naxxramas/patchwerk10_ai.go index 6d5f10b6b3..1412d34cad 100644 --- a/sim/encounters/naxxramas/patchwerk10_ai.go +++ b/sim/encounters/naxxramas/patchwerk10_ai.go @@ -3,9 +3,9 @@ package naxxramas import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addPatchwerk10(bossPrefix string) { diff --git a/sim/encounters/naxxramas/patchwerk25_ai.go b/sim/encounters/naxxramas/patchwerk25_ai.go index 4915f928b5..fce5c33543 100644 --- a/sim/encounters/naxxramas/patchwerk25_ai.go +++ b/sim/encounters/naxxramas/patchwerk25_ai.go @@ -3,9 +3,9 @@ package naxxramas import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addPatchwerk25(bossPrefix string) { diff --git a/sim/encounters/naxxramas/thaddius25_ai.go b/sim/encounters/naxxramas/thaddius25_ai.go index f833822e41..1a349a04e2 100644 --- a/sim/encounters/naxxramas/thaddius25_ai.go +++ b/sim/encounters/naxxramas/thaddius25_ai.go @@ -1,9 +1,9 @@ package naxxramas import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addThaddius25(bossPrefix string) { diff --git a/sim/encounters/register_all.go b/sim/encounters/register_all.go index 7127ecb574..2cf193165b 100644 --- a/sim/encounters/register_all.go +++ b/sim/encounters/register_all.go @@ -1,11 +1,11 @@ package encounters import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/encounters/icc" - "github.com/wowsims/wotlk/sim/encounters/naxxramas" - "github.com/wowsims/wotlk/sim/encounters/toc" - "github.com/wowsims/wotlk/sim/encounters/ulduar" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/encounters/icc" + "github.com/wowsims/cata/sim/encounters/naxxramas" + "github.com/wowsims/cata/sim/encounters/toc" + "github.com/wowsims/cata/sim/encounters/ulduar" ) func init() { diff --git a/sim/encounters/toc/anub25h_ai.go b/sim/encounters/toc/anub25h_ai.go index e65a55d6b6..c7a90322aa 100644 --- a/sim/encounters/toc/anub25h_ai.go +++ b/sim/encounters/toc/anub25h_ai.go @@ -4,9 +4,9 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addAnub25H(bossPrefix string) { diff --git a/sim/encounters/toc/gormok25h_ai.go b/sim/encounters/toc/gormok25h_ai.go index 7b1cf55b44..b20bb376dc 100644 --- a/sim/encounters/toc/gormok25h_ai.go +++ b/sim/encounters/toc/gormok25h_ai.go @@ -3,9 +3,9 @@ package toc import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addGormok25H(bossPrefix string) { diff --git a/sim/encounters/ulduar/algalon25_ai.go b/sim/encounters/ulduar/algalon25_ai.go index 7188a82803..478088ae95 100644 --- a/sim/encounters/ulduar/algalon25_ai.go +++ b/sim/encounters/ulduar/algalon25_ai.go @@ -3,9 +3,9 @@ package ulduar import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addAlgalon25(bossPrefix string) { diff --git a/sim/encounters/ulduar/hodir_ai.go b/sim/encounters/ulduar/hodir_ai.go index 7fa022445a..9d39bdc50f 100644 --- a/sim/encounters/ulduar/hodir_ai.go +++ b/sim/encounters/ulduar/hodir_ai.go @@ -4,9 +4,9 @@ import ( "strconv" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func addHodir10(bossPrefix string) { diff --git a/sim/hunter/aimed_shot.go b/sim/hunter/aimed_shot.go index d62ddf7244..efe359f879 100644 --- a/sim/hunter/aimed_shot.go +++ b/sim/hunter/aimed_shot.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (hunter *Hunter) registerAimedShotSpell(timer *core.Timer) { diff --git a/sim/hunter/arcane_shot.go b/sim/hunter/arcane_shot.go index 6b61d836b8..b6957d5df6 100644 --- a/sim/hunter/arcane_shot.go +++ b/sim/hunter/arcane_shot.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (hunter *Hunter) registerArcaneShotSpell(timer *core.Timer) { diff --git a/sim/hunter/aspects.go b/sim/hunter/aspects.go index 8b5fa83e3e..7c87520173 100644 --- a/sim/hunter/aspects.go +++ b/sim/hunter/aspects.go @@ -3,9 +3,9 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (hunter *Hunter) registerAspectOfTheDragonhawkSpell() { diff --git a/sim/hunter/black_arrow.go b/sim/hunter/black_arrow.go index c5eee1a50c..333c6b6819 100644 --- a/sim/hunter/black_arrow.go +++ b/sim/hunter/black_arrow.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (hunter *Hunter) registerBlackArrowSpell(timer *core.Timer) { diff --git a/sim/hunter/chimera_shot.go b/sim/hunter/chimera_shot.go index 9a86a4d79b..074b529cd2 100644 --- a/sim/hunter/chimera_shot.go +++ b/sim/hunter/chimera_shot.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (hunter *Hunter) registerChimeraShotSpell() { diff --git a/sim/hunter/explosive_shot.go b/sim/hunter/explosive_shot.go index 74a9a5ef4e..f86751ecd0 100644 --- a/sim/hunter/explosive_shot.go +++ b/sim/hunter/explosive_shot.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (hunter *Hunter) registerExplosiveShotSpell(timer *core.Timer) { diff --git a/sim/hunter/explosive_trap.go b/sim/hunter/explosive_trap.go index 1f8999fa1d..293c5a8bf4 100644 --- a/sim/hunter/explosive_trap.go +++ b/sim/hunter/explosive_trap.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (hunter *Hunter) registerExplosiveTrapSpell(timer *core.Timer) { diff --git a/sim/hunter/hunter.go b/sim/hunter/hunter.go index a215250b50..e8f2269daa 100644 --- a/sim/hunter/hunter.go +++ b/sim/hunter/hunter.go @@ -3,9 +3,9 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) var TalentTreeSizes = [3]int{26, 27, 28} diff --git a/sim/hunter/hunter_test.go b/sim/hunter/hunter_test.go index ba302ef366..c166d53db9 100644 --- a/sim/hunter/hunter_test.go +++ b/sim/hunter/hunter_test.go @@ -3,9 +3,9 @@ package hunter import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get item effects included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get item effects included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/hunter/items.go b/sim/hunter/items.go index 8264d875f8..b3828ccc9e 100644 --- a/sim/hunter/items.go +++ b/sim/hunter/items.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) var ItemSetGronnstalker = core.NewItemSet(core.ItemSet{ diff --git a/sim/hunter/kill_command.go b/sim/hunter/kill_command.go index ed6d3ce788..1fcc163a16 100644 --- a/sim/hunter/kill_command.go +++ b/sim/hunter/kill_command.go @@ -3,7 +3,7 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (hunter *Hunter) registerKillCommandCD() { diff --git a/sim/hunter/kill_shot.go b/sim/hunter/kill_shot.go index 1f3ef9a4db..c29d54cf05 100644 --- a/sim/hunter/kill_shot.go +++ b/sim/hunter/kill_shot.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (hunter *Hunter) registerKillShotSpell() { diff --git a/sim/hunter/multi_shot.go b/sim/hunter/multi_shot.go index 9a816627ed..7e5c871c7d 100644 --- a/sim/hunter/multi_shot.go +++ b/sim/hunter/multi_shot.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (hunter *Hunter) registerMultiShotSpell(timer *core.Timer) { diff --git a/sim/hunter/pet.go b/sim/hunter/pet.go index c32203ecc1..8b8c5434d5 100644 --- a/sim/hunter/pet.go +++ b/sim/hunter/pet.go @@ -1,9 +1,9 @@ package hunter import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type HunterPet struct { diff --git a/sim/hunter/pet_abilities.go b/sim/hunter/pet_abilities.go index 2de616ea40..64180eab48 100644 --- a/sim/hunter/pet_abilities.go +++ b/sim/hunter/pet_abilities.go @@ -4,8 +4,8 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) type PetAbilityType int diff --git a/sim/hunter/pet_talents.go b/sim/hunter/pet_talents.go index a331cba92f..c4d8791f49 100644 --- a/sim/hunter/pet_talents.go +++ b/sim/hunter/pet_talents.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (hp *HunterPet) ApplyTalents() { diff --git a/sim/hunter/rapid_fire.go b/sim/hunter/rapid_fire.go index b52876b6f2..e126da903d 100644 --- a/sim/hunter/rapid_fire.go +++ b/sim/hunter/rapid_fire.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (hunter *Hunter) registerRapidFireCD() { diff --git a/sim/hunter/raptor_strike.go b/sim/hunter/raptor_strike.go index a4186ac1ea..f344a0e58e 100644 --- a/sim/hunter/raptor_strike.go +++ b/sim/hunter/raptor_strike.go @@ -3,7 +3,7 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (hunter *Hunter) registerRaptorStrikeSpell() { diff --git a/sim/hunter/scorpid_sting.go b/sim/hunter/scorpid_sting.go index 24abfa911c..c503e6cc47 100644 --- a/sim/hunter/scorpid_sting.go +++ b/sim/hunter/scorpid_sting.go @@ -1,7 +1,7 @@ package hunter import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (hunter *Hunter) registerScorpidStingSpell() { diff --git a/sim/hunter/serpent_sting.go b/sim/hunter/serpent_sting.go index 7376f288f4..638ed2dad1 100644 --- a/sim/hunter/serpent_sting.go +++ b/sim/hunter/serpent_sting.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (hunter *Hunter) registerSerpentStingSpell() { diff --git a/sim/hunter/silencing_shot.go b/sim/hunter/silencing_shot.go index e3e5af3f83..90e7fee07f 100644 --- a/sim/hunter/silencing_shot.go +++ b/sim/hunter/silencing_shot.go @@ -3,7 +3,7 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (hunter *Hunter) registerSilencingShotSpell() { diff --git a/sim/hunter/steady_shot.go b/sim/hunter/steady_shot.go index f2fe5a311a..47418d5905 100644 --- a/sim/hunter/steady_shot.go +++ b/sim/hunter/steady_shot.go @@ -3,7 +3,7 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (hunter *Hunter) registerSteadyShotSpell() { diff --git a/sim/hunter/talents.go b/sim/hunter/talents.go index aaf1c06935..8f6c2c968b 100644 --- a/sim/hunter/talents.go +++ b/sim/hunter/talents.go @@ -3,9 +3,9 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (hunter *Hunter) ApplyTalents() { diff --git a/sim/hunter/volley.go b/sim/hunter/volley.go index c865cd8440..caf66b3e41 100644 --- a/sim/hunter/volley.go +++ b/sim/hunter/volley.go @@ -3,8 +3,8 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (hunter *Hunter) registerVolleySpell() { diff --git a/sim/hunter/wotlk_items.go b/sim/hunter/wotlk_items.go index be71d0d920..34b719a150 100644 --- a/sim/hunter/wotlk_items.go +++ b/sim/hunter/wotlk_items.go @@ -3,10 +3,10 @@ package hunter import ( "time" - "github.com/wowsims/wotlk/sim/common/wotlk" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/common/wotlk" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) var ItemSetGladiatorsPursuit = core.NewItemSet(core.ItemSet{ diff --git a/sim/lib/library.go b/sim/lib/library.go index 9539c478bd..f8308d7e03 100644 --- a/sim/lib/library.go +++ b/sim/lib/library.go @@ -10,9 +10,9 @@ import ( "log" "unsafe" - "github.com/wowsims/wotlk/sim" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" "google.golang.org/protobuf/encoding/protojson" goproto "google.golang.org/protobuf/proto" ) diff --git a/sim/mage/arcane_barrage.go b/sim/mage/arcane_barrage.go index f6c06067d4..4fe230d7e2 100644 --- a/sim/mage/arcane_barrage.go +++ b/sim/mage/arcane_barrage.go @@ -3,8 +3,8 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (mage *Mage) registerArcaneBarrageSpell() { diff --git a/sim/mage/arcane_blast.go b/sim/mage/arcane_blast.go index 9db24bfdf9..553d4a3c9f 100644 --- a/sim/mage/arcane_blast.go +++ b/sim/mage/arcane_blast.go @@ -3,9 +3,9 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) const ArcaneBlastBaseCastTime = time.Millisecond * 2500 diff --git a/sim/mage/arcane_explosion.go b/sim/mage/arcane_explosion.go index 1adb008a0c..c2fa7d5c9d 100644 --- a/sim/mage/arcane_explosion.go +++ b/sim/mage/arcane_explosion.go @@ -1,8 +1,8 @@ package mage import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (mage *Mage) registerArcaneExplosionSpell() { diff --git a/sim/mage/arcane_missiles.go b/sim/mage/arcane_missiles.go index f9fae720ea..2859e80a35 100644 --- a/sim/mage/arcane_missiles.go +++ b/sim/mage/arcane_missiles.go @@ -3,8 +3,8 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (mage *Mage) registerArcaneMissilesSpell() { diff --git a/sim/mage/blast_wave.go b/sim/mage/blast_wave.go index e75129300d..b3a411ca73 100644 --- a/sim/mage/blast_wave.go +++ b/sim/mage/blast_wave.go @@ -1,8 +1,9 @@ package mage import ( - "github.com/wowsims/wotlk/sim/core" "time" + + "github.com/wowsims/cata/sim/core" ) func (mage *Mage) registerBlastWaveSpell() { diff --git a/sim/mage/blizzard.go b/sim/mage/blizzard.go index f0b1831039..9786156c63 100644 --- a/sim/mage/blizzard.go +++ b/sim/mage/blizzard.go @@ -3,7 +3,7 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (mage *Mage) registerBlizzardSpell() { diff --git a/sim/mage/deep_freeze.go b/sim/mage/deep_freeze.go index 64fa4dd36f..d9edc17fe8 100644 --- a/sim/mage/deep_freeze.go +++ b/sim/mage/deep_freeze.go @@ -3,7 +3,7 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (mage *Mage) registerDeepFreezeSpell() { diff --git a/sim/mage/dragons_breath.go b/sim/mage/dragons_breath.go index f685d9df36..01a5ce07a6 100644 --- a/sim/mage/dragons_breath.go +++ b/sim/mage/dragons_breath.go @@ -1,8 +1,9 @@ package mage import ( - "github.com/wowsims/wotlk/sim/core" "time" + + "github.com/wowsims/cata/sim/core" ) func (mage *Mage) registerDragonsBreathSpell() { diff --git a/sim/mage/evocation.go b/sim/mage/evocation.go index b3025f9c10..1502162697 100644 --- a/sim/mage/evocation.go +++ b/sim/mage/evocation.go @@ -3,7 +3,7 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (mage *Mage) registerEvocation() { diff --git a/sim/mage/fire_blast.go b/sim/mage/fire_blast.go index a172181e8e..97b8a6904b 100644 --- a/sim/mage/fire_blast.go +++ b/sim/mage/fire_blast.go @@ -3,7 +3,7 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (mage *Mage) registerFireBlastSpell() { diff --git a/sim/mage/fireball.go b/sim/mage/fireball.go index dc70a2d908..0ad0f593b6 100644 --- a/sim/mage/fireball.go +++ b/sim/mage/fireball.go @@ -3,8 +3,8 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (mage *Mage) registerFireballSpell() { diff --git a/sim/mage/flamestrike.go b/sim/mage/flamestrike.go index 81e0022f40..ddb7384fe5 100644 --- a/sim/mage/flamestrike.go +++ b/sim/mage/flamestrike.go @@ -3,7 +3,7 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (mage *Mage) registerFlamestrikeSpell(rank8 bool) *core.Spell { diff --git a/sim/mage/focus_magic.go b/sim/mage/focus_magic.go index 04b2c0b0ac..45475cdd5a 100644 --- a/sim/mage/focus_magic.go +++ b/sim/mage/focus_magic.go @@ -3,7 +3,7 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (mage *Mage) applyFocusMagic() { diff --git a/sim/mage/frostbolt.go b/sim/mage/frostbolt.go index 7b8b558246..a1fe1bf646 100644 --- a/sim/mage/frostbolt.go +++ b/sim/mage/frostbolt.go @@ -3,8 +3,8 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (mage *Mage) registerFrostboltSpell() { diff --git a/sim/mage/frostfire_bolt.go b/sim/mage/frostfire_bolt.go index c459bfb5e0..8e64fea49d 100644 --- a/sim/mage/frostfire_bolt.go +++ b/sim/mage/frostfire_bolt.go @@ -3,8 +3,8 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (mage *Mage) registerFrostfireBoltSpell() { diff --git a/sim/mage/ice_lance.go b/sim/mage/ice_lance.go index 80a658a81a..8c1dcec692 100644 --- a/sim/mage/ice_lance.go +++ b/sim/mage/ice_lance.go @@ -1,7 +1,7 @@ package mage import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (mage *Mage) registerIceLanceSpell() { diff --git a/sim/mage/ignite.go b/sim/mage/ignite.go index 98e3967aff..52e5566d14 100644 --- a/sim/mage/ignite.go +++ b/sim/mage/ignite.go @@ -3,7 +3,7 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) // If two spells proc Ignite at almost exactly the same time, the latter diff --git a/sim/mage/items.go b/sim/mage/items.go index 87970c69c3..48e6785254 100644 --- a/sim/mage/items.go +++ b/sim/mage/items.go @@ -3,8 +3,8 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) // T6 Sunwell diff --git a/sim/mage/living_bomb.go b/sim/mage/living_bomb.go index a4c1b75a40..94648409e2 100644 --- a/sim/mage/living_bomb.go +++ b/sim/mage/living_bomb.go @@ -3,8 +3,8 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (mage *Mage) registerLivingBombSpell() { diff --git a/sim/mage/mage.go b/sim/mage/mage.go index f8daa71777..5953c3f0e1 100644 --- a/sim/mage/mage.go +++ b/sim/mage/mage.go @@ -1,11 +1,11 @@ package mage import ( - "github.com/wowsims/wotlk/sim/common/wotlk" + "github.com/wowsims/cata/sim/common/wotlk" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) const ( diff --git a/sim/mage/mage_test.go b/sim/mage/mage_test.go index b5e777f68c..d425fd0b7f 100644 --- a/sim/mage/mage_test.go +++ b/sim/mage/mage_test.go @@ -3,9 +3,9 @@ package mage import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/mage/mana_gems.go b/sim/mage/mana_gems.go index ef297163ea..94a25a2c23 100644 --- a/sim/mage/mana_gems.go +++ b/sim/mage/mana_gems.go @@ -3,9 +3,9 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (mage *Mage) registerManaGemsCD() { diff --git a/sim/mage/mirror_image.go b/sim/mage/mirror_image.go index a2a1030eef..c11888d4b7 100644 --- a/sim/mage/mirror_image.go +++ b/sim/mage/mirror_image.go @@ -3,9 +3,9 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // The numbers in this file are VERY rough approximations based on logs. diff --git a/sim/mage/pyroblast.go b/sim/mage/pyroblast.go index e70f1d4c97..e76c4d9346 100644 --- a/sim/mage/pyroblast.go +++ b/sim/mage/pyroblast.go @@ -3,7 +3,7 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (mage *Mage) registerPyroblastSpell() { diff --git a/sim/mage/scorch.go b/sim/mage/scorch.go index a2fe24c731..62ad15eb28 100644 --- a/sim/mage/scorch.go +++ b/sim/mage/scorch.go @@ -3,8 +3,8 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (mage *Mage) registerScorchSpell() { diff --git a/sim/mage/talents.go b/sim/mage/talents.go index 3845b5e42a..203ac1efee 100644 --- a/sim/mage/talents.go +++ b/sim/mage/talents.go @@ -3,9 +3,9 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (mage *Mage) ApplyTalents() { diff --git a/sim/mage/water_elemental.go b/sim/mage/water_elemental.go index 6ff0423806..f1beacef1c 100644 --- a/sim/mage/water_elemental.go +++ b/sim/mage/water_elemental.go @@ -3,9 +3,9 @@ package mage import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // The numbers in this file are VERY rough approximations based on logs. diff --git a/sim/paladin/avengers_shield.go b/sim/paladin/avengers_shield.go index 60899c088c..3382f933d3 100644 --- a/sim/paladin/avengers_shield.go +++ b/sim/paladin/avengers_shield.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (paladin *Paladin) registerAvengersShieldSpell() { diff --git a/sim/paladin/avenging_wrath.go b/sim/paladin/avenging_wrath.go index 018012a8f3..8ea9bb02ff 100644 --- a/sim/paladin/avenging_wrath.go +++ b/sim/paladin/avenging_wrath.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (paladin *Paladin) RegisterAvengingWrathCD() { diff --git a/sim/paladin/consecration.go b/sim/paladin/consecration.go index c8d9651e63..be596b106f 100644 --- a/sim/paladin/consecration.go +++ b/sim/paladin/consecration.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) // Maybe could switch "rank" parameter type to some proto thing. Would require updates to proto files. diff --git a/sim/paladin/crusader_strike.go b/sim/paladin/crusader_strike.go index 4b531e0dc1..6d29955642 100644 --- a/sim/paladin/crusader_strike.go +++ b/sim/paladin/crusader_strike.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (paladin *Paladin) registerCrusaderStrikeSpell() { diff --git a/sim/paladin/divine_plea.go b/sim/paladin/divine_plea.go index 5edf245467..bc8162aea7 100644 --- a/sim/paladin/divine_plea.go +++ b/sim/paladin/divine_plea.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (paladin *Paladin) registerDivinePleaSpell() { diff --git a/sim/paladin/divine_protection.go b/sim/paladin/divine_protection.go index b0a61d0a3b..5de953f6ac 100644 --- a/sim/paladin/divine_protection.go +++ b/sim/paladin/divine_protection.go @@ -3,7 +3,7 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (paladin *Paladin) registerDivineProtectionSpell() { diff --git a/sim/paladin/divine_storm.go b/sim/paladin/divine_storm.go index dc92287f2c..1ff98f5e04 100644 --- a/sim/paladin/divine_storm.go +++ b/sim/paladin/divine_storm.go @@ -3,7 +3,7 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (paladin *Paladin) registerDivineStormSpell() { diff --git a/sim/paladin/exorcism.go b/sim/paladin/exorcism.go index 9e44483b3f..8e33319321 100644 --- a/sim/paladin/exorcism.go +++ b/sim/paladin/exorcism.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (paladin *Paladin) registerExorcismSpell() { diff --git a/sim/paladin/hammer_of_the_righteous.go b/sim/paladin/hammer_of_the_righteous.go index a53e79f956..482d5eb7a8 100644 --- a/sim/paladin/hammer_of_the_righteous.go +++ b/sim/paladin/hammer_of_the_righteous.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (paladin *Paladin) registerHammerOfTheRighteousSpell() { diff --git a/sim/paladin/hammer_of_wrath.go b/sim/paladin/hammer_of_wrath.go index 941f8eb365..028528c5e1 100644 --- a/sim/paladin/hammer_of_wrath.go +++ b/sim/paladin/hammer_of_wrath.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (paladin *Paladin) registerHammerOfWrathSpell() { diff --git a/sim/paladin/hand_of_reckoning.go b/sim/paladin/hand_of_reckoning.go index 37e6df5472..f2976182aa 100644 --- a/sim/paladin/hand_of_reckoning.go +++ b/sim/paladin/hand_of_reckoning.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (paladin *Paladin) registerHandOfReckoningSpell() { diff --git a/sim/paladin/holy/holy.go b/sim/paladin/holy/holy.go index 535c1484b1..51b8b593f5 100644 --- a/sim/paladin/holy/holy.go +++ b/sim/paladin/holy/holy.go @@ -1,9 +1,9 @@ package holy import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/paladin" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/paladin" ) func RegisterHolyPaladin() { diff --git a/sim/paladin/holy/holy_test.go b/sim/paladin/holy/holy_test.go index 5550a226a4..9b990c41fa 100644 --- a/sim/paladin/holy/holy_test.go +++ b/sim/paladin/holy/holy_test.go @@ -3,9 +3,9 @@ package holy import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get item effects included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get item effects included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/paladin/holy/rotation.go b/sim/paladin/holy/rotation.go index 019e90a918..f7a0f091d8 100644 --- a/sim/paladin/holy/rotation.go +++ b/sim/paladin/holy/rotation.go @@ -3,7 +3,7 @@ package holy import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (holy *HolyPaladin) OnGCDReady(sim *core.Simulation) { diff --git a/sim/paladin/holy_shield.go b/sim/paladin/holy_shield.go index 93663cc4a1..054b8ed2b4 100644 --- a/sim/paladin/holy_shield.go +++ b/sim/paladin/holy_shield.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (paladin *Paladin) registerHolyShieldSpell() { diff --git a/sim/paladin/holy_wrath.go b/sim/paladin/holy_wrath.go index 40b1c67c2e..8fe82fad34 100644 --- a/sim/paladin/holy_wrath.go +++ b/sim/paladin/holy_wrath.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (paladin *Paladin) registerHolyWrathSpell() { diff --git a/sim/paladin/items.go b/sim/paladin/items.go index 32c51512f1..72b4dab29c 100644 --- a/sim/paladin/items.go +++ b/sim/paladin/items.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) // Tier 6 ret diff --git a/sim/paladin/judgement.go b/sim/paladin/judgement.go index 8b8945065c..8c349fff56 100644 --- a/sim/paladin/judgement.go +++ b/sim/paladin/judgement.go @@ -3,7 +3,7 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) // const JudgementDuration = time.Second * 20 diff --git a/sim/paladin/paladin.go b/sim/paladin/paladin.go index d91ca9bb13..592e9e8334 100644 --- a/sim/paladin/paladin.go +++ b/sim/paladin/paladin.go @@ -1,9 +1,9 @@ package paladin import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) const ( diff --git a/sim/paladin/protection/protection.go b/sim/paladin/protection/protection.go index befda73549..2dad82dd9c 100644 --- a/sim/paladin/protection/protection.go +++ b/sim/paladin/protection/protection.go @@ -1,9 +1,9 @@ package protection import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/paladin" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/paladin" ) func RegisterProtectionPaladin() { diff --git a/sim/paladin/protection/protection_test.go b/sim/paladin/protection/protection_test.go index 5b38e0bdbb..b24eef6945 100644 --- a/sim/paladin/protection/protection_test.go +++ b/sim/paladin/protection/protection_test.go @@ -3,9 +3,9 @@ package protection import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get item effects included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get item effects included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/paladin/retribution/retribution.go b/sim/paladin/retribution/retribution.go index 0af33a5d40..fdc4a97348 100644 --- a/sim/paladin/retribution/retribution.go +++ b/sim/paladin/retribution/retribution.go @@ -1,9 +1,9 @@ package retribution import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/paladin" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/paladin" ) func RegisterRetributionPaladin() { diff --git a/sim/paladin/retribution/retribution_test.go b/sim/paladin/retribution/retribution_test.go index a0d790ec77..9f33ece9ad 100644 --- a/sim/paladin/retribution/retribution_test.go +++ b/sim/paladin/retribution/retribution_test.go @@ -3,9 +3,9 @@ package retribution import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get item effects included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get item effects included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/paladin/righteous_fury.go b/sim/paladin/righteous_fury.go index c901df705c..7fd52185c7 100644 --- a/sim/paladin/righteous_fury.go +++ b/sim/paladin/righteous_fury.go @@ -1,7 +1,7 @@ package paladin import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (paladin *Paladin) ActivateRighteousFury() { diff --git a/sim/paladin/shield_of_righteousness.go b/sim/paladin/shield_of_righteousness.go index e5c8eab113..eb007a509e 100644 --- a/sim/paladin/shield_of_righteousness.go +++ b/sim/paladin/shield_of_righteousness.go @@ -3,8 +3,8 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (paladin *Paladin) registerShieldOfRighteousnessSpell() { diff --git a/sim/paladin/soc.go b/sim/paladin/soc.go index f72daac941..49b7a2db93 100644 --- a/sim/paladin/soc.go +++ b/sim/paladin/soc.go @@ -1,8 +1,8 @@ package paladin import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (paladin *Paladin) registerSealOfCommandSpellAndAura() { diff --git a/sim/paladin/sor.go b/sim/paladin/sor.go index 8b697d20ac..5fb0e818b9 100644 --- a/sim/paladin/sor.go +++ b/sim/paladin/sor.go @@ -1,7 +1,7 @@ package paladin import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (paladin *Paladin) registerSealOfRighteousnessSpellAndAura() { diff --git a/sim/paladin/sov.go b/sim/paladin/sov.go index e9336c8908..77cce23889 100644 --- a/sim/paladin/sov.go +++ b/sim/paladin/sov.go @@ -3,9 +3,9 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (paladin *Paladin) registerSealOfVengeanceSpellAndAura() { diff --git a/sim/paladin/spiritual_attunement.go b/sim/paladin/spiritual_attunement.go index 2ba6d9a8b7..b6e65292ec 100644 --- a/sim/paladin/spiritual_attunement.go +++ b/sim/paladin/spiritual_attunement.go @@ -1,7 +1,7 @@ package paladin import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (paladin *Paladin) registerSpiritualAttunement() { diff --git a/sim/paladin/talents.go b/sim/paladin/talents.go index 0ba539e9e2..27015e5b40 100644 --- a/sim/paladin/talents.go +++ b/sim/paladin/talents.go @@ -3,9 +3,9 @@ package paladin import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // TODO: diff --git a/sim/priest/binding_heal.go b/sim/priest/binding_heal.go index 6d757a4602..eb7ae65936 100644 --- a/sim/priest/binding_heal.go +++ b/sim/priest/binding_heal.go @@ -3,7 +3,7 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (priest *Priest) registerBindingHealSpell() { diff --git a/sim/priest/circle_of_healing.go b/sim/priest/circle_of_healing.go index 7067f58668..6241ddd983 100644 --- a/sim/priest/circle_of_healing.go +++ b/sim/priest/circle_of_healing.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerCircleOfHealingSpell() { diff --git a/sim/priest/devouring_plague.go b/sim/priest/devouring_plague.go index 86c597130d..e318a860f1 100644 --- a/sim/priest/devouring_plague.go +++ b/sim/priest/devouring_plague.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerDevouringPlagueSpell() { diff --git a/sim/priest/dispersion.go b/sim/priest/dispersion.go index bc42d4193a..d2481b7800 100644 --- a/sim/priest/dispersion.go +++ b/sim/priest/dispersion.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerDispersionSpell() { diff --git a/sim/priest/flash_heal.go b/sim/priest/flash_heal.go index 604bd3b7ca..d6bdc17a99 100644 --- a/sim/priest/flash_heal.go +++ b/sim/priest/flash_heal.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerFlashHealSpell() { diff --git a/sim/priest/greater_heal.go b/sim/priest/greater_heal.go index d051a4ae1c..3b0f46eb66 100644 --- a/sim/priest/greater_heal.go +++ b/sim/priest/greater_heal.go @@ -3,7 +3,7 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (priest *Priest) registerGreaterHealSpell() { diff --git a/sim/priest/healing/healing_priest.go b/sim/priest/healing/healing_priest.go index 1150ac7b73..0b40214e3d 100644 --- a/sim/priest/healing/healing_priest.go +++ b/sim/priest/healing/healing_priest.go @@ -1,9 +1,9 @@ package healing import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/priest" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/priest" ) func RegisterHealingPriest() { diff --git a/sim/priest/healing/healing_priest_test.go b/sim/priest/healing/healing_priest_test.go index 0ff0f4907e..bffe9ced19 100644 --- a/sim/priest/healing/healing_priest_test.go +++ b/sim/priest/healing/healing_priest_test.go @@ -3,9 +3,9 @@ package healing import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get caster sets included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get caster sets included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/priest/holy_fire.go b/sim/priest/holy_fire.go index 5fbaeda9ac..0b7925dc1c 100644 --- a/sim/priest/holy_fire.go +++ b/sim/priest/holy_fire.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) RegisterHolyFireSpell() { diff --git a/sim/priest/hymn_of_hope.go b/sim/priest/hymn_of_hope.go index 995b1a541f..d137975ea5 100644 --- a/sim/priest/hymn_of_hope.go +++ b/sim/priest/hymn_of_hope.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) // TODO: This currently only affects the caster, not other raid members. diff --git a/sim/priest/items.go b/sim/priest/items.go index 5de694381c..a88eec9bb9 100644 --- a/sim/priest/items.go +++ b/sim/priest/items.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) var ItemSetAbsolution = core.NewItemSet(core.ItemSet{ diff --git a/sim/priest/mind_blast.go b/sim/priest/mind_blast.go index dcfc0f6b97..d10eeee2db 100644 --- a/sim/priest/mind_blast.go +++ b/sim/priest/mind_blast.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerMindBlastSpell() { diff --git a/sim/priest/mind_flay.go b/sim/priest/mind_flay.go index d25ba8649d..4e50a7c7d5 100644 --- a/sim/priest/mind_flay.go +++ b/sim/priest/mind_flay.go @@ -4,8 +4,8 @@ import ( "strconv" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) getMiseryCoefficient() float64 { diff --git a/sim/priest/mind_sear.go b/sim/priest/mind_sear.go index fd48c35ca4..fbb7834e6c 100644 --- a/sim/priest/mind_sear.go +++ b/sim/priest/mind_sear.go @@ -4,8 +4,8 @@ import ( "strconv" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) getMindSearMiseryCoefficient() float64 { diff --git a/sim/priest/penance.go b/sim/priest/penance.go index a1b0432b6d..42836e2afd 100644 --- a/sim/priest/penance.go +++ b/sim/priest/penance.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerPenanceHealSpell() { diff --git a/sim/priest/power_infusion.go b/sim/priest/power_infusion.go index 37de070beb..06396273e8 100644 --- a/sim/priest/power_infusion.go +++ b/sim/priest/power_infusion.go @@ -3,7 +3,7 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (priest *Priest) registerPowerInfusionCD() { diff --git a/sim/priest/power_word_shield.go b/sim/priest/power_word_shield.go index cbdbdfbf85..7fcdbdf32e 100644 --- a/sim/priest/power_word_shield.go +++ b/sim/priest/power_word_shield.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerPowerWordShieldSpell() { diff --git a/sim/priest/prayer_of_healing.go b/sim/priest/prayer_of_healing.go index c776de978d..c3e6255600 100644 --- a/sim/priest/prayer_of_healing.go +++ b/sim/priest/prayer_of_healing.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerPrayerOfHealingSpell() { diff --git a/sim/priest/prayer_of_mending.go b/sim/priest/prayer_of_mending.go index a01b6a9e96..cd7875619c 100644 --- a/sim/priest/prayer_of_mending.go +++ b/sim/priest/prayer_of_mending.go @@ -4,7 +4,7 @@ import ( "strconv" "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (priest *Priest) registerPrayerOfMendingSpell() { diff --git a/sim/priest/priest.go b/sim/priest/priest.go index 5c851c955a..fb241e1f9a 100644 --- a/sim/priest/priest.go +++ b/sim/priest/priest.go @@ -3,9 +3,9 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) var TalentTreeSizes = [3]int{28, 27, 27} diff --git a/sim/priest/renew.go b/sim/priest/renew.go index 2cb2b1a5dd..44cc9b76e9 100644 --- a/sim/priest/renew.go +++ b/sim/priest/renew.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerRenewSpell() { diff --git a/sim/priest/shadow/shadow_priest.go b/sim/priest/shadow/shadow_priest.go index 735f84f1bb..0a51fcff34 100644 --- a/sim/priest/shadow/shadow_priest.go +++ b/sim/priest/shadow/shadow_priest.go @@ -1,10 +1,10 @@ package shadow import ( - "github.com/wowsims/wotlk/sim/common/wotlk" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/priest" + "github.com/wowsims/cata/sim/common/wotlk" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/priest" ) func RegisterShadowPriest() { diff --git a/sim/priest/shadow/shadow_priest_test.go b/sim/priest/shadow/shadow_priest_test.go index ac5003879b..76bfb65fb2 100644 --- a/sim/priest/shadow/shadow_priest_test.go +++ b/sim/priest/shadow/shadow_priest_test.go @@ -3,9 +3,9 @@ package shadow import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get caster sets included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get caster sets included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/priest/shadow_word_death.go b/sim/priest/shadow_word_death.go index b4e1b65fb6..0bd8c191e7 100644 --- a/sim/priest/shadow_word_death.go +++ b/sim/priest/shadow_word_death.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerShadowWordDeathSpell() { diff --git a/sim/priest/shadow_word_pain.go b/sim/priest/shadow_word_pain.go index 6b3569059e..b911f72050 100644 --- a/sim/priest/shadow_word_pain.go +++ b/sim/priest/shadow_word_pain.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (priest *Priest) registerShadowWordPainSpell() { diff --git a/sim/priest/shadowfiend.go b/sim/priest/shadowfiend.go index dcbb95f5a7..2e58d3e756 100644 --- a/sim/priest/shadowfiend.go +++ b/sim/priest/shadowfiend.go @@ -3,7 +3,7 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (priest *Priest) registerShadowfiendSpell() { diff --git a/sim/priest/shadowfiend_pet.go b/sim/priest/shadowfiend_pet.go index eac7ff0491..cd21681968 100644 --- a/sim/priest/shadowfiend_pet.go +++ b/sim/priest/shadowfiend_pet.go @@ -3,8 +3,8 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) type Shadowfiend struct { diff --git a/sim/priest/smite.go b/sim/priest/smite.go index ac9d8264e0..33249eb5cb 100644 --- a/sim/priest/smite.go +++ b/sim/priest/smite.go @@ -3,7 +3,7 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (priest *Priest) RegisterSmiteSpell() { diff --git a/sim/priest/smite/smite_priest.go b/sim/priest/smite/smite_priest.go index 1c11d6c834..d0927c3250 100644 --- a/sim/priest/smite/smite_priest.go +++ b/sim/priest/smite/smite_priest.go @@ -1,9 +1,9 @@ package smite import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/priest" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/priest" ) func RegisterSmitePriest() { diff --git a/sim/priest/smite/smite_priest_test.go b/sim/priest/smite/smite_priest_test.go index 5ed9e42767..87071ed389 100644 --- a/sim/priest/smite/smite_priest_test.go +++ b/sim/priest/smite/smite_priest_test.go @@ -3,9 +3,9 @@ package smite import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get caster sets included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get caster sets included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/priest/talents.go b/sim/priest/talents.go index 3a4aeee251..dbe71d942b 100644 --- a/sim/priest/talents.go +++ b/sim/priest/talents.go @@ -4,8 +4,8 @@ import ( "strconv" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (priest *Priest) ApplyTalents() { diff --git a/sim/priest/vampiric_touch.go b/sim/priest/vampiric_touch.go index 06473fbdce..f2d4e71ad4 100644 --- a/sim/priest/vampiric_touch.go +++ b/sim/priest/vampiric_touch.go @@ -3,7 +3,7 @@ package priest import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (priest *Priest) registerVampiricTouchSpell() { diff --git a/sim/raid_bench_test.go b/sim/raid_bench_test.go index 01026d3438..1ffffae2d2 100644 --- a/sim/raid_bench_test.go +++ b/sim/raid_bench_test.go @@ -3,9 +3,9 @@ package sim import ( "testing" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // 1 moonkin, 1 ele shaman, 1 spriest, 2x arcane diff --git a/sim/raid_test.go b/sim/raid_test.go index e53939e140..97524bd971 100644 --- a/sim/raid_test.go +++ b/sim/raid_test.go @@ -3,9 +3,9 @@ package sim import ( "testing" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func init() { diff --git a/sim/register_all.go b/sim/register_all.go index 2de9a34f9e..fc727a0fad 100644 --- a/sim/register_all.go +++ b/sim/register_all.go @@ -1,29 +1,29 @@ package sim import ( - _ "github.com/wowsims/wotlk/sim/common" - dpsDeathKnight "github.com/wowsims/wotlk/sim/deathknight/dps" - tankDeathKnight "github.com/wowsims/wotlk/sim/deathknight/tank" - "github.com/wowsims/wotlk/sim/druid/balance" - "github.com/wowsims/wotlk/sim/druid/feral" - restoDruid "github.com/wowsims/wotlk/sim/druid/restoration" - feralTank "github.com/wowsims/wotlk/sim/druid/tank" - _ "github.com/wowsims/wotlk/sim/encounters" - "github.com/wowsims/wotlk/sim/hunter" - "github.com/wowsims/wotlk/sim/mage" - holyPaladin "github.com/wowsims/wotlk/sim/paladin/holy" - protectionPaladin "github.com/wowsims/wotlk/sim/paladin/protection" - "github.com/wowsims/wotlk/sim/paladin/retribution" - healingPriest "github.com/wowsims/wotlk/sim/priest/healing" - "github.com/wowsims/wotlk/sim/priest/shadow" - "github.com/wowsims/wotlk/sim/priest/smite" - "github.com/wowsims/wotlk/sim/rogue" - "github.com/wowsims/wotlk/sim/shaman/elemental" - "github.com/wowsims/wotlk/sim/shaman/enhancement" - restoShaman "github.com/wowsims/wotlk/sim/shaman/restoration" - "github.com/wowsims/wotlk/sim/warlock" - dpsWarrior "github.com/wowsims/wotlk/sim/warrior/dps" - protectionWarrior "github.com/wowsims/wotlk/sim/warrior/protection" + _ "github.com/wowsims/cata/sim/common" + dpsDeathKnight "github.com/wowsims/cata/sim/deathknight/dps" + tankDeathKnight "github.com/wowsims/cata/sim/deathknight/tank" + "github.com/wowsims/cata/sim/druid/balance" + "github.com/wowsims/cata/sim/druid/feral" + restoDruid "github.com/wowsims/cata/sim/druid/restoration" + feralTank "github.com/wowsims/cata/sim/druid/tank" + _ "github.com/wowsims/cata/sim/encounters" + "github.com/wowsims/cata/sim/hunter" + "github.com/wowsims/cata/sim/mage" + holyPaladin "github.com/wowsims/cata/sim/paladin/holy" + protectionPaladin "github.com/wowsims/cata/sim/paladin/protection" + "github.com/wowsims/cata/sim/paladin/retribution" + healingPriest "github.com/wowsims/cata/sim/priest/healing" + "github.com/wowsims/cata/sim/priest/shadow" + "github.com/wowsims/cata/sim/priest/smite" + "github.com/wowsims/cata/sim/rogue" + "github.com/wowsims/cata/sim/shaman/elemental" + "github.com/wowsims/cata/sim/shaman/enhancement" + restoShaman "github.com/wowsims/cata/sim/shaman/restoration" + "github.com/wowsims/cata/sim/warlock" + dpsWarrior "github.com/wowsims/cata/sim/warrior/dps" + protectionWarrior "github.com/wowsims/cata/sim/warrior/protection" ) var registered = false diff --git a/sim/rogue/ambush.go b/sim/rogue/ambush.go index 08c749e79c..8a9c5a532c 100644 --- a/sim/rogue/ambush.go +++ b/sim/rogue/ambush.go @@ -3,7 +3,7 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (rogue *Rogue) registerAmbushSpell() { diff --git a/sim/rogue/backstab.go b/sim/rogue/backstab.go index 3b3486bb1d..fccb309ab2 100644 --- a/sim/rogue/backstab.go +++ b/sim/rogue/backstab.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerBackstabSpell() { diff --git a/sim/rogue/envenom.go b/sim/rogue/envenom.go index c05ad63166..09f062f081 100644 --- a/sim/rogue/envenom.go +++ b/sim/rogue/envenom.go @@ -3,7 +3,7 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (rogue *Rogue) registerEnvenom() { diff --git a/sim/rogue/eviscerate.go b/sim/rogue/eviscerate.go index 685ad16f64..8ebbb339b5 100644 --- a/sim/rogue/eviscerate.go +++ b/sim/rogue/eviscerate.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerEviscerate() { diff --git a/sim/rogue/expose_armor.go b/sim/rogue/expose_armor.go index 30986a2d38..f7de2401a1 100644 --- a/sim/rogue/expose_armor.go +++ b/sim/rogue/expose_armor.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerExposeArmorSpell() { diff --git a/sim/rogue/fan_of_knives.go b/sim/rogue/fan_of_knives.go index fee8ff763e..b18053e9b3 100644 --- a/sim/rogue/fan_of_knives.go +++ b/sim/rogue/fan_of_knives.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) const FanOfKnivesSpellID int32 = 51723 diff --git a/sim/rogue/feint.go b/sim/rogue/feint.go index 363328ebb3..a6ecec7262 100644 --- a/sim/rogue/feint.go +++ b/sim/rogue/feint.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerFeintSpell() { diff --git a/sim/rogue/garrote.go b/sim/rogue/garrote.go index 2117af2953..4e2d157e5e 100644 --- a/sim/rogue/garrote.go +++ b/sim/rogue/garrote.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerGarrote() { diff --git a/sim/rogue/ghostly_strike.go b/sim/rogue/ghostly_strike.go index 57d24cd6d7..0436a8a4d8 100644 --- a/sim/rogue/ghostly_strike.go +++ b/sim/rogue/ghostly_strike.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerGhostlyStrikeSpell() { diff --git a/sim/rogue/hack_and_slash.go b/sim/rogue/hack_and_slash.go index f86de394f4..b36961b8c6 100644 --- a/sim/rogue/hack_and_slash.go +++ b/sim/rogue/hack_and_slash.go @@ -3,7 +3,7 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (rogue *Rogue) registerHackAndSlash(mask core.ProcMask) { diff --git a/sim/rogue/hemorrhage.go b/sim/rogue/hemorrhage.go index ce82b1f99e..95b59b3626 100644 --- a/sim/rogue/hemorrhage.go +++ b/sim/rogue/hemorrhage.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerHemorrhageSpell() { diff --git a/sim/rogue/items.go b/sim/rogue/items.go index be290801bd..e1cdeac4e7 100644 --- a/sim/rogue/items.go +++ b/sim/rogue/items.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) var Arena = core.NewItemSet(core.ItemSet{ diff --git a/sim/rogue/killing_spree.go b/sim/rogue/killing_spree.go index a77f9d181a..61d91c4fdb 100644 --- a/sim/rogue/killing_spree.go +++ b/sim/rogue/killing_spree.go @@ -4,8 +4,8 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerKillingSpreeSpell() { diff --git a/sim/rogue/master_of_subtlety.go b/sim/rogue/master_of_subtlety.go index 6b6107a44a..c5fdf5dd02 100644 --- a/sim/rogue/master_of_subtlety.go +++ b/sim/rogue/master_of_subtlety.go @@ -3,7 +3,7 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) // Each rank is a different ID. 31223 is 3/3 diff --git a/sim/rogue/mutilate.go b/sim/rogue/mutilate.go index c0090771ee..ba3d0e836c 100644 --- a/sim/rogue/mutilate.go +++ b/sim/rogue/mutilate.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) var MutilateSpellID int32 = 48666 diff --git a/sim/rogue/overkill.go b/sim/rogue/overkill.go index 34f1ffda74..433ad9552a 100644 --- a/sim/rogue/overkill.go +++ b/sim/rogue/overkill.go @@ -3,7 +3,7 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) var OverkillActionID = core.ActionID{SpellID: 58426} diff --git a/sim/rogue/poisons.go b/sim/rogue/poisons.go index d347b24522..437c4a57e0 100644 --- a/sim/rogue/poisons.go +++ b/sim/rogue/poisons.go @@ -4,8 +4,8 @@ import ( "strconv" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) applyPoisons() { diff --git a/sim/rogue/premeditation.go b/sim/rogue/premeditation.go index 525c2958e9..9bbd804dfa 100644 --- a/sim/rogue/premeditation.go +++ b/sim/rogue/premeditation.go @@ -3,7 +3,7 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (rogue *Rogue) registerPremeditation() { diff --git a/sim/rogue/preparation.go b/sim/rogue/preparation.go index fe5973f4a9..db34d170ea 100644 --- a/sim/rogue/preparation.go +++ b/sim/rogue/preparation.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerPreparationCD() { diff --git a/sim/rogue/rogue.go b/sim/rogue/rogue.go index 5804c9374e..f771e99d75 100644 --- a/sim/rogue/rogue.go +++ b/sim/rogue/rogue.go @@ -3,9 +3,9 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func RegisterRogue() { diff --git a/sim/rogue/rogue_test.go b/sim/rogue/rogue_test.go index 9fdd9220c1..d0c10c621c 100644 --- a/sim/rogue/rogue_test.go +++ b/sim/rogue/rogue_test.go @@ -3,9 +3,9 @@ package rogue import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get item effects included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get item effects included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/rogue/rupture.go b/sim/rogue/rupture.go index d6c358d0b4..68d46fe8ae 100644 --- a/sim/rogue/rupture.go +++ b/sim/rogue/rupture.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) const RuptureEnergyCost = 25.0 diff --git a/sim/rogue/shadow_dance.go b/sim/rogue/shadow_dance.go index 2aeb3d2a4d..dff91e231b 100644 --- a/sim/rogue/shadow_dance.go +++ b/sim/rogue/shadow_dance.go @@ -3,9 +3,9 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (rogue *Rogue) registerShadowDanceCD() { diff --git a/sim/rogue/shadowstep.go b/sim/rogue/shadowstep.go index 3652222789..96f6d73d2f 100644 --- a/sim/rogue/shadowstep.go +++ b/sim/rogue/shadowstep.go @@ -3,7 +3,7 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (rogue *Rogue) registerShadowstepCD() { diff --git a/sim/rogue/shiv.go b/sim/rogue/shiv.go index 358044d963..e3591a7e3a 100644 --- a/sim/rogue/shiv.go +++ b/sim/rogue/shiv.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerShivSpell() { diff --git a/sim/rogue/sinister_strike.go b/sim/rogue/sinister_strike.go index 40ee273348..6fdcbd9189 100644 --- a/sim/rogue/sinister_strike.go +++ b/sim/rogue/sinister_strike.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerSinisterStrikeSpell() { diff --git a/sim/rogue/slice_and_dice.go b/sim/rogue/slice_and_dice.go index fd763ea66c..3e6fc414e9 100644 --- a/sim/rogue/slice_and_dice.go +++ b/sim/rogue/slice_and_dice.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerSliceAndDice() { diff --git a/sim/rogue/stealth.go b/sim/rogue/stealth.go index 04c0349fae..3a0c866b76 100644 --- a/sim/rogue/stealth.go +++ b/sim/rogue/stealth.go @@ -1,7 +1,7 @@ package rogue import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (rogue *Rogue) registerStealthAura() { diff --git a/sim/rogue/talents.go b/sim/rogue/talents.go index d2bf6b5479..375af4a9ff 100644 --- a/sim/rogue/talents.go +++ b/sim/rogue/talents.go @@ -4,9 +4,9 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (rogue *Rogue) ApplyTalents() { diff --git a/sim/rogue/thistle_tea.go b/sim/rogue/thistle_tea.go index 9ef1fac1d4..8aabe3beaf 100644 --- a/sim/rogue/thistle_tea.go +++ b/sim/rogue/thistle_tea.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerThistleTeaCD() { diff --git a/sim/rogue/tricks_of_the_trade.go b/sim/rogue/tricks_of_the_trade.go index 13116fc0b2..a15d956407 100644 --- a/sim/rogue/tricks_of_the_trade.go +++ b/sim/rogue/tricks_of_the_trade.go @@ -3,8 +3,8 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (rogue *Rogue) registerTricksOfTheTradeSpell() { diff --git a/sim/rogue/vanish.go b/sim/rogue/vanish.go index c22f370cbb..336a6823c2 100644 --- a/sim/rogue/vanish.go +++ b/sim/rogue/vanish.go @@ -3,7 +3,7 @@ package rogue import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (rogue *Rogue) registerVanishSpell() { diff --git a/sim/shaman/apl_values.go b/sim/shaman/apl_values.go index 068726e23b..13d25e92cf 100644 --- a/sim/shaman/apl_values.go +++ b/sim/shaman/apl_values.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (shaman *Shaman) NewAPLValue(rot *core.APLRotation, config *proto.APLValue) core.APLValue { diff --git a/sim/shaman/bloodlust.go b/sim/shaman/bloodlust.go index 8becff8b6e..0a26763f8e 100644 --- a/sim/shaman/bloodlust.go +++ b/sim/shaman/bloodlust.go @@ -1,7 +1,7 @@ package shaman import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (shaman *Shaman) BloodlustActionID() core.ActionID { diff --git a/sim/shaman/chain_lightning.go b/sim/shaman/chain_lightning.go index 8438d0314f..2b98a645dc 100644 --- a/sim/shaman/chain_lightning.go +++ b/sim/shaman/chain_lightning.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (shaman *Shaman) registerChainLightningSpell() { diff --git a/sim/shaman/electric_spell.go b/sim/shaman/electric_spell.go index 18e7535f67..f100f7df42 100644 --- a/sim/shaman/electric_spell.go +++ b/sim/shaman/electric_spell.go @@ -3,7 +3,7 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) // Totem Item IDs diff --git a/sim/shaman/elemental/elemental.go b/sim/shaman/elemental/elemental.go index 5e63cd3756..473c312258 100644 --- a/sim/shaman/elemental/elemental.go +++ b/sim/shaman/elemental/elemental.go @@ -1,10 +1,10 @@ package elemental import ( - "github.com/wowsims/wotlk/sim/common/wotlk" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/shaman" + "github.com/wowsims/cata/sim/common/wotlk" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/shaman" ) func RegisterElementalShaman() { diff --git a/sim/shaman/elemental/elemental_test.go b/sim/shaman/elemental/elemental_test.go index 469836c68b..135f126e5f 100644 --- a/sim/shaman/elemental/elemental_test.go +++ b/sim/shaman/elemental/elemental_test.go @@ -3,9 +3,9 @@ package elemental import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/shaman/enhancement/enhancement.go b/sim/shaman/enhancement/enhancement.go index e13e8cffbe..3db34426ed 100644 --- a/sim/shaman/enhancement/enhancement.go +++ b/sim/shaman/enhancement/enhancement.go @@ -3,9 +3,9 @@ package enhancement import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/shaman" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/shaman" ) func RegisterEnhancementShaman() { diff --git a/sim/shaman/enhancement/enhancement_test.go b/sim/shaman/enhancement/enhancement_test.go index 11be85311a..fecb796522 100644 --- a/sim/shaman/enhancement/enhancement_test.go +++ b/sim/shaman/enhancement/enhancement_test.go @@ -3,9 +3,9 @@ package enhancement import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get item effects included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get item effects included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/shaman/feral_spirit.go b/sim/shaman/feral_spirit.go index 9c6bd57043..dd31f98c70 100644 --- a/sim/shaman/feral_spirit.go +++ b/sim/shaman/feral_spirit.go @@ -3,7 +3,7 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (shaman *Shaman) registerFeralSpirit() { diff --git a/sim/shaman/fire_elemental_pet.go b/sim/shaman/fire_elemental_pet.go index 6cc7a0a007..f5ac6974c5 100644 --- a/sim/shaman/fire_elemental_pet.go +++ b/sim/shaman/fire_elemental_pet.go @@ -4,9 +4,9 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // Variables that control the Fire Elemental. diff --git a/sim/shaman/fire_elemental_spells.go b/sim/shaman/fire_elemental_spells.go index ae1dc0d259..744d5b495f 100644 --- a/sim/shaman/fire_elemental_spells.go +++ b/sim/shaman/fire_elemental_spells.go @@ -3,7 +3,7 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (fireElemental *FireElemental) registerFireBlast() { diff --git a/sim/shaman/fire_elemental_totem.go b/sim/shaman/fire_elemental_totem.go index b9afd73072..00720f00f3 100644 --- a/sim/shaman/fire_elemental_totem.go +++ b/sim/shaman/fire_elemental_totem.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) const fireTotemDuration time.Duration = time.Second * 120 diff --git a/sim/shaman/fire_totems.go b/sim/shaman/fire_totems.go index a66cc6573d..05ed4cc5f3 100644 --- a/sim/shaman/fire_totems.go +++ b/sim/shaman/fire_totems.go @@ -3,7 +3,7 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (shaman *Shaman) registerSearingTotemSpell() { diff --git a/sim/shaman/firenova.go b/sim/shaman/firenova.go index ca5735fb8a..93808dfebf 100644 --- a/sim/shaman/firenova.go +++ b/sim/shaman/firenova.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (shaman *Shaman) registerFireNovaSpell() { diff --git a/sim/shaman/heals.go b/sim/shaman/heals.go index 34fb24fe1c..396ab0c844 100644 --- a/sim/shaman/heals.go +++ b/sim/shaman/heals.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (shaman *Shaman) registerAncestralHealingSpell() { diff --git a/sim/shaman/items.go b/sim/shaman/items.go index a04006b473..23ccf1897f 100644 --- a/sim/shaman/items.go +++ b/sim/shaman/items.go @@ -3,9 +3,9 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) var ItemSetTidefury = core.NewItemSet(core.ItemSet{ diff --git a/sim/shaman/items_wotlk.go b/sim/shaman/items_wotlk.go index 4b5736f288..93153ccdae 100644 --- a/sim/shaman/items_wotlk.go +++ b/sim/shaman/items_wotlk.go @@ -4,8 +4,8 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) var ItemSetThrallsRegalia = core.NewItemSet(core.ItemSet{ diff --git a/sim/shaman/lavaburst.go b/sim/shaman/lavaburst.go index 6fd3e193d2..8526fe9369 100644 --- a/sim/shaman/lavaburst.go +++ b/sim/shaman/lavaburst.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (shaman *Shaman) registerLavaBurstSpell() { diff --git a/sim/shaman/lavalash.go b/sim/shaman/lavalash.go index 73f50a86ea..6a66e7902c 100644 --- a/sim/shaman/lavalash.go +++ b/sim/shaman/lavalash.go @@ -3,9 +3,9 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // Totem IDs diff --git a/sim/shaman/lightning_bolt.go b/sim/shaman/lightning_bolt.go index 9605e7e8b3..d7db67159e 100644 --- a/sim/shaman/lightning_bolt.go +++ b/sim/shaman/lightning_bolt.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (shaman *Shaman) registerLightningBoltSpell() { diff --git a/sim/shaman/lightning_shield.go b/sim/shaman/lightning_shield.go index 1e285c1aa7..5a94507e0b 100644 --- a/sim/shaman/lightning_shield.go +++ b/sim/shaman/lightning_shield.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (shaman *Shaman) registerLightningShieldSpell() { diff --git a/sim/shaman/restoration/restoration.go b/sim/shaman/restoration/restoration.go index 20bb441821..34ee3d0450 100644 --- a/sim/shaman/restoration/restoration.go +++ b/sim/shaman/restoration/restoration.go @@ -1,9 +1,9 @@ package restoration import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/shaman" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/shaman" ) func RegisterRestorationShaman() { diff --git a/sim/shaman/restoration/restoration_test.go b/sim/shaman/restoration/restoration_test.go index f39cd5a715..3e8ecc0fea 100644 --- a/sim/shaman/restoration/restoration_test.go +++ b/sim/shaman/restoration/restoration_test.go @@ -3,9 +3,9 @@ package restoration import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/shaman/shaman.go b/sim/shaman/shaman.go index ac238dab67..abb6435c11 100644 --- a/sim/shaman/shaman.go +++ b/sim/shaman/shaman.go @@ -3,9 +3,9 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) var TalentTreeSizes = [3]int{25, 29, 26} diff --git a/sim/shaman/shamanistic_rage.go b/sim/shaman/shamanistic_rage.go index d62b95fe91..f000245c09 100644 --- a/sim/shaman/shamanistic_rage.go +++ b/sim/shaman/shamanistic_rage.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (shaman *Shaman) registerShamanisticRageCD() { diff --git a/sim/shaman/shocks.go b/sim/shaman/shocks.go index e8be1baed3..bfb263a2db 100644 --- a/sim/shaman/shocks.go +++ b/sim/shaman/shocks.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (shaman *Shaman) ShockCD() time.Duration { diff --git a/sim/shaman/spirit_wolves.go b/sim/shaman/spirit_wolves.go index 49d5448c23..1a9b09d473 100644 --- a/sim/shaman/spirit_wolves.go +++ b/sim/shaman/spirit_wolves.go @@ -5,9 +5,9 @@ import ( "strconv" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type SpiritWolf struct { diff --git a/sim/shaman/stormstrike.go b/sim/shaman/stormstrike.go index cb5ed4010b..7053facd57 100644 --- a/sim/shaman/stormstrike.go +++ b/sim/shaman/stormstrike.go @@ -3,9 +3,9 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) var StormstrikeActionID = core.ActionID{SpellID: 17364} diff --git a/sim/shaman/talents.go b/sim/shaman/talents.go index 36701c9799..e8a04fa928 100644 --- a/sim/shaman/talents.go +++ b/sim/shaman/talents.go @@ -3,9 +3,9 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (shaman *Shaman) ApplyTalents() { diff --git a/sim/shaman/thunderstorm.go b/sim/shaman/thunderstorm.go index bbd33ae52a..2974d6d48b 100644 --- a/sim/shaman/thunderstorm.go +++ b/sim/shaman/thunderstorm.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (shaman *Shaman) registerThunderstormSpell() { diff --git a/sim/shaman/totems.go b/sim/shaman/totems.go index 7e9b08550d..1daf29d82c 100644 --- a/sim/shaman/totems.go +++ b/sim/shaman/totems.go @@ -3,8 +3,8 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (shaman *Shaman) newTotemSpellConfig(baseCost float64, spellID int32) core.SpellConfig { diff --git a/sim/shaman/weapon_imbues.go b/sim/shaman/weapon_imbues.go index 78c25b77e5..e8aabfbdfe 100644 --- a/sim/shaman/weapon_imbues.go +++ b/sim/shaman/weapon_imbues.go @@ -3,9 +3,9 @@ package shaman import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) var TotemOfTheAstralWinds int32 = 27815 diff --git a/sim/warlock/apl_values.go b/sim/warlock/apl_values.go index 5db91673eb..c23e321c3b 100644 --- a/sim/warlock/apl_values.go +++ b/sim/warlock/apl_values.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) NewAPLValue(rot *core.APLRotation, config *proto.APLValue) core.APLValue { diff --git a/sim/warlock/chaos_bolt.go b/sim/warlock/chaos_bolt.go index b568f58f53..abefa4516d 100644 --- a/sim/warlock/chaos_bolt.go +++ b/sim/warlock/chaos_bolt.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerChaosBoltSpell() { diff --git a/sim/warlock/conflagrate.go b/sim/warlock/conflagrate.go index 4f811eac12..429cd30895 100644 --- a/sim/warlock/conflagrate.go +++ b/sim/warlock/conflagrate.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerConflagrateSpell() { diff --git a/sim/warlock/corruption.go b/sim/warlock/corruption.go index 01644e8047..9f668236e9 100644 --- a/sim/warlock/corruption.go +++ b/sim/warlock/corruption.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerCorruptionSpell() { diff --git a/sim/warlock/curses.go b/sim/warlock/curses.go index 71ca08ffa4..1146073cf0 100644 --- a/sim/warlock/curses.go +++ b/sim/warlock/curses.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerCurseOfElementsSpell() { diff --git a/sim/warlock/darkpact.go b/sim/warlock/darkpact.go index 9b122d41c2..24a471cf9c 100644 --- a/sim/warlock/darkpact.go +++ b/sim/warlock/darkpact.go @@ -3,9 +3,9 @@ package warlock import ( "math" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (warlock *Warlock) registerDarkPactSpell() { diff --git a/sim/warlock/demonic_empowerment.go b/sim/warlock/demonic_empowerment.go index 79f858f0e9..95ef23ab29 100644 --- a/sim/warlock/demonic_empowerment.go +++ b/sim/warlock/demonic_empowerment.go @@ -3,9 +3,9 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (warlock *Warlock) registerDemonicEmpowermentSpell() { diff --git a/sim/warlock/drain_soul.go b/sim/warlock/drain_soul.go index 1d6dc28610..6714f014a3 100644 --- a/sim/warlock/drain_soul.go +++ b/sim/warlock/drain_soul.go @@ -3,7 +3,7 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warlock *Warlock) registerDrainSoulSpell() { diff --git a/sim/warlock/haunt.go b/sim/warlock/haunt.go index 0fa26e0fd6..4150bb4461 100644 --- a/sim/warlock/haunt.go +++ b/sim/warlock/haunt.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerHauntSpell() { diff --git a/sim/warlock/immolate.go b/sim/warlock/immolate.go index 012970e5c6..73cf7e489f 100644 --- a/sim/warlock/immolate.go +++ b/sim/warlock/immolate.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerImmolateSpell() { diff --git a/sim/warlock/incinerate.go b/sim/warlock/incinerate.go index 1f71d2c41a..9a4261162f 100644 --- a/sim/warlock/incinerate.go +++ b/sim/warlock/incinerate.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerIncinerateSpell() { diff --git a/sim/warlock/inferno.go b/sim/warlock/inferno.go index f08c271c1e..9be2a84b96 100644 --- a/sim/warlock/inferno.go +++ b/sim/warlock/inferno.go @@ -4,9 +4,9 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (warlock *Warlock) registerInfernoSpell() { diff --git a/sim/warlock/items.go b/sim/warlock/items.go index 5204f8982b..2279bb13e4 100644 --- a/sim/warlock/items.go +++ b/sim/warlock/items.go @@ -3,9 +3,9 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // T6 diff --git a/sim/warlock/lifetap.go b/sim/warlock/lifetap.go index 9df16096ef..0ec9eb6a50 100644 --- a/sim/warlock/lifetap.go +++ b/sim/warlock/lifetap.go @@ -1,8 +1,8 @@ package warlock import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (warlock *Warlock) registerLifeTapSpell() { diff --git a/sim/warlock/metamorphosis.go b/sim/warlock/metamorphosis.go index ea221c3dc2..bb20b86957 100644 --- a/sim/warlock/metamorphosis.go +++ b/sim/warlock/metamorphosis.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerMetamorphosisSpell() { diff --git a/sim/warlock/pet.go b/sim/warlock/pet.go index bdcd0c0645..a520f1d3b8 100644 --- a/sim/warlock/pet.go +++ b/sim/warlock/pet.go @@ -4,9 +4,9 @@ import ( "math" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) type WarlockPet struct { diff --git a/sim/warlock/pet_abilities.go b/sim/warlock/pet_abilities.go index ce52f1b069..f676a1fa9f 100644 --- a/sim/warlock/pet_abilities.go +++ b/sim/warlock/pet_abilities.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (wp *WarlockPet) registerCleaveSpell() { diff --git a/sim/warlock/searing_pain.go b/sim/warlock/searing_pain.go index 5aebf0a1b2..208de47184 100644 --- a/sim/warlock/searing_pain.go +++ b/sim/warlock/searing_pain.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerSearingPainSpell() { diff --git a/sim/warlock/seed.go b/sim/warlock/seed.go index bf479799d8..e31c8e87aa 100644 --- a/sim/warlock/seed.go +++ b/sim/warlock/seed.go @@ -3,7 +3,7 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warlock *Warlock) registerSeedSpell() { diff --git a/sim/warlock/shadowbolt.go b/sim/warlock/shadowbolt.go index dccaef420d..0e6b56289b 100644 --- a/sim/warlock/shadowbolt.go +++ b/sim/warlock/shadowbolt.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerShadowBoltSpell() { diff --git a/sim/warlock/shadowburn.go b/sim/warlock/shadowburn.go index e03cf1f39c..55240ea03f 100644 --- a/sim/warlock/shadowburn.go +++ b/sim/warlock/shadowburn.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerShadowBurnSpell() { diff --git a/sim/warlock/soul_fire.go b/sim/warlock/soul_fire.go index 034c55c4e7..0a38562111 100644 --- a/sim/warlock/soul_fire.go +++ b/sim/warlock/soul_fire.go @@ -3,7 +3,7 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warlock *Warlock) registerSoulFireSpell() { diff --git a/sim/warlock/talents.go b/sim/warlock/talents.go index a4ee90a299..a0067207f2 100644 --- a/sim/warlock/talents.go +++ b/sim/warlock/talents.go @@ -5,9 +5,9 @@ import ( "slices" "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (warlock *Warlock) ApplyTalents() { diff --git a/sim/warlock/unstable_affliction.go b/sim/warlock/unstable_affliction.go index ea8cde953d..195d406cdc 100644 --- a/sim/warlock/unstable_affliction.go +++ b/sim/warlock/unstable_affliction.go @@ -3,8 +3,8 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warlock *Warlock) registerUnstableAfflictionSpell() { diff --git a/sim/warlock/warlock.go b/sim/warlock/warlock.go index 0f281e6cbb..aca4a70db6 100644 --- a/sim/warlock/warlock.go +++ b/sim/warlock/warlock.go @@ -3,11 +3,11 @@ package warlock import ( "time" - "github.com/wowsims/wotlk/sim/common/wotlk" + "github.com/wowsims/cata/sim/common/wotlk" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) var TalentTreeSizes = [3]int{28, 27, 26} diff --git a/sim/warlock/warlock_test.go b/sim/warlock/warlock_test.go index 288d7cac2a..88ea91b738 100644 --- a/sim/warlock/warlock_test.go +++ b/sim/warlock/warlock_test.go @@ -3,9 +3,9 @@ package warlock import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/warrior/berserker_rage.go b/sim/warrior/berserker_rage.go index 471862409d..fe712820ce 100644 --- a/sim/warrior/berserker_rage.go +++ b/sim/warrior/berserker_rage.go @@ -3,7 +3,7 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warrior *Warrior) registerBerserkerRageSpell() { diff --git a/sim/warrior/bloodrage.go b/sim/warrior/bloodrage.go index 3bf1f699ae..810c6ac70f 100644 --- a/sim/warrior/bloodrage.go +++ b/sim/warrior/bloodrage.go @@ -3,7 +3,7 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warrior *Warrior) registerBloodrageCD() { diff --git a/sim/warrior/bloodthirst.go b/sim/warrior/bloodthirst.go index 19f50b5f25..f35b49eff2 100644 --- a/sim/warrior/bloodthirst.go +++ b/sim/warrior/bloodthirst.go @@ -3,7 +3,7 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warrior *Warrior) registerBloodthirstSpell(cdTimer *core.Timer) { diff --git a/sim/warrior/concussion_blow.go b/sim/warrior/concussion_blow.go index bca2928ce0..7588b0734a 100644 --- a/sim/warrior/concussion_blow.go +++ b/sim/warrior/concussion_blow.go @@ -3,7 +3,7 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warrior *Warrior) registerConcussionBlowSpell() { diff --git a/sim/warrior/deep_wounds.go b/sim/warrior/deep_wounds.go index ebdf256998..1ebaa708bc 100644 --- a/sim/warrior/deep_wounds.go +++ b/sim/warrior/deep_wounds.go @@ -3,7 +3,7 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warrior *Warrior) applyDeepWounds() { diff --git a/sim/warrior/demoralizing_shout.go b/sim/warrior/demoralizing_shout.go index e6afa7f1ae..242d9744c6 100644 --- a/sim/warrior/demoralizing_shout.go +++ b/sim/warrior/demoralizing_shout.go @@ -1,7 +1,7 @@ package warrior import ( - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warrior *Warrior) registerDemoralizingShoutSpell() { diff --git a/sim/warrior/devastate.go b/sim/warrior/devastate.go index 4ed326eedd..9446543b43 100644 --- a/sim/warrior/devastate.go +++ b/sim/warrior/devastate.go @@ -1,8 +1,8 @@ package warrior import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerDevastateSpell() { diff --git a/sim/warrior/dps/dps_warrior.go b/sim/warrior/dps/dps_warrior.go index 0ab0d5c20e..bfd23d810e 100644 --- a/sim/warrior/dps/dps_warrior.go +++ b/sim/warrior/dps/dps_warrior.go @@ -1,9 +1,9 @@ package dps import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/warrior" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/warrior" ) func RegisterDpsWarrior() { diff --git a/sim/warrior/dps/dps_warrior_test.go b/sim/warrior/dps/dps_warrior_test.go index dbac975c74..52abdd8733 100644 --- a/sim/warrior/dps/dps_warrior_test.go +++ b/sim/warrior/dps/dps_warrior_test.go @@ -3,9 +3,9 @@ package dps import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get item effects included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get item effects included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/warrior/execute.go b/sim/warrior/execute.go index 8b3e659954..3dd38ba965 100644 --- a/sim/warrior/execute.go +++ b/sim/warrior/execute.go @@ -1,8 +1,8 @@ package warrior import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerExecuteSpell() { diff --git a/sim/warrior/heroic_strike_cleave.go b/sim/warrior/heroic_strike_cleave.go index 94e532653c..ef6c85f667 100644 --- a/sim/warrior/heroic_strike_cleave.go +++ b/sim/warrior/heroic_strike_cleave.go @@ -1,8 +1,8 @@ package warrior import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerHeroicStrikeSpell() { diff --git a/sim/warrior/heroic_throw.go b/sim/warrior/heroic_throw.go index 6a81515526..3b1ee5a932 100644 --- a/sim/warrior/heroic_throw.go +++ b/sim/warrior/heroic_throw.go @@ -3,7 +3,7 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warrior *Warrior) RegisterHeroicThrow() { diff --git a/sim/warrior/items.go b/sim/warrior/items.go index 606a40fbf5..8af19757f6 100644 --- a/sim/warrior/items.go +++ b/sim/warrior/items.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) ///////////////////////////////////////////////////////////////// diff --git a/sim/warrior/mortal_strike.go b/sim/warrior/mortal_strike.go index e4930c5a38..2c0432aa7f 100644 --- a/sim/warrior/mortal_strike.go +++ b/sim/warrior/mortal_strike.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerMortalStrikeSpell(cdTimer *core.Timer) { diff --git a/sim/warrior/overpower.go b/sim/warrior/overpower.go index 056cc1a3c1..683f19c323 100644 --- a/sim/warrior/overpower.go +++ b/sim/warrior/overpower.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerOverpowerSpell(cdTimer *core.Timer) { diff --git a/sim/warrior/protection/protection_warrior.go b/sim/warrior/protection/protection_warrior.go index 7b9ab5899d..a4548fb588 100644 --- a/sim/warrior/protection/protection_warrior.go +++ b/sim/warrior/protection/protection_warrior.go @@ -1,9 +1,9 @@ package protection import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/warrior" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/warrior" ) func RegisterProtectionWarrior() { diff --git a/sim/warrior/protection/protection_warrior_test.go b/sim/warrior/protection/protection_warrior_test.go index e4fad71719..f063c3a5a5 100644 --- a/sim/warrior/protection/protection_warrior_test.go +++ b/sim/warrior/protection/protection_warrior_test.go @@ -3,9 +3,9 @@ package protection import ( "testing" - _ "github.com/wowsims/wotlk/sim/common" // imported to get item effects included. - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" // imported to get item effects included. + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func init() { diff --git a/sim/warrior/recklessness.go b/sim/warrior/recklessness.go index c948f69d5a..359499b905 100644 --- a/sim/warrior/recklessness.go +++ b/sim/warrior/recklessness.go @@ -3,7 +3,7 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warrior *Warrior) RegisterRecklessnessCD() { diff --git a/sim/warrior/rend.go b/sim/warrior/rend.go index 9efc680e2e..2de8f3a76d 100644 --- a/sim/warrior/rend.go +++ b/sim/warrior/rend.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) // TODO (maybe) https://github.com/magey/wotlk-warrior/issues/23 - Rend is not benefitting from Two-Handed Weapon Specialization diff --git a/sim/warrior/revenge.go b/sim/warrior/revenge.go index cb9931c02a..845ca7abbb 100644 --- a/sim/warrior/revenge.go +++ b/sim/warrior/revenge.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerRevengeSpell(cdTimer *core.Timer) { diff --git a/sim/warrior/shattering_throw.go b/sim/warrior/shattering_throw.go index d298d5d85f..8de389b7b7 100644 --- a/sim/warrior/shattering_throw.go +++ b/sim/warrior/shattering_throw.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) RegisterShatteringThrowCD() { diff --git a/sim/warrior/shield_block.go b/sim/warrior/shield_block.go index caa1417b1c..19568cf6a8 100644 --- a/sim/warrior/shield_block.go +++ b/sim/warrior/shield_block.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) func (warrior *Warrior) RegisterShieldBlockCD() { diff --git a/sim/warrior/shield_slam.go b/sim/warrior/shield_slam.go index 1d248bcd01..eb6f9c7b9b 100644 --- a/sim/warrior/shield_slam.go +++ b/sim/warrior/shield_slam.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerShieldSlamSpell() { diff --git a/sim/warrior/shield_wall.go b/sim/warrior/shield_wall.go index e507f03265..3f74de6596 100644 --- a/sim/warrior/shield_wall.go +++ b/sim/warrior/shield_wall.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) RegisterShieldWallCD() { diff --git a/sim/warrior/shockwave.go b/sim/warrior/shockwave.go index 3eb0fb5f32..62fb86fc93 100644 --- a/sim/warrior/shockwave.go +++ b/sim/warrior/shockwave.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerShockwaveSpell() { diff --git a/sim/warrior/shouts.go b/sim/warrior/shouts.go index e592990b1b..f60018b37a 100644 --- a/sim/warrior/shouts.go +++ b/sim/warrior/shouts.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) const ShoutExpirationThreshold = time.Second * 3 diff --git a/sim/warrior/slam.go b/sim/warrior/slam.go index 92bf6106c5..383b00fee9 100644 --- a/sim/warrior/slam.go +++ b/sim/warrior/slam.go @@ -3,7 +3,7 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" ) func (warrior *Warrior) registerSlamSpell() { diff --git a/sim/warrior/stances.go b/sim/warrior/stances.go index 3704d80ccf..b28e47b86b 100644 --- a/sim/warrior/stances.go +++ b/sim/warrior/stances.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/stats" ) type Stance uint8 diff --git a/sim/warrior/sunder_armor.go b/sim/warrior/sunder_armor.go index 908637e45b..920265a42a 100644 --- a/sim/warrior/sunder_armor.go +++ b/sim/warrior/sunder_armor.go @@ -1,8 +1,8 @@ package warrior import ( - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) // TODO: GlyphOfSunderArmor will require refactoring this a bit diff --git a/sim/warrior/sweeping_strikes.go b/sim/warrior/sweeping_strikes.go index 075e8f0eab..d4263313cb 100644 --- a/sim/warrior/sweeping_strikes.go +++ b/sim/warrior/sweeping_strikes.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerSweepingStrikesCD() { diff --git a/sim/warrior/talents.go b/sim/warrior/talents.go index af8f2bdded..2ed90dc22f 100644 --- a/sim/warrior/talents.go +++ b/sim/warrior/talents.go @@ -3,9 +3,9 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) func (warrior *Warrior) ToughnessArmorMultiplier() float64 { diff --git a/sim/warrior/thunder_clap.go b/sim/warrior/thunder_clap.go index 24efe3ffa4..d88c155573 100644 --- a/sim/warrior/thunder_clap.go +++ b/sim/warrior/thunder_clap.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerThunderClapSpell() { diff --git a/sim/warrior/warrior.go b/sim/warrior/warrior.go index 17d48abdf7..2b6d22ff4c 100644 --- a/sim/warrior/warrior.go +++ b/sim/warrior/warrior.go @@ -3,9 +3,9 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) var TalentTreeSizes = [3]int{31, 27, 27} diff --git a/sim/warrior/whirlwind.go b/sim/warrior/whirlwind.go index 2b1e0f8fce..442f171d0d 100644 --- a/sim/warrior/whirlwind.go +++ b/sim/warrior/whirlwind.go @@ -3,8 +3,8 @@ package warrior import ( "time" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) func (warrior *Warrior) registerWhirlwindSpell() { diff --git a/sim/wasm/main.go b/sim/wasm/main.go index d02c338935..614c3e4bf9 100644 --- a/sim/wasm/main.go +++ b/sim/wasm/main.go @@ -9,9 +9,9 @@ import ( "runtime/debug" "syscall/js" - "github.com/wowsims/wotlk/sim" - "github.com/wowsims/wotlk/sim/core" - proto "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim" + "github.com/wowsims/cata/sim/core" + proto "github.com/wowsims/cata/sim/core/proto" protojson "google.golang.org/protobuf/encoding/protojson" googleProto "google.golang.org/protobuf/proto" ) diff --git a/sim/web/dist.go.tmpl b/sim/web/dist.go.tmpl index 912b284c69..c4230789e5 100644 --- a/sim/web/dist.go.tmpl +++ b/sim/web/dist.go.tmpl @@ -6,5 +6,5 @@ import ( "embed" ) -//go:embed wotlk +//go:embed cata var FS embed.FS diff --git a/sim/web/main.go b/sim/web/main.go index 03fddf1123..9089f300e4 100644 --- a/sim/web/main.go +++ b/sim/web/main.go @@ -21,10 +21,10 @@ import ( uuid "github.com/google/uuid" "github.com/pkg/browser" - dist "github.com/wowsims/wotlk/binary_dist" - "github.com/wowsims/wotlk/sim" - "github.com/wowsims/wotlk/sim/core" - proto "github.com/wowsims/wotlk/sim/core/proto" + dist "github.com/wowsims/cata/binary_dist" + "github.com/wowsims/cata/sim" + "github.com/wowsims/cata/sim/core" + proto "github.com/wowsims/cata/sim/core/proto" googleProto "google.golang.org/protobuf/proto" ) @@ -54,7 +54,7 @@ func main() { fmt.Printf("Version: %s\n", Version) if !*skipVersionCheck && Version != "development" { go func() { - resp, err := http.Get("https://api.github.com/repos/wowsims/wotlk/releases/latest") + resp, err := http.Get("https://api.github.com/repos/wowsims/cata/releases/latest") if err != nil { return } @@ -286,7 +286,7 @@ func (s *server) runServer(useFS bool, host string, launchBrowser bool, simName }) http.HandleFunc("/", func(resp http.ResponseWriter, req *http.Request) { if req.URL.Path == "/" { - http.Redirect(resp, req, "/wotlk/", http.StatusPermanentRedirect) + http.Redirect(resp, req, "/cata/", http.StatusPermanentRedirect) return } resp.Header().Add("Cache-Control", "no-cache") @@ -308,7 +308,7 @@ func (s *server) runServer(useFS bool, host string, launchBrowser bool, simName if strings.HasPrefix(host, ":") { host = "localhost" + host } - url := fmt.Sprintf("http://%s/wotlk/%s", host, simName) + url := fmt.Sprintf("http://%s/cata/%s", host, simName) log.Printf("Launching interface on %s", url) go func() { err := browser.OpenURL(url) diff --git a/sim/web/main_test.go b/sim/web/main_test.go index 53e9d95cea..c88fc2c18e 100644 --- a/sim/web/main_test.go +++ b/sim/web/main_test.go @@ -10,9 +10,9 @@ import ( "testing" "time" - _ "github.com/wowsims/wotlk/sim/common" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + _ "github.com/wowsims/cata/sim/common" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" googleProto "google.golang.org/protobuf/proto" ) diff --git a/tools/base_stats_parser.py b/tools/base_stats_parser.py index 02e789b5ee..e43838c562 100644 --- a/tools/base_stats_parser.py +++ b/tools/base_stats_parser.py @@ -1,137 +1,137 @@ -#!/usr/bin/python - -import csv - -# Generates go/ts baes stats files from assets/db_inputs/basestats - -BASE_DIR = "" - -DIR_PATH = "assets/db_inputs/basestats/" -OUTPUT_PATH = "sim/core/" - -BASE_MP = "octbasempbyclass.txt" -MELEE_CRIT = "chancetomeleecrit.txt" -MELEE_CRIT_BASE = "chancetomeleecritbase.txt" -SPELL_CRIT = "chancetospellcrit.txt" -SPELL_CRIT_BASE = "chancetospellcritbase.txt" -COMBAT_RATINGS = "combatratings.txt" -RATING_SCALAR = "octclasscombatratingscalar.txt" - -BASE_LEVEL = 80 - -Offs = { - "Warrior": 0, - "Paladin": 1, - "Hunter": 2, - "Rogue": 3, - "Priest": 4, - "Death Knight": 5, - "Shaman": 6, - "Mage": 7, - "Warlock": 8, - "Monk": 9, - "Druid": 10, -} - -#Warrior Paladin Hunter Rogue Priest Death Knight Shaman Mage Warlock Monk Druid -def GenIndexedDb(file : str): - db = {} - with open(file) as tsv: - first = True - for line in csv.reader(tsv, delimiter="\t"): - if first: - first = False - continue - db[line[0]] = line[1:] - return db - -def GenRowIndexedDb(file : str): - db = {} - with open(file) as tsv: - first = True - for col in zip(*[line for line in csv.reader(tsv, delimiter='\t')]): - if first: - first = False - continue - db[col[0]] = list(col[1:]) - return db - -class ClassStats: - BaseMp : dict - MCrit : dict - SCrit : dict - MCritBase : dict - SCritBase : dict - CombatRatings : dict - -def GenExtraStatsGoFile(cs: ClassStats): - header = ''' -package core - -// ************************************** -// AUTO GENERATED BY BASE_STATS_PARSER.PY -// ************************************** - -import ( - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" -) - -''' - output = header - output += f"const ExpertisePerQuarterPercentReduction = {cs.CombatRatings['weapon skill'][BASE_LEVEL-1]}\n" - output += f"const HasteRatingPerHastePercent = {cs.CombatRatings['haste melee'][BASE_LEVEL-1]}\n" - output += f"const CritRatingPerCritChance = {cs.CombatRatings['crit melee'][BASE_LEVEL-1]}\n" - output += f"const MeleeHitRatingPerHitChance = {cs.CombatRatings['hit melee'][BASE_LEVEL-1]}\n" - output += f"const SpellHitRatingPerHitChance = {cs.CombatRatings['hit spell'][BASE_LEVEL-1]}\n" - output += f"const DefenseRatingPerDefense = {cs.CombatRatings['defense skill'][BASE_LEVEL-1]}\n" - output += f"const DodgeRatingPerDodgeChance = {cs.CombatRatings['dodge'][BASE_LEVEL-1]}\n" - output += f"const ParryRatingPerParryChance = {cs.CombatRatings['parry'][BASE_LEVEL-1]}\n" - output += f"const BlockRatingPerBlockChance = {cs.CombatRatings['block'][BASE_LEVEL-1]}\n" - output += f"const ResilienceRatingPerCritReductionChance = {cs.CombatRatings['crit taken melee'][BASE_LEVEL-1]}\n" - - output += '''var CritPerAgiMaxLevel = map[proto.Class]float64{ -proto.Class_ClassUnknown: 0.0,''' - for c in ["Warrior", "Paladin", "Hunter", "Rogue", "Priest", "Death Knight", "Shaman", "Mage", "Warlock", "Druid"]: - cName = c.split() - if len(cName) > 1: - cName[1] = cName[1].lower() - cName = ''.join(cName) - mc = float(cs.MCrit[str(BASE_LEVEL)][Offs[c]])*100 - output += f"\nproto.Class_Class{cName}: {mc:.4f}," - output += "\n}\n" - - output += '''var ExtraClassBaseStats = map[proto.Class]stats.Stats{ -proto.Class_ClassUnknown: {},''' - for c in ["Warrior", "Paladin", "Hunter", "Rogue", "Priest", "Death Knight", "Shaman", "Mage", "Warlock", "Druid"]: - cName = c.split() - if len(cName) > 1: - cName[1] = cName[1].lower() - cName = ''.join(cName) - output += f"\nproto.Class_Class{cName}: {{" - mp = float(cs.BaseMp[str(BASE_LEVEL)][Offs[c]]) - scb = float(cs.SCritBase["1"][Offs[c]])*100 - mcb = float(cs.MCritBase["1"][Offs[c]])*100 - output += f"\n stats.Mana: {mp:.4f}," - output += f"\n stats.SpellCrit: {scb:.4f}*CritRatingPerCritChance," - output += f"\n stats.MeleeCrit: {mcb:.4f}*CritRatingPerCritChance," - output += "\n}," - output += "\n}\n" - return output - - -if __name__ == "__main__": - args = ClassStats() - args.BaseMp = GenIndexedDb(BASE_DIR + DIR_PATH + BASE_MP) - args.MCrit = GenIndexedDb(BASE_DIR + DIR_PATH + MELEE_CRIT) - args.SCrit = GenIndexedDb(BASE_DIR + DIR_PATH + SPELL_CRIT) - args.MCritBase = GenIndexedDb(BASE_DIR + DIR_PATH + MELEE_CRIT_BASE) - args.SCritBase = GenIndexedDb(BASE_DIR + DIR_PATH + SPELL_CRIT_BASE) - args.CombatRatings = GenRowIndexedDb(BASE_DIR + DIR_PATH + COMBAT_RATINGS) - - output = GenExtraStatsGoFile(args) - fname = BASE_DIR + OUTPUT_PATH + "base_stats_auto_gen.go" - print(f"Writing stats to: {fname}") - f = open(fname, "w") - f.write(output) - f.close() +#!/usr/bin/python + +import csv + +# Generates go/ts baes stats files from assets/db_inputs/basestats + +BASE_DIR = "" + +DIR_PATH = "assets/db_inputs/basestats/" +OUTPUT_PATH = "sim/core/" + +BASE_MP = "octbasempbyclass.txt" +MELEE_CRIT = "chancetomeleecrit.txt" +MELEE_CRIT_BASE = "chancetomeleecritbase.txt" +SPELL_CRIT = "chancetospellcrit.txt" +SPELL_CRIT_BASE = "chancetospellcritbase.txt" +COMBAT_RATINGS = "combatratings.txt" +RATING_SCALAR = "octclasscombatratingscalar.txt" + +BASE_LEVEL = 80 + +Offs = { + "Warrior": 0, + "Paladin": 1, + "Hunter": 2, + "Rogue": 3, + "Priest": 4, + "Death Knight": 5, + "Shaman": 6, + "Mage": 7, + "Warlock": 8, + "Monk": 9, + "Druid": 10, +} + +#Warrior Paladin Hunter Rogue Priest Death Knight Shaman Mage Warlock Monk Druid +def GenIndexedDb(file : str): + db = {} + with open(file) as tsv: + first = True + for line in csv.reader(tsv, delimiter="\t"): + if first: + first = False + continue + db[line[0]] = line[1:] + return db + +def GenRowIndexedDb(file : str): + db = {} + with open(file) as tsv: + first = True + for col in zip(*[line for line in csv.reader(tsv, delimiter='\t')]): + if first: + first = False + continue + db[col[0]] = list(col[1:]) + return db + +class ClassStats: + BaseMp : dict + MCrit : dict + SCrit : dict + MCritBase : dict + SCritBase : dict + CombatRatings : dict + +def GenExtraStatsGoFile(cs: ClassStats): + header = ''' +package core + +// ************************************** +// AUTO GENERATED BY BASE_STATS_PARSER.PY +// ************************************** + +import ( + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" +) + +''' + output = header + output += f"const ExpertisePerQuarterPercentReduction = {cs.CombatRatings['weapon skill'][BASE_LEVEL-1]}\n" + output += f"const HasteRatingPerHastePercent = {cs.CombatRatings['haste melee'][BASE_LEVEL-1]}\n" + output += f"const CritRatingPerCritChance = {cs.CombatRatings['crit melee'][BASE_LEVEL-1]}\n" + output += f"const MeleeHitRatingPerHitChance = {cs.CombatRatings['hit melee'][BASE_LEVEL-1]}\n" + output += f"const SpellHitRatingPerHitChance = {cs.CombatRatings['hit spell'][BASE_LEVEL-1]}\n" + output += f"const DefenseRatingPerDefense = {cs.CombatRatings['defense skill'][BASE_LEVEL-1]}\n" + output += f"const DodgeRatingPerDodgeChance = {cs.CombatRatings['dodge'][BASE_LEVEL-1]}\n" + output += f"const ParryRatingPerParryChance = {cs.CombatRatings['parry'][BASE_LEVEL-1]}\n" + output += f"const BlockRatingPerBlockChance = {cs.CombatRatings['block'][BASE_LEVEL-1]}\n" + output += f"const ResilienceRatingPerCritReductionChance = {cs.CombatRatings['crit taken melee'][BASE_LEVEL-1]}\n" + + output += '''var CritPerAgiMaxLevel = map[proto.Class]float64{ +proto.Class_ClassUnknown: 0.0,''' + for c in ["Warrior", "Paladin", "Hunter", "Rogue", "Priest", "Death Knight", "Shaman", "Mage", "Warlock", "Druid"]: + cName = c.split() + if len(cName) > 1: + cName[1] = cName[1].lower() + cName = ''.join(cName) + mc = float(cs.MCrit[str(BASE_LEVEL)][Offs[c]])*100 + output += f"\nproto.Class_Class{cName}: {mc:.4f}," + output += "\n}\n" + + output += '''var ExtraClassBaseStats = map[proto.Class]stats.Stats{ +proto.Class_ClassUnknown: {},''' + for c in ["Warrior", "Paladin", "Hunter", "Rogue", "Priest", "Death Knight", "Shaman", "Mage", "Warlock", "Druid"]: + cName = c.split() + if len(cName) > 1: + cName[1] = cName[1].lower() + cName = ''.join(cName) + output += f"\nproto.Class_Class{cName}: {{" + mp = float(cs.BaseMp[str(BASE_LEVEL)][Offs[c]]) + scb = float(cs.SCritBase["1"][Offs[c]])*100 + mcb = float(cs.MCritBase["1"][Offs[c]])*100 + output += f"\n stats.Mana: {mp:.4f}," + output += f"\n stats.SpellCrit: {scb:.4f}*CritRatingPerCritChance," + output += f"\n stats.MeleeCrit: {mcb:.4f}*CritRatingPerCritChance," + output += "\n}," + output += "\n}\n" + return output + + +if __name__ == "__main__": + args = ClassStats() + args.BaseMp = GenIndexedDb(BASE_DIR + DIR_PATH + BASE_MP) + args.MCrit = GenIndexedDb(BASE_DIR + DIR_PATH + MELEE_CRIT) + args.SCrit = GenIndexedDb(BASE_DIR + DIR_PATH + SPELL_CRIT) + args.MCritBase = GenIndexedDb(BASE_DIR + DIR_PATH + MELEE_CRIT_BASE) + args.SCritBase = GenIndexedDb(BASE_DIR + DIR_PATH + SPELL_CRIT_BASE) + args.CombatRatings = GenRowIndexedDb(BASE_DIR + DIR_PATH + COMBAT_RATINGS) + + output = GenExtraStatsGoFile(args) + fname = BASE_DIR + OUTPUT_PATH + "base_stats_auto_gen.go" + print(f"Writing stats to: {fname}") + f = open(fname, "w") + f.write(output) + f.close() diff --git a/tools/database/atlasloot.go b/tools/database/atlasloot.go index 31e4a5898d..5b9aedcdf5 100644 --- a/tools/database/atlasloot.go +++ b/tools/database/atlasloot.go @@ -7,9 +7,9 @@ import ( "strconv" "strings" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/tools" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/tools" ) func ReadAtlasLootData() *WowDatabase { diff --git a/tools/database/wotlk_tooltips.go b/tools/database/cata_tooltips.go similarity index 90% rename from tools/database/wotlk_tooltips.go rename to tools/database/cata_tooltips.go index 7dbf870d64..f3fabe43f1 100644 --- a/tools/database/wotlk_tooltips.go +++ b/tools/database/cata_tooltips.go @@ -8,17 +8,17 @@ import ( "strconv" "strings" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) -type WotlkTooltipManager struct { +type CataTooltipManager struct { TooltipManager } -func (wtm *WotlkTooltipManager) Read() map[int32]WotlkItemResponse { +func (wtm *CataTooltipManager) Read() map[int32]CataItemResponse { strDB := wtm.TooltipManager.Read() - return core.MapMap(strDB, func(id int32, tooltip string) (int32, WotlkItemResponse) { + return core.MapMap(strDB, func(id int32, tooltip string) (int32, CataItemResponse) { // Reformat the tooltip so it looks more like a wowhead tooltip. tooltip = strings.Replace(tooltip, fmt.Sprintf("$WowheadPower.registerItem('%d', 0, ", id), "", 1) tooltip = strings.TrimSuffix(tooltip, ";") @@ -36,20 +36,20 @@ func (wtm *WotlkTooltipManager) Read() map[int32]WotlkItemResponse { tooltip = tooltip[:len(tooltip)-2] + "\"}" } - return id, NewWotlkItemResponse(id, tooltip) + return id, NewCataItemResponse(id, tooltip) }) } -func NewWotlkItemTooltipManager(filePath string) *WotlkTooltipManager { - return &WotlkTooltipManager{ +func NewCataItemTooltipManager(filePath string) *CataTooltipManager { + return &CataTooltipManager{ TooltipManager{ FilePath: filePath, - UrlPattern: "https://wotlk.evowow.com/?item=%s&power", + UrlPattern: "https://cata.evowow.com/?item=%s&power", }, } } -type WotlkItemResponse struct { +type CataItemResponse struct { ID int32 Name string `json:"name"` Quality int `json:"quality"` @@ -57,8 +57,8 @@ type WotlkItemResponse struct { Tooltip string `json:"tooltip"` } -func NewWotlkItemResponse(id int32, tooltip string) WotlkItemResponse { - response := WotlkItemResponse{} +func NewCataItemResponse(id int32, tooltip string) CataItemResponse { + response := CataItemResponse{} err := json.Unmarshal([]byte(tooltip), &response) if err != nil { fmt.Printf("Failed to decode tooltipBytes: %s\n", tooltip) @@ -68,17 +68,17 @@ func NewWotlkItemResponse(id int32, tooltip string) WotlkItemResponse { return response } -func (item WotlkItemResponse) GetName() string { +func (item CataItemResponse) GetName() string { return item.Name } -func (item WotlkItemResponse) GetQuality() int { +func (item CataItemResponse) GetQuality() int { return item.Quality } -func (item WotlkItemResponse) GetIcon() string { +func (item CataItemResponse) GetIcon() string { return item.Icon } -func (item WotlkItemResponse) TooltipWithoutSetBonus() string { +func (item CataItemResponse) TooltipWithoutSetBonus() string { setIdx := strings.Index(item.Tooltip, "Set : ") if setIdx == -1 { return item.Tooltip @@ -87,18 +87,19 @@ func (item WotlkItemResponse) TooltipWithoutSetBonus() string { } } -func (item WotlkItemResponse) GetTooltipRegexString(pattern *regexp.Regexp, matchIdx int) string { +func (item CataItemResponse) GetTooltipRegexString(pattern *regexp.Regexp, matchIdx int) string { return GetRegexStringValue(item.TooltipWithoutSetBonus(), pattern, matchIdx) } -func (item WotlkItemResponse) GetTooltipRegexValue(pattern *regexp.Regexp, matchIdx int) int { +func (item CataItemResponse) GetTooltipRegexValue(pattern *regexp.Regexp, matchIdx int) int { return GetRegexIntValue(item.TooltipWithoutSetBonus(), pattern, matchIdx) } -func (item WotlkItemResponse) GetIntValue(pattern *regexp.Regexp) int { +func (item CataItemResponse) GetIntValue(pattern *regexp.Regexp) int { return item.GetTooltipRegexValue(pattern, 1) } +// TODO: Cata update regexes var wotlkdbArmorRegex = regexp.MustCompile("([0-9]+) Armor") var wotlkdbAgilityRegex = regexp.MustCompile(`\+([0-9]+) Agility`) var wotlkdbStrengthRegex = regexp.MustCompile(`\+([0-9]+) Strength`) @@ -138,7 +139,7 @@ var wotlkdbFrostResistanceRegex = regexp.MustCompile(`\+([0-9]+) Frost Resistanc var wotlkdbNatureResistanceRegex = regexp.MustCompile(`\+([0-9]+) Nature Resistance`) var wotlkdbShadowResistanceRegex = regexp.MustCompile(`\+([0-9]+) Shadow Resistance`) -func (item WotlkItemResponse) GetStats() Stats { +func (item CataItemResponse) GetStats() Stats { sp := float64(item.GetIntValue(wotlkdbSpellPowerRegex)) + float64(item.GetIntValue(wotlkdbSpellPowerRegex2)) return Stats{ proto.Stat_StatArmor: float64(item.GetIntValue(wotlkdbArmorRegex)), @@ -200,7 +201,7 @@ var classPatternsWotlkdb = []classPattern{ {class: proto.Class_ClassDruid, pattern: regexp.MustCompile("Druid")}, } -func (item WotlkItemResponse) GetClassAllowlist() []proto.Class { +func (item CataItemResponse) GetClassAllowlist() []proto.Class { var allowlist []proto.Class for _, entry := range classPatternsWotlkdb { @@ -212,7 +213,7 @@ func (item WotlkItemResponse) GetClassAllowlist() []proto.Class { return allowlist } -func (item WotlkItemResponse) IsPattern() bool { +func (item CataItemResponse) IsPattern() bool { for _, pattern := range patternRegexes { if pattern.MatchString(item.Tooltip) { return true @@ -221,11 +222,11 @@ func (item WotlkItemResponse) IsPattern() bool { return false } -func (item WotlkItemResponse) IsRandomEnchant() bool { +func (item CataItemResponse) IsRandomEnchant() bool { return randomEnchantRegex.MatchString(item.Tooltip) } -func (item WotlkItemResponse) IsEquippable() bool { +func (item CataItemResponse) IsEquippable() bool { return item.GetItemType() != proto.ItemType_ItemTypeUnknown && !item.IsPattern() && !item.IsRandomEnchant() @@ -233,12 +234,12 @@ func (item WotlkItemResponse) IsEquippable() bool { var wotlkItemLevelRegex = regexp.MustCompile("Item Level ([0-9]+)<") -func (item WotlkItemResponse) GetItemLevel() int { +func (item CataItemResponse) GetItemLevel() int { return item.GetIntValue(wotlkItemLevelRegex) } // WOTLK DB has no phase info -func (item WotlkItemResponse) GetPhase() int { +func (item CataItemResponse) GetPhase() int { ilvl := item.GetItemLevel() if ilvl < 200 || ilvl == 200 || ilvl == 213 || ilvl == 226 { @@ -257,11 +258,11 @@ func (item WotlkItemResponse) GetPhase() int { return 1 } -func (item WotlkItemResponse) GetUnique() bool { +func (item CataItemResponse) GetUnique() bool { return uniqueRegex.MatchString(item.Tooltip) && !jcGemsRegex.MatchString(item.Tooltip) } -func (item WotlkItemResponse) GetItemType() proto.ItemType { +func (item CataItemResponse) GetItemType() proto.ItemType { for itemType, pattern := range itemTypePatterns { if pattern.MatchString(item.Tooltip) { return itemType @@ -277,7 +278,7 @@ var wotlkArmorTypePatterns = map[proto.ArmorType]*regexp.Regexp{ proto.ArmorType_ArmorTypePlate: regexp.MustCompile("Plate"), } -func (item WotlkItemResponse) GetArmorType() proto.ArmorType { +func (item CataItemResponse) GetArmorType() proto.ArmorType { for armorType, pattern := range wotlkArmorTypePatterns { if pattern.MatchString(item.Tooltip) { return armorType @@ -298,7 +299,7 @@ var wotlkWeaponTypePatterns = map[proto.WeaponType]*regexp.Regexp{ proto.WeaponType_WeaponTypeSword: regexp.MustCompile("Sword"), } -func (item WotlkItemResponse) GetWeaponType() proto.WeaponType { +func (item CataItemResponse) GetWeaponType() proto.WeaponType { for weaponType, pattern := range wotlkWeaponTypePatterns { if pattern.MatchString(item.Tooltip) { return weaponType @@ -307,7 +308,7 @@ func (item WotlkItemResponse) GetWeaponType() proto.WeaponType { return proto.WeaponType_WeaponTypeUnknown } -func (item WotlkItemResponse) GetHandType() proto.HandType { +func (item CataItemResponse) GetHandType() proto.HandType { for handType, pattern := range handTypePatterns { if pattern.MatchString(item.Tooltip) { return handType @@ -328,7 +329,7 @@ var wotlkRangedWeaponTypePatterns = map[proto.RangedWeaponType]*regexp.Regexp{ proto.RangedWeaponType_RangedWeaponTypeSigil: regexp.MustCompile("Sigil"), } -func (item WotlkItemResponse) GetRangedWeaponType() proto.RangedWeaponType { +func (item CataItemResponse) GetRangedWeaponType() proto.RangedWeaponType { for rangedWeaponType, pattern := range wotlkRangedWeaponTypePatterns { if pattern.MatchString(item.Tooltip) { return rangedWeaponType @@ -338,7 +339,7 @@ func (item WotlkItemResponse) GetRangedWeaponType() proto.RangedWeaponType { } // Returns min/max of weapon damage -func (item WotlkItemResponse) GetWeaponDamage() (float64, float64) { +func (item CataItemResponse) GetWeaponDamage() (float64, float64) { if matches := weaponDamageRegex.FindStringSubmatch(item.Tooltip); len(matches) > 0 { min, err := strconv.ParseFloat(matches[1], 64) if err != nil { @@ -362,7 +363,7 @@ func (item WotlkItemResponse) GetWeaponDamage() (float64, float64) { return 0, 0 } -func (item WotlkItemResponse) GetWeaponSpeed() float64 { +func (item CataItemResponse) GetWeaponSpeed() float64 { if matches := weaponSpeedRegex.FindStringSubmatch(item.Tooltip); len(matches) > 0 { speed, err := strconv.ParseFloat(matches[1], 64) if err != nil { @@ -373,7 +374,7 @@ func (item WotlkItemResponse) GetWeaponSpeed() float64 { return 0 } -func (item WotlkItemResponse) GetGemSockets() []proto.GemColor { +func (item CataItemResponse) GetGemSockets() []proto.GemColor { matches := gemColorsRegex.FindAllStringSubmatch(item.Tooltip, -1) if matches == nil { return []proto.GemColor{} @@ -388,7 +389,7 @@ func (item WotlkItemResponse) GetGemSockets() []proto.GemColor { return gemColors } -func (item WotlkItemResponse) GetSocketBonus() Stats { +func (item CataItemResponse) GetSocketBonus() Stats { match := socketBonusRegex.FindStringSubmatch(item.Tooltip) if match == nil { return Stats{} @@ -425,7 +426,7 @@ func (item WotlkItemResponse) GetSocketBonus() Stats { return stats } -func (item WotlkItemResponse) GetSocketColor() proto.GemColor { +func (item CataItemResponse) GetSocketColor() proto.GemColor { for socketColor, pattern := range gemSocketColorPatterns { if pattern.MatchString(item.Tooltip) { return socketColor @@ -435,7 +436,7 @@ func (item WotlkItemResponse) GetSocketColor() proto.GemColor { return proto.GemColor_GemColorUnknown } -func (item WotlkItemResponse) GetGemStats() Stats { +func (item CataItemResponse) GetGemStats() Stats { stats := Stats{ proto.Stat_StatStrength: float64(GetBestRegexIntValue(item.Tooltip, strengthGemStatRegexes, 1)), proto.Stat_StatAgility: float64(GetBestRegexIntValue(item.Tooltip, agilityGemStatRegexes, 1)), @@ -471,17 +472,18 @@ func (item WotlkItemResponse) GetGemStats() Stats { return stats } +// TODO: Cata check regex var wotlkItemSetNameRegex = regexp.MustCompile("([^<]+)<") -func (item WotlkItemResponse) GetItemSetName() string { +func (item CataItemResponse) GetItemSetName() string { return item.GetTooltipRegexString(wotlkItemSetNameRegex, 2) } -func (item WotlkItemResponse) IsHeroic() bool { +func (item CataItemResponse) IsHeroic() bool { return strings.Contains(item.Tooltip, "Heroic") } -func (item WotlkItemResponse) GetRequiredProfession() proto.Profession { +func (item CataItemResponse) GetRequiredProfession() proto.Profession { if jcGemsRegex.MatchString(item.Tooltip) { return proto.Profession_Jewelcrafting } diff --git a/tools/database/database.go b/tools/database/database.go index b22fff23ac..ed4e5a7901 100644 --- a/tools/database/database.go +++ b/tools/database/database.go @@ -7,8 +7,8 @@ import ( "os" "slices" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/tools" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/tools" "golang.org/x/exp/maps" "google.golang.org/protobuf/encoding/protojson" googleProto "google.golang.org/protobuf/proto" diff --git a/tools/database/enchant_overrides.go b/tools/database/enchant_overrides.go index 912964dc1d..504ff2ff28 100644 --- a/tools/database/enchant_overrides.go +++ b/tools/database/enchant_overrides.go @@ -1,8 +1,8 @@ package database import ( - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) // Note: EffectId AND SpellId are required for all enchants, because they are diff --git a/tools/database/gen_db/main.go b/tools/database/gen_db/main.go index ae000029de..3cd77dd9c5 100644 --- a/tools/database/gen_db/main.go +++ b/tools/database/gen_db/main.go @@ -10,12 +10,12 @@ import ( "strconv" "strings" - "github.com/wowsims/wotlk/sim" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" - _ "github.com/wowsims/wotlk/sim/encounters" // Needed for preset encounters. - "github.com/wowsims/wotlk/tools" - "github.com/wowsims/wotlk/tools/database" + "github.com/wowsims/cata/sim" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" + _ "github.com/wowsims/cata/sim/encounters" // Needed for preset encounters. + "github.com/wowsims/cata/tools" + "github.com/wowsims/cata/tools/database" ) // To do a full re-scrape, delete the previous output file first. @@ -23,14 +23,14 @@ import ( // go run ./tools/database/gen_db -outDir=assets -gen=wowhead-items // go run ./tools/database/gen_db -outDir=assets -gen=wowhead-spells -maxid=75000 // go run ./tools/database/gen_db -outDir=assets -gen=wowhead-gearplannerdb -// go run ./tools/database/gen_db -outDir=assets -gen=wotlk-items +// go run ./tools/database/gen_db -outDir=assets -gen=cata-items // go run ./tools/database/gen_db -outDir=assets -gen=wago-db2-items // go run ./tools/database/gen_db -outDir=assets -gen=db var minId = flag.Int("minid", 1, "Minimum ID to scan for") var maxId = flag.Int("maxid", 57000, "Maximum ID to scan for") var outDir = flag.String("outDir", "assets", "Path to output directory for writing generated .go files.") -var genAsset = flag.String("gen", "", "Asset to generate. Valid values are 'db', 'atlasloot', 'wowhead-items', 'wowhead-spells', 'wowhead-itemdb', 'wotlk-items', and 'wago-db2-items'") +var genAsset = flag.String("gen", "", "Asset to generate. Valid values are 'db', 'atlasloot', 'wowhead-items', 'wowhead-spells', 'wowhead-itemdb', 'cata-items', and 'wago-db2-items'") func main() { flag.Parse() @@ -52,10 +52,10 @@ func main() { database.NewWowheadSpellTooltipManager(fmt.Sprintf("%s/wowhead_spell_tooltips.csv", inputsDir)).Fetch(int32(*minId), int32(*maxId), []string{}) return } else if *genAsset == "wowhead-gearplannerdb" { - tools.WriteFile(fmt.Sprintf("%s/wowhead_gearplannerdb.txt", inputsDir), tools.ReadWebRequired("https://nether.wowhead.com/wotlk/data/gear-planner?dv=100")) + tools.WriteFile(fmt.Sprintf("%s/wowhead_gearplannerdb.txt", inputsDir), tools.ReadWebRequired("https://nether.wowhead.com/cata/data/gear-planner?dv=100")) return - } else if *genAsset == "wotlk-items" { - database.NewWotlkItemTooltipManager(fmt.Sprintf("%s/wotlk_items_tooltips.csv", inputsDir)).Fetch(int32(*minId), int32(*maxId), []string{}) + } else if *genAsset == "cata-items" { + database.NewCataItemTooltipManager(fmt.Sprintf("%s/cata_items_tooltips.csv", inputsDir)).Fetch(int32(*minId), int32(*maxId), []string{}) return } else if *genAsset == "wago-db2-items" { tools.WriteFile(fmt.Sprintf("%s/wago_db2_items.csv", inputsDir), tools.ReadWebRequired("https://wago.tools/db2/ItemSparse/csv?build=3.4.2.49311")) diff --git a/tools/database/get_data_from_wowhead.sql b/tools/database/get_data_from_wowhead.sql index b7be09e1e8..8d3068b499 100644 --- a/tools/database/get_data_from_wowhead.sql +++ b/tools/database/get_data_from_wowhead.sql @@ -18,7 +18,7 @@ BEGIN DECLARE @url varchar(max) - + SET @URL = '' DECLARE @authHeader NVARCHAR(64); @@ -26,12 +26,12 @@ BEGIN DECLARE @ret INT; DECLARE @status NVARCHAR(32); DECLARE @token INT; - DECLARE @JSONTABLE TABLE (JSONCOL text) + DECLARE @JSONTABLE TABLE (JSONCOL text) SET @authHeader = 'No Auth'; SET @contentType = 'application/json'; - SET @url = CONCAT('https://wotlk.wowhead.com/tooltip/item/', @UID,'&json') + SET @url = CONCAT('https://cata.wowhead.com/tooltip/item/', @UID,'&json') -- Open the connection. EXEC @ret = sp_OACreate 'MSXML2.ServerXMLHTTP', @token OUT; @@ -86,7 +86,7 @@ BEGIN DECLARE @url varchar(max) - + SET @URL = '' DECLARE @authHeader NVARCHAR(64); @@ -94,12 +94,12 @@ BEGIN DECLARE @ret INT; DECLARE @status NVARCHAR(32); DECLARE @token INT; - DECLARE @JSONTABLE TABLE (JSONCOL text) + DECLARE @JSONTABLE TABLE (JSONCOL text) SET @authHeader = 'No Auth'; SET @contentType = 'application/json'; - SET @url = CONCAT('https://wotlk.wowhead.com/tooltip/item/', @UID,'&json') + SET @url = CONCAT('https://cata.wowhead.com/tooltip/item/', @UID,'&json') -- Open the connection. EXEC @ret = sp_OACreate 'MSXML2.ServerXMLHTTP', @token OUT; diff --git a/tools/database/overrides.go b/tools/database/overrides.go index fc70388de4..c92891c9dd 100644 --- a/tools/database/overrides.go +++ b/tools/database/overrides.go @@ -3,8 +3,8 @@ package database import ( "regexp" - "github.com/wowsims/wotlk/sim/core/proto" - "github.com/wowsims/wotlk/sim/core/stats" + "github.com/wowsims/cata/sim/core/proto" + "github.com/wowsims/cata/sim/core/stats" ) var OtherItemIdsToFetch = []string{ diff --git a/tools/database/tooltip_manager.go b/tools/database/tooltip_manager.go index 12fdfed541..f1a45fb946 100644 --- a/tools/database/tooltip_manager.go +++ b/tools/database/tooltip_manager.go @@ -6,8 +6,8 @@ import ( "strconv" "strings" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/tools" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/tools" ) // Generic class for fetching tooltip info from the web. diff --git a/tools/database/wago_db.go b/tools/database/wago_db.go index b3b8ea0229..8bf57e4fa0 100644 --- a/tools/database/wago_db.go +++ b/tools/database/wago_db.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) const ( diff --git a/tools/database/wowhead_db.go b/tools/database/wowhead_db.go index 72c2b85064..2be4c6e11a 100644 --- a/tools/database/wowhead_db.go +++ b/tools/database/wowhead_db.go @@ -7,7 +7,7 @@ import ( "strings" "github.com/tailscale/hujson" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) // Example db input file: https://nether.wowhead.com/wotlk/data/gear-planner?dv=100 diff --git a/tools/database/wowhead_reforge_db.go b/tools/database/wowhead_reforge_db.go index 92aa51a226..adef9666a1 100644 --- a/tools/database/wowhead_reforge_db.go +++ b/tools/database/wowhead_reforge_db.go @@ -6,7 +6,7 @@ import ( "log" "github.com/tailscale/hujson" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core/proto" ) func ParseWowheadReforgeStats(contents string) WowheadReforgeStats { diff --git a/tools/database/wowhead_tooltips.go b/tools/database/wowhead_tooltips.go index 480f82cabc..1ffec1b1a7 100644 --- a/tools/database/wowhead_tooltips.go +++ b/tools/database/wowhead_tooltips.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - "github.com/wowsims/wotlk/sim/core" - "github.com/wowsims/wotlk/sim/core/proto" + "github.com/wowsims/cata/sim/core" + "github.com/wowsims/cata/sim/core/proto" ) type WowheadTooltipManager struct { @@ -27,7 +27,7 @@ func NewWowheadItemTooltipManager(filePath string) *WowheadTooltipManager { return &WowheadTooltipManager{ TooltipManager{ FilePath: filePath, - UrlPattern: "https://nether.wowhead.com/wotlk/tooltip/item/%s?lvl=80", + UrlPattern: "https://nether.wowhead.com/cata/tooltip/item/%s?lvl=80", }, } } @@ -36,7 +36,7 @@ func NewWowheadSpellTooltipManager(filePath string) *WowheadTooltipManager { return &WowheadTooltipManager{ TooltipManager{ FilePath: filePath, - UrlPattern: "https://nether.wowhead.com/wotlk/tooltip/spell/%s", + UrlPattern: "https://nether.wowhead.com/cata/tooltip/spell/%s", }, } } @@ -255,16 +255,16 @@ type classPattern struct { // Detects class-locked items, e.g. tier sets and pvp gear. var classPatternsWowhead = []classPattern{ - {class: proto.Class_ClassWarrior, pattern: regexp.MustCompile(`Warrior`)}, - {class: proto.Class_ClassPaladin, pattern: regexp.MustCompile(`Paladin`)}, - {class: proto.Class_ClassHunter, pattern: regexp.MustCompile(`Hunter`)}, - {class: proto.Class_ClassRogue, pattern: regexp.MustCompile(`Rogue`)}, - {class: proto.Class_ClassPriest, pattern: regexp.MustCompile(`Priest`)}, - {class: proto.Class_ClassDeathknight, pattern: regexp.MustCompile(`Death Knight`)}, - {class: proto.Class_ClassShaman, pattern: regexp.MustCompile(`Shaman`)}, - {class: proto.Class_ClassMage, pattern: regexp.MustCompile(`Mage`)}, - {class: proto.Class_ClassWarlock, pattern: regexp.MustCompile(`Warlock`)}, - {class: proto.Class_ClassDruid, pattern: regexp.MustCompile(`Druid`)}, + {class: proto.Class_ClassWarrior, pattern: regexp.MustCompile(`Warrior`)}, + {class: proto.Class_ClassPaladin, pattern: regexp.MustCompile(`Paladin`)}, + {class: proto.Class_ClassHunter, pattern: regexp.MustCompile(`Hunter`)}, + {class: proto.Class_ClassRogue, pattern: regexp.MustCompile(`Rogue`)}, + {class: proto.Class_ClassPriest, pattern: regexp.MustCompile(`Priest`)}, + {class: proto.Class_ClassDeathknight, pattern: regexp.MustCompile(`Death Knight`)}, + {class: proto.Class_ClassShaman, pattern: regexp.MustCompile(`Shaman`)}, + {class: proto.Class_ClassMage, pattern: regexp.MustCompile(`Mage`)}, + {class: proto.Class_ClassWarlock, pattern: regexp.MustCompile(`Warlock`)}, + {class: proto.Class_ClassDruid, pattern: regexp.MustCompile(`Druid`)}, } func (item WowheadItemResponse) GetClassAllowlist() []proto.Class { @@ -734,7 +734,7 @@ func (item WowheadItemResponse) GetGemStats() Stats { return stats } -var itemSetNameRegex = regexp.MustCompile(`([^<]+)<`) +var itemSetNameRegex = regexp.MustCompile(`([^<]+)<`) func (item WowheadItemResponse) GetItemSetName() string { original := item.GetTooltipRegexString(itemSetNameRegex, 3) diff --git a/tools/io_utils.go b/tools/io_utils.go index e4a1331f84..243e3c0450 100644 --- a/tools/io_utils.go +++ b/tools/io_utils.go @@ -17,7 +17,7 @@ import ( "sync" "time" - "github.com/wowsims/wotlk/sim/core" + "github.com/wowsims/cata/sim/core" protojson "google.golang.org/protobuf/encoding/protojson" googleProto "google.golang.org/protobuf/proto" ) diff --git a/tools/wowsimsexporter/WowSimsExporter is the addon folder, dont change casing b/tools/wowsimsexporter/WowSimsExporter is the addon folder, dont change casing deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tools/wowsimsexporter/WowSimsExporter/.vs/WowSimsExporter/v14/.wowsuo b/tools/wowsimsexporter/WowSimsExporter/.vs/WowSimsExporter/v14/.wowsuo deleted file mode 100644 index ec544797d4..0000000000 Binary files a/tools/wowsimsexporter/WowSimsExporter/.vs/WowSimsExporter/v14/.wowsuo and /dev/null differ diff --git a/tools/wowsimsexporter/WowSimsExporter/LICENSE b/tools/wowsimsexporter/WowSimsExporter/LICENSE deleted file mode 100644 index c5b1d4ea3b..0000000000 --- a/tools/wowsimsexporter/WowSimsExporter/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 General Wrex - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.lua b/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.lua deleted file mode 100644 index 1b63bd1e73..0000000000 --- a/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.lua +++ /dev/null @@ -1,653 +0,0 @@ ---- **AceAddon-3.0** provides a template for creating addon objects. --- It'll provide you with a set of callback functions that allow you to simplify the loading --- process of your addon.\\ --- Callbacks provided are:\\ --- * **OnInitialize**, which is called directly after the addon is fully loaded. --- * **OnEnable** which gets called during the PLAYER_LOGIN event, when most of the data provided by the game is already present. --- * **OnDisable**, which is only called when your addon is manually being disabled. --- @usage --- -- A small (but complete) addon, that doesn't do anything, --- -- but shows usage of the callbacks. --- local MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon") --- --- function MyAddon:OnInitialize() --- -- do init tasks here, like loading the Saved Variables, --- -- or setting up slash commands. --- end --- --- function MyAddon:OnEnable() --- -- Do more initialization here, that really enables the use of your addon. --- -- Register Events, Hook functions, Create Frames, Get information from --- -- the game that wasn't available in OnInitialize --- end --- --- function MyAddon:OnDisable() --- -- Unhook, Unregister Events, Hide frames that you created. --- -- You would probably only use an OnDisable if you want to --- -- build a "standby" mode, or be able to toggle modules on/off. --- end --- @class file --- @name AceAddon-3.0.lua --- @release $Id: AceAddon-3.0.lua 1238 2020-08-28 16:18:42Z nevcairiel $ - -local MAJOR, MINOR = "AceAddon-3.0", 13 -local AceAddon, oldminor = LibStub:NewLibrary(MAJOR, MINOR) - -if not AceAddon then return end -- No Upgrade needed. - -AceAddon.frame = AceAddon.frame or CreateFrame("Frame", "AceAddon30Frame") -- Our very own frame -AceAddon.addons = AceAddon.addons or {} -- addons in general -AceAddon.statuses = AceAddon.statuses or {} -- statuses of addon. -AceAddon.initializequeue = AceAddon.initializequeue or {} -- addons that are new and not initialized -AceAddon.enablequeue = AceAddon.enablequeue or {} -- addons that are initialized and waiting to be enabled -AceAddon.embeds = AceAddon.embeds or setmetatable({}, {__index = function(tbl, key) tbl[key] = {} return tbl[key] end }) -- contains a list of libraries embedded in an addon - --- Lua APIs -local tinsert, tconcat, tremove = table.insert, table.concat, table.remove -local fmt, tostring = string.format, tostring -local select, pairs, next, type, unpack = select, pairs, next, type, unpack -local loadstring, assert, error = loadstring, assert, error -local setmetatable, getmetatable, rawset, rawget = setmetatable, getmetatable, rawset, rawget - --- Global vars/functions that we don't upvalue since they might get hooked, or upgraded --- List them here for Mikk's FindGlobals script --- GLOBALS: LibStub, IsLoggedIn, geterrorhandler - ---[[ - xpcall safecall implementation -]] -local xpcall = xpcall - -local function errorhandler(err) - return geterrorhandler()(err) -end - -local function safecall(func, ...) - -- we check to see if the func is passed is actually a function here and don't error when it isn't - -- this safecall is used for optional functions like OnInitialize OnEnable etc. When they are not - -- present execution should continue without hinderance - if type(func) == "function" then - return xpcall(func, errorhandler, ...) - end -end - --- local functions that will be implemented further down -local Enable, Disable, EnableModule, DisableModule, Embed, NewModule, GetModule, GetName, SetDefaultModuleState, SetDefaultModuleLibraries, SetEnabledState, SetDefaultModulePrototype - --- used in the addon metatable -local function addontostring( self ) return self.name end - --- Check if the addon is queued for initialization -local function queuedForInitialization(addon) - for i = 1, #AceAddon.initializequeue do - if AceAddon.initializequeue[i] == addon then - return true - end - end - return false -end - ---- Create a new AceAddon-3.0 addon. --- Any libraries you specified will be embeded, and the addon will be scheduled for --- its OnInitialize and OnEnable callbacks. --- The final addon object, with all libraries embeded, will be returned. --- @paramsig [object ,]name[, lib, ...] --- @param object Table to use as a base for the addon (optional) --- @param name Name of the addon object to create --- @param lib List of libraries to embed into the addon --- @usage --- -- Create a simple addon object --- MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon", "AceEvent-3.0") --- --- -- Create a Addon object based on the table of a frame --- local MyFrame = CreateFrame("Frame") --- MyAddon = LibStub("AceAddon-3.0"):NewAddon(MyFrame, "MyAddon", "AceEvent-3.0") -function AceAddon:NewAddon(objectorname, ...) - local object,name - local i=1 - if type(objectorname)=="table" then - object=objectorname - name=... - i=2 - else - name=objectorname - end - if type(name)~="string" then - error(("Usage: NewAddon([object,] name, [lib, lib, lib, ...]): 'name' - string expected got '%s'."):format(type(name)), 2) - end - if self.addons[name] then - error(("Usage: NewAddon([object,] name, [lib, lib, lib, ...]): 'name' - Addon '%s' already exists."):format(name), 2) - end - - object = object or {} - object.name = name - - local addonmeta = {} - local oldmeta = getmetatable(object) - if oldmeta then - for k, v in pairs(oldmeta) do addonmeta[k] = v end - end - addonmeta.__tostring = addontostring - - setmetatable( object, addonmeta ) - self.addons[name] = object - object.modules = {} - object.orderedModules = {} - object.defaultModuleLibraries = {} - Embed( object ) -- embed NewModule, GetModule methods - self:EmbedLibraries(object, select(i,...)) - - -- add to queue of addons to be initialized upon ADDON_LOADED - tinsert(self.initializequeue, object) - return object -end - - ---- Get the addon object by its name from the internal AceAddon registry. --- Throws an error if the addon object cannot be found (except if silent is set). --- @param name unique name of the addon object --- @param silent if true, the addon is optional, silently return nil if its not found --- @usage --- -- Get the Addon --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") -function AceAddon:GetAddon(name, silent) - if not silent and not self.addons[name] then - error(("Usage: GetAddon(name): 'name' - Cannot find an AceAddon '%s'."):format(tostring(name)), 2) - end - return self.addons[name] -end - --- - Embed a list of libraries into the specified addon. --- This function will try to embed all of the listed libraries into the addon --- and error if a single one fails. --- --- **Note:** This function is for internal use by :NewAddon/:NewModule --- @paramsig addon, [lib, ...] --- @param addon addon object to embed the libs in --- @param lib List of libraries to embed into the addon -function AceAddon:EmbedLibraries(addon, ...) - for i=1,select("#", ... ) do - local libname = select(i, ...) - self:EmbedLibrary(addon, libname, false, 4) - end -end - --- - Embed a library into the addon object. --- This function will check if the specified library is registered with LibStub --- and if it has a :Embed function to call. It'll error if any of those conditions --- fails. --- --- **Note:** This function is for internal use by :EmbedLibraries --- @paramsig addon, libname[, silent[, offset]] --- @param addon addon object to embed the library in --- @param libname name of the library to embed --- @param silent marks an embed to fail silently if the library doesn't exist (optional) --- @param offset will push the error messages back to said offset, defaults to 2 (optional) -function AceAddon:EmbedLibrary(addon, libname, silent, offset) - local lib = LibStub:GetLibrary(libname, true) - if not lib and not silent then - error(("Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Cannot find a library instance of %q."):format(tostring(libname)), offset or 2) - elseif lib and type(lib.Embed) == "function" then - lib:Embed(addon) - tinsert(self.embeds[addon], libname) - return true - elseif lib then - error(("Usage: EmbedLibrary(addon, libname, silent, offset): 'libname' - Library '%s' is not Embed capable"):format(libname), offset or 2) - end -end - ---- Return the specified module from an addon object. --- Throws an error if the addon object cannot be found (except if silent is set) --- @name //addon//:GetModule --- @paramsig name[, silent] --- @param name unique name of the module --- @param silent if true, the module is optional, silently return nil if its not found (optional) --- @usage --- -- Get the Addon --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- -- Get the Module --- MyModule = MyAddon:GetModule("MyModule") -function GetModule(self, name, silent) - if not self.modules[name] and not silent then - error(("Usage: GetModule(name, silent): 'name' - Cannot find module '%s'."):format(tostring(name)), 2) - end - return self.modules[name] -end - -local function IsModuleTrue(self) return true end - ---- Create a new module for the addon. --- The new module can have its own embeded libraries and/or use a module prototype to be mixed into the module.\\ --- A module has the same functionality as a real addon, it can have modules of its own, and has the same API as --- an addon object. --- @name //addon//:NewModule --- @paramsig name[, prototype|lib[, lib, ...]] --- @param name unique name of the module --- @param prototype object to derive this module from, methods and values from this table will be mixed into the module (optional) --- @param lib List of libraries to embed into the addon --- @usage --- -- Create a module with some embeded libraries --- MyModule = MyAddon:NewModule("MyModule", "AceEvent-3.0", "AceHook-3.0") --- --- -- Create a module with a prototype --- local prototype = { OnEnable = function(self) print("OnEnable called!") end } --- MyModule = MyAddon:NewModule("MyModule", prototype, "AceEvent-3.0", "AceHook-3.0") -function NewModule(self, name, prototype, ...) - if type(name) ~= "string" then error(("Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - string expected got '%s'."):format(type(name)), 2) end - if type(prototype) ~= "string" and type(prototype) ~= "table" and type(prototype) ~= "nil" then error(("Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'prototype' - table (prototype), string (lib) or nil expected got '%s'."):format(type(prototype)), 2) end - - if self.modules[name] then error(("Usage: NewModule(name, [prototype, [lib, lib, lib, ...]): 'name' - Module '%s' already exists."):format(name), 2) end - - -- modules are basically addons. We treat them as such. They will be added to the initializequeue properly as well. - -- NewModule can only be called after the parent addon is present thus the modules will be initialized after their parent is. - local module = AceAddon:NewAddon(fmt("%s_%s", self.name or tostring(self), name)) - - module.IsModule = IsModuleTrue - module:SetEnabledState(self.defaultModuleState) - module.moduleName = name - - if type(prototype) == "string" then - AceAddon:EmbedLibraries(module, prototype, ...) - else - AceAddon:EmbedLibraries(module, ...) - end - AceAddon:EmbedLibraries(module, unpack(self.defaultModuleLibraries)) - - if not prototype or type(prototype) == "string" then - prototype = self.defaultModulePrototype or nil - end - - if type(prototype) == "table" then - local mt = getmetatable(module) - mt.__index = prototype - setmetatable(module, mt) -- More of a Base class type feel. - end - - safecall(self.OnModuleCreated, self, module) -- Was in Ace2 and I think it could be a cool thing to have handy. - self.modules[name] = module - tinsert(self.orderedModules, module) - - return module -end - ---- Returns the real name of the addon or module, without any prefix. --- @name //addon//:GetName --- @paramsig --- @usage --- print(MyAddon:GetName()) --- -- prints "MyAddon" -function GetName(self) - return self.moduleName or self.name -end - ---- Enables the Addon, if possible, return true or false depending on success. --- This internally calls AceAddon:EnableAddon(), thus dispatching a OnEnable callback --- and enabling all modules of the addon (unless explicitly disabled).\\ --- :Enable() also sets the internal `enableState` variable to true --- @name //addon//:Enable --- @paramsig --- @usage --- -- Enable MyModule --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyModule = MyAddon:GetModule("MyModule") --- MyModule:Enable() -function Enable(self) - self:SetEnabledState(true) - - -- nevcairiel 2013-04-27: don't enable an addon/module if its queued for init still - -- it'll be enabled after the init process - if not queuedForInitialization(self) then - return AceAddon:EnableAddon(self) - end -end - ---- Disables the Addon, if possible, return true or false depending on success. --- This internally calls AceAddon:DisableAddon(), thus dispatching a OnDisable callback --- and disabling all modules of the addon.\\ --- :Disable() also sets the internal `enableState` variable to false --- @name //addon//:Disable --- @paramsig --- @usage --- -- Disable MyAddon --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyAddon:Disable() -function Disable(self) - self:SetEnabledState(false) - return AceAddon:DisableAddon(self) -end - ---- Enables the Module, if possible, return true or false depending on success. --- Short-hand function that retrieves the module via `:GetModule` and calls `:Enable` on the module object. --- @name //addon//:EnableModule --- @paramsig name --- @usage --- -- Enable MyModule using :GetModule --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyModule = MyAddon:GetModule("MyModule") --- MyModule:Enable() --- --- -- Enable MyModule using the short-hand --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyAddon:EnableModule("MyModule") -function EnableModule(self, name) - local module = self:GetModule( name ) - return module:Enable() -end - ---- Disables the Module, if possible, return true or false depending on success. --- Short-hand function that retrieves the module via `:GetModule` and calls `:Disable` on the module object. --- @name //addon//:DisableModule --- @paramsig name --- @usage --- -- Disable MyModule using :GetModule --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyModule = MyAddon:GetModule("MyModule") --- MyModule:Disable() --- --- -- Disable MyModule using the short-hand --- MyAddon = LibStub("AceAddon-3.0"):GetAddon("MyAddon") --- MyAddon:DisableModule("MyModule") -function DisableModule(self, name) - local module = self:GetModule( name ) - return module:Disable() -end - ---- Set the default libraries to be mixed into all modules created by this object. --- Note that you can only change the default module libraries before any module is created. --- @name //addon//:SetDefaultModuleLibraries --- @paramsig lib[, lib, ...] --- @param lib List of libraries to embed into the addon --- @usage --- -- Create the addon object --- MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon") --- -- Configure default libraries for modules (all modules need AceEvent-3.0) --- MyAddon:SetDefaultModuleLibraries("AceEvent-3.0") --- -- Create a module --- MyModule = MyAddon:NewModule("MyModule") -function SetDefaultModuleLibraries(self, ...) - if next(self.modules) then - error("Usage: SetDefaultModuleLibraries(...): cannot change the module defaults after a module has been registered.", 2) - end - self.defaultModuleLibraries = {...} -end - ---- Set the default state in which new modules are being created. --- Note that you can only change the default state before any module is created. --- @name //addon//:SetDefaultModuleState --- @paramsig state --- @param state Default state for new modules, true for enabled, false for disabled --- @usage --- -- Create the addon object --- MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon") --- -- Set the default state to "disabled" --- MyAddon:SetDefaultModuleState(false) --- -- Create a module and explicilty enable it --- MyModule = MyAddon:NewModule("MyModule") --- MyModule:Enable() -function SetDefaultModuleState(self, state) - if next(self.modules) then - error("Usage: SetDefaultModuleState(state): cannot change the module defaults after a module has been registered.", 2) - end - self.defaultModuleState = state -end - ---- Set the default prototype to use for new modules on creation. --- Note that you can only change the default prototype before any module is created. --- @name //addon//:SetDefaultModulePrototype --- @paramsig prototype --- @param prototype Default prototype for the new modules (table) --- @usage --- -- Define a prototype --- local prototype = { OnEnable = function(self) print("OnEnable called!") end } --- -- Set the default prototype --- MyAddon:SetDefaultModulePrototype(prototype) --- -- Create a module and explicitly Enable it --- MyModule = MyAddon:NewModule("MyModule") --- MyModule:Enable() --- -- should print "OnEnable called!" now --- @see NewModule -function SetDefaultModulePrototype(self, prototype) - if next(self.modules) then - error("Usage: SetDefaultModulePrototype(prototype): cannot change the module defaults after a module has been registered.", 2) - end - if type(prototype) ~= "table" then - error(("Usage: SetDefaultModulePrototype(prototype): 'prototype' - table expected got '%s'."):format(type(prototype)), 2) - end - self.defaultModulePrototype = prototype -end - ---- Set the state of an addon or module --- This should only be called before any enabling actually happend, e.g. in/before OnInitialize. --- @name //addon//:SetEnabledState --- @paramsig state --- @param state the state of an addon or module (enabled=true, disabled=false) -function SetEnabledState(self, state) - self.enabledState = state -end - - ---- Return an iterator of all modules associated to the addon. --- @name //addon//:IterateModules --- @paramsig --- @usage --- -- Enable all modules --- for name, module in MyAddon:IterateModules() do --- module:Enable() --- end -local function IterateModules(self) return pairs(self.modules) end - --- Returns an iterator of all embeds in the addon --- @name //addon//:IterateEmbeds --- @paramsig -local function IterateEmbeds(self) return pairs(AceAddon.embeds[self]) end - ---- Query the enabledState of an addon. --- @name //addon//:IsEnabled --- @paramsig --- @usage --- if MyAddon:IsEnabled() then --- MyAddon:Disable() --- end -local function IsEnabled(self) return self.enabledState end -local mixins = { - NewModule = NewModule, - GetModule = GetModule, - Enable = Enable, - Disable = Disable, - EnableModule = EnableModule, - DisableModule = DisableModule, - IsEnabled = IsEnabled, - SetDefaultModuleLibraries = SetDefaultModuleLibraries, - SetDefaultModuleState = SetDefaultModuleState, - SetDefaultModulePrototype = SetDefaultModulePrototype, - SetEnabledState = SetEnabledState, - IterateModules = IterateModules, - IterateEmbeds = IterateEmbeds, - GetName = GetName, -} -local function IsModule(self) return false end -local pmixins = { - defaultModuleState = true, - enabledState = true, - IsModule = IsModule, -} --- Embed( target ) --- target (object) - target object to embed aceaddon in --- --- this is a local function specifically since it's meant to be only called internally -function Embed(target, skipPMixins) - for k, v in pairs(mixins) do - target[k] = v - end - if not skipPMixins then - for k, v in pairs(pmixins) do - target[k] = target[k] or v - end - end -end - - --- - Initialize the addon after creation. --- This function is only used internally during the ADDON_LOADED event --- It will call the **OnInitialize** function on the addon object (if present), --- and the **OnEmbedInitialize** function on all embeded libraries. --- --- **Note:** Do not call this function manually, unless you're absolutely sure that you know what you are doing. --- @param addon addon object to intialize -function AceAddon:InitializeAddon(addon) - safecall(addon.OnInitialize, addon) - - local embeds = self.embeds[addon] - for i = 1, #embeds do - local lib = LibStub:GetLibrary(embeds[i], true) - if lib then safecall(lib.OnEmbedInitialize, lib, addon) end - end - - -- we don't call InitializeAddon on modules specifically, this is handled - -- from the event handler and only done _once_ -end - --- - Enable the addon after creation. --- Note: This function is only used internally during the PLAYER_LOGIN event, or during ADDON_LOADED, --- if IsLoggedIn() already returns true at that point, e.g. for LoD Addons. --- It will call the **OnEnable** function on the addon object (if present), --- and the **OnEmbedEnable** function on all embeded libraries.\\ --- This function does not toggle the enable state of the addon itself, and will return early if the addon is disabled. --- --- **Note:** Do not call this function manually, unless you're absolutely sure that you know what you are doing. --- Use :Enable on the addon itself instead. --- @param addon addon object to enable -function AceAddon:EnableAddon(addon) - if type(addon) == "string" then addon = AceAddon:GetAddon(addon) end - if self.statuses[addon.name] or not addon.enabledState then return false end - - -- set the statuses first, before calling the OnEnable. this allows for Disabling of the addon in OnEnable. - self.statuses[addon.name] = true - - safecall(addon.OnEnable, addon) - - -- make sure we're still enabled before continueing - if self.statuses[addon.name] then - local embeds = self.embeds[addon] - for i = 1, #embeds do - local lib = LibStub:GetLibrary(embeds[i], true) - if lib then safecall(lib.OnEmbedEnable, lib, addon) end - end - - -- enable possible modules. - local modules = addon.orderedModules - for i = 1, #modules do - self:EnableAddon(modules[i]) - end - end - return self.statuses[addon.name] -- return true if we're disabled -end - --- - Disable the addon --- Note: This function is only used internally. --- It will call the **OnDisable** function on the addon object (if present), --- and the **OnEmbedDisable** function on all embeded libraries.\\ --- This function does not toggle the enable state of the addon itself, and will return early if the addon is still enabled. --- --- **Note:** Do not call this function manually, unless you're absolutely sure that you know what you are doing. --- Use :Disable on the addon itself instead. --- @param addon addon object to enable -function AceAddon:DisableAddon(addon) - if type(addon) == "string" then addon = AceAddon:GetAddon(addon) end - if not self.statuses[addon.name] then return false end - - -- set statuses first before calling OnDisable, this allows for aborting the disable in OnDisable. - self.statuses[addon.name] = false - - safecall( addon.OnDisable, addon ) - - -- make sure we're still disabling... - if not self.statuses[addon.name] then - local embeds = self.embeds[addon] - for i = 1, #embeds do - local lib = LibStub:GetLibrary(embeds[i], true) - if lib then safecall(lib.OnEmbedDisable, lib, addon) end - end - -- disable possible modules. - local modules = addon.orderedModules - for i = 1, #modules do - self:DisableAddon(modules[i]) - end - end - - return not self.statuses[addon.name] -- return true if we're disabled -end - ---- Get an iterator over all registered addons. --- @usage --- -- Print a list of all installed AceAddon's --- for name, addon in AceAddon:IterateAddons() do --- print("Addon: " .. name) --- end -function AceAddon:IterateAddons() return pairs(self.addons) end - ---- Get an iterator over the internal status registry. --- @usage --- -- Print a list of all enabled addons --- for name, status in AceAddon:IterateAddonStatus() do --- if status then --- print("EnabledAddon: " .. name) --- end --- end -function AceAddon:IterateAddonStatus() return pairs(self.statuses) end - --- Following Iterators are deprecated, and their addon specific versions should be used --- e.g. addon:IterateEmbeds() instead of :IterateEmbedsOnAddon(addon) -function AceAddon:IterateEmbedsOnAddon(addon) return pairs(self.embeds[addon]) end -function AceAddon:IterateModulesOfAddon(addon) return pairs(addon.modules) end - --- Blizzard AddOns which can load very early in the loading process and mess with Ace3 addon loading -local BlizzardEarlyLoadAddons = { - Blizzard_DebugTools = true, - Blizzard_TimeManager = true, - Blizzard_BattlefieldMap = true, - Blizzard_MapCanvas = true, - Blizzard_SharedMapDataProviders = true, - Blizzard_CombatLog = true, -} - --- Event Handling -local function onEvent(this, event, arg1) - -- 2020-08-28 nevcairiel - ignore the load event of Blizzard addons which occur early in the loading process - if (event == "ADDON_LOADED" and (arg1 == nil or not BlizzardEarlyLoadAddons[arg1])) or event == "PLAYER_LOGIN" then - -- if a addon loads another addon, recursion could happen here, so we need to validate the table on every iteration - while(#AceAddon.initializequeue > 0) do - local addon = tremove(AceAddon.initializequeue, 1) - -- this might be an issue with recursion - TODO: validate - if event == "ADDON_LOADED" then addon.baseName = arg1 end - AceAddon:InitializeAddon(addon) - tinsert(AceAddon.enablequeue, addon) - end - - if IsLoggedIn() then - while(#AceAddon.enablequeue > 0) do - local addon = tremove(AceAddon.enablequeue, 1) - AceAddon:EnableAddon(addon) - end - end - end -end - -AceAddon.frame:RegisterEvent("ADDON_LOADED") -AceAddon.frame:RegisterEvent("PLAYER_LOGIN") -AceAddon.frame:SetScript("OnEvent", onEvent) - --- upgrade embeded -for name, addon in pairs(AceAddon.addons) do - Embed(addon, true) -end - --- 2010-10-27 nevcairiel - add new "orderedModules" table -if oldminor and oldminor < 10 then - for name, addon in pairs(AceAddon.addons) do - addon.orderedModules = {} - for module_name, module in pairs(addon.modules) do - tinsert(addon.orderedModules, module) - end - end -end diff --git a/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.xml b/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.xml deleted file mode 100644 index dcf24c707d..0000000000 --- a/tools/wowsimsexporter/WowSimsExporter/Libs/AceAddon-3.0/AceAddon-3.0.xml +++ /dev/null @@ -1,4 +0,0 @@ - - @@ -35,6 +35,4 @@ - diff --git a/ui/raid/raid_sim_ui.ts b/ui/raid/raid_sim_ui.ts index 43994df2b6..2642780810 100644 --- a/ui/raid/raid_sim_ui.ts +++ b/ui/raid/raid_sim_ui.ts @@ -29,7 +29,7 @@ export interface RaidSimConfig { } const extraKnownIssues: Array = [ - //'We\'re still missing implementations for many specs. If you\'d like to help us out, check out our Github project or join our discord!', + //'We\'re still missing implementations for many specs. If you\'d like to help us out, check out our Github project or join our discord!', ]; export class RaidSimUI extends SimUI { @@ -236,7 +236,7 @@ export class RaidSimUI extends SimUI { // Returns the actual key to use for local storage, based on the given key part and the site context. getStorageKey(keyPart: string): string { - return '__wotlk_raid__' + keyPart; + return '__cata_raid__' + keyPart; } getSavedRaidStorageKey(): string { diff --git a/ui/scss/core/talents/_talents_picker.scss b/ui/scss/core/talents/_talents_picker.scss index 4bb7bf8a6f..862ea626ed 100644 --- a/ui/scss/core/talents/_talents_picker.scss +++ b/ui/scss/core/talents/_talents_picker.scss @@ -31,7 +31,7 @@ $talent-full-color: #ffd100; #talents-carousel { flex: 1; - + .carousel-inner { display: flex; overflow: unset; @@ -164,7 +164,7 @@ $talent-full-color: #ffd100; } .talent-picker-req-arrow-down { - background-image:url('/wotlk/assets/talent_calc/down.png'); + background-image:url('/cata/assets/talent_calc/down.png'); background-position: bottom center; top: 3rem; height: 1.3rem; @@ -178,19 +178,19 @@ $talent-full-color: #ffd100; } &[data-req-active] { - background-image:url('/wotlk/assets/talent_calc/down2.png'); + background-image:url('/cata/assets/talent_calc/down2.png'); } } .talent-picker-req-arrow-rightdown { - background-image:url('/wotlk/assets/talent_calc/rightdown.png'); + background-image:url('/cata/assets/talent_calc/rightdown.png'); background-position: right top; left: 3rem; top: 1.4rem; width: 2.7rem; div:first-child { - background-image:url('/wotlk/assets/talent_calc/down.png'); + background-image:url('/cata/assets/talent_calc/down.png'); background-repeat: no-repeat; background-position: bottom right; position: relative; @@ -205,22 +205,22 @@ $talent-full-color: #ffd100; } &[data-req-active] { - background-image:url('/wotlk/assets/talent_calc/rightdown2.png'); + background-image:url('/cata/assets/talent_calc/rightdown2.png'); div:first-child { - background-image:url('/wotlk/assets/talent_calc/down2.png'); + background-image:url('/cata/assets/talent_calc/down2.png'); } } } .talent-picker-req-arrow-leftdown { - background-image:url('/wotlk/assets/talent_calc/leftdown.png'); + background-image:url('/cata/assets/talent_calc/leftdown.png'); background-position: left top; top: 1.4rem; left: 1.3rem; width: 3rem; div:first-child { - background-image:url('/wotlk/assets/talent_calc/down.png'); + background-image:url('/cata/assets/talent_calc/down.png'); background-repeat: no-repeat; background-position: bottom left; position: relative; @@ -235,32 +235,32 @@ $talent-full-color: #ffd100; } &[data-req-active] { - background-image:url('/wotlk/assets/talent_calc/leftdown2.png'); + background-image:url('/cata/assets/talent_calc/leftdown2.png'); div:first-child { - background-image:url('/wotlk/assets/talent_calc/down2.png'); + background-image:url('/cata/assets/talent_calc/down2.png'); } } } .talent-picker-req-arrow-left { - background-image:url('/wotlk/assets/talent_calc/left.png'); + background-image:url('/cata/assets/talent_calc/left.png'); background-position: left center; right: 0.9rem; width: 2rem; &[data-req-active] { - background-image:url('/wotlk/assets/talent_calc/left2.png'); + background-image:url('/cata/assets/talent_calc/left2.png'); } } .talent-picker-req-arrow-right { - background-image:url('/wotlk/assets/talent_calc/right.png'); + background-image:url('/cata/assets/talent_calc/right.png'); background-position: right center; left: 3rem; width: 1.3rem; &[data-req-active] { - background-image:url('/wotlk/assets/talent_calc/right2.png'); + background-image:url('/cata/assets/talent_calc/right2.png'); } } diff --git a/ui/scss/homepage/_homepage.scss b/ui/scss/homepage/_homepage.scss index 48d50167d1..bccef005ce 100644 --- a/ui/scss/homepage/_homepage.scss +++ b/ui/scss/homepage/_homepage.scss @@ -4,10 +4,11 @@ position: fixed; width: 100%; height: 100%; - background-image: url("/wotlk/assets/img/wotlk.jpg"); + background-image: url("/cata/assets/img/cata.jpg"); background-repeat: no-repeat; background-size: cover; z-index: -1; + opacity: .5; } #homepage { @@ -36,7 +37,7 @@ width: 6rem; margin-right: map-get($spacers, 3); } - + .wowsims-title { @extend .display-1; @extend .fw-bold; @@ -55,7 +56,7 @@ } .expansion-title { - color: $wrath-blue; + color: $cata-orange; margin: 0; } } @@ -159,7 +160,7 @@ .homepage-header { .homepage-header-container { display: flex; - + .navbar-brand-container { width: 100%; justify-content: space-between; diff --git a/ui/scss/shared/_bootstrap_style_overrides.scss b/ui/scss/shared/_bootstrap_style_overrides.scss index 33a5f8c3a6..df4634865c 100644 --- a/ui/scss/shared/_bootstrap_style_overrides.scss +++ b/ui/scss/shared/_bootstrap_style_overrides.scss @@ -2,12 +2,12 @@ @font-face { font-family: SimDefaultFont; - src: url(/wotlk/assets/fonts/PlusJakartaSans-Regular.woff2); + src: url(/cata/assets/fonts/PlusJakartaSans-Regular.woff2); } @font-face { font-family: SimDefaultFont; - src: url(/wotlk/assets/fonts/PlusJakartaSans-Bold.woff2); + src: url(/cata/assets/fonts/PlusJakartaSans-Bold.woff2); font-weight: bold; } @@ -180,7 +180,7 @@ padding: 1rem; background: rgba(0,0,0,.9); z-index: 1000; - + .navbar-nav { position: relative; align-items: flex-start; diff --git a/ui/scss/shared/_global_old.scss b/ui/scss/shared/_global_old.scss index 3fc5cd44d9..df77815dc8 100644 --- a/ui/scss/shared/_global_old.scss +++ b/ui/scss/shared/_global_old.scss @@ -10,12 +10,12 @@ @font-face { font-family: SimDefaultFont; - src: url(/wotlk/assets/fonts/PlusJakartaSans-Regular.woff2); + src: url(/cata/assets/fonts/PlusJakartaSans-Regular.woff2); } @font-face { font-family: SimDefaultFont; - src: url(/wotlk/assets/fonts/PlusJakartaSans-Bold.woff2); + src: url(/cata/assets/fonts/PlusJakartaSans-Bold.woff2); font-weight: bold; } diff --git a/ui/scss/shared/_variables.scss b/ui/scss/shared/_variables.scss index 934d9e272b..833a575b0f 100644 --- a/ui/scss/shared/_variables.scss +++ b/ui/scss/shared/_variables.scss @@ -97,7 +97,7 @@ $link-warning-color: #faf07f; $table-row-even-bg: #202128; $table-row-odd-bg: #2d2f35; -$wrath-blue: #7FCBD8; +$cata-orange: #f94119; // Spacers $block-spacer: .75rem; diff --git a/ui/scss/sims/balance_druid/_sim.scss b/ui/scss/sims/balance_druid/_sim.scss index 8ba680df13..7eb6b25d30 100644 --- a/ui/scss/sims/balance_druid/_sim.scss +++ b/ui/scss/sims/balance_druid/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $druid, .95, - '/wotlk/assets/img/balance_druid_background.jpg' + '/cata/assets/img/balance_druid_background.jpg' ); } diff --git a/ui/scss/sims/deathknight/_sim.scss b/ui/scss/sims/deathknight/_sim.scss index e29af56d84..7aa93c03c5 100644 --- a/ui/scss/sims/deathknight/_sim.scss +++ b/ui/scss/sims/deathknight/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $death-knight, .95, - '/wotlk/assets/img/death_knight_background.jpg' + '/cata/assets/img/death_knight_background.jpg' ); } diff --git a/ui/scss/sims/elemental_shaman/_sim.scss b/ui/scss/sims/elemental_shaman/_sim.scss index 74b9a27916..f74046f924 100644 --- a/ui/scss/sims/elemental_shaman/_sim.scss +++ b/ui/scss/sims/elemental_shaman/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $shaman, .95, - '/wotlk/assets/img/elemental_shaman_background.jpg' + '/cata/assets/img/elemental_shaman_background.jpg' ); } diff --git a/ui/scss/sims/enhancement_shaman/_sim.scss b/ui/scss/sims/enhancement_shaman/_sim.scss index beba1f480f..f027742b63 100644 --- a/ui/scss/sims/enhancement_shaman/_sim.scss +++ b/ui/scss/sims/enhancement_shaman/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $shaman, .95, - '/wotlk/assets/img/enhancement_shaman_background.jpg' + '/cata/assets/img/enhancement_shaman_background.jpg' ); } diff --git a/ui/scss/sims/feral_druid/_sim.scss b/ui/scss/sims/feral_druid/_sim.scss index 79096fe366..0733a5b2c5 100644 --- a/ui/scss/sims/feral_druid/_sim.scss +++ b/ui/scss/sims/feral_druid/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $druid, .95, - '/wotlk/assets/img/feral_druid_background.jpg' + '/cata/assets/img/feral_druid_background.jpg' ); } diff --git a/ui/scss/sims/feral_tank_druid/_sim.scss b/ui/scss/sims/feral_tank_druid/_sim.scss index f78792decc..63b8052c1c 100644 --- a/ui/scss/sims/feral_tank_druid/_sim.scss +++ b/ui/scss/sims/feral_tank_druid/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $druid, .95, - '/wotlk/assets/img/feral_druid_tank_background.jpg' + '/cata/assets/img/feral_druid_tank_background.jpg' ); } diff --git a/ui/scss/sims/healing_priest/_sim.scss b/ui/scss/sims/healing_priest/_sim.scss index 4667b75b9a..3b7d70240f 100644 --- a/ui/scss/sims/healing_priest/_sim.scss +++ b/ui/scss/sims/healing_priest/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $priest, .9, - '/wotlk/assets/img/healing_priest_background.jpg' + '/cata/assets/img/healing_priest_background.jpg' ); } diff --git a/ui/scss/sims/holy_paladin/_sim.scss b/ui/scss/sims/holy_paladin/_sim.scss index 2c140ae748..20a7dfbadf 100644 --- a/ui/scss/sims/holy_paladin/_sim.scss +++ b/ui/scss/sims/holy_paladin/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $paladin, .95, - '/wotlk/assets/img/holy_paladin_background.jpg' + '/cata/assets/img/holy_paladin_background.jpg' ); } diff --git a/ui/scss/sims/hunter/_sim.scss b/ui/scss/sims/hunter/_sim.scss index 3e375cbca5..9dae573471 100644 --- a/ui/scss/sims/hunter/_sim.scss +++ b/ui/scss/sims/hunter/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $hunter, .9, - '/wotlk/assets/img/hunter_background.jpg' + '/cata/assets/img/hunter_background.jpg' ); } diff --git a/ui/scss/sims/mage/_sim.scss b/ui/scss/sims/mage/_sim.scss index bbcd358c01..14ee386037 100644 --- a/ui/scss/sims/mage/_sim.scss +++ b/ui/scss/sims/mage/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $mage, .95, - '/wotlk/assets/img/mage_background.jpg' + '/cata/assets/img/mage_background.jpg' ); } diff --git a/ui/scss/sims/protection_paladin/_sim.scss b/ui/scss/sims/protection_paladin/_sim.scss index 83a5829528..e0be9765a0 100644 --- a/ui/scss/sims/protection_paladin/_sim.scss +++ b/ui/scss/sims/protection_paladin/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $paladin, .95, - '/wotlk/assets/img/prot_paladin.jpg' + '/cata/assets/img/prot_paladin.jpg' ); } diff --git a/ui/scss/sims/protection_warrior/_sim.scss b/ui/scss/sims/protection_warrior/_sim.scss index 2d2dad26a7..eafb9c48b2 100644 --- a/ui/scss/sims/protection_warrior/_sim.scss +++ b/ui/scss/sims/protection_warrior/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $warrior, .95, - '/wotlk/assets/img/protection_warrior_background.jpg' + '/cata/assets/img/protection_warrior_background.jpg' ); } diff --git a/ui/scss/sims/raid/_sim.scss b/ui/scss/sims/raid/_sim.scss index 8103cd519e..dd2045409c 100644 --- a/ui/scss/sims/raid/_sim.scss +++ b/ui/scss/sims/raid/_sim.scss @@ -3,7 +3,7 @@ @include theme-color( $brand, .9, - // '/wotlk/assets/img/ulduar.jpg' - '/wotlk/assets/img/togc.png' + // '/cata/assets/img/ulduar.jpg' + '/cata/assets/img/togc.png' ); } diff --git a/ui/scss/sims/restoration_druid/_sim.scss b/ui/scss/sims/restoration_druid/_sim.scss index 6352b09657..5ba0682fc8 100644 --- a/ui/scss/sims/restoration_druid/_sim.scss +++ b/ui/scss/sims/restoration_druid/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $druid, .95, - '/wotlk/assets/img/resto_druid_background.jpg' + '/cata/assets/img/resto_druid_background.jpg' ); } diff --git a/ui/scss/sims/restoration_shaman/_sim.scss b/ui/scss/sims/restoration_shaman/_sim.scss index cf1b91a38a..b7dd46b740 100644 --- a/ui/scss/sims/restoration_shaman/_sim.scss +++ b/ui/scss/sims/restoration_shaman/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $shaman, .95, - '/wotlk/assets/img/resto_shaman_background.jpg' + '/cata/assets/img/resto_shaman_background.jpg' ); } diff --git a/ui/scss/sims/retribution_paladin/_sim.scss b/ui/scss/sims/retribution_paladin/_sim.scss index b0fb0ddc94..2d9fdc96f1 100644 --- a/ui/scss/sims/retribution_paladin/_sim.scss +++ b/ui/scss/sims/retribution_paladin/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $paladin, .95, - '/wotlk/assets/img/retribution_paladin.jpg' + '/cata/assets/img/retribution_paladin.jpg' ); } diff --git a/ui/scss/sims/rogue/_sim.scss b/ui/scss/sims/rogue/_sim.scss index 85df396bcd..f193bd1f37 100644 --- a/ui/scss/sims/rogue/_sim.scss +++ b/ui/scss/sims/rogue/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $rogue, .95, - '/wotlk/assets/img/rogue_background.jpg' + '/cata/assets/img/rogue_background.jpg' ); } diff --git a/ui/scss/sims/shadow_priest/_sim.scss b/ui/scss/sims/shadow_priest/_sim.scss index fb31f1eaa5..9dcca6bc54 100644 --- a/ui/scss/sims/shadow_priest/_sim.scss +++ b/ui/scss/sims/shadow_priest/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $priest, .95, - '/wotlk/assets/img/shadow_priest_background.jpg' + '/cata/assets/img/shadow_priest_background.jpg' ); } diff --git a/ui/scss/sims/smite_priest/_sim.scss b/ui/scss/sims/smite_priest/_sim.scss index e2cf406f23..ada5723aec 100644 --- a/ui/scss/sims/smite_priest/_sim.scss +++ b/ui/scss/sims/smite_priest/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $priest, .95, - '/wotlk/assets/img/smite_priest_background.jpg' + '/cata/assets/img/smite_priest_background.jpg' ); } diff --git a/ui/scss/sims/tank_deathknight/_sim.scss b/ui/scss/sims/tank_deathknight/_sim.scss index 08a66cdd71..f09dffc67f 100644 --- a/ui/scss/sims/tank_deathknight/_sim.scss +++ b/ui/scss/sims/tank_deathknight/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $death-knight, .95, - '/wotlk/assets/img/death_knight_background.jpg' + '/cata/assets/img/death_knight_background.jpg' ); } diff --git a/ui/scss/sims/warlock/_sim.scss b/ui/scss/sims/warlock/_sim.scss index 0de08f3d3f..d615b6a148 100644 --- a/ui/scss/sims/warlock/_sim.scss +++ b/ui/scss/sims/warlock/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $warlock, .95, - '/wotlk/assets/img/warlock_background.jpg' + '/cata/assets/img/warlock_background.jpg' ); } diff --git a/ui/scss/sims/warrior/_sim.scss b/ui/scss/sims/warrior/_sim.scss index 081d616cc6..74a7e3b4b5 100644 --- a/ui/scss/sims/warrior/_sim.scss +++ b/ui/scss/sims/warrior/_sim.scss @@ -3,6 +3,6 @@ @include theme-color( $warrior, .95, - '/wotlk/assets/img/warrior_background.jpg' + '/cata/assets/img/warrior_background.jpg' ); } diff --git a/vite.config.js b/vite.config.js index ddbce59b16..e4acf8a4ac 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,10 +3,10 @@ import glob from "glob"; import { defineConfig } from 'vite' export default defineConfig(({ command, mode }) => ({ - base: "/wotlk/", + base: "/cata/", root: path.join(__dirname, "ui"), build: { - outDir: path.join(__dirname, "dist", "wotlk"), + outDir: path.join(__dirname, "dist", "cata"), minify: mode === "development" ? false : "terser", sourcemap: command === "serve" ? "inline" : "false", target: ["es2020"],