forked from mirror/azerothcore-wotlk
Compare commits
295 Commits
v3.0.0-dev
...
v3.0.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d609e9e48 | |||
| 77412062b1 | |||
| 3d60ce8e6e | |||
| 2e6f78bddd | |||
| d0c5bee59d | |||
| 2ce6895bd9 | |||
| c2b8c21798 | |||
| 355530b956 | |||
| bc3bedac2d | |||
| a05ff77ebc | |||
| 13db145eec | |||
| 9d307c71a6 | |||
| 9cee5e1d61 | |||
| eb9819991e | |||
| ef60db69ca | |||
| 0a8a7ef149 | |||
| f07966fd3e | |||
| f9b836efa6 | |||
| f31e1b8cf4 | |||
| 24b0af606f | |||
| be04dcec0e | |||
| ce4dbbce76 | |||
| ec974e7306 | |||
| d142ec4470 | |||
| 9781646683 | |||
| bc5f03755d | |||
| b624571df8 | |||
| 367572dec1 | |||
| 8d5347b9ab | |||
| 6f81eee02d | |||
| 42244612ff | |||
| c939de7aa8 | |||
| 2539ae96cb | |||
| 21ec8da1da | |||
| 97b18ad7d7 | |||
| b9b484fafc | |||
| 8ddd904324 | |||
| 0181b73bc2 | |||
| 72f2a7706e | |||
| eddde2198c | |||
| e463e63361 | |||
| 68a8bb25fa | |||
| 671787fc3f | |||
| 560d62ab6e | |||
| 5a1bb5bc66 | |||
| 27a0a59509 | |||
| 2794842553 | |||
| 17f2fdb537 | |||
| b71423bdaa | |||
| b1081bea78 | |||
| c4eab90312 | |||
| 18762a1549 | |||
| b85cfb9e2d | |||
| 12bf9731af | |||
| 1cc5518147 | |||
| 3f79f16960 | |||
| 43f59c4c82 | |||
| e7052d15f8 | |||
| d5c41aa5d7 | |||
| 19d474b338 | |||
| c3b2bd10de | |||
| 7815381778 | |||
| baeefc4b23 | |||
| d2d2d4384e | |||
| b2e7f39746 | |||
| 8e0a48d43d | |||
| d237274a66 | |||
| cb323d3dd5 | |||
| d95b7bc6c1 | |||
| df600f9946 | |||
| b42f2386c2 | |||
| 943c1e7ae7 | |||
| 286f6cddb1 | |||
| 9c70c6e40e | |||
| cde6a1bed6 | |||
| d54a860a47 | |||
| 6e682da387 | |||
| 43d1a03e9b | |||
| 19d9a550e1 | |||
| 07b76b162d | |||
| cd219aaeee | |||
| 39b7a74823 | |||
| 7ecb42c287 | |||
| b9375ffff7 | |||
| d6abed913c | |||
| 2010308b7c | |||
| 8e06b08416 | |||
| fd3505411d | |||
| f3f300a1de | |||
| adb877f23d | |||
| b0aff365a9 | |||
| da4edd547d | |||
| 7cf097eab2 | |||
| 20afed08c9 | |||
| 3fb1894449 | |||
| 96a549c559 | |||
| dd8abcd87e | |||
| 72ee5f4972 | |||
| b1452b5b17 | |||
| ea93a5c1a1 | |||
| 57aa46244d | |||
| 9bffd56993 | |||
| b35d3a8fb8 | |||
| ce7b503e7b | |||
| c5fe21fe9a | |||
| aeab8d8bc6 | |||
| 37cb9f5242 | |||
| 9592028ad1 | |||
| 5e56a288a6 | |||
| 2dd6141afa | |||
| 86d582f833 | |||
| bf089f47c1 | |||
| ba534cea6c | |||
| 7dc4b7372d | |||
| 8b101654af | |||
| 7c596f1c92 | |||
| 9427da06ad | |||
| 347630ee4b | |||
| f869c17da5 | |||
| 9d9b71eda1 | |||
| 1a0e4fc656 | |||
| 6ce52809f8 | |||
| 234943fab1 | |||
| 5d2bda6ba8 | |||
| 71b9124f69 | |||
| b2761626fe | |||
| 039e143d48 | |||
| 64c686c40c | |||
| 90526df8ab | |||
| 92881ad1c9 | |||
| 66afdc024a | |||
| 0bd7e9dd11 | |||
| 2a08473a73 | |||
| 1078bf4910 | |||
| f16aad0ad4 | |||
| 79aa560654 | |||
| 469d5a8bca | |||
| 91f9d611d1 | |||
| 1e5e20abb2 | |||
| feb3ffa410 | |||
| f366db286a | |||
| 9be41ff4e6 | |||
| 3c67f17a2e | |||
| 106684fbd2 | |||
| 6414b40518 | |||
| 7438c09d17 | |||
| 389227e4f7 | |||
| d513d8064a | |||
| 3c431e1fdc | |||
| 0264289fe9 | |||
| 5d8ada587d | |||
| 4538b7880f | |||
| e1b8584118 | |||
| 9b6da06a2e | |||
| 009b52808d | |||
| 4bba70da0d | |||
| fef9260a19 | |||
| e7dc6df31e | |||
| 76840a3590 | |||
| d05120f751 | |||
| 46330ae096 | |||
| 3c96a7df10 | |||
| c3b3230298 | |||
| 10a84f7108 | |||
| 2ebcd6b8c1 | |||
| 57a4f432c4 | |||
| 269482778d | |||
| db2c3ca5b4 | |||
| d6a970a179 | |||
| 3654c18784 | |||
| d3aff86c32 | |||
| aec0dbb747 | |||
| af22f1e9c3 | |||
| d710057a31 | |||
| 5caea8eff9 | |||
| 1ed80e9596 | |||
| 6a95e61801 | |||
| 10926a0ec3 | |||
| 0eec0bf3f5 | |||
| 96c7d42380 | |||
| 7fd52e0326 | |||
| fdc3fc962e | |||
| bc51fbf3f4 | |||
| d6abb82055 | |||
| 672057316a | |||
| 0067d45ba4 | |||
| 46d6a4690b | |||
| 1f5babf0a6 | |||
| 35128d784b | |||
| ae023831f1 | |||
| d182482ad2 | |||
| c93794770c | |||
| 184ef8d627 | |||
| ab8967c638 | |||
| b6ec66eebd | |||
| 26bf415ce0 | |||
| 350f181068 | |||
| e1636237df | |||
| 066baf63a4 | |||
| c6ce42ad6b | |||
| be4743b2d3 | |||
| 1de1ba38e0 | |||
| 3741743b8a | |||
| 07588a170e | |||
| 16c25c2fa8 | |||
| 6f214ab089 | |||
| eca17381e1 | |||
| 38bf355bf4 | |||
| ed305b03f0 | |||
| f62693021f | |||
| dd9d9e0c34 | |||
| ab72d3ce91 | |||
| 7eb1720d3b | |||
| f5f3360e01 | |||
| 00a634efad | |||
| c100efdfd8 | |||
| 1f3210d85c | |||
| 3b17b68543 | |||
| f1be5f9405 | |||
| 086ad6c9c2 | |||
| d822761403 | |||
| 82a8d2976e | |||
| 4775bef1c7 | |||
| 44892d0588 | |||
| cc3ead075c | |||
| 0c115f9a22 | |||
| 197137e7e7 | |||
| adf436c937 | |||
| 282966c117 | |||
| 30275b0810 | |||
| 7bb42c1d56 | |||
| 7d16417d16 | |||
| 48f418e7e2 | |||
| ed85ddafef | |||
| 799d05a46b | |||
| 1ca2cff28d | |||
| e168ef3d24 | |||
| 1fb71189c7 | |||
| e069ef649d | |||
| 85c31a13e6 | |||
| af53598fa2 | |||
| aff02b0599 | |||
| 62cb1f3602 | |||
| f90ed7520a | |||
| 963553a9e3 | |||
| 4cb0c9fc00 | |||
| f77035bdc7 | |||
| 45694083d9 | |||
| 29ebdf61df | |||
| dd2ee1e427 | |||
| 4c8da757c3 | |||
| b5b4862c24 | |||
| 4e857bd16c | |||
| b338ebc507 | |||
| a507d031d6 | |||
| 9e7d6924de | |||
| 6d10d075c3 | |||
| 1b156ef7eb | |||
| 9266ac6bf5 | |||
| b1f108900d | |||
| c5a35efd7b | |||
| 1cf39b3d22 | |||
| 0b8ec1f6ee | |||
| 0b7b36f20c | |||
| 3469115f4d | |||
| 4ceca4b520 | |||
| 1b73d3c90c | |||
| b47fa096ee | |||
| f380f81422 | |||
| 6558fca4a1 | |||
| a7faf4a16f | |||
| cba126fa84 | |||
| 161302252e | |||
| d4a58700d4 | |||
| 9facd81e54 | |||
| a06bfa6e5b | |||
| 23a3d6ae3a | |||
| 6872a34244 | |||
| e93a2ccc77 | |||
| 224a3308e6 | |||
| 45ccf2ff37 | |||
| a277166537 | |||
| 203349b2e7 | |||
| 87c905af26 | |||
| 2a17125499 | |||
| 3b28eaad2d | |||
| d7517afe31 | |||
| 04c245cfb5 | |||
| 49872d1080 | |||
| d3df546167 | |||
| 755e30f916 | |||
| 9befc2c904 | |||
| e6218fcb4d | |||
| 43c4ead969 | |||
| 301c20f26d |
@@ -0,0 +1 @@
|
||||
custom: salt.bountysource.com/checkout/amount?team=azerothcore
|
||||
@@ -47,7 +47,7 @@ Any information that can help the developers to identify and fix the issue shoul
|
||||
Examples:
|
||||
- was this bug always present in AzerothCore? if it was introduced after a change, please mention it
|
||||
- the code line(s) that cause the issue
|
||||
- does this feature work in other server appplications (e.g. CMaNGOS, TrinityCore, etc...) ?
|
||||
- does this feature work in other server applications (e.g. CMaNGOS, TrinityCore, etc...) ?
|
||||
-->
|
||||
|
||||
|
||||
|
||||
+23
-25
@@ -1,23 +1,20 @@
|
||||
#  AzerothCore
|
||||
|
||||
[](https://app.codacy.com/app/FrancescoBorzi/azerothcore-wotlk?utm_source=github.com&utm_medium=referral&utm_content=azerothcore/azerothcore-wotlk&utm_campaign=Badge_Grade_Settings)
|
||||
[](https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk)
|
||||
[](https://github.com/azerothcore/azerothcore-wotlk/actions?query=workflow%3Acore-build+branch%3Amaster+event%3Apush)
|
||||
<a href="https://scan.coverity.com/projects/azerothcore-azerothcore-wotlk">
|
||||
<img alt="Coverity Scan Build Status" src="https://scan.coverity.com/projects/13814/badge.svg"/>
|
||||
</a>
|
||||
[](https://www.bountysource.com/teams/azerothcore/bounties "Put money on issues or get paid for fixing them")
|
||||
[](https://stackoverflow.com/questions/tagged/azerothcore?sort=newest "Ask / browse questions here")
|
||||
[](https://discord.gg/gkt4y2x "Our community hub on Discord")
|
||||
|
||||
|
||||
## INTRODUCTION
|
||||
## Introduction
|
||||
|
||||
AzerothCore (AC) is an open-source game-server application for World of Warcraft, currently supporting the 3.3.5a game version.
|
||||
|
||||
It is written in C++ and is based on MaNGOS, TrinityCore and SunwellCore.
|
||||
|
||||
|
||||
## WHY AZEROTHCORE?
|
||||
## Why AzerothCore?
|
||||
|
||||
1. Stability
|
||||
1. The authenticity of the content
|
||||
@@ -27,19 +24,19 @@ It is written in C++ and is based on MaNGOS, TrinityCore and SunwellCore.
|
||||
1. Compatibility with other emulators
|
||||
1. Friendly and helpful community
|
||||
|
||||
#### Stability
|
||||
### Stability
|
||||
|
||||
As players and administrators ourselves, we take great care into the stability of our core. Other projects focus on the development side of things and tend to forget that users want stability above everything else.
|
||||
|
||||
Hence why nobody is allowed to push commits directly to the core. All changes are reviewed and tested before they get to the `master` branch which means we need as many testers as possible to avoid stalling issues.
|
||||
|
||||
#### Authenticity
|
||||
### Authenticity
|
||||
|
||||
Fixing and implementing missing blizzlike content is one of our priorities, and we can boast to offer the most content-complete open-source emulator.
|
||||
<!-- Not sure for this below -->
|
||||
<!-- We were the first open-source emulator to have almost every dungeon and raid working. -->
|
||||
|
||||
#### Modules
|
||||
### Modules
|
||||
|
||||
Modules are essential to AzerothCore's success. Modules allow users to plug them in and out easily, and do not require to modify the core files. It also means users can keep pulling the git changes from the main repository and only develop their modules.
|
||||
|
||||
@@ -49,16 +46,16 @@ We have a lot of modules already made, some of them are very important and will
|
||||
* [Eluna (lua engine) support](https://github.com/azerothcore/mod-eluna-lua-engine/ "Creator of Eluna is part of our core team")
|
||||
* Full list available in the AzerothCore catalogue (link at the end)
|
||||
|
||||
#### Configuration files
|
||||
### Configuration files
|
||||
|
||||
Our configuration file system allows the user to use a tiny configuration file for better readability and maintenance.
|
||||
|
||||
#### Compatibility with other emulators
|
||||
### Compatibility with other emulators
|
||||
|
||||
Not very far from its ancestor TrinityCore, most scripts can be adapted quite easily. For MaNGOS compatibility, it might require more knowledge but it shares a common base.
|
||||
|
||||
|
||||
## PHILOSOPHY
|
||||
## Philosophy
|
||||
|
||||
Our main goal is to create a playable game server, offering a fully working game experience.
|
||||
|
||||
@@ -79,28 +76,28 @@ That's why AzerothCore is easier to use, to maintain, to understand, to develop
|
||||
In short, we focus on the **user experience (UX)**, whether it be the **player's experience**, the **developer's experience**, or the **administrator's experience**.
|
||||
|
||||
|
||||
## HOW TO THANK US
|
||||
## How to Thank us
|
||||
|
||||
Being an open-source project, we rely on volunteers to pursue development. Here are ways to help us if you use AzerothCore:
|
||||
|
||||
#### Github star
|
||||
### Github Star
|
||||
|
||||
Click on the "star this repository" button to help us gain more visibility on Github!
|
||||
|
||||
#### By contributing
|
||||
### By contributing
|
||||
|
||||
Check the **CONTRIBUTING** section below.
|
||||
|
||||
#### Financially :moneybag:
|
||||
### Financially :moneybag:
|
||||
|
||||
You can support the project by financing the resolution of issues [using Bountysource](http://www.azerothcore.org/wiki/Bountysource "Bountysource explained in our wiki").
|
||||
|
||||
#### Advertising
|
||||
### Advertising
|
||||
|
||||
By talking about us on different platforms or to people who would like to get involved.
|
||||
|
||||
|
||||
## CONTRIBUTING
|
||||
## Contributing
|
||||
|
||||
AzerothCore is a learning project, and there are lots of different ways to contribute to the project:
|
||||
|
||||
@@ -122,7 +119,7 @@ Feel free to join us on [our Discord chat server](https://discord.gg/gkt4y2x) wh
|
||||
<!-- As we put a big emphasis on community, there are also special rewards for contributors such as reputation ranks (displayed in our Discord and our website), reputation badges (to display on your project/portfolio), premium software licenses, private modules access, private tools access and a lot of small private repositories access. -->
|
||||
|
||||
|
||||
## INSTALLATION
|
||||
## Installation
|
||||
|
||||
Installation instructions are available [here](http://www.azerothcore.org/wiki/Installation).
|
||||
|
||||
@@ -131,14 +128,14 @@ We also have an auto-installation bash script [here](/apps/installer/main.sh) (*
|
||||
Dockerization of AzerothCore is fully supported, and we have various community-made tutorials (eg: AWS / Digital Ocean installation).
|
||||
|
||||
|
||||
## SUPPORT
|
||||
## Support
|
||||
|
||||
Our self-made wiki probably has a lot of answers for you.
|
||||
|
||||
For help requests, it is recommended to ask your question on [StackOverflow](https://stackoverflow.com/questions/tagged/azerothcore) and link it in [our chat](https://discordapp.com/channels/217589275766685707/284406375495368704).
|
||||
|
||||
|
||||
## AUTHORS & CONTRIBUTORS
|
||||
## Authors & Contributors
|
||||
|
||||
This project exists thanks to:
|
||||
|
||||
@@ -148,28 +145,29 @@ This project exists thanks to:
|
||||
- All the [MaNGOS, ScriptDev2 and UDB developers and contributors](https://github.com/cmangos/mangos-wotlk/blob/master/AUTHORS.md)
|
||||
|
||||
|
||||
## IMPORTANT LINKS
|
||||
## Important Links
|
||||
|
||||
<!-- Remove if the PR 3210 is accepted
|
||||
- [Code of Conduct](https://github.com/azerothcore-wotlk/.github/code_of_conduct.md
|
||||
-->
|
||||
- [Website](http://www.azerothcore.org/)
|
||||
- [AzerothCore catalogue](http://www.azerothcore.org/catalogue/ "Modules, tools, and other things for AzerothCore") (modules, tools, etc...)
|
||||
- [AzerothCore catalogue](http://www.azerothcore.org/catalogue.html "Modules, tools, and other stuff for AzerothCore") (modules, tools, etc...)
|
||||
- [Module template / Module skeleton](https://github.com/azerothcore/skeleton-module/)
|
||||
- [Our community hub (Discord)](https://discord.gg/gkt4y2x)
|
||||
- [Our wiki](http://www.azerothcore.org/wiki "Easy to use and developed by AzerothCore founder")
|
||||
- [Our Forum](https://github.com/azerothcore/azerothcore-wotlk/discussions/)
|
||||
- [Our Facebook page](https://www.facebook.com/AzerothCore/)
|
||||
- [Our LinkedIn page](https://www.linkedin.com/company/azerothcore/)
|
||||
|
||||
|
||||
## SPONSORS
|
||||
## Sponsors
|
||||
|
||||
List of organizations that help AzerothCore:
|
||||
|
||||
[](https://www.jetbrains.com/?from=AzerothCore)
|
||||
|
||||
|
||||
## LICENSE
|
||||
## License
|
||||
|
||||
- The new AzerothCore source components are released under the [GNU AGPL v3](https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3)
|
||||
- The old sources based on MaNGOS/TrinityCore are released under the [GNU GPL v2](https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-GPL2)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Check pending sql for Procedure/Function
|
||||
name: Check pending SQL
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
@@ -8,18 +8,19 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check for Procedure/Function
|
||||
run: |
|
||||
if grep -R -q -i -E "(PROCEDURE|FUNCTION)" data/sql/updates/pending*
|
||||
then
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
- name: Semicolon check
|
||||
run: |
|
||||
for i in `find data/sql/updates/pending* -name "*.sql" -type f`; do
|
||||
if [[ $(cat "$i"|sed 's/ --.*$//'|tr -d '\n'|tail -c 1) != ";" ]]; then
|
||||
echo "Missing Semicolon at the end of the file. (;)"
|
||||
if $(cat "$i"|sed "s/'.*'\(.*\)/\1/g"|grep -q -i -E "(PROCEDURE|FUNCTION)"); then
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
done
|
||||
- name: Semicolon check
|
||||
run: |
|
||||
for i in `find data/sql/updates/pending* -name "*.sql" -type f`; do
|
||||
if [[ $(cat "$i"|sed 's/ --.*$//'|tr -d '\n'|tail -c 1) != ";" ]]; then
|
||||
echo "Missing Semicolon (;) or multiple newlines at the end of the file."
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
name: check-codestyle
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check-codestyle:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
runs-on: ubuntu-20.04
|
||||
name: check codestyle
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Check core codestyle
|
||||
run: source ./apps/ci/ci-codestyle.sh
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
compiler: clang # default in 18.04 is clang 6
|
||||
modules: without
|
||||
- os: ubuntu-18.04
|
||||
compiler: gcc # default in 18.04 is gcc 7
|
||||
compiler: gcc8
|
||||
modules: without
|
||||
- os: ubuntu-20.04
|
||||
compiler: gcc # default in 20.04 is gcc 9
|
||||
@@ -51,9 +51,11 @@ jobs:
|
||||
ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules:${{ github.ref }}
|
||||
ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.modules }}-modules
|
||||
- name: Configure OS
|
||||
run: source ./apps/ci/ci-install.sh
|
||||
run: source ./acore.sh install-deps
|
||||
env:
|
||||
CONTINUOUS_INTEGRATION: true
|
||||
- name: Create conf/config.sh
|
||||
run: source ./apps/ci/ci-conf.sh
|
||||
- name: Import db
|
||||
run: source ./apps/ci/ci-import-db.sh
|
||||
- name: Build
|
||||
@@ -68,21 +70,28 @@ jobs:
|
||||
mac-build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
runs-on: macos-10.15
|
||||
name: macos-10.15
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||
matrix:
|
||||
os:
|
||||
- macos-10.15
|
||||
# - macos-11.0
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: ${{ matrix.os }}
|
||||
needs: [build]
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && success()
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache
|
||||
uses: actions/cache@v1.1.2
|
||||
with:
|
||||
path: /Users/runner/.ccache
|
||||
key: ccache:macos-10.15:${{ github.ref }}:${{ github.sha }}
|
||||
key: ccache:${{ matrix.os }}:${{ github.ref }}:${{ github.sha }}
|
||||
restore-keys: |
|
||||
ccache:macos-10.15:${{ github.ref }}
|
||||
ccache:macos-10.15
|
||||
ccache:${{ matrix.os }}:${{ github.ref }}
|
||||
ccache:${{ matrix.os }}
|
||||
- name: Install latest bash
|
||||
run: brew install bash
|
||||
- name: Configure OS
|
||||
run: source ./apps/ci/mac/ci-install.sh
|
||||
run: source ./acore.sh install-deps
|
||||
- name: Build
|
||||
run: source ./apps/ci/mac/ci-compile.sh
|
||||
- name: Run unit tests
|
||||
|
||||
+10
-5
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL3 v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
|
||||
# Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
|
||||
#
|
||||
# This file is free software; as a special exception the author gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
@@ -10,17 +10,22 @@
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
|
||||
# Set projectname (must be done AFTER setting configurationtypes)
|
||||
project(AzerothCore)
|
||||
|
||||
# Require a min version Cmake
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
cmake_minimum_required(VERSION 3.8...3.19)
|
||||
|
||||
# Fallback for using newer policies on CMake <3.12.
|
||||
if(${CMAKE_VERSION} VERSION_LESS 3.12)
|
||||
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
|
||||
endif()
|
||||
|
||||
message(STATUS "CMake version: ${CMAKE_VERSION}")
|
||||
|
||||
# CMake policies (can not be handled elsewhere)
|
||||
cmake_policy(SET CMP0005 NEW)
|
||||
|
||||
# Set projectname (must be done AFTER setting configurationtypes)
|
||||
project(AzerothCore VERSION 3.0.0 LANGUAGES CXX C)
|
||||
|
||||
# add this options before PROJECT keyword
|
||||
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
|
||||
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name" : "azerothcore-wotlk",
|
||||
"version" : "3.0.0-dev",
|
||||
"version" : "3.0.0",
|
||||
"license" : "AGPL3"
|
||||
}
|
||||
|
||||
@@ -15,9 +15,9 @@ fi
|
||||
|
||||
for entry in "$AC_PATH_MODULES/"*/include.sh
|
||||
do
|
||||
if [ -e $entry ]; then
|
||||
source $entry
|
||||
if [ -e "$entry" ]; then
|
||||
source "$entry"
|
||||
fi
|
||||
done
|
||||
|
||||
ACORE_VERSION=$("$AC_PATH_DEPS/jsonpath/JSONPath.sh" -f $AC_PATH_ROOT/acore.json -b '$.version')
|
||||
ACORE_VERSION=$("$AC_PATH_DEPS/jsonpath/JSONPath.sh" -f "$AC_PATH_ROOT/acore.json" -b '$.version')
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
unamestr=$(uname)
|
||||
if [[ "$unamestr" == 'Darwin' ]]; then
|
||||
if ! command -v brew &>/dev/null ; then
|
||||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
fi
|
||||
if ! [ "${BASH_VERSINFO}" -ge 4 ]; then
|
||||
brew install bash
|
||||
fi
|
||||
if ! command -v greadlink &>/dev/null ; then
|
||||
brew install coreutils
|
||||
fi
|
||||
AC_PATH_ROOT=$(greadlink -f "$AC_PATH_APPS/../")
|
||||
else
|
||||
AC_PATH_ROOT=$(readlink -f "$AC_PATH_APPS/../")
|
||||
@@ -10,4 +19,3 @@ AC_PATH_CONF="$AC_PATH_ROOT/conf"
|
||||
AC_PATH_MODULES="$AC_PATH_ROOT/modules"
|
||||
|
||||
AC_PATH_DEPS="$AC_PATH_ROOT/deps"
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "Codestyle check script:"
|
||||
echo
|
||||
|
||||
declare -A singleLineRegexChecks=(
|
||||
["[[:blank:]]$"]="Remove whitespace at the end of the lines above"
|
||||
["\t"]="Replace tabs with 4 spaces in the lines above"
|
||||
)
|
||||
|
||||
for check in ${!singleLineRegexChecks[@]}; do
|
||||
echo " Checking RegEx: '${check}'"
|
||||
|
||||
if grep -P -r -I -n ${check} src; then
|
||||
echo
|
||||
echo "${singleLineRegexChecks[$check]}"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
echo
|
||||
echo "Everything looks good"
|
||||
@@ -0,0 +1,72 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
cat >>conf/config.sh <<CONFIG_SH
|
||||
MTHREADS=$(($(grep -c ^processor /proc/cpuinfo) + 2))
|
||||
CWARNINGS=ON
|
||||
CDEBUG=OFF
|
||||
CTYPE=Release
|
||||
CSCRIPTS=ON
|
||||
CBUILD_TESTING=ON
|
||||
CSERVERS=ON
|
||||
CTOOLS=ON
|
||||
CSCRIPTPCH=OFF
|
||||
CCOREPCH=OFF
|
||||
CCUSTOMOPTIONS='-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_FLAGS="-Werror" -DCMAKE_CXX_FLAGS="-Werror"'
|
||||
DB_CHARACTERS_CONF="MYSQL_USER='root'; MYSQL_PASS='root'; MYSQL_HOST='localhost';"
|
||||
DB_AUTH_CONF="MYSQL_USER='root'; MYSQL_PASS='root'; MYSQL_HOST='localhost';"
|
||||
DB_WORLD_CONF="MYSQL_USER='root'; MYSQL_PASS='root'; MYSQL_HOST='localhost';"
|
||||
CONFIG_SH
|
||||
|
||||
case $COMPILER in
|
||||
|
||||
# this is in order to use the "default" gcc version of the OS, without forcing a specific version
|
||||
"gcc" )
|
||||
time sudo apt-get install -y gcc g++
|
||||
echo "CCOMPILERC=\"gcc\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"g++\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
"gcc8" )
|
||||
time sudo apt-get install -y gcc-8 g++-8
|
||||
echo "CCOMPILERC=\"gcc-8\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"g++-8\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
"gcc10" )
|
||||
time sudo apt-get install -y gcc-10 g++-10
|
||||
echo "CCOMPILERC=\"gcc-10\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"g++-10\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
# this is in order to use the "default" clang version of the OS, without forcing a specific version
|
||||
"clang" )
|
||||
time sudo apt-get install -y clang
|
||||
echo "CCOMPILERC=\"clang\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"clang++\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
"clang6" )
|
||||
time sudo apt-get install -y clang-6.0
|
||||
echo "CCOMPILERC=\"clang-6.0\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"clang++-6.0\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
"clang9" )
|
||||
time sudo apt-get install -y clang-9
|
||||
echo "CCOMPILERC=\"clang-9\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"clang++-9\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
"clang10" )
|
||||
time sudo apt-get install -y clang-10
|
||||
echo "CCOMPILERC=\"clang-10\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"clang++-10\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
* )
|
||||
echo "Unknown compiler $COMPILER"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Executable → Regular
+6
@@ -33,6 +33,12 @@ case $COMPILER in
|
||||
echo "CCOMPILERCXX=\"g++\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
"gcc8" )
|
||||
time sudo apt-get install -y gcc-8 g++-8
|
||||
echo "CCOMPILERC=\"gcc-8\"" >> ./conf/config.sh
|
||||
echo "CCOMPILERCXX=\"g++-8\"" >> ./conf/config.sh
|
||||
;;
|
||||
|
||||
"gcc10" )
|
||||
time sudo apt-get install -y gcc-10 g++-10
|
||||
echo "CCOMPILERC=\"gcc-10\"" >> ./conf/config.sh
|
||||
|
||||
@@ -5,7 +5,7 @@ export CCACHE_MAXSIZE='2G'
|
||||
export CCACHE_COMPRESS=9
|
||||
ccache -s
|
||||
|
||||
mkdir var/build/obj && cd var/build/obj;
|
||||
cd var/build/obj
|
||||
|
||||
time cmake ../../../ \
|
||||
-DTOOLS=1 \
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
##########################################
|
||||
## workaround to fix macos-10.15 configure os from failing
|
||||
time brew uninstall openssl@1.0.2t
|
||||
time brew uninstall python@2.7.17
|
||||
time brew untap local/openssl
|
||||
time brew untap local/python2
|
||||
time brew reinstall openssl@1.1
|
||||
##########################################
|
||||
|
||||
time brew update
|
||||
time brew install openssl readline ace coreutils bash bash-completion mysql ccache
|
||||
|
||||
@@ -11,7 +11,9 @@ function dbasm_mysqlExec() {
|
||||
confs=$1
|
||||
command=$2
|
||||
options=$3
|
||||
|
||||
|
||||
# MYSQL_PORT needs to be reseted as the next eval might not overwite the current value causing the commands to use wrong port
|
||||
MYSQL_PORT=3306
|
||||
eval $confs
|
||||
|
||||
if [[ ! -z "${PROMPT_USER// }" ]]; then
|
||||
@@ -19,30 +21,31 @@ function dbasm_mysqlExec() {
|
||||
MYSQL_PASS=$PROMPT_PASS
|
||||
fi
|
||||
|
||||
|
||||
export MYSQL_PWD=$MYSQL_PASS
|
||||
|
||||
retval=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" $options -e "$command")
|
||||
retval=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" -P "$MYSQL_PORT" $options -e "$command")
|
||||
if [[ $? -ne 0 ]]; then
|
||||
err=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" $options -e "$command" 2>&1 )
|
||||
err=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" -P "$MYSQL_PORT" $options -e "$command" 2>&1 )
|
||||
if [[ "$err" == *"Access denied"* ]]; then
|
||||
read -p "Insert mysql user:" PROMPT_USER
|
||||
read -p "Insert mysql pass:" -s PROMPT_PASS
|
||||
export MYSQL_PWD=$PROMPT_PASS
|
||||
|
||||
retval=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -e "$command")
|
||||
retval=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" -P "$MYSQL_PORT" $options -e "$command")
|
||||
if [[ $? -ne 0 ]]; then
|
||||
err=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -e "$command" 2>&1 )
|
||||
err=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" -P "$MYSQL_PORT" $options -e "$command" 2>&1 )
|
||||
# it happens on new mysql 5.7 installations
|
||||
# since mysql_native_password is explicit now
|
||||
if [[ "$err" == *"Access denied"* ]]; then
|
||||
echo "Setting mysql_native_password and for $PROMPT_USER ..."
|
||||
sudo -h "$MYSQL_HOST" "$DB_MYSQL_EXEC" -e "UPDATE mysql.user SET authentication_string=PASSWORD('${PROMPT_PASS}'), plugin='mysql_native_password' WHERE User='${PROMPT_USER}'; FLUSH PRIVILEGES;"
|
||||
sudo -h "$MYSQL_HOST" "$DB_MYSQL_EXEC" -P "$MYSQL_PORT" -e "UPDATE mysql.user SET authentication_string=PASSWORD('${PROMPT_PASS}'), plugin='mysql_native_password' WHERE User='${PROMPT_USER}'; FLUSH PRIVILEGES;"
|
||||
fi
|
||||
fi
|
||||
|
||||
# create configured account if not exists
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -e "CREATE USER '${MYSQL_USER}'@'${MYSQL_HOST}' IDENTIFIED BY '${MYSQL_PASS}' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;"
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -e "GRANT CREATE ON *.* TO '${MYSQL_USER}'@'${MYSQL_HOST}' WITH GRANT OPTION;"
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -P "$MYSQL_PORT" -e "CREATE USER IF NOT EXISTS '${MYSQL_USER}'@'${MYSQL_HOST}' IDENTIFIED BY '${MYSQL_PASS}' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0;"
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -P "$MYSQL_PORT" -e "GRANT CREATE ON *.* TO '${MYSQL_USER}'@'${MYSQL_HOST}' WITH GRANT OPTION;"
|
||||
for db in ${DATABASES[@]}
|
||||
do
|
||||
local _uc=${db^^}
|
||||
@@ -54,7 +57,7 @@ function dbasm_mysqlExec() {
|
||||
|
||||
eval $_confs
|
||||
echo "Grant permissions for ${MYSQL_USER}'@'${MYSQL_HOST} to ${_dbname}"
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -e "GRANT ALL PRIVILEGES ON ${_dbname}.* TO '${MYSQL_USER}'@'${MYSQL_HOST}' WITH GRANT OPTION;"
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" $options -P "$MYSQL_PORT" -e "GRANT ALL PRIVILEGES ON ${_dbname}.* TO '${MYSQL_USER}'@'${MYSQL_HOST}' WITH GRANT OPTION;"
|
||||
done
|
||||
else
|
||||
exit
|
||||
@@ -145,7 +148,7 @@ function dbasm_assemble() {
|
||||
shopt -s globstar
|
||||
|
||||
if [ $with_base = true ]; then
|
||||
echo "" > $OUTPUT_FOLDER$database$suffix_base".sql"
|
||||
echo "" > "$OUTPUT_FOLDER$database$suffix_base.sql"
|
||||
|
||||
|
||||
if [ ! ${#base[@]} -eq 0 ]; then
|
||||
@@ -154,11 +157,11 @@ function dbasm_assemble() {
|
||||
for d in "${base[@]}"
|
||||
do
|
||||
echo "Searching on $d ..."
|
||||
if [ ! -z $d ]; then
|
||||
if [ ! -z "$d" ]; then
|
||||
for entry in "$d"/**/*.sql
|
||||
do
|
||||
if [[ -e $entry ]]; then
|
||||
cat "$entry" >> $OUTPUT_FOLDER$database$suffix_base".sql"
|
||||
cat "$entry" >> "$OUTPUT_FOLDER$database$suffix_base.sql"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
@@ -167,9 +170,9 @@ function dbasm_assemble() {
|
||||
fi
|
||||
|
||||
if [ $with_updates = true ]; then
|
||||
updFile=$OUTPUT_FOLDER$database$suffix_upd".sql"
|
||||
updFile="$OUTPUT_FOLDER$database$suffix_upd.sql"
|
||||
|
||||
echo "" > $updFile
|
||||
echo "" > "$updFile"
|
||||
|
||||
if [ ! ${#updates[@]} -eq 0 ]; then
|
||||
echo "Generating $OUTPUT_FOLDER$database$suffix_upd ..."
|
||||
@@ -177,15 +180,15 @@ function dbasm_assemble() {
|
||||
for d in "${updates[@]}"
|
||||
do
|
||||
echo "Searching on $d ..."
|
||||
if [ ! -z $d ]; then
|
||||
if [ ! -z "$d" ]; then
|
||||
for entry in "$d"/**/*.sql
|
||||
do
|
||||
if [[ ! -e $entry ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
echo "-- $file" >> $updFile
|
||||
cat "$entry" >> $updFile
|
||||
echo "-- $file" >> "$updFile"
|
||||
cat "$entry" >> "$updFile"
|
||||
done
|
||||
fi
|
||||
done
|
||||
@@ -193,9 +196,9 @@ function dbasm_assemble() {
|
||||
fi
|
||||
|
||||
if [ $with_custom = true ]; then
|
||||
custFile=$OUTPUT_FOLDER$database$suffix_custom".sql"
|
||||
custFile="$OUTPUT_FOLDER$database$suffix_custom.sql"
|
||||
|
||||
echo "" > $custFile
|
||||
echo "" > "$custFile"
|
||||
|
||||
if [ ! ${#custom[@]} -eq 0 ]; then
|
||||
echo "Generating $OUTPUT_FOLDER$database$suffix_custom ..."
|
||||
@@ -203,15 +206,15 @@ function dbasm_assemble() {
|
||||
for d in "${custom[@]}"
|
||||
do
|
||||
echo "Searching on $d ..."
|
||||
if [ ! -z $d ]; then
|
||||
if [ ! -z "$d" ]; then
|
||||
for entry in "$d"/**/*.sql
|
||||
do
|
||||
if [[ ! -e $entry ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
echo "-- $file" >> $custFile
|
||||
cat "$entry" >> $custFile
|
||||
echo "-- $file" >> "$custFile"
|
||||
cat "$entry" >> "$custFile"
|
||||
done
|
||||
fi
|
||||
done
|
||||
@@ -244,7 +247,9 @@ function dbasm_db_backup() {
|
||||
|
||||
name="DB_"$uc"_NAME"
|
||||
dbname=${!name}
|
||||
|
||||
|
||||
# MYSQL_PORT needs to be reseted as the next eval might not overwite the current value causing the commands to use wrong port
|
||||
MYSQL_PORT=3306
|
||||
eval $confs;
|
||||
|
||||
if [[ ! -z "${PROMPT_USER// }" ]]; then
|
||||
@@ -252,19 +257,20 @@ function dbasm_db_backup() {
|
||||
MYSQL_PASS=$PROMPT_PASS
|
||||
fi
|
||||
|
||||
|
||||
export MYSQL_PWD=$MYSQL_PASS
|
||||
|
||||
now=`date +%s`
|
||||
|
||||
"$DB_MYSQL_DUMP_EXEC" --opt --user="$MYSQL_USER" --host="$MYSQL_HOST" "$dbname" > "${BACKUP_FOLDER}${database}_backup_${now}.sql" && echo "done"
|
||||
"$DB_MYSQL_DUMP_EXEC" --opt --user="$MYSQL_USER" --host="$MYSQL_HOST" --port="$MYSQL_PORT" "$dbname" > "${BACKUP_FOLDER}${database}_backup_${now}.sql" && echo "done"
|
||||
if [[ $? -ne 0 ]]; then
|
||||
err=$("$DB_MYSQL_DUMP_EXEC" --opt --user="$MYSQL_USER" --host="$MYSQL_HOST" "$dbname" 2>&1 )
|
||||
err=$("$DB_MYSQL_DUMP_EXEC" --opt --user="$MYSQL_USER" --host="$MYSQL_HOST" --port="$MYSQL_PORT" "$dbname" 2>&1 )
|
||||
if [[ "$err" == *"Access denied"* ]]; then
|
||||
read -p "Insert mysql user:" PROMPT_USER
|
||||
read -p "Insert mysql pass:" -s PROMPT_PASS
|
||||
export MYSQL_PWD=$PROMPT_PASS
|
||||
|
||||
"$DB_MYSQL_DUMP_EXEC" --opt --user="$PROMPT_USER" --host="$MYSQL_HOST" "$dbname" > "${BACKUP_FOLDER}${database}_backup_${now}.sql" && echo "done"
|
||||
"$DB_MYSQL_DUMP_EXEC" --opt --user="$PROMPT_USER" --host="$MYSQL_HOST" --port="$MYSQL_PORT" "$dbname" > "${BACKUP_FOLDER}${database}_backup_${now}.sql" && echo "done"
|
||||
else
|
||||
exit
|
||||
fi
|
||||
@@ -293,7 +299,9 @@ function dbasm_db_import() {
|
||||
fi
|
||||
|
||||
echo "importing $1 - $2 ..."
|
||||
|
||||
|
||||
# MYSQL_PORT needs to be reseted as the next eval might not overwite the current value causing the commands to use wrong port
|
||||
MYSQL_PORT=3306
|
||||
eval $confs;
|
||||
|
||||
if [[ ! -z "${PROMPT_USER// }" ]]; then
|
||||
@@ -305,18 +313,18 @@ function dbasm_db_import() {
|
||||
|
||||
|
||||
# TODO: remove this line after we squash our DB updates
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" -e "SET GLOBAL max_allowed_packet=128*1024*1024;"
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" --port="$MYSQL_PORT" -e "SET GLOBAL max_allowed_packet=128*1024*1024;"
|
||||
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" --default-character-set=utf8 "$dbname" < "${OUTPUT_FOLDER}${database}_${type}.sql"
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" --port="$MYSQL_PORT" --default-character-set=utf8 "$dbname" < "${OUTPUT_FOLDER}${database}_${type}.sql"
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
err=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" "$dbname" 2>&1 )
|
||||
err=$("$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$MYSQL_USER" -P "$MYSQL_PORT" "$dbname" 2>&1 )
|
||||
if [[ "$err" == *"Access denied"* ]]; then
|
||||
read -p "Insert mysql user:" PROMPT_USER
|
||||
read -p "Insert mysql pass:" -s PROMPT_PASS
|
||||
export MYSQL_PWD=$PROMPT_PASS
|
||||
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" "$dbname" < "${OUTPUT_FOLDER}${database}_${type}.sql"
|
||||
"$DB_MYSQL_EXEC" -h "$MYSQL_HOST" -u "$PROMPT_USER" -P "$MYSQL_PORT" "$dbname" < "${OUTPUT_FOLDER}${database}_${type}.sql"
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
||||
@@ -222,6 +222,6 @@ function inst_download_client_data {
|
||||
local path="$AC_BINPATH_FULL"
|
||||
|
||||
echo "Downloading client data in: $path/data.zip ..."
|
||||
curl -L https://github.com/wowgaming/client-data/releases/download/v7/data.zip > "$path/data.zip" \
|
||||
curl -L https://github.com/wowgaming/client-data/releases/download/v9/data.zip > "$path/data.zip" \
|
||||
&& unzip -o "$path/data.zip" -d "$path/" && rm "$path/data.zip"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,16 @@
|
||||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
##########################################
|
||||
## workaround to fix macos-10.15 configure os from failing
|
||||
brew reinstall openssl@1.1
|
||||
rm '/usr/local/bin/2to3'
|
||||
##########################################
|
||||
|
||||
brew update
|
||||
|
||||
brew install openssl readline cmake ace coreutils bash bash-completion md5sha1sum curl unzip
|
||||
##########################################
|
||||
## workaround for cmake already being installed in the github runners
|
||||
if ! command -v cmake &>/dev/null ; then
|
||||
brew install cmake
|
||||
fi
|
||||
##########################################
|
||||
|
||||
brew install openssl readline ace bash-completion curl unzip mysql ccache
|
||||
|
||||
@@ -1,24 +1,19 @@
|
||||
|
||||
if ! command -v lsb_release &>/dev/null ; then
|
||||
sudo apt-get install -y lsb-release
|
||||
fi
|
||||
|
||||
UBUNTU_VERSION=$(lsb_release -sr);
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get update -y
|
||||
|
||||
if [[ $CONTINUOUS_INTEGRATION ]]; then
|
||||
sudo apt-get -y install build-essential libtool make cmake cmake-data clang openssl libgoogle-perftools-dev \
|
||||
libssl-dev libmysqlclient-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev libace-dev mysql-client \
|
||||
libncurses5-dev
|
||||
libncurses5-dev ccache
|
||||
else
|
||||
case $UBUNTU_VERSION in
|
||||
"14.04")
|
||||
sudo apt-get -y install build-essential libtool make cmake cmake-data gcc g++ clang openssl libgoogle-perftools-dev \
|
||||
libssl-dev libmysqlclient-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev libace-dev mysql-server libncurses-dev \
|
||||
curl unzip
|
||||
;;
|
||||
*)
|
||||
sudo apt-get install -y git cmake make gcc g++ clang libmysqlclient-dev \
|
||||
libssl-dev libbz2-dev libreadline-dev libncurses-dev \
|
||||
mysql-server libace-6.* libace-dev curl unzip
|
||||
;;
|
||||
esac
|
||||
sudo apt-get install -y git cmake make gcc g++ clang libmysqlclient-dev \
|
||||
libssl-dev libbz2-dev libreadline-dev libncurses-dev \
|
||||
mysql-server libace-6.* libace-dev curl unzip
|
||||
fi
|
||||
|
||||
|
||||
@@ -6,16 +6,20 @@
|
||||
_bin_path=$1
|
||||
_bin_file=$2
|
||||
|
||||
_instant_crash_cnt=0
|
||||
_total_crashes=0
|
||||
_instant_crash_count=0
|
||||
_restart_count=0
|
||||
|
||||
trap 'echo "va bene"' SIGHUP
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "Usage: $0 path filename"
|
||||
echo "Example: $0 $HOME/azeroth-server/bin worldserver"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while true
|
||||
do
|
||||
if [ ! -f "$_bin_path/$_bin_file" ]; then
|
||||
echo "$_bin_path/$_bin_file doesn't exists!"
|
||||
exit 0
|
||||
exit 1
|
||||
fi
|
||||
|
||||
STARTING_TIME=$(date +%s)
|
||||
@@ -31,23 +35,23 @@ do
|
||||
# exit 0
|
||||
#fi
|
||||
|
||||
echo "$_bin_file crashed (?), restarting..."
|
||||
echo "$_bin_file terminated, restarting..."
|
||||
|
||||
ENDING_TIME=$(date +%s)
|
||||
DIFFERENCE=$(( $ENDING_TIME - $STARTING_TIME ))
|
||||
|
||||
((_total_crashes++))
|
||||
echo "$_bin_file Crashed after $DIFFERENCE seconds, total crashes: $_total_crashes"
|
||||
((_restart_count++))
|
||||
echo "$_bin_file Terminated after $DIFFERENCE seconds, termination count: : $_restart_count"
|
||||
|
||||
if [ $DIFFERENCE -lt 10 ]; then
|
||||
# increment instant crash if runtime is lower than 10 seconds
|
||||
((_instant_crash_cnt++))
|
||||
((_instant_crash_count++))
|
||||
else
|
||||
_instant_crash_cnt=0 # reset count
|
||||
_instant_crash_count=0 # reset count
|
||||
fi
|
||||
|
||||
if [ $_instant_crash_cnt -gt 5 ]; then
|
||||
if [ $_instant_crash_count -gt 5 ]; then
|
||||
echo "$_bin_file Restarter exited. Infinite crash loop prevented. Please check your system"
|
||||
exit 0
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
source "$CUR_PATH/../apps/startup-scripts/simple-restarter"
|
||||
Vendored
+16
-13
@@ -98,44 +98,44 @@ BACKUP_FOLDER="$AC_PATH_ROOT/env/dist/sql/backup/"
|
||||
|
||||
# FULL DB
|
||||
DB_AUTH_PATHS=(
|
||||
$SRCPATH"/data/sql/base/db_auth/"
|
||||
"$SRCPATH/data/sql/base/db_auth/"
|
||||
)
|
||||
|
||||
DB_CHARACTERS_PATHS=(
|
||||
$SRCPATH"/data/sql/base/db_characters"
|
||||
"$SRCPATH/data/sql/base/db_characters"
|
||||
)
|
||||
|
||||
DB_WORLD_PATHS=(
|
||||
$SRCPATH"/data/sql/base/db_world/"
|
||||
"$SRCPATH/data/sql/base/db_world/"
|
||||
)
|
||||
|
||||
# UPDATES
|
||||
DB_AUTH_UPDATES_PATHS=(
|
||||
$SRCPATH"/data/sql/updates/db_auth/"
|
||||
$SRCPATH"/data/sql/updates/pending_db_auth/"
|
||||
"$SRCPATH/data/sql/updates/db_auth/"
|
||||
"$SRCPATH/data/sql/updates/pending_db_auth/"
|
||||
)
|
||||
|
||||
DB_CHARACTERS_UPDATES_PATHS=(
|
||||
$SRCPATH"/data/sql/updates/db_characters/"
|
||||
$SRCPATH"/data/sql/updates/pending_db_characters/"
|
||||
"$SRCPATH/data/sql/updates/db_characters/"
|
||||
"$SRCPATH/data/sql/updates/pending_db_characters/"
|
||||
)
|
||||
|
||||
DB_WORLD_UPDATES_PATHS=(
|
||||
$SRCPATH"/data/sql/updates/db_world/"
|
||||
$SRCPATH"/data/sql/updates/pending_db_world/"
|
||||
"$SRCPATH/data/sql/updates/db_world/"
|
||||
"$SRCPATH/data/sql/updates/pending_db_world/"
|
||||
)
|
||||
|
||||
# CUSTOM
|
||||
DB_AUTH_CUSTOM_PATHS=(
|
||||
$SRCPATH"/data/sql/custom/db_auth/"
|
||||
"$SRCPATH/data/sql/custom/db_auth/"
|
||||
)
|
||||
|
||||
DB_CHARACTERS_CUSTOM_PATHS=(
|
||||
$SRCPATH"/data/sql/custom/db_characters/"
|
||||
"$SRCPATH/data/sql/custom/db_characters/"
|
||||
)
|
||||
|
||||
DB_WORLD_CUSTOM_PATHS=(
|
||||
$SRCPATH"/data/sql/custom/db_world/"
|
||||
"$SRCPATH/data/sql/custom/db_world/"
|
||||
)
|
||||
|
||||
##############################################
|
||||
@@ -152,7 +152,7 @@ DB_SKIP_BASE_IMPORT_IF_EXISTS=true
|
||||
|
||||
#
|
||||
# Example:
|
||||
# "C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe"
|
||||
# "C:/Program Files/MySQL/MySQL Server 8.0/bin/mysql.exe"
|
||||
# "/usr/bin/mysql"
|
||||
# "mysql"
|
||||
#
|
||||
@@ -164,16 +164,19 @@ DB_MYSQL_DUMP_EXEC="mysqldump"
|
||||
DB_AUTH_CONF="MYSQL_USER='acore'; \
|
||||
MYSQL_PASS='acore'; \
|
||||
MYSQL_HOST='localhost';\
|
||||
MYSQL_PORT='3306';\
|
||||
"
|
||||
|
||||
DB_CHARACTERS_CONF="MYSQL_USER='acore'; \
|
||||
MYSQL_PASS='acore'; \
|
||||
MYSQL_HOST='localhost';\
|
||||
MYSQL_PORT='3306';\
|
||||
"
|
||||
|
||||
DB_WORLD_CONF="MYSQL_USER='acore'; \
|
||||
MYSQL_PASS='acore'; \
|
||||
MYSQL_HOST='localhost';\
|
||||
MYSQL_PORT='3306';\
|
||||
"
|
||||
|
||||
DB_AUTH_NAME="acore_auth"
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
-- DB update 2020_12_03_01 -> 2020_12_03_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_03_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_03_01 2020_12_03_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606541660341796800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606541660341796800');
|
||||
|
||||
-- Open Door on Sneed's Death (Deadmines)
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 643;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 643) AND (`source_type` = 0) AND (`id` IN (1));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(643, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 14, 26185, 17153, 0, 0, 0, 0, 0, 0, 'Sneed - Open Door on Death');
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,35 @@
|
||||
-- DB update 2020_12_03_02 -> 2020_12_03_03
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_03_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_03_02 2020_12_03_03 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606545399394537100'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606545399394537100');
|
||||
|
||||
-- Saronite Animus 10 player and 25 player
|
||||
|
||||
UPDATE `creature_template` SET `minlevel` = 83, `maxlevel` = 83 WHERE `entry` IN (33524,34152);
|
||||
|
||||
-- Snobold Vassal 10 Normal & Heroic, and 25 Normal & Heroic
|
||||
|
||||
UPDATE `creature_template` SET `minlevel` = 82, `maxlevel` = 82 WHERE `entry` IN (34800,35441,35442,35443);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,84 @@
|
||||
-- DB update 2020_12_03_03 -> 2020_12_04_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_03_03';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_03_03 2020_12_04_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606563608380973800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606563608380973800');
|
||||
|
||||
DELETE FROM `quest_offer_reward_locale` WHERE `ID` IN (5659, 5660, 5661, 5662, 5663, 6066, 6067, 7805, 7806, 7811, 7812, 7818, 7819, 7823, 7824, 7825, 7832, 7836, 7837, 7922, 7923, 7924, 7925, 8293, 8368, 8386, 8389, 8426, 8427, 8428, 8429, 8430, 8431, 8432, 8433, 8434, 8435, 9234, 9235, 9236, 9237, 9239, 9240, 9241, 9242, 9243, 9244, 9245, 9246, 10357, 10358, 10362, 10363, 24823, 24828) AND `locale` = 'deDE';
|
||||
INSERT INTO `quest_offer_reward_locale` (`ID`, `locale`, `RewardText`, `VerifiedBuild`) VALUES
|
||||
(5659, 'deDE', 'Ah, gut, ein weiterer ist eingetroffen. Zeit mag für mich keine Rolle spielen aber für Euch ist sie von entscheidender Bedeutung. Es gibt viel für Euch zu lernen und ich möchte Euch viel beibringen. Ihr müsst Euch einfach beweisen. Tut dies und Ihr werdet reich belohnt werden.', 18019),
|
||||
(5660, 'deDE', 'Ah, gut, ein weiterer ist eingetroffen. Zeit mag für mich keine Rolle spielen aber für Euch ist sie von entscheidender Bedeutung. Es gibt viel für Euch zu lernen und ich möchte Euch viel beibringen. Ihr müsst Euch einfach beweisen. Tut dies und Ihr werdet reich belohnt werden.', 18019),
|
||||
(5661, 'deDE', 'Ah, gut, ein weiterer ist eingetroffen. Zeit mag für mich keine Rolle spielen aber für Euch ist sie von entscheidender Bedeutung. Es gibt viel für Euch zu lernen und ich möchte Euch viel beibringen. Ihr müsst Euch einfach beweisen. Tut dies und Ihr werdet reich belohnt werden.', 18019),
|
||||
(5662, 'deDE', 'Ah, gut, ein weiterer ist eingetroffen. Zeit mag für mich keine Rolle spielen aber für Euch ist sie von entscheidender Bedeutung. Es gibt viel für Euch zu lernen und ich möchte Euch viel beibringen. Ihr müsst Euch einfach beweisen. Tut dies und Ihr werdet reich belohnt werden.', 18019),
|
||||
(5663, 'deDE', 'Ah, gut, ein weiterer ist eingetroffen. Zeit mag für mich keine Rolle spielen aber für Euch ist sie von entscheidender Bedeutung. Es gibt viel für Euch zu lernen und ich möchte Euch viel beibringen. Ihr müsst Euch einfach beweisen. Tut dies und Ihr werdet reich belohnt werden.', 18019),
|
||||
(6066, 'deDE', 'Ja, ich glaube Ihr seid bereit…', 18019),
|
||||
(6067, 'deDE', 'Ja, ich glaube Ihr seid bereit…', 18019),
|
||||
(7805, 'deDE', 'Fantastisch - Ich kann Euch versichern, dass wir sofort Gebrauch davon machen werden. Lasst Euch erneut für Eure Mithilfe gedankt sein! Ohne Euch wären wir mit Sicherheit verloren.$B$BDa ihr schon so viel gespendet habt, wäre ich natürlich bereit, mich auch um jede weitere Spende Runenstoff zu kümmern, die Ihr in Zukunft tätigen wollt. Kommt einfach zu mir, ich werde dann persönlich dafür sorgen, dass Eure guten Taten nicht unbeachtet bleiben!', 18019),
|
||||
(7806, 'deDE', '$N - ohne Helden, die sich wie Ihr für Eisenschmiede einsetzen, müssten wir so einiges in Kauf nehmen. Danke für Eure redlichen Bemühungen!', 18019),
|
||||
(7811, 'deDE', 'Fantastisch - Ich kann Euch versichern, dass wir sofort Gebrauch davon machen werden. Lasst Euch erneut für Eure Mithilfe gedankt sein! Ohne Euch wären wir mit Sicherheit verloren.$B$BDa ihr schon so viel gespendet habt, wäre ich natürlich bereit, mich auch um jede weitere Spende Runenstoff zu kümmern, die Ihr in Zukunft tätigen wollt. Kommt einfach zu mir, ich werde dann persönlich dafür sorgen, dass Eure guten Taten nicht unbeachtet bleiben!', 18019),
|
||||
(7812, 'deDE', '$N - ohne Helden, die sich wie Ihr für uns Gnome einsetzen, müssten wir so einiges in Kauf nehmen. Danke für Eure redlichen Bemühungen!', 18019),
|
||||
(7818, 'deDE', 'Fantastisch - Ich kann Euch versichern, dass wir sofort Gebrauch davon machen werden. Lasst Euch erneut für Eure Mithilfe gedankt sein! Ohne Euch wären wir mit Sicherheit verloren.$B$BDa ihr schon so viel gespendet habt, wäre ich natürlich bereit, mich auch um jede weitere Spende Runenstoff zu kümmern, die Ihr in Zukunft tätigen wollt. Kommt einfach zu mir, ich werde dann persönlich dafür sorgen, dass Eure guten Taten nicht unbeachtet bleiben!', 18019),
|
||||
(7819, 'deDE', '$N - ohne Helden, die sich wie Ihr für die Verlassenen einsetzen, müssten wir so einiges in Kauf nehmen. Danke für Eure redlichen Bemühungen!', 18019),
|
||||
(7823, 'deDE', 'Fantastisch - Ich kann Euch versichern, dass wir sofort Gebrauch davon machen werden. Lasst Euch erneut für Eure Mithilfe gedankt sein! Ohne Euch wären wir mit Sicherheit verloren.$B$BDa ihr schon so viel gespendet habt, wäre ich natürlich bereit, mich auch um jede weitere Spende Runenstoff zu kümmern, die Ihr in Zukunft tätigen wollt. Kommt einfach zu mir, ich werde dann persönlich dafür sorgen, dass Eure guten Taten nicht unbeachtet bleiben!', 18019),
|
||||
(7824, 'deDE', 'Fantastisch - Ich kann Euch versichern, dass wir sofort Gebrauch davon machen werden. Lasst Euch erneut für Eure Mithilfe gedankt sein! Ohne Euch wären wir mit Sicherheit verloren.$B$BDa ihr schon so viel gespendet habt, wäre ich natürlich bereit, mich auch um jede weitere Spende Runenstoff zu kümmern, die Ihr in Zukunft tätigen wollt. Kommt einfach zu mir, ich werde dann persönlich dafür sorgen, dass Eure guten Taten nicht unbeachtet bleiben!', 18019),
|
||||
(7825, 'deDE', '$N - ohne Helden, die sich wie Ihr für Donnerfels einsetzen, müssten wir so einiges in Kauf nehmen. Danke für Eure redlichen Bemühungen!', 18019),
|
||||
(7832, 'deDE', '$N - ohne Helden, die sich wie Ihr für Orgrimmar einsetzen, müssten wir so einiges in Kauf nehmen. Danke für Eure redlichen Bemühungen!', 18019),
|
||||
(7836, 'deDE', 'Fantastisch - Ich kann Euch versichern, dass wir sofort Gebrauch davon machen werden. Lasst Euch erneut für Eure Mithilfe gedankt sein! Ohne Euch wären wir mit Sicherheit verloren.$B$BDa ihr schon so viel gespendet habt, wäre ich natürlich bereit, mich auch um jede weitere Spende Runenstoff zu kümmern, die Ihr in Zukunft tätigen wollt. Kommt einfach zu mir, ich werde dann persönlich dafür sorgen, dass Eure guten Taten nicht unbeachtet bleiben!', 18019),
|
||||
(7837, 'deDE', '$N - ohne Helden, die sich wie Ihr für die Trolle der Dunkelspeere einsetzen, müssten wir so einiges in Kauf nehmen. Danke für Eure redlichen Bemühungen!', 18019),
|
||||
(7922, 'deDE', 'Die Nachtelfen und ihre Verbündeten müssen schon beim Flüstern Eures Namens erzittern! Für die Horde!', 18019),
|
||||
(7923, 'deDE', 'Die Nachtelfen und ihre Verbündeten müssen schon beim Flüstern Eures Namens erzittern! Für die Horde!', 18019),
|
||||
(7924, 'deDE', 'Die Nachtelfen und ihre Verbündeten müssen schon beim Flüstern Eures Namens erzittern! Für die Horde!', 18019),
|
||||
(7925, 'deDE', 'Die Nachtelfen und ihre Verbündeten müssen schon beim Flüstern Eures Namens erzittern! Für die Horde!', 18019),
|
||||
(8293, 'deDE', 'Die Nachtelfen und ihre Verbündeten müssen schon beim Flüstern Eures Namens erzittern! Für die Horde!', 18019),
|
||||
(8368, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8386, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8389, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8426, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8427, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8428, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8429, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8430, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8431, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8432, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8433, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8434, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(8435, 'deDE', 'Ausgezeichnet! Ihr habt Euch als ehrvoll erwiesen, indem Ihr unsere Unternehmungen in der Kriegshymnenschlucht verteidigt habt! Möge sich die Kunde von Eurer Ehrenhaftigkeit weit in unserem Land verbreiten.', 18019),
|
||||
(9234, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9235, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9236, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9237, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9239, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9240, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9241, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9242, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9243, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9244, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9245, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(9246, 'deDE', 'Hier ist Eure Bestellung, $N. Geliefert wie versprochen!', 18019),
|
||||
(10357, 'deDE', 'Fantastisch - Ich kann Euch versichern, dass wir sofort Gebrauch davon machen werden. Lasst Euch erneut für Eure Mithilfe gedankt sein! Ohne Euch wären wir mit Sicherheit verloren.$B$BDa ihr schon so viel gespendet habt, wäre ich natürlich bereit, mich auch um jede weitere Spende Runenstoff zu kümmern, die Ihr in Zukunft tätigen wollt. Kommt einfach zu mir, ich werde dann persönlich dafür sorgen, dass Eure guten Taten nicht unbeachtet bleiben!', 18019),
|
||||
(10358, 'deDE', 'Wir danken Euch für Eure redlichen Bemühungen, $N.', 18019),
|
||||
(10362, 'deDE', 'Fantastisch - Ich kann Euch versichern, dass wir sofort Gebrauch davon machen werden. Lasst Euch erneut für Eure Mithilfe gedankt sein! Ohne Euch wären wir mit Sicherheit verloren.$B$BDa ihr schon so viel gespendet habt, wäre ich natürlich bereit, mich auch um jede weitere Spende Runenstoff zu kümmern, die Ihr in Zukunft tätigen wollt. Kommt einfach zu mir, ich werde dann persönlich dafür sorgen, dass Eure guten Taten nicht unbeachtet bleiben!', 18019),
|
||||
(10363, 'deDE', 'Sieh mal einer an. Noch mehr Runenstoff.', 18019),
|
||||
(24823, 'deDE', 'Ihr stellt Euren Wert wieder unter Beweis, $N. Nehmt dies, nicht als Geschenk, sondern als Werkzeug im Kampf gegen die Geißel.', 18019),
|
||||
(24828, 'deDE', 'Ihr stellt Euren Wert wieder unter Beweis, $N. Nehmt dies, nicht als Geschenk, sondern als Werkzeug im Kampf gegen die Geißel.', 18019);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,97 @@
|
||||
-- DB update 2020_12_04_00 -> 2020_12_04_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_04_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_04_00 2020_12_04_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606590908424148300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606590908424148300');
|
||||
|
||||
-- Update level range for Val'kyr Battle-maiden (59-60)
|
||||
UPDATE `creature_template` SET `maxlevel`=60 WHERE `entry`=31095;
|
||||
|
||||
-- Update Terrifying Abomination wander distance
|
||||
UPDATE `creature` SET `wander_distance`=1 WHERE `guid` IN
|
||||
(130505, 130506, 130507, 130508, 130511, 130512, 130513, 130515, 130516, 130517, 130519, 130521, 130522, 130524, 130525, 130526, 130527, 130528, 130530, 130531, 130532, 130535, 130536, 130537, 130539);
|
||||
|
||||
-- Update level range for Terrifying Abomination (57-58)
|
||||
UPDATE `creature_template` SET `minlevel`=57 WHERE `entry`=31098;
|
||||
|
||||
-- Fix Terrifying Abomination's SAI
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=31098 AND `source_type`=0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(31098, 0, 0, 0, 9, 0, 50, 1, 8, 20, 0, 0, 0, 11, 50335, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Terrifying Abomination - Within 8-20 Range - Cast Scourge Hook'),
|
||||
(31098, 0, 1, 0, 0, 0, 80, 0, 0, 0, 7000, 9000, 0, 11, 15496, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Terrifying Abomination - In Combat - Cast Cleave');
|
||||
|
||||
-- Update SAI, unit_flag and update level range for Knight of the Ebon Blade (57-58)
|
||||
UPDATE `creature_template` SET `minlevel`=57, `unit_flags`=557056, `AIName`='SmartAI' WHERE `entry`=31094;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=31094 AND `source_type`=0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(31094, 0, 0, 0, 0, 0, 100, 0, 9250, 14750, 10250, 15750, 0, 11, 52372, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Knight of the Ebon Blade - In Combat - Cast Icy Touch'),
|
||||
(31094, 0, 1, 0, 0, 0, 100, 0, 4500, 6200, 5500, 7200, 0, 11, 52374, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Knight of the Ebon Blade - In Combat - Cast Blood Strike'),
|
||||
(31094, 0, 2, 0, 0, 0, 100, 0, 3500, 9100, 4500, 11000, 0, 11, 52373, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Knight of the Ebon Blade - In Combat - Cast Plague Strike'),
|
||||
(31094, 0, 3, 0, 0, 0, 100, 0, 5200, 15500, 6200, 17500, 0, 11, 52375, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Knight of the Ebon Blade - In Combat - Cast Death Coil'),
|
||||
(31094, 0, 4, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 70, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Knight of the Ebon Blade - On Death - Respawn');
|
||||
|
||||
-- Add missing Knight of the Ebon Blade corpses on lower level
|
||||
DELETE FROM `creature` WHERE `guid` IN (200153, 200154, 200155, 200156, 200157);
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `VerifiedBuild`) VALUES
|
||||
(200153, 31094, 0, 0, 0, 1, 448, 0, 1, 2425.68, -5617.98, 420.644, 1.325, 360, 0, 0, 15955, 11445, 0, 0, 537166592, 32, 0),
|
||||
(200154, 31094, 0, 0, 0, 1, 448, 0, 1, 2435.938, -5620.978, 420.421, 3.319, 360, 0, 0, 15955, 11445, 0, 0, 537166592, 32, 0),
|
||||
(200155, 31094, 0, 0, 0, 1, 448, 0, 1, 2415.195, -5601.245, 420.643, 0.833, 360, 0, 0, 15955, 11445, 0, 0, 537166592, 32, 0),
|
||||
(200156, 31094, 0, 0, 0, 1, 448, 0, 1, 2396.438, -5628.738, 420.702, 3.523, 360, 0, 0, 15955, 11445, 0, 0, 537166592, 32, 0),
|
||||
(200157, 31094, 0, 0, 0, 1, 448, 0, 1, 2403.937, -5642.425, 420.678, 0.478, 360, 0, 0, 15955, 11445, 0, 0, 537166592, 32, 0);
|
||||
|
||||
DELETE FROM `creature_addon` WHERE `guid` IN (200153, 200154, 200155, 200156, 200157);
|
||||
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `isLarge`, `auras`) VALUES
|
||||
(200153, 0, 0, 0, 1, 0, 0, 29266),
|
||||
(200154, 0, 0, 0, 1, 0, 0, 29266),
|
||||
(200155, 0, 0, 0, 1, 0, 0, 29266),
|
||||
(200156, 0, 0, 0, 1, 0, 0, 29266),
|
||||
(200157, 0, 0, 0, 1, 0, 0, 29266);
|
||||
|
||||
-- Update Knight of the Ebon Blade positions
|
||||
UPDATE `creature` SET `position_x`=2410.179, `position_y`=-5621.223, `position_z`=420.653 WHERE `guid`=130488;
|
||||
UPDATE `creature` SET `position_x`=2411.769, `position_y`=-5624.546, `position_z`=420.652 WHERE `guid`=130485;
|
||||
UPDATE `creature` SET `position_x`=2413.665, `position_y`=-5627.342, `position_z`=420.652 WHERE `guid`=130487;
|
||||
UPDATE `creature` SET `position_x`=2415.735, `position_y`=-5629.859, `position_z`=420.651 WHERE `guid`=130486;
|
||||
|
||||
-- Add Patchwerk texts
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`=31099 AND `GroupID`=0;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(31099, 0, 0, '%s goes into a frenzy!', 41, 0, 100, 0, 0, 0, 38630, 0, 'Patchwerk emote Frenzy - Ebon Hold');
|
||||
|
||||
-- Update AIName to Patchwerk and build SAI
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=31099;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=31099 AND `source_type`=0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(31099, 0, 0, 0, 0, 0, 100, 0, 1000, 2000, 1500, 1500, 0, 11, 58412, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Patchwerk - In Combat - Cast Hateful Strike'),
|
||||
(31099, 0, 1, 0, 2, 0, 100, 1, 0, 4, 0, 0, 0, 11, 28131, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Patchwerk - On 5% HP - Cast self Frenzy'),
|
||||
(31099, 0, 2, 0, 2, 0, 100, 1, 0, 4, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Patchwerk - On 5% HP - Say Line 0');
|
||||
|
||||
-- Make spell 'Scourge hook' to only target players
|
||||
DELETE FROM `conditions` WHERE `SourceEntry`=50335 AND `ConditionTypeOrReference`=31;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `Comment`) VALUES
|
||||
(17, 0, 50335, 0, 0, 31, 1, 4, 0, 0, 0, 0, 0, 'Spell force target - \'Scourge Hook\' - Player only');
|
||||
|
||||
-- Adjust Patchwerk spawn time
|
||||
UPDATE `creature` SET `spawntimesecs`=120 WHERE `guid`=130542;
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,34 @@
|
||||
-- DB update 2020_12_04_01 -> 2020_12_04_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_04_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_04_01 2020_12_04_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606710338440572300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606710338440572300');
|
||||
|
||||
-- Reduce cooldown
|
||||
UPDATE `smart_scripts` SET `event_param3`=10000, `event_param4`=15000, `comment`='Stitched Giant - In combat - Cast target Knockback' WHERE `entryorguid`=16025 AND `source_type`=0 AND `id`=0 AND `link`=0;
|
||||
-- Fix enrage
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=16025 AND `id`=1;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(16025, 0, 1, 0, 2, 0, 100, 1, 0, 29, 0, 0, 0, 11, 54356, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Stitched Giant - On 30% HP - Cast self Unstoppable Enrage');
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,29 @@
|
||||
-- DB update 2020_12_04_02 -> 2020_12_05_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_04_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_04_02 2020_12_05_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606571138894151804'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606571138894151804');
|
||||
UPDATE `creature` SET `spawntimesecs` = 0 WHERE `id` IN (8901);
|
||||
UPDATE `creature` SET `spawntimesecs` = 300 WHERE `id` IN (9956);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,37 @@
|
||||
-- DB update 2020_12_05_00 -> 2020_12_05_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_05_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_05_00 2020_12_05_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606571992509460569'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
DELETE FROM `creature_formations` WHERE `memberGUID` IN (9203, 9204, 9205) AND `leaderGUID` = 9203;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(9203, 9203, 0, 0, 2, 0, 0),
|
||||
(9203, 9204, 3, 45, 2, 0, 0),
|
||||
(9203, 9205, 3, 315, 2, 0, 0);
|
||||
|
||||
DELETE FROM `creature_addon` WHERE guid IN (9204,9205);
|
||||
DELETE FROM `waypoint_data` WHERE id IN (92040,92050);
|
||||
UPDATE `creature` SET `MovementType`=0, `wander_distance`=0 WHERE `id` IN (2477,7170);
|
||||
UPDATE `creature_template` SET `MovementType`=0 WHERE `entry` IN (2477,7170);
|
||||
UPDATE `creature_template` SET `Speed_Walk`=1.47, `Speed_Run`=1.14286 WHERE `entry` IN (2478);
|
||||
UPDATE `creature_template` SET `Speed_Walk`=1.48, `Speed_Run`=1.14286 WHERE `entry` IN (2477,7170);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,52 @@
|
||||
-- DB update 2020_12_05_01 -> 2020_12_05_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_05_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_05_01 2020_12_05_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601827337526865700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601827337526865700');
|
||||
/*
|
||||
* Raid: The Obsidian Sanctum
|
||||
* Update by Knindza | <www.azerothcore.org>
|
||||
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
|
||||
*/
|
||||
|
||||
/* REGULAR */
|
||||
UPDATE `creature_template` SET `mindmg` = 3293, `maxdmg` = 4560, `DamageModifier` = 1.03 WHERE `entry` = 30682;
|
||||
UPDATE `creature_template` SET `mindmg` = 6586, `maxdmg` = 9120, `DamageModifier` = 1.03 WHERE `entry` = 31000;
|
||||
UPDATE `creature_template` SET `mindmg` = 3254, `maxdmg` = 4522, `DamageModifier` = 1.03 WHERE `entry` = 30681;
|
||||
UPDATE `creature_template` SET `mindmg` = 6508, `maxdmg` = 9044, `DamageModifier` = 1.03 WHERE `entry` = 30998;
|
||||
UPDATE `creature_template` SET `mindmg` = 3293, `maxdmg` = 4790, `DamageModifier` = 1.03 WHERE `entry` = 30680;
|
||||
UPDATE `creature_template` SET `mindmg` = 6586, `maxdmg` = 9580, `DamageModifier` = 1.03 WHERE `entry` = 30999;
|
||||
UPDATE `creature_template` SET `mindmg` = 3287, `maxdmg` = 4670, `DamageModifier` = 1.03 WHERE `entry` = 30453;
|
||||
UPDATE `creature_template` SET `mindmg` = 6574, `maxdmg` = 9340, `DamageModifier` = 1.03 WHERE `entry` = 31001;
|
||||
|
||||
/* BOSS */
|
||||
UPDATE `creature_template` SET `mindmg` = 17815, `maxdmg` = 23905, `DamageModifier` = 1.01 WHERE `entry` = 28860;
|
||||
UPDATE `creature_template` SET `mindmg` = 35630, `maxdmg` = 47810, `DamageModifier` = 1.01 WHERE `entry` = 31311;
|
||||
/* MINI BOSS */
|
||||
UPDATE `creature_template` SET `mindmg` = 13743, `maxdmg` = 18441, `DamageModifier` = 1.01 WHERE `entry` = 30449;
|
||||
UPDATE `creature_template` SET `mindmg` = 27486, `maxdmg` = 36882, `DamageModifier` = 1.01 WHERE `entry` = 31535;
|
||||
UPDATE `creature_template` SET `mindmg` = 13743, `maxdmg` = 18441, `DamageModifier` = 1.01 WHERE `entry` = 30451;
|
||||
UPDATE `creature_template` SET `mindmg` = 27486, `maxdmg` = 36882, `DamageModifier` = 1.01 WHERE `entry` = 31520;
|
||||
UPDATE `creature_template` SET `mindmg` = 13743, `maxdmg` = 18441, `DamageModifier` = 1.01 WHERE `entry` = 30452;
|
||||
UPDATE `creature_template` SET `mindmg` = 27486, `maxdmg` = 36882, `DamageModifier` = 1.01 WHERE `entry` = 31534;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,41 @@
|
||||
-- DB update 2020_12_05_02 -> 2020_12_06_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_05_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_05_02 2020_12_06_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601827252211534700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601827252211534700');
|
||||
/*
|
||||
* Raid: The Eye of Eternity
|
||||
* Update by Knindza | <www.azerothcore.org>
|
||||
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
|
||||
*/
|
||||
|
||||
/* REGULAR */
|
||||
UPDATE `creature_template` SET `mindmg` = 4137, `maxdmg` = 6356, `DamageModifier` = 1.03 WHERE `entry` = 30245;
|
||||
UPDATE `creature_template` SET `mindmg` = 8274, `maxdmg` = 12712, `DamageModifier` = 1.03 WHERE `entry` = 31750;
|
||||
UPDATE `creature_template` SET `mindmg` = 3514, `maxdmg` = 5614, `DamageModifier` = 1.03 WHERE `entry` = 30249;
|
||||
UPDATE `creature_template` SET `mindmg` = 7028, `maxdmg` = 11228, `DamageModifier` = 1.03 WHERE `entry` = 31751;
|
||||
|
||||
/* BOSS */
|
||||
UPDATE `creature_template` SET `mindmg` = 18815, `maxdmg` = 24905, `DamageModifier` = 1.01 WHERE `entry` = 28859;
|
||||
UPDATE `creature_template` SET `mindmg` = 37630, `maxdmg` = 49810, `DamageModifier` = 1.01 WHERE `entry` = 31734;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,57 @@
|
||||
-- DB update 2020_12_06_00 -> 2020_12_07_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_06_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_06_00 2020_12_07_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601827483251961900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601827483251961900');
|
||||
/*
|
||||
* Raid: Vault of Archavon
|
||||
* Update by Knindza | <www.azerothcore.org>
|
||||
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
|
||||
*/
|
||||
|
||||
/* REGULAR */
|
||||
UPDATE `creature_template` SET `mindmg` = 3162, `maxdmg` = 4399, `DamageModifier` = 1.03 WHERE `entry` = 32353;
|
||||
UPDATE `creature_template` SET `mindmg` = 6324, `maxdmg` = 8798, `DamageModifier` = 1.03 WHERE `entry` = 32368;
|
||||
UPDATE `creature_template` SET `mindmg` = 3112, `maxdmg` = 4170, `DamageModifier` = 1.03 WHERE `entry` = 35143;
|
||||
UPDATE `creature_template` SET `mindmg` = 6224, `maxdmg` = 8340, `DamageModifier` = 1.03 WHERE `entry` = 35359;
|
||||
UPDATE `creature_template` SET `mindmg` = 3337, `maxdmg` = 4676, `DamageModifier` = 1.03 WHERE `entry` = 34015;
|
||||
UPDATE `creature_template` SET `mindmg` = 6674, `maxdmg` = 9352, `DamageModifier` = 1.03 WHERE `entry` = 34016;
|
||||
UPDATE `creature_template` SET `mindmg` = 3438, `maxdmg` = 4724, `DamageModifier` = 1.03 WHERE `entry` = 33998;
|
||||
UPDATE `creature_template` SET `mindmg` = 6876, `maxdmg` = 9448, `DamageModifier` = 1.03 WHERE `entry` = 34200;
|
||||
UPDATE `creature_template` SET `mindmg` = 3433, `maxdmg` = 4738, `DamageModifier` = 1.03 WHERE `entry` = 38482;
|
||||
UPDATE `creature_template` SET `mindmg` = 6866, `maxdmg` = 9476, `DamageModifier` = 1.03 WHERE `entry` = 38483;
|
||||
|
||||
/* BOSS */
|
||||
/* 1st: Available at opening - Good values atm. */
|
||||
UPDATE `creature_template` SET `mindmg` = 17815, `maxdmg` = 23905, `DamageModifier` = 1.01 WHERE `entry` = 31125;
|
||||
UPDATE `creature_template` SET `mindmg` = 35630, `maxdmg` = 47810, `DamageModifier` = 1.01 WHERE `entry` = 31722;
|
||||
/* 2nd: Second one to appear, towards Tier 8 - During Ulduar. */
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 33993;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69400, `DamageModifier` = 1.01 WHERE `entry` = 33994;
|
||||
/* 3rd: Towards Tier 8.5 / 9 - During Trial of Crusader. */
|
||||
UPDATE `creature_template` SET `mindmg` = 27250, `maxdmg` = 37750, `DamageModifier` = 1.01 WHERE `entry` = 35013;
|
||||
UPDATE `creature_template` SET `mindmg` = 54500, `maxdmg` = 75500, `DamageModifier` = 1.01 WHERE `entry` = 35360;
|
||||
/* 4th: Towards Tier 10 and last PvP Season - During Icecrown Citadel (Need testing) */
|
||||
UPDATE `creature_template` SET `mindmg` = 30380, `maxdmg` = 41445, `DamageModifier` = 1.01 WHERE `entry` = 38433;
|
||||
UPDATE `creature_template` SET `mindmg` = 60760, `maxdmg` = 82890, `DamageModifier` = 1.01 WHERE `entry` = 38462;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,43 @@
|
||||
-- DB update 2020_12_07_00 -> 2020_12_07_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_07_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_07_00 2020_12_07_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601827407065319600'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601827407065319600');
|
||||
/*
|
||||
* Raid: Onyxia Lair
|
||||
* Update by Knindza | <www.azerothcore.org>
|
||||
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
|
||||
*/
|
||||
|
||||
/* REGULAR */
|
||||
UPDATE `creature_template` SET `mindmg` = 4293, `maxdmg` = 6560, `DamageModifier` = 1.03 WHERE `entry` = 12129;
|
||||
UPDATE `creature_template` SET `mindmg` = 8586, `maxdmg` = 13120, `DamageModifier` = 1.03 WHERE `entry` = 36572;
|
||||
UPDATE `creature_template` SET `mindmg` = 776, `maxdmg` = 912, `DamageModifier` = 1.03 WHERE `entry` = 11262;
|
||||
UPDATE `creature_template` SET `mindmg` = 1552, `maxdmg` = 1824, `DamageModifier` = 1.03 WHERE `entry` = 36566;
|
||||
UPDATE `creature_template` SET `mindmg` = 3165, `maxdmg` = 4395, `DamageModifier` = 1.03 WHERE `entry` = 36561;
|
||||
UPDATE `creature_template` SET `mindmg` = 6330, `maxdmg` = 8790, `DamageModifier` = 1.03 WHERE `entry` = 36571;
|
||||
|
||||
/* BOSS */
|
||||
UPDATE `creature_template` SET `mindmg` = 27860, `maxdmg` = 38650, `DamageModifier` = 1.01 WHERE `entry` = 10184;
|
||||
UPDATE `creature_template` SET `mindmg` = 55720, `maxdmg` = 77300, `DamageModifier` = 1.01 WHERE `entry` = 36538;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,88 @@
|
||||
-- DB update 2020_12_07_01 -> 2020_12_09_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_07_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_07_01 2020_12_09_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601827164368024300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601827164368024300');
|
||||
/*
|
||||
* Dungeon: Utgarde Pinnacle
|
||||
* Update by Knindza | <www.azerothcore.org>
|
||||
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
|
||||
*/
|
||||
|
||||
/* REGULAR */
|
||||
UPDATE `creature_template` SET `mindmg` = 487, `maxdmg` = 641, `DamageModifier` = 1.03 WHERE `entry` = 26536;
|
||||
UPDATE `creature_template` SET `mindmg` = 578, `maxdmg` = 816, `DamageModifier` = 1.03 WHERE `entry` = 30791;
|
||||
UPDATE `creature_template` SET `mindmg` = 2787, `maxdmg` = 3925, `DamageModifier` = 1.03 WHERE `entry` = 26550;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7905, `DamageModifier` = 1.03 WHERE `entry` = 30764;
|
||||
UPDATE `creature_template` SET `mindmg` = 3125, `maxdmg` = 4362, `DamageModifier` = 1.03 WHERE `entry` = 26554;
|
||||
UPDATE `creature_template` SET `mindmg` = 5417, `maxdmg` = 7839, `DamageModifier` = 1.03 WHERE `entry` = 30766;
|
||||
UPDATE `creature_template` SET `mindmg` = 3162, `maxdmg` = 4399, `DamageModifier` = 1.03 WHERE `entry` = 26553;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7904, `DamageModifier` = 1.03 WHERE `entry` = 30765;
|
||||
UPDATE `creature_template` SET `mindmg` = 3165, `maxdmg` = 4401, `DamageModifier` = 1.03 WHERE `entry` = 26555;
|
||||
UPDATE `creature_template` SET `mindmg` = 5708, `maxdmg` = 7909, `DamageModifier` = 1.03 WHERE `entry` = 30806;
|
||||
UPDATE `creature_template` SET `mindmg` = 3027, `maxdmg` = 4229, `DamageModifier` = 1.03 WHERE `entry` = 26670;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7901, `DamageModifier` = 1.03 WHERE `entry` = 30818;
|
||||
UPDATE `creature_template` SET `mindmg` = 3015, `maxdmg` = 4215, `DamageModifier` = 1.03 WHERE `entry` = 26672;
|
||||
UPDATE `creature_template` SET `mindmg` = 5382, `maxdmg` = 7905, `DamageModifier` = 1.03 WHERE `entry` = 30762;
|
||||
UPDATE `creature_template` SET `mindmg` = 3021, `maxdmg` = 4217, `DamageModifier` = 1.03 WHERE `entry` = 26669;
|
||||
UPDATE `creature_template` SET `mindmg` = 5417, `maxdmg` = 7902, `DamageModifier` = 1.03 WHERE `entry` = 30821;
|
||||
UPDATE `creature_template` SET `mindmg` = 3162, `maxdmg` = 4399, `DamageModifier` = 1.03 WHERE `entry` = 26683;
|
||||
UPDATE `creature_template` SET `mindmg` = 5951, `maxdmg` = 8197, `DamageModifier` = 1.03 WHERE `entry` = 30772;
|
||||
UPDATE `creature_template` SET `mindmg` = 3158, `maxdmg` = 4385, `DamageModifier` = 1.03 WHERE `entry` = 26685;
|
||||
UPDATE `creature_template` SET `mindmg` = 5948, `maxdmg` = 8186, `DamageModifier` = 1.03 WHERE `entry` = 30790;
|
||||
UPDATE `creature_template` SET `mindmg` = 512, `maxdmg` = 686, `DamageModifier` = 1.03 WHERE `entry` = 27228;
|
||||
UPDATE `creature_template` SET `mindmg` = 648, `maxdmg` = 872, `DamageModifier` = 1.03 WHERE `entry` = 30779;
|
||||
UPDATE `creature_template` SET `mindmg` = 3125, `maxdmg` = 4362, `DamageModifier` = 1.03 WHERE `entry` = 26684;
|
||||
UPDATE `creature_template` SET `mindmg` = 5853, `maxdmg` = 8116, `DamageModifier` = 1.03 WHERE `entry` = 30803;
|
||||
UPDATE `creature_template` SET `mindmg` = 3162, `maxdmg` = 4352, `DamageModifier` = 1.03 WHERE `entry` = 26686;
|
||||
UPDATE `creature_template` SET `mindmg` = 5951, `maxdmg` = 8127, `DamageModifier` = 1.03 WHERE `entry` = 30770;
|
||||
UPDATE `creature_template` SET `mindmg` = 2826, `maxdmg` = 3947, `DamageModifier` = 1.03 WHERE `entry` = 26690;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7902, `DamageModifier` = 1.03 WHERE `entry` = 30822;
|
||||
UPDATE `creature_template` SET `mindmg` = 2794, `maxdmg` = 3915, `DamageModifier` = 1.03 WHERE `entry` = 26691;
|
||||
UPDATE `creature_template` SET `mindmg` = 5417, `maxdmg` = 7839, `DamageModifier` = 1.03 WHERE `entry` = 30823;
|
||||
UPDATE `creature_template` SET `mindmg` = 2826, `maxdmg` = 3947, `DamageModifier` = 1.03 WHERE `entry` = 26692;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7902, `DamageModifier` = 1.03 WHERE `entry` = 30819;
|
||||
UPDATE `creature_template` SET `mindmg` = 3162, `maxdmg` = 4399, `DamageModifier` = 1.03 WHERE `entry` = 26696;
|
||||
UPDATE `creature_template` SET `mindmg` = 5475, `maxdmg` = 7901, `DamageModifier` = 1.03 WHERE `entry` = 30816;
|
||||
UPDATE `creature_template` SET `mindmg` = 2502, `maxdmg` = 3614, `DamageModifier` = 1.03 WHERE `entry` = 28368;
|
||||
UPDATE `creature_template` SET `mindmg` = 4499, `maxdmg` = 6710, `DamageModifier` = 1.03 WHERE `entry` = 30820;
|
||||
UPDATE `creature_template` SET `mindmg` = 2514, `maxdmg` = 3638, `DamageModifier` = 1.03 WHERE `entry` = 26694;
|
||||
UPDATE `creature_template` SET `mindmg` = 4572, `maxdmg` = 6857, `DamageModifier` = 1.03 WHERE `entry` = 30817;
|
||||
|
||||
/* BOSS */
|
||||
UPDATE `creature_template` SET `mindmg` = 3648, `maxdmg` = 4992, `DamageModifier` = 1.01 WHERE `entry` = 26668;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30810;
|
||||
UPDATE `creature_template` SET `mindmg` = 3662, `maxdmg` = 4942, `DamageModifier` = 1.01 WHERE `entry` = 26687;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30774;
|
||||
UPDATE `creature_template` SET `mindmg` = 3768, `maxdmg` = 4942, `DamageModifier` = 1.01 WHERE `entry` = 26693;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30807;
|
||||
UPDATE `creature_template` SET `mindmg` = 3889, `maxdmg` = 4961, `DamageModifier` = 1.01 WHERE `entry` = 26861;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30788;
|
||||
|
||||
/* SMARTSCRIPTS */
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 26555;
|
||||
DELETE FROM `smart_scripts` WHERE (source_type = 0 AND entryorguid = 26555);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(26555, 0, 0, 0, 0, 0, 100, 0, 5000, 7000, 15000, 17000, 11, 48697, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Scourge Hulk - In Combat - Cast \'48697\''),
|
||||
(26555, 0, 1, 0, 0, 0, 100, 0, 10000, 10000, 20000, 20000, 11, 59228, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'Scourge Hulk - In Combat - Cast \'59228\'');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,75 @@
|
||||
-- DB update 2020_12_09_00 -> 2020_12_09_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_09_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_09_00 2020_12_09_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601826958284839000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601826958284839000');
|
||||
/*
|
||||
* Dungeon: The Oculus
|
||||
* Update by Knindza | <www.azerothcore.org>
|
||||
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
|
||||
*/
|
||||
|
||||
/* REGULAR */
|
||||
UPDATE `creature_template` SET `mindmg` = 615, `maxdmg` = 750, `DamageModifier` = 1.03 WHERE `entry` = 26736;
|
||||
UPDATE `creature_template` SET `mindmg` = 812, `maxdmg` = 1015, `DamageModifier` = 1.03 WHERE `entry` = 30902;
|
||||
UPDATE `creature_template` SET `mindmg` = 3027, `maxdmg` = 4229, `DamageModifier` = 1.03 WHERE `entry` = 26633;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7905, `DamageModifier` = 1.03 WHERE `entry` = 30901;
|
||||
UPDATE `creature_template` SET `mindmg` = 2993, `maxdmg` = 4195, `DamageModifier` = 1.03 WHERE `entry` = 26716;
|
||||
UPDATE `creature_template` SET `mindmg` = 5417, `maxdmg` = 7839, `DamageModifier` = 1.03 WHERE `entry` = 30904;
|
||||
UPDATE `creature_template` SET `mindmg` = 2992, `maxdmg` = 4194, `DamageModifier` = 1.03 WHERE `entry` = 27638;
|
||||
UPDATE `creature_template` SET `mindmg` = 5415, `maxdmg` = 7841, `DamageModifier` = 1.03 WHERE `entry` = 30903;
|
||||
UPDATE `creature_template` SET `mindmg` = 2987, `maxdmg` = 4192, `DamageModifier` = 1.03 WHERE `entry` = 27639;
|
||||
UPDATE `creature_template` SET `mindmg` = 5414, `maxdmg` = 7776, `DamageModifier` = 1.03 WHERE `entry` = 30916;
|
||||
UPDATE `creature_template` SET `mindmg` = 2995, `maxdmg` = 4187, `DamageModifier` = 1.03 WHERE `entry` = 27640;
|
||||
UPDATE `creature_template` SET `mindmg` = 5419, `maxdmg` = 7841, `DamageModifier` = 1.03 WHERE `entry` = 30915;
|
||||
UPDATE `creature_template` SET `mindmg` = 3027, `maxdmg` = 4229, `DamageModifier` = 1.03 WHERE `entry` = 27641;
|
||||
UPDATE `creature_template` SET `mindmg` = 5481, `maxdmg` = 7905, `DamageModifier` = 1.03 WHERE `entry` = 30905;
|
||||
UPDATE `creature_template` SET `mindmg` = 3027, `maxdmg` = 4227, `DamageModifier` = 1.03 WHERE `entry` = 27651;
|
||||
UPDATE `creature_template` SET `mindmg` = 5476, `maxdmg` = 7902, `DamageModifier` = 1.03 WHERE `entry` = 30908;
|
||||
UPDATE `creature_template` SET `mindmg` = 2993, `maxdmg` = 4195, `DamageModifier` = 1.03 WHERE `entry` = 27653;
|
||||
UPDATE `creature_template` SET `mindmg` = 5641, `maxdmg` = 7839, `DamageModifier` = 1.03 WHERE `entry` = 30913;
|
||||
UPDATE `creature_template` SET `mindmg` = 3027, `maxdmg` = 4218, `DamageModifier` = 1.03 WHERE `entry` = 27650;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7624, `DamageModifier` = 1.03 WHERE `entry` = 30906;
|
||||
UPDATE `creature_template` SET `mindmg` = 3025, `maxdmg` = 4225, `DamageModifier` = 1.03 WHERE `entry` = 27649;
|
||||
UPDATE `creature_template` SET `mindmg` = 5476, `maxdmg` = 7621, `DamageModifier` = 1.03 WHERE `entry` = 30910;
|
||||
UPDATE `creature_template` SET `mindmg` = 3022, `maxdmg` = 4218, `DamageModifier` = 1.03 WHERE `entry` = 27648;
|
||||
UPDATE `creature_template` SET `mindmg` = 5481, `maxdmg` = 7623, `DamageModifier` = 1.03 WHERE `entry` = 30911;
|
||||
UPDATE `creature_template` SET `mindmg` = 2993, `maxdmg` = 4195, `DamageModifier` = 1.03 WHERE `entry` = 27647;
|
||||
UPDATE `creature_template` SET `mindmg` = 5417, `maxdmg` = 7839, `DamageModifier` = 1.03 WHERE `entry` = 30912;
|
||||
UPDATE `creature_template` SET `mindmg` = 2992, `maxdmg` = 4192, `DamageModifier` = 1.03 WHERE `entry` = 27645;
|
||||
UPDATE `creature_template` SET `mindmg` = 5416, `maxdmg` = 7832, `DamageModifier` = 1.03 WHERE `entry` = 30907;
|
||||
UPDATE `creature_template` SET `mindmg` = 3024, `maxdmg` = 4221, `DamageModifier` = 1.03 WHERE `entry` = 27644;
|
||||
UPDATE `creature_template` SET `mindmg` = 5481, `maxdmg` = 7903, `DamageModifier` = 1.03 WHERE `entry` = 30914;
|
||||
UPDATE `creature_template` SET `mindmg` = 3031, `maxdmg` = 4232, `DamageModifier` = 1.03 WHERE `entry` = 27642;
|
||||
UPDATE `creature_template` SET `mindmg` = 5484, `maxdmg` = 7624, `DamageModifier` = 1.03 WHERE `entry` = 30909;
|
||||
|
||||
/* BOSS */
|
||||
UPDATE `creature_template` SET `mindmg` = 3862, `maxdmg` = 4630, `DamageModifier` = 1.01 WHERE `entry` = 27654;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 31558;
|
||||
UPDATE `creature_template` SET `mindmg` = 3793, `maxdmg` = 4680, `DamageModifier` = 1.01 WHERE `entry` = 27447;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 31559;
|
||||
UPDATE `creature_template` SET `mindmg` = 3753, `maxdmg` = 4689, `DamageModifier` = 1.01 WHERE `entry` = 27655;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 31560;
|
||||
UPDATE `creature_template` SET `mindmg` = 3894, `maxdmg` = 4869, `DamageModifier` = 1.01 WHERE `entry` = 27656;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 31561;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,77 @@
|
||||
-- DB update 2020_12_09_01 -> 2020_12_10_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_09_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_09_01 2020_12_10_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601827068773284000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601827068773284000');
|
||||
/*
|
||||
* Dungeon: Utgarde Keep
|
||||
* Update by Knindza | <www.azerothcore.org>
|
||||
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
|
||||
*/
|
||||
|
||||
/* REGULAR */
|
||||
UPDATE `creature_template` SET `mindmg` = 2176, `maxdmg` = 3101, `DamageModifier` = 1.03 WHERE `entry` = 23961;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7905, `DamageModifier` = 1.03 WHERE `entry` = 30747;
|
||||
UPDATE `creature_template` SET `mindmg` = 2175, `maxdmg` = 3103, `DamageModifier` = 1.03 WHERE `entry` = 24080;
|
||||
UPDATE `creature_template` SET `mindmg` = 5481, `maxdmg` = 7903, `DamageModifier` = 1.03 WHERE `entry` = 31667;
|
||||
UPDATE `creature_template` SET `mindmg` = 2174, `maxdmg` = 3101, `DamageModifier` = 1.03 WHERE `entry` = 24078;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7904, `DamageModifier` = 1.03 WHERE `entry` = 31661;
|
||||
UPDATE `creature_template` SET `mindmg` = 2176, `maxdmg` = 3103, `DamageModifier` = 1.03 WHERE `entry` = 24079;
|
||||
UPDATE `creature_template` SET `mindmg` = 5481, `maxdmg` = 7904, `DamageModifier` = 1.03 WHERE `entry` = 31659;
|
||||
UPDATE `creature_template` SET `mindmg` = 2155, `maxdmg` = 3079, `DamageModifier` = 1.03 WHERE `entry` = 24082;
|
||||
UPDATE `creature_template` SET `mindmg` = 5417, `maxdmg` = 7839, `DamageModifier` = 1.03 WHERE `entry` = 31675;
|
||||
UPDATE `creature_template` SET `mindmg` = 2182, `maxdmg` = 3107, `DamageModifier` = 1.03 WHERE `entry` = 24083;
|
||||
UPDATE `creature_template` SET `mindmg` = 5482, `maxdmg` = 7905, `DamageModifier` = 1.03 WHERE `entry` = 31669;
|
||||
UPDATE `creature_template` SET `mindmg` = 2176, `maxdmg` = 3101, `DamageModifier` = 1.03 WHERE `entry` = 23956;
|
||||
UPDATE `creature_template` SET `mindmg` = 5481, `maxdmg` = 7902, `DamageModifier` = 1.03 WHERE `entry` = 31666;
|
||||
UPDATE `creature_template` SET `mindmg` = 2155, `maxdmg` = 3079, `DamageModifier` = 1.03 WHERE `entry` = 23960;
|
||||
UPDATE `creature_template` SET `mindmg` = 5412, `maxdmg` = 7832, `DamageModifier` = 1.03 WHERE `entry` = 31663;
|
||||
UPDATE `creature_template` SET `mindmg` = 518, `maxdmg` = 725, `DamageModifier` = 1.03 WHERE `entry` = 23970;
|
||||
UPDATE `creature_template` SET `mindmg` = 812, `maxdmg` = 989, `DamageModifier` = 1.03 WHERE `entry` = 31635;
|
||||
UPDATE `creature_template` SET `mindmg` = 542, `maxdmg` = 675, `DamageModifier` = 1.03 WHERE `entry` = 28419;
|
||||
UPDATE `creature_template` SET `mindmg` = 759, `maxdmg` = 892, `DamageModifier` = 1.03 WHERE `entry` = 31671;
|
||||
UPDATE `creature_template` SET `mindmg` = 533, `maxdmg` = 692, `DamageModifier` = 1.03 WHERE `entry` = 24084;
|
||||
UPDATE `creature_template` SET `mindmg` = 747, `maxdmg` = 886, `DamageModifier` = 1.03 WHERE `entry` = 31681;
|
||||
UPDATE `creature_template` SET `mindmg` = 2176, `maxdmg` = 3101, `DamageModifier` = 1.03 WHERE `entry` = 24085;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7905, `DamageModifier` = 1.03 WHERE `entry` = 31662;
|
||||
UPDATE `creature_template` SET `mindmg` = 512, `maxdmg` = 723, `DamageModifier` = 1.03 WHERE `entry` = 29735;
|
||||
UPDATE `creature_template` SET `mindmg` = 798, `maxdmg` = 962, `DamageModifier` = 1.03 WHERE `entry` = 31678;
|
||||
UPDATE `creature_template` SET `mindmg` = 2176, `maxdmg` = 3101, `DamageModifier` = 1.03 WHERE `entry` = 24071;
|
||||
UPDATE `creature_template` SET `mindmg` = 4216, `maxdmg` = 6081, `DamageModifier` = 1.03 WHERE `entry` = 31660;
|
||||
UPDATE `creature_template` SET `mindmg` = 2182, `maxdmg` = 3105, `DamageModifier` = 1.03 WHERE `entry` = 24069;
|
||||
UPDATE `creature_template` SET `mindmg` = 5482, `maxdmg` = 7904, `DamageModifier` = 1.03 WHERE `entry` = 31658;
|
||||
UPDATE `creature_template` SET `mindmg` = 1862, `maxdmg` = 2798, `DamageModifier` = 1.03 WHERE `entry` = 28410;
|
||||
UPDATE `creature_template` SET `mindmg` = 4989, `maxdmg` = 6710, `DamageModifier` = 1.03 WHERE `entry` = 31665;
|
||||
UPDATE `creature_template` SET `mindmg` = 2176, `maxdmg` = 3106, `DamageModifier` = 1.03 WHERE `entry` = 24849;
|
||||
UPDATE `creature_template` SET `mindmg` = 5482, `maxdmg` = 7907, `DamageModifier` = 1.03 WHERE `entry` = 31676;
|
||||
|
||||
/* BOSS */
|
||||
UPDATE `creature_template` SET `mindmg` = 2884, `maxdmg` = 3767, `DamageModifier` = 1.01 WHERE `entry` = 23953;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30748;
|
||||
UPDATE `creature_template` SET `mindmg` = 2508, `maxdmg` = 3693, `DamageModifier` = 1.01 WHERE `entry` = 24200;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 31679;
|
||||
UPDATE `creature_template` SET `mindmg` = 2585, `maxdmg` = 3498, `DamageModifier` = 1.01 WHERE `entry` = 24201;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 31656;
|
||||
UPDATE `creature_template` SET `mindmg` = 2489, `maxdmg` = 3593, `DamageModifier` = 1.01 WHERE `entry` = 23954;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 31673;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,165 @@
|
||||
-- DB update 2020_12_10_00 -> 2020_12_10_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_10_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_10_00 2020_12_10_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1602173033401388800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1602173033401388800');
|
||||
/*
|
||||
* Raid: Ulduar
|
||||
* Update by Knindza | <www.azerothcore.org>
|
||||
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
|
||||
*/
|
||||
|
||||
/* FLAME LEVIATHAN SPAWNS */
|
||||
UPDATE `creature_template` SET `mindmg` = 3480, `maxdmg` = 4530, `DamageModifier` = 1.01 WHERE `entry` = 33387;
|
||||
UPDATE `creature_template` SET `mindmg` = 6960, `maxdmg` = 9060, `DamageModifier` = 1.01 WHERE `entry` = 34277;
|
||||
|
||||
/* FURNACE MASTER CONSTRUCTS */
|
||||
UPDATE `creature_template` SET `mindmg` = 9821, `maxdmg` = 13391, `DamageModifier` = 1.01 WHERE `entry` = 32933;
|
||||
UPDATE `creature_template` SET `mindmg` = 19642, `maxdmg` = 26782, `DamageModifier` = 1.01 WHERE `entry` = 33910;
|
||||
|
||||
/* RAZORSCALE RUNE SUMMONS */
|
||||
UPDATE `creature_template` SET `mindmg` = 6800, `maxdmg` = 9248, `DamageModifier` = 1.01 WHERE `entry` = 33453;
|
||||
UPDATE `creature_template` SET `mindmg` = 13600, `maxdmg` = 18496, `DamageModifier` = 1.01 WHERE `entry` = 33851;
|
||||
UPDATE `creature_template` SET `mindmg` = 11310, `maxdmg` = 15420, `DamageModifier` = 1.01 WHERE `entry` = 33846;
|
||||
UPDATE `creature_template` SET `mindmg` = 22620, `maxdmg` = 30840, `DamageModifier` = 1.01 WHERE `entry` = 33852;
|
||||
UPDATE `creature_template` SET `mindmg` = 8105, `maxdmg` = 11430, `DamageModifier` = 1.01 WHERE `entry` = 33388;
|
||||
UPDATE `creature_template` SET `mindmg` = 16210, `maxdmg` = 22860, `DamageModifier` = 1.01 WHERE `entry` = 33850;
|
||||
|
||||
/* XT-002 DECONSTRUCTOR HEART PHASE */
|
||||
UPDATE `creature_template` SET `mindmg` = 11907, `maxdmg` = 16233, `DamageModifier` = 1.01 WHERE `entry` = 33344;
|
||||
UPDATE `creature_template` SET `mindmg` = 23814, `maxdmg` = 32466, `DamageModifier` = 1.01 WHERE `entry` = 33888;
|
||||
UPDATE `creature_template` SET `mindmg` = 2930, `maxdmg` = 5870, `DamageModifier` = 1.01 WHERE `entry` = 33343;
|
||||
UPDATE `creature_template` SET `mindmg` = 5860, `maxdmg` = 11740, `DamageModifier` = 1.01 WHERE `entry` = 33887;
|
||||
UPDATE `creature_template` SET `mindmg` = 10712, `maxdmg` = 14754, `DamageModifier` = 1.01 WHERE `entry` = 33346;
|
||||
UPDATE `creature_template` SET `mindmg` = 21424, `maxdmg` = 29508, `DamageModifier` = 1.01 WHERE `entry` = 33886;
|
||||
|
||||
/* KOLOGARN ARMS */
|
||||
UPDATE `creature_template` SET `mindmg` = 17815, `maxdmg` = 23905, `DamageModifier` = 1.01 WHERE `entry` = 32933;
|
||||
UPDATE `creature_template` SET `mindmg` = 35630, `maxdmg` = 47810, `DamageModifier` = 1.01 WHERE `entry` = 33910;
|
||||
UPDATE `creature_template` SET `mindmg` = 17815, `maxdmg` = 23905, `DamageModifier` = 1.01 WHERE `entry` = 32934;
|
||||
UPDATE `creature_template` SET `mindmg` = 35630, `maxdmg` = 47810, `DamageModifier` = 1.01 WHERE `entry` = 33911;
|
||||
UPDATE `creature_template` SET `mindmg` = 3480, `maxdmg` = 4530, `DamageModifier` = 1.01 WHERE `entry` = 33768;
|
||||
UPDATE `creature_template` SET `mindmg` = 6960, `maxdmg` = 9060, `DamageModifier` = 1.01 WHERE `entry` = 33908;
|
||||
|
||||
/* AURIAYA FERAL DEFENDERS */
|
||||
UPDATE `creature_template` SET `mindmg` = 17815, `maxdmg` = 23905, `DamageModifier` = 1.01 WHERE `entry` = 32933;
|
||||
UPDATE `creature_template` SET `mindmg` = 35630, `maxdmg` = 47810, `DamageModifier` = 1.01 WHERE `entry` = 33910;
|
||||
UPDATE `creature_template` SET `mindmg` = 4450, `maxdmg` = 5980, `DamageModifier` = 1.01 WHERE `entry` = 32934;
|
||||
UPDATE `creature_template` SET `mindmg` = 8900, `maxdmg` = 11960, `DamageModifier` = 1.01 WHERE `entry` = 33911;
|
||||
|
||||
/* FREYA ELEMENTAL ALLIES */
|
||||
UPDATE `creature_template` SET `mindmg` = 3480, `maxdmg` = 4530, `DamageModifier` = 1.01 WHERE `entry` = 32918;
|
||||
UPDATE `creature_template` SET `mindmg` = 6960, `maxdmg` = 9060, `DamageModifier` = 1.01 WHERE `entry` = 33399;
|
||||
UPDATE `creature_template` SET `mindmg` = 8105, `maxdmg` = 11430, `DamageModifier` = 1.01 WHERE `entry` = 33202;
|
||||
UPDATE `creature_template` SET `mindmg` = 16210, `maxdmg` = 22860, `DamageModifier` = 1.01 WHERE `entry` = 33398;
|
||||
UPDATE `creature_template` SET `mindmg` = 11310, `maxdmg` = 15420, `DamageModifier` = 1.01 WHERE `entry` = 32919;
|
||||
UPDATE `creature_template` SET `mindmg` = 22620, `maxdmg` = 30840, `DamageModifier` = 1.01 WHERE `entry` = 33401;
|
||||
UPDATE `creature_template` SET `mindmg` = 4450, `maxdmg` = 5980, `DamageModifier` = 1.01 WHERE `entry` = 32916;
|
||||
UPDATE `creature_template` SET `mindmg` = 8900, `maxdmg` = 11960, `DamageModifier` = 1.01 WHERE `entry` = 33400;
|
||||
UPDATE `creature_template` SET `mindmg` = 17815, `maxdmg` = 23905, `DamageModifier` = 1.01 WHERE `entry` = 33203;
|
||||
UPDATE `creature_template` SET `mindmg` = 35630, `maxdmg` = 47810, `DamageModifier` = 1.01 WHERE `entry` = 33376;
|
||||
|
||||
/* FREYA ELDERS */
|
||||
UPDATE `creature_template` SET `mindmg` = 18815, `maxdmg` = 24905, `DamageModifier` = 1.01 WHERE `entry` = 32913;
|
||||
UPDATE `creature_template` SET `mindmg` = 37630, `maxdmg` = 49810, `DamageModifier` = 1.01 WHERE `entry` = 33392;
|
||||
UPDATE `creature_template` SET `mindmg` = 18815, `maxdmg` = 24905, `DamageModifier` = 1.01 WHERE `entry` = 32914;
|
||||
UPDATE `creature_template` SET `mindmg` = 37630, `maxdmg` = 49810, `DamageModifier` = 1.01 WHERE `entry` = 33393;
|
||||
UPDATE `creature_template` SET `mindmg` = 18815, `maxdmg` = 24905, `DamageModifier` = 1.01 WHERE `entry` = 32915;
|
||||
UPDATE `creature_template` SET `mindmg` = 37630, `maxdmg` = 49810, `DamageModifier` = 1.01 WHERE `entry` = 33391;
|
||||
|
||||
/* THORIM PREPHASE */
|
||||
UPDATE `creature_template` SET `mindmg` = 17815, `maxdmg` = 23905, `DamageModifier` = 1.01 WHERE `entry` = 32882;
|
||||
UPDATE `creature_template` SET `mindmg` = 35630, `maxdmg` = 47810, `DamageModifier` = 1.01 WHERE `entry` = 33154;
|
||||
|
||||
/* THORIM TUNNEL PHASE */
|
||||
UPDATE `creature_template` SET `mindmg` = 17815, `maxdmg` = 23905, `DamageModifier` = 1.01 WHERE `entry` = 32873;
|
||||
UPDATE `creature_template` SET `mindmg` = 35630, `maxdmg` = 47810, `DamageModifier` = 1.01 WHERE `entry` = 33148;
|
||||
UPDATE `creature_template` SET `mindmg` = 3480, `maxdmg` = 4530, `DamageModifier` = 1.01 WHERE `entry` = 33110;
|
||||
UPDATE `creature_template` SET `mindmg` = 6960, `maxdmg` = 9060, `DamageModifier` = 1.01 WHERE `entry` = 33161;
|
||||
UPDATE `creature_template` SET `mindmg` = 11310, `maxdmg` = 15420, `DamageModifier` = 1.01 WHERE `entry` = 32876;
|
||||
UPDATE `creature_template` SET `mindmg` = 22620, `maxdmg` = 30840, `DamageModifier` = 1.01 WHERE `entry` = 33158;
|
||||
UPDATE `creature_template` SET `mindmg` = 8105, `maxdmg` = 11430, `DamageModifier` = 1.01 WHERE `entry` = 32904;
|
||||
UPDATE `creature_template` SET `mindmg` = 16210, `maxdmg` = 22860, `DamageModifier` = 1.01 WHERE `entry` = 33157;
|
||||
UPDATE `creature_template` SET `mindmg` = 4450, `maxdmg` = 5980, `DamageModifier` = 1.01 WHERE `entry` = 32878;
|
||||
UPDATE `creature_template` SET `mindmg` = 8900, `maxdmg` = 11960, `DamageModifier` = 1.01 WHERE `entry` = 33156;
|
||||
UPDATE `creature_template` SET `mindmg` = 11310, `maxdmg` = 15420, `DamageModifier` = 1.01 WHERE `entry` = 32877;
|
||||
UPDATE `creature_template` SET `mindmg` = 22620, `maxdmg` = 30840, `DamageModifier` = 1.01 WHERE `entry` = 33155;
|
||||
UPDATE `creature_template` SET `mindmg` = 11907, `maxdmg` = 16233, `DamageModifier` = 1.01 WHERE `entry` = 32874;
|
||||
UPDATE `creature_template` SET `mindmg` = 23814, `maxdmg` = 32466, `DamageModifier` = 1.01 WHERE `entry` = 33162;
|
||||
UPDATE `creature_template` SET `mindmg` = 12358, `maxdmg` = 17454, `DamageModifier` = 1.01 WHERE `entry` = 33125;
|
||||
UPDATE `creature_template` SET `mindmg` = 24716, `maxdmg` = 34908, `DamageModifier` = 1.01 WHERE `entry` = 33164;
|
||||
UPDATE `creature_template` SET `mindmg` = 17815, `maxdmg` = 23905, `DamageModifier` = 1.01 WHERE `entry` = 32872;
|
||||
UPDATE `creature_template` SET `mindmg` = 35630, `maxdmg` = 47810, `DamageModifier` = 1.01 WHERE `entry` = 33149;
|
||||
|
||||
/* ALGALON DARK MATTER SUMMON */
|
||||
UPDATE `creature_template` SET `mindmg` = 5400, `maxdmg` = 7200, `DamageModifier` = 1.01 WHERE `entry` = 33089;
|
||||
UPDATE `creature_template` SET `mindmg` = 10800, `maxdmg` = 14400, `DamageModifier` = 1.01 WHERE `entry` = 34221;
|
||||
|
||||
/* BOSS - Some difference in basic melee attacks due Mechanics and or Hard Mode. */
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 33113;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69400, `DamageModifier` = 1.01 WHERE `entry` = 34003;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 33118;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69400, `DamageModifier` = 1.01 WHERE `entry` = 33190;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 33186;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 33724;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 33293;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 33885;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 32930;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 33909;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 33515;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 34175;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 32845;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 32846;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 33271;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 33449;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 33288;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 33955;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 32871;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 33070;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 32857;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 33694;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 32927;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 33692;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34700, `DamageModifier` = 1.01 WHERE `entry` = 32867;
|
||||
UPDATE `creature_template` SET `mindmg` = 50900, `maxdmg` = 69700, `DamageModifier` = 1.01 WHERE `entry` = 33693;
|
||||
|
||||
/* Thorim - Hes basic melee is lowered by 50% due staccking increase of damage and attack speed.*/
|
||||
UPDATE `creature_template` SET `mindmg` = 12725, `maxdmg` = 17350, `DamageModifier` = 1.01 WHERE `entry` = 32865;
|
||||
UPDATE `creature_template` SET `mindmg` = 25450, `maxdmg` = 34850, `DamageModifier` = 1.01 WHERE `entry` = 33147;
|
||||
|
||||
/* FREYA - Due Hard Mode and flat increase of 75% Psy. damage, her basic is lowered by 30%. */
|
||||
UPDATE `creature_template` SET `mindmg` = 17815, `maxdmg` = 23905, `DamageModifier` = 1.01 WHERE `entry` = 32906;
|
||||
UPDATE `creature_template` SET `mindmg` = 35630, `maxdmg` = 47810, `DamageModifier` = 1.01 WHERE `entry` = 33360;
|
||||
|
||||
/* MIMIRON LEVIATHAN TANK - Basic melee damage is lowered by 20%. */
|
||||
UPDATE `creature_template` SET `mindmg` = 20360, `maxdmg` = 27760, `DamageModifier` = 1.01 WHERE `entry` = 33432;
|
||||
UPDATE `creature_template` SET `mindmg` = 40720, `maxdmg` = 55760, `DamageModifier` = 1.01 WHERE `entry` = 34106;
|
||||
|
||||
/* MIMIRON ASSAULT CANNON */
|
||||
UPDATE `creature_template` SET `mindmg` = 12725, `maxdmg` = 17350, `DamageModifier` = 1.01 WHERE `entry` = 33651;
|
||||
UPDATE `creature_template` SET `mindmg` = 24450, `maxdmg` = 34850, `DamageModifier` = 1.01 WHERE `entry` = 34108;
|
||||
|
||||
/* MIMIRON COMMAND UNIT */
|
||||
UPDATE `creature_template` SET `mindmg` = 12725, `maxdmg` = 17350, `DamageModifier` = 1.01 WHERE `entry` = 33670;
|
||||
UPDATE `creature_template` SET `mindmg` = 24450, `maxdmg` = 34850, `DamageModifier` = 1.01 WHERE `entry` = 34109;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,141 @@
|
||||
-- DB update 2020_12_10_01 -> 2020_12_10_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_10_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_10_01 2020_12_10_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1602336256005673600'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1602336256005673600');
|
||||
/*
|
||||
* General: Dungeons update
|
||||
* Update by Knindza | <www.azerothcore.org>
|
||||
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
|
||||
*/
|
||||
|
||||
/* BOSS */
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.84 WHERE `entry` = 7079;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.60 WHERE `entry` = 5775;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.38 WHERE `entry` = 644;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.13 WHERE `entry` = 642;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.12 WHERE `entry` = 643;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.17 WHERE `entry` = 3886;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.29 WHERE `entry` = 4275;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.20 WHERE `entry` = 4829;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.30 WHERE `entry` = 7228;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.49 WHERE `entry` = 7797;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.61 WHERE `entry` = 7274;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.77 WHERE `entry` = 8127;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.44 WHERE `entry` = 13282;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.16 WHERE `entry` = 12225;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.10 WHERE `entry` = 12236;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.20 WHERE `entry` = 12201;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.41 WHERE `entry` = 12203;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.90 WHERE `entry` = 13596;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.27 WHERE `entry` = 13601;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.97 WHERE `entry` = 8580;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.63 WHERE `entry` = 9196;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.54 WHERE `entry` = 9237;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.63 WHERE `entry` = 9568;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.58 WHERE `entry` = 10584;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.19 WHERE `entry` = 9816;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.26 WHERE `entry` = 10264;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.19 WHERE `entry` = 10339;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 2.05 WHERE `entry` = 10363;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.64 WHERE `entry` = 10429;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 2.09 WHERE `entry` = 10430;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.65 WHERE `entry` = 10509;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.31 WHERE `entry` = 10899;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.89 WHERE `entry` = 10506;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.50 WHERE `entry` = 11261;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.10 WHERE `entry` = 11622;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 2.14 WHERE `entry` = 10435;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.92 WHERE `entry` = 10436;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 2.12 WHERE `entry` = 10437;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.34 WHERE `entry` = 10438;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.20 WHERE `entry` = 10439;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.95 WHERE `entry` = 10440;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.14 WHERE `entry` = 10558;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.73 WHERE `entry` = 10808;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.43 WHERE `entry` = 10809;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.78 WHERE `entry` = 10811;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.77 WHERE `entry` = 10813;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.86 WHERE `entry` = 10997;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.65 WHERE `entry` = 11032;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.15 WHERE `entry` = 11490;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.28 WHERE `entry` = 11467;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.40 WHERE `entry` = 11486;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.21 WHERE `entry` = 11487;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.43 WHERE `entry` = 11489;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.57 WHERE `entry` = 11496;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.64 WHERE `entry` = 14506;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.26 WHERE `entry` = 14321;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.35 WHERE `entry` = 14322;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.19 WHERE `entry` = 14323;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.40 WHERE `entry` = 14325;
|
||||
UPDATE `creature_template` SET `DamageModifier` = 1.24 WHERE `entry` = 14326;
|
||||
UPDATE `creature_template` SET `mindmg` = 755, `maxdmg` = 996, `DamageModifier` = 1.02 WHERE `entry` = 16097;
|
||||
UPDATE `creature_template` SET `mindmg` = 878, `maxdmg` = 1163, `DamageModifier` = 1.01 WHERE `entry` = 11143;
|
||||
UPDATE `creature_template` SET `mindmg` = 503, `maxdmg` = 666, `DamageModifier` = 1.01 WHERE `entry` = 16101;
|
||||
UPDATE `creature_template` SET `mindmg` = 503, `maxdmg` = 666, `DamageModifier` = 1.01 WHERE `entry` = 16102;
|
||||
UPDATE `creature_template` SET `mindmg` = 4572, `maxdmg` = 5646, `DamageModifier` = 1.04 WHERE `entry` = 16387;
|
||||
UPDATE `creature_template` SET `mindmg` = 448, `maxdmg` = 603, `DamageModifier` = 1.01 WHERE `entry` = 11121;
|
||||
UPDATE `creature_template` SET `mindmg` = 624, `maxdmg` = 827, `DamageModifier` = 1.01 WHERE `entry` = 11120;
|
||||
UPDATE `creature_template` SET `mindmg` = 899, `maxdmg` = 1193, `DamageModifier` = 1.01 WHERE `entry` = 11058;
|
||||
UPDATE `creature_template` SET `mindmg` = 387, `maxdmg` = 511, `DamageModifier` = 1.01 WHERE `entry` = 10393;
|
||||
UPDATE `creature_template` SET `mindmg` = 903, `maxdmg` = 1075, `DamageModifier` = 1.03 WHERE `entry` = 14516;
|
||||
UPDATE `creature_template` SET `mindmg` = 813, `maxdmg` = 987, `DamageModifier` = 1.03 WHERE `entry` = 16118;
|
||||
UPDATE `creature_template` SET `mindmg` = 1329, `maxdmg` = 1759, `DamageModifier` = 1.01 WHERE `entry` = 16042;
|
||||
UPDATE `creature_template` SET `mindmg` = 575, `maxdmg` = 763, `DamageModifier` = 1.01 WHERE `entry` = 8923;
|
||||
UPDATE `creature_template` SET `mindmg` = 394, `maxdmg` = 522, `DamageModifier` = 1.01 WHERE `entry` = 8929;
|
||||
UPDATE `creature_template` SET `mindmg` = 547, `maxdmg` = 725, `DamageModifier` = 1.01 WHERE `entry` = 8983;
|
||||
UPDATE `creature_template` SET `mindmg` = 636, `maxdmg` = 844, `DamageModifier` = 1.01 WHERE `entry` = 9016;
|
||||
UPDATE `creature_template` SET `mindmg` = 450, `maxdmg` = 597, `DamageModifier` = 1.01 WHERE `entry` = 9017;
|
||||
UPDATE `creature_template` SET `mindmg` = 271, `maxdmg` = 359, `DamageModifier` = 1.01 WHERE `entry` = 9018;
|
||||
UPDATE `creature_template` SET `mindmg` = 695, `maxdmg` = 922, `DamageModifier` = 1.01 WHERE `entry` = 9019;
|
||||
UPDATE `creature_template` SET `mindmg` = 266, `maxdmg` = 352, `DamageModifier` = 1.03 WHERE `entry` = 9024;
|
||||
UPDATE `creature_template` SET `mindmg` = 311, `maxdmg` = 412, `DamageModifier` = 1.03 WHERE `entry` = 9025;
|
||||
UPDATE `creature_template` SET `mindmg` = 257, `maxdmg` = 340, `DamageModifier` = 1.01 WHERE `entry` = 9026;
|
||||
UPDATE `creature_template` SET `mindmg` = 477, `maxdmg` = 633, `DamageModifier` = 1.01 WHERE `entry` = 9027;
|
||||
UPDATE `creature_template` SET `mindmg` = 530, `maxdmg` = 703, `DamageModifier` = 1.01 WHERE `entry` = 9028;
|
||||
UPDATE `creature_template` SET `mindmg` = 401, `maxdmg` = 531, `DamageModifier` = 1.01 WHERE `entry` = 9029;
|
||||
UPDATE `creature_template` SET `mindmg` = 349, `maxdmg` = 463, `DamageModifier` = 1.01 WHERE `entry` = 9030;
|
||||
UPDATE `creature_template` SET `mindmg` = 444, `maxdmg` = 588, `DamageModifier` = 1.01 WHERE `entry` = 9031;
|
||||
UPDATE `creature_template` SET `mindmg` = 583, `maxdmg` = 774, `DamageModifier` = 1.01 WHERE `entry` = 9032;
|
||||
UPDATE `creature_template` SET `mindmg` = 550, `maxdmg` = 730, `DamageModifier` = 1.01 WHERE `entry` = 9033;
|
||||
UPDATE `creature_template` SET `mindmg` = 350, `maxdmg` = 464, `DamageModifier` = 1.01 WHERE `entry` = 9034;
|
||||
UPDATE `creature_template` SET `mindmg` = 376, `maxdmg` = 499, `DamageModifier` = 1.01 WHERE `entry` = 9035;
|
||||
UPDATE `creature_template` SET `mindmg` = 321, `maxdmg` = 425, `DamageModifier` = 1.01 WHERE `entry` = 9036;
|
||||
UPDATE `creature_template` SET `mindmg` = 537, `maxdmg` = 712, `DamageModifier` = 1.01 WHERE `entry` = 9037;
|
||||
UPDATE `creature_template` SET `mindmg` = 321, `maxdmg` = 425, `DamageModifier` = 1.01 WHERE `entry` = 9038;
|
||||
UPDATE `creature_template` SET `mindmg` = 330, `maxdmg` = 437, `DamageModifier` = 1.01 WHERE `entry` = 9039;
|
||||
UPDATE `creature_template` SET `mindmg` = 384, `maxdmg` = 509, `DamageModifier` = 1.01 WHERE `entry` = 9040;
|
||||
UPDATE `creature_template` SET `mindmg` = 300, `maxdmg` = 397, `DamageModifier` = 1.03 WHERE `entry` = 9041;
|
||||
UPDATE `creature_template` SET `mindmg` = 405, `maxdmg` = 538, `DamageModifier` = 1.03 WHERE `entry` = 9042;
|
||||
UPDATE `creature_template` SET `mindmg` = 638, `maxdmg` = 788, `DamageModifier` = 1.01 WHERE `entry` = 9056;
|
||||
UPDATE `creature_template` SET `mindmg` = 470, `maxdmg` = 624, `DamageModifier` = 1.01 WHERE `entry` = 9156;
|
||||
UPDATE `creature_template` SET `mindmg` = 327, `maxdmg` = 434, `DamageModifier` = 1.01 WHERE `entry` = 9319;
|
||||
UPDATE `creature_template` SET `mindmg` = 331, `maxdmg` = 381, `DamageModifier` = 1.01 WHERE `entry` = 9499;
|
||||
UPDATE `creature_template` SET `mindmg` = 658, `maxdmg` = 873, `DamageModifier` = 1.01 WHERE `entry` = 9502;
|
||||
UPDATE `creature_template` SET `mindmg` = 705, `maxdmg` = 935, `DamageModifier` = 1.01 WHERE `entry` = 9537;
|
||||
UPDATE `creature_template` SET `mindmg` = 297, `maxdmg` = 394, `DamageModifier` = 1.01 WHERE `entry` = 9543;
|
||||
UPDATE `creature_template` SET `mindmg` = 806, `maxdmg` = 1068, `DamageModifier` = 1.01 WHERE `entry` = 9938;
|
||||
UPDATE `creature_template` SET `mindmg` = 403, `maxdmg` = 514, `DamageModifier` = 1.01 WHERE `entry` = 16059;
|
||||
UPDATE `creature_template` SET `mindmg` = 482, `maxdmg` = 657, `DamageModifier` = 1.63 WHERE `entry` = 16080;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2020_12_10_02 -> 2020_12_10_03
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_10_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_10_02 2020_12_10_03 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606576830800366000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606576830800366000');
|
||||
|
||||
UPDATE `creature_loot_template` SET `Chance` = 100 WHERE `Entry` = 22275 AND `Item` = 32697;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,72 @@
|
||||
-- DB update 2020_12_10_03 -> 2020_12_10_04
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_10_03';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_10_03 2020_12_10_04 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606604290694357400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606604290694357400');
|
||||
|
||||
-- Update position, facing and ready emote for Lightning Charged Iron Dwarf (10 & 25 Ulduar)
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 34199) AND (`guid` IN (136610));
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136610, 34199, 603, 0, 0, 3, 1, 26239, 1, 1544.11, -27.754, 420.967, 3.01593, 604800, 0, 0, 471835, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 34199) AND (`guid` IN (136771));
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136771, 34199, 603, 0, 0, 2, 1, 26239, 1, 1544.37, -20.3519, 420.967, 3.10938, 604800, 0, 0, 471835, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
DELETE FROM `creature_addon` WHERE (`guid` IN (136771));
|
||||
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `isLarge`, `auras`) VALUES
|
||||
(136771, 0, 0, 0, 1, 333, 0, NULL);
|
||||
|
||||
DELETE FROM `creature_addon` WHERE (`guid` IN (136610));
|
||||
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `isLarge`, `auras`) VALUES
|
||||
(136610, 0, 0, 0, 1, 333, 0, NULL);
|
||||
|
||||
-- Update position, facing, and add item 'NPC Equip 39750' (lightning staff) for Iron Mender (10 & 25 Ulduar)
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 34198) AND (`guid` IN (136603));
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136603, 34198, 603, 0, 0, 3, 1, 26218, 1, 1551.155273, -31.939562, 420.966705, 4.622076, 604800, 0, 0, 337025, 62535, 0, 0, 0, 0, '', 0);
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 34198) AND (`guid` IN (136772));
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136772, 34198, 603, 0, 0, 2, 1, 26218, 1, 1551.93571, -16.073572, 420.66736, 1.945428, 604800, 0, 0, 337025, 62535, 0, 0, 0, 0, '', 0);
|
||||
|
||||
UPDATE `creature_template_addon` SET `bytes2` = 1 WHERE (`entry` = 34198);
|
||||
UPDATE `creature_equip_template` SET `ItemID1` = 39750 WHERE (`CreatureID` = 34198);
|
||||
UPDATE `creature_template_addon` SET `bytes2` = 1 WHERE (`entry` = 34236);
|
||||
DELETE FROM `creature_equip_template` WHERE (`CreatureID` = 34236);
|
||||
INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES
|
||||
(34236, 1, 39750, 0, 0, 0);
|
||||
|
||||
-- Update position, facing for Hardened Iron Golem (10 & 25 Ulduar)
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 34190) AND (`guid` IN (136557));
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136557, 34190, 603, 0, 0, 3, 1, 26155, 0, 1550.437744, -37.141003, 420.966705, 1.668972, 604800, 0, 0, 404430, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 34190) AND (`guid` IN (136770));
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136770, 34190, 603, 0, 0, 2, 1, 26155, 0, 1550.216064, -10.390898, 420.966736, 4.776779, 604800, 0, 0, 404430, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,36 @@
|
||||
-- DB update 2020_12_10_04 -> 2020_12_10_05
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_10_04';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_10_04 2020_12_10_05 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606619446977707200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606619446977707200');
|
||||
|
||||
-- Add cosmetic event to Iron Mender, cast Fuse Metal out of combat
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 34198;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 34198) AND (`source_type` = 0) AND (`id` IN (6, 7));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(34198, 0, 6, 0, 1, 0, 100, 0, 4000, 4000, 20000, 20000, 0, 11, 64897, 1, 1, 0, 0, 0, 11, 34190, 5, 0, 0, 0, 0, 0, 0, 'Cosmetic - Cast Fuse Metal (10)'),
|
||||
(34198, 0, 7, 0, 1, 0, 100, 0, 4000, 4000, 20000, 20000, 0, 11, 64968, 1, 1, 0, 0, 0, 11, 34190, 5, 0, 0, 0, 0, 0, 0, 'Cosmetic - Cast Fuse Metal (25)');
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,37 @@
|
||||
-- DB update 2020_12_10_05 -> 2020_12_11_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_10_05';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_10_05 2020_12_11_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606625488742709700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606625488742709700');
|
||||
|
||||
/* Add missing messages when attempting to enter an instance without completing the required quest. */
|
||||
|
||||
/* Magister's Terrace */
|
||||
UPDATE `access_requirement` SET `quest_failed_text`='You must complete the quest "Hard to Kill" and be level 70 before entering the Heroic difficulty of the Magisters\' Terrace.' WHERE `mapId`=585 AND `difficulty`=1;
|
||||
/* Pit of Saron */
|
||||
UPDATE `access_requirement` SET `quest_failed_text`='You must complete the quest "Echoes of Tortured Souls" before entering the Pit of Saron.' WHERE `mapId`=658 AND `difficulty`=0;
|
||||
UPDATE `access_requirement` SET `quest_failed_text`='You must complete the quest "Echoes of Tortured Souls" and be level 80 before entering the Heroic difficulty of the Pit of Saron.' WHERE `mapId`=658 AND `difficulty`=1;
|
||||
/* Halls of Reflection */
|
||||
UPDATE `access_requirement` SET `quest_failed_text`='You must complete the quest "Deliverance from the Pit" before entering the Halls of Reflection.' WHERE `mapId`=668 AND `difficulty`=0;
|
||||
UPDATE `access_requirement` SET `quest_failed_text`='You must complete the quest "Deliverance from the Pit" and be level 80 before entering the Heroic difficulty of the Halls of Reflection.' WHERE `mapId`=668 AND `difficulty`=1;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,31 @@
|
||||
-- DB update 2020_12_11_00 -> 2020_12_11_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_11_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_11_00 2020_12_11_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606636935711383900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606636935711383900');
|
||||
|
||||
-- Apply 'Shadowform' Aura to Saronite Animus
|
||||
|
||||
UPDATE `creature_template_addon` SET `auras` = '63359' WHERE `entry` IN (33524,34152);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,75 @@
|
||||
-- DB update 2020_12_11_01 -> 2020_12_11_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_11_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_11_01 2020_12_11_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606648337329550400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606648337329550400');
|
||||
|
||||
DELETE FROM `item_template_locale` WHERE `ID` IN (45759, 45754, 45752, 45751, 45750, 45749, 45748, 45730, 45729, 45728, 45280, 45049, 44945, 44432, 44392, 44391, 36970, 36968, 36967, 36966, 36965, 36964, 36960, 36959, 36955, 36900, 36897, 36896, 35626, 27007, 27002, 26779, 26765, 26569, 26541, 26527, 26513, 26135, 26134, 26133, 26132, 26131, 26130, 26129, 26128, 1255) AND `locale` = 'deDE';
|
||||
INSERT INTO `item_template_locale` (`ID`, `locale`, `Name`, `Description`, `VerifiedBuild`) VALUES
|
||||
(45759, 'deDE', 'Kavallerie Lanze [PH]', '', 15050),
|
||||
(45754, 'deDE', 'Darnassische Lanze [PH]', '', 15050),
|
||||
(45752, 'deDE', 'Lanze der Bergsteiger [PH]', '', 15050),
|
||||
(45751, 'deDE', 'Federbelastete Mecha-Lanze [PH]', '', 15050),
|
||||
(45750, 'deDE', 'Elekk Lanze [PH]', '', 15050),
|
||||
(45749, 'deDE', 'Lanze der Tapferen [PH]', '', 15050),
|
||||
(45748, 'deDE', 'Lanze der Dunkelspeere [PH]', '', 15050),
|
||||
(45730, 'deDE', 'Lanze der Verlassenen [PH]', '', 15050),
|
||||
(45729, 'deDE', 'Lanze des Plünderers [PH]', '', 15050),
|
||||
(45728, 'deDE', 'Thalassische Lanze [PH]', '', 15050),
|
||||
(45280, 'deDE', 'Oberhemd', 'Ich habe Ulduar in Hard Mode getestet und alles was ich bekam war dieses blöde T-Shirt!', 15050),
|
||||
(45049, 'deDE', 'Ritterlanze [PH]', '', 15050),
|
||||
(44945, 'deDE', 'Formel: Waffe - Titanwache', '', 15050),
|
||||
(44432, 'deDE', 'Glyphe ''Totenerweckung''', '', 15050),
|
||||
(44392, 'deDE', 'Halskette der Durchdringung', '', 15050),
|
||||
(44391, 'deDE', 'Stahlgusshalsreif', '', 15050),
|
||||
(36970, 'deDE', 'Zauberfoliant des Leidens (Rang 8)', '', 15050),
|
||||
(36968, 'deDE', 'Zauberfoliant des Leidens (Rang 7)', '', 15050),
|
||||
(36967, 'deDE', 'Zauberfoliant des Schattenverzehrens (Rang 9)', '', 15050),
|
||||
(36966, 'deDE', 'Zauberfoliant des Schattenverzehrens (Rang 8)', '', 15050),
|
||||
(36965, 'deDE', 'Zauberfoliant der Opferung (Rang 9)', '', 15050),
|
||||
(36964, 'deDE', 'Zauberfoliant der Opferung (Rang 8)', '', 15050),
|
||||
(36960, 'deDE', 'Zauberfoliant des Feuerschilds (Rang 7)', '', 15050),
|
||||
(36959, 'deDE', 'Zauberfoliant des Blutpakts (Rang 7)', '', 15050),
|
||||
(36955, 'deDE', 'Zauberfoliant des Feuerblitzes (Rang 9)', '', 15050),
|
||||
(36900, 'deDE', 'Außergewöhnliches Zauberöl', '', 15050),
|
||||
(36897, 'deDE', 'Teuflischer Zauberstein', '', 15050),
|
||||
(36896, 'deDE', 'Dämonischer Zauberstein', '', 15050),
|
||||
(35626, 'deDE', 'Ewiges Mana [PH]', '', 15050),
|
||||
(27007, 'deDE', 'Spojka''s reiches lila Hemd', 'Spojka 4ever', 15050),
|
||||
(27002, 'deDE', 'Spojka''s schwarzes Hemd', 'Spojka 4ever', 15050),
|
||||
(26779, 'deDE', '68 TEST Grüner Zauberdolch', '', 15050),
|
||||
(26765, 'deDE', '68 TEST Grüner Zauberstab', '', 15050),
|
||||
(26569, 'deDE', '68 TEST Grüne Schildhand', '', 15050),
|
||||
(26541, 'deDE', '68 TEST Grüne Stoffhalskette', '', 15050),
|
||||
(26527, 'deDE', '68 TEST Grüner Stoffring', '', 15050),
|
||||
(26513, 'deDE', '68 TEST Grüner Stoffumhang', '', 15050),
|
||||
(26135, 'deDE', '68 TEST Grüner Stoff-Handgelenkschutz', '', 15050),
|
||||
(26134, 'deDE', '68 TEST Grüne Stoffschultern', '', 15050),
|
||||
(26133, 'deDE', '68 TEST Grüner Stoff-Beinschutz', '', 15050),
|
||||
(26132, 'deDE', '68 TEST Grüne Stoff-Kopfbedeckung', '', 15050),
|
||||
(26131, 'deDE', '68 TEST Grüner Stoff-Handschutz', '', 15050),
|
||||
(26130, 'deDE', '68 TEST Grüne Stoff-Brustrüstung', '', 15050),
|
||||
(26129, 'deDE', '68 TEST Grüne Stoffstiefel', '', 15050),
|
||||
(26128, 'deDE', '68 TEST Grüner Stoffgürtel', '', 15050),
|
||||
(1255, 'deDE', 'Brackwasserarmschienen', '', 15050);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2020_12_11_02 -> 2020_12_11_03
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_11_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_11_02 2020_12_11_03 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606663824598306700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606663824598306700');
|
||||
|
||||
UPDATE `item_template_locale` SET `Description` = 'Möge Unglück über deinen neuen Besitzer kommen. - Anias' WHERE `ID`= 42811 AND `locale` = 'deDE';
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,89 @@
|
||||
-- DB update 2020_12_11_03 -> 2020_12_13_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_11_03';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_11_03 2020_12_13_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601826865098802700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601826865098802700');
|
||||
/*
|
||||
* Dungeon: The Nexus
|
||||
* Update by Knindza | <www.azerothcore.org>
|
||||
* Copyright (C) <www.shadowburn.net> & <www.lichbane.com>
|
||||
*/
|
||||
|
||||
/* REGULAR */
|
||||
UPDATE `creature_template` SET `mindmg` = 2221, `maxdmg` = 3177, `DamageModifier` = 1.03 WHERE `entry` = 26716;
|
||||
UPDATE `creature_template` SET `mindmg` = 5641, `maxdmg` = 7839, `DamageModifier` = 1.03 WHERE `entry` = 30459;
|
||||
UPDATE `creature_template` SET `mindmg` = 2214, `maxdmg` = 3182, `DamageModifier` = 1.03 WHERE `entry` = 26730;
|
||||
UPDATE `creature_template` SET `mindmg` = 5417, `maxdmg` = 7561, `DamageModifier` = 1.03 WHERE `entry` = 30473;
|
||||
UPDATE `creature_template` SET `mindmg` = 2214, `maxdmg` = 3162, `DamageModifier` = 1.03 WHERE `entry` = 26727;
|
||||
UPDATE `creature_template` SET `mindmg` = 5412, `maxdmg` = 7552, `DamageModifier` = 1.03 WHERE `entry` = 30460;
|
||||
UPDATE `creature_template` SET `mindmg` = 2228, `maxdmg` = 3181, `DamageModifier` = 1.03 WHERE `entry` = 26801;
|
||||
UPDATE `creature_template` SET `mindmg` = 5421, `maxdmg` = 7559, `DamageModifier` = 1.03 WHERE `entry` = 30580;
|
||||
UPDATE `creature_template` SET `mindmg` = 2243, `maxdmg` = 3212, `DamageModifier` = 1.03 WHERE `entry` = 26799;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7624, `DamageModifier` = 1.03 WHERE `entry` = 30495;
|
||||
UPDATE `creature_template` SET `mindmg` = 2119, `maxdmg` = 3182, `DamageModifier` = 1.03 WHERE `entry` = 26803;
|
||||
UPDATE `creature_template` SET `mindmg` = 5415, `maxdmg` = 7558, `DamageModifier` = 1.03 WHERE `entry` = 30497;
|
||||
UPDATE `creature_template` SET `mindmg` = 2215, `maxdmg` = 3182, `DamageModifier` = 1.03 WHERE `entry` = 26728;
|
||||
UPDATE `creature_template` SET `mindmg` = 5416, `maxdmg` = 7559, `DamageModifier` = 1.03 WHERE `entry` = 30478;
|
||||
UPDATE `creature_template` SET `mindmg` = 2241, `maxdmg` = 3196, `DamageModifier` = 1.03 WHERE `entry` = 26729;
|
||||
UPDATE `creature_template` SET `mindmg` = 5482, `maxdmg` = 7624, `DamageModifier` = 1.03 WHERE `entry` = 30485;
|
||||
UPDATE `creature_template` SET `mindmg` = 2215, `maxdmg` = 3180, `DamageModifier` = 1.03 WHERE `entry` = 26735;
|
||||
UPDATE `creature_template` SET `mindmg` = 5482, `maxdmg` = 7563, `DamageModifier` = 1.03 WHERE `entry` = 30517;
|
||||
UPDATE `creature_template` SET `mindmg` = 2689, `maxdmg` = 3835, `DamageModifier` = 1.03 WHERE `entry` = 26734;
|
||||
UPDATE `creature_template` SET `mindmg` = 6576, `maxdmg` = 9149, `DamageModifier` = 1.03 WHERE `entry` = 30516;
|
||||
UPDATE `creature_template` SET `mindmg` = 2241, `maxdmg` = 3196, `DamageModifier` = 1.03 WHERE `entry` = 26761;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7624, `DamageModifier` = 1.03 WHERE `entry` = 30521;
|
||||
UPDATE `creature_template` SET `mindmg` = 2250, `maxdmg` = 3215, `DamageModifier` = 1.03 WHERE `entry` = 26737;
|
||||
UPDATE `creature_template` SET `mindmg` = 5482, `maxdmg` = 7623, `DamageModifier` = 1.03 WHERE `entry` = 30519;
|
||||
UPDATE `creature_template` SET `mindmg` = 575, `maxdmg` = 773, `DamageModifier` = 1.03 WHERE `entry` = 30746;
|
||||
UPDATE `creature_template` SET `mindmg` = 890, `maxdmg` = 1115, `DamageModifier` = 1.03 WHERE `entry` = 30520;
|
||||
UPDATE `creature_template` SET `mindmg` = 2689, `maxdmg` = 3835, `DamageModifier` = 1.03 WHERE `entry` = 26792;
|
||||
UPDATE `creature_template` SET `mindmg` = 6976, `maxdmg` = 9142, `DamageModifier` = 1.03 WHERE `entry` = 30524;
|
||||
UPDATE `creature_template` SET `mindmg` = 528, `maxdmg` = 716, `DamageModifier` = 1.03 WHERE `entry` = 26793;
|
||||
UPDATE `creature_template` SET `mindmg` = 851, `maxdmg` = 980, `DamageModifier` = 1.03 WHERE `entry` = 30528;
|
||||
UPDATE `creature_template` SET `mindmg` = 2241, `maxdmg` = 3196, `DamageModifier` = 1.03 WHERE `entry` = 26782;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7624, `DamageModifier` = 1.03 WHERE `entry` = 30526;
|
||||
UPDATE `creature_template` SET `mindmg` = 2235, `maxdmg` = 3185, `DamageModifier` = 1.03 WHERE `entry` = 28231;
|
||||
UPDATE `creature_template` SET `mindmg` = 5480, `maxdmg` = 7562, `DamageModifier` = 1.03 WHERE `entry` = 30525;
|
||||
UPDATE `creature_template` SET `mindmg` = 2231, `maxdmg` = 3177, `DamageModifier` = 1.03 WHERE `entry` = 26722;
|
||||
UPDATE `creature_template` SET `mindmg` = 5641, `maxdmg` = 7939, `DamageModifier` = 1.03 WHERE `entry` = 30457;
|
||||
UPDATE `creature_template` SET `mindmg` = 2224, `maxdmg` = 3177, `DamageModifier` = 1.03 WHERE `entry` = 26802;
|
||||
UPDATE `creature_template` SET `mindmg` = 5417, `maxdmg` = 7561, `DamageModifier` = 1.03 WHERE `entry` = 30509;
|
||||
UPDATE `creature_template` SET `mindmg` = 2241, `maxdmg` = 3196, `DamageModifier` = 1.03 WHERE `entry` = 26800;
|
||||
UPDATE `creature_template` SET `mindmg` = 5482, `maxdmg` = 7632, `DamageModifier` = 1.03 WHERE `entry` = 30496;
|
||||
UPDATE `creature_template` SET `mindmg` = 2219, `maxdmg` = 3181, `DamageModifier` = 1.03 WHERE `entry` = 26805;
|
||||
UPDATE `creature_template` SET `mindmg` = 5419, `maxdmg` = 7563, `DamageModifier` = 1.03 WHERE `entry` = 30498;
|
||||
|
||||
/* BOSS - First 4 are Heroic mode only.*/
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 26798;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30397;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 26796;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30398;
|
||||
UPDATE `creature_template` SET `mindmg` = 3703, `maxdmg` = 4368, `DamageModifier` = 1.01 WHERE `entry` = 26731;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30510;
|
||||
UPDATE `creature_template` SET `mindmg` = 3780, `maxdmg` = 4564, `DamageModifier` = 1.01 WHERE `entry` = 26763;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30529;
|
||||
UPDATE `creature_template` SET `mindmg` = 3801, `maxdmg` = 4585, `DamageModifier` = 1.01 WHERE `entry` = 26794;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30532;
|
||||
UPDATE `creature_template` SET `mindmg` = 3843, `maxdmg` = 4879, `DamageModifier` = 1.01 WHERE `entry` = 26723;
|
||||
UPDATE `creature_template` SET `mindmg` = 8907, `maxdmg` = 11952, `DamageModifier` = 1.01 WHERE `entry` = 30540;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,62 @@
|
||||
-- DB update 2020_12_13_00 -> 2020_12_13_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_13_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_13_00 2020_12_13_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606850384711949100'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606850384711949100');
|
||||
|
||||
DELETE FROM `item_template_locale` WHERE `ID` IN (43949, 42535, 42529, 42523, 42474, 42147, 41756, 41753, 41750, 41749, 40484, 40232, 39153, 38654, 38644, 38643, 38383, 38204, 38140, 37878, 28107, 28046, 28044, 28043, 25750, 25749, 25748, 25747, 23754, 23684, 23683, 17363, 17362) AND `locale` = 'deDE';
|
||||
INSERT INTO `item_template_locale` (`ID`, `locale`, `Name`, `Description`, `VerifiedBuild`) VALUES
|
||||
(43949, 'deDE', 'zzzALTTägliche Quest Fraktions-Token', '', 15050),
|
||||
(42535, 'deDE', 'Zauberfoliant des grausamen Gladiators', '', 15050),
|
||||
(42529, 'deDE', 'Begnadigung des grausamen Gladiators', '', 15050),
|
||||
(42523, 'deDE', 'Endspiel des grausamen Gladiators', '', 15050),
|
||||
(42474, 'deDE', 'Glyphe ''Arkane Explosion''', '', 15050),
|
||||
(42147, 'deDE', 'Zwangsreaktion Frostriesen', 'Nur intern', 15050),
|
||||
(41756, 'deDE', 'Siegel des Herzblutes', '', 15050),
|
||||
(41753, 'deDE', 'Brunnhildar Harpune', '', 15050),
|
||||
(41750, 'deDE', 'Birmingham Test Item 3', '', 15050),
|
||||
(41749, 'deDE', 'Birmingham Test Item 3', 'Für Brian, um Dinge zu testen', 15050),
|
||||
(40484, 'deDE', 'Deprecated Glyphe ''Eisbär''', '', 15050),
|
||||
(40232, 'deDE', 'Test Schillernder Talasit', 'Am besten für einen gelben oder blauen Sockel geeignet.', 15050),
|
||||
(39153, 'deDE', 'Handbuch: Dichter Froststoffverband', 'Dieses durchnässte Buch sagt Euch nichts.', 15050),
|
||||
(38654, 'deDE', 'Corvus Bericht', '', 15050),
|
||||
(38644, 'deDE', 'Währungstoken Test-Token 3', 'Ein drittes Test-Token für das Währungstoken-System', 15050),
|
||||
(38643, 'deDE', 'Dichter Froststoffverband', '', 15050),
|
||||
(38383, 'deDE', 'Valonforth''s Torheit', '', 15050),
|
||||
(38204, 'deDE', 'DB38 Zauberstab2', '', 15050),
|
||||
(38140, 'deDE', 'DB50 Zauberstab4', '', 15050),
|
||||
(37878, 'deDE', 'Worgblutelixier', '', 15050),
|
||||
(28107, 'deDE', 'Schriftwechsel der Legion', 'Trägt das Siegel von Arazzius.', 15050),
|
||||
(28046, 'deDE', 'Schriftwechsel der Legion', 'Trägt das Siegel von Arazzius.', 15050),
|
||||
(28044, 'deDE', 'Band des Dämonenjägers', '', 15050),
|
||||
(28043, 'deDE', 'Anhänger des Dämonenjägers', '', 15050),
|
||||
(25750, 'deDE', '(Deprecated)Manabomben Bauplan - Seite 4', '', 15050),
|
||||
(25749, 'deDE', '(Deprecated)Manabomben Bauplan - Seite 3', '', 15050),
|
||||
(25748, 'deDE', '(Deprecated)Manabomben Bauplan - Seite 2', '', 15050),
|
||||
(25747, 'deDE', '(Deprecated)Manabomben Bauplan - Seite 1', '', 15050),
|
||||
(23754, 'deDE', 'Balg eines borstigen Grollhufs', '', 15050),
|
||||
(23684, 'deDE', 'Kristalldurchdrungener Verband', '', 15050),
|
||||
(23683, 'deDE', 'Kristallflockendrops', '', 15050),
|
||||
(17363, 'deDE', 'Rysons Signal', '', 15050),
|
||||
(17362, 'deDE', 'Rysons Signal', '', 15050);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,70 @@
|
||||
-- DB update 2020_12_13_01 -> 2020_12_13_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_13_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_13_01 2020_12_13_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606911497462342200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606911497462342200');
|
||||
|
||||
/* Improve Great Hexer Ohodo pathing in Dalaran Bank. */
|
||||
|
||||
DELETE FROM `waypoint_data` WHERE `id` = 286860;
|
||||
INSERT INTO `waypoint_data` VALUES
|
||||
(286860, 1, 5957.30, 617.082, 650.627, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 2, 5939.47, 628.060, 650.635, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 3, 5927.55, 634.656, 645.687, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 4, 5894.47, 657.878, 644.689, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 5, 5823.08, 714.962, 641.067, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 6, 5799.79, 719.503, 640.662, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 7, 5770.59, 703.947, 641.474, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 8, 5728.68, 659.603, 645.875, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 9, 5716.13, 657.986, 646.208, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 10, 5701.29, 654.542, 646.278, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 11, 5697.02, 648.178, 646.409, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 12, 5728.72, 617.990, 647.119, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 13, 5764.29, 595.154, 649.795, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 14, 5771.40, 598.778, 650.300, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 15, 5798.37, 631.355, 647.415, 0, 20000, 0, 0, 100, 0),
|
||||
(286860, 16, 5809.01, 632.436, 647.466, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 17, 5813.84, 639.437, 647.445, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 18, 5812.63, 647.709, 647.412, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 19, 5837.74, 679.004, 643.481, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 20, 5863.23, 672.251, 644.026, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 21, 5872.09, 660.964, 644.640, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 22, 5871.88, 655.303, 645.210, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 23, 5866.63, 656.807, 645.358, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 24, 5858.62, 665.766, 647.508, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 25, 5854.41, 663.378, 647.492, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 26, 5853.32, 646.057, 647.512, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 27, 5855.31, 646.037, 647.512, 0, 20000, 0, 0, 100, 0),
|
||||
(286860, 28, 5853.80, 644.893, 647.512, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 29, 5854.40, 639.586, 647.512, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 30, 5861.34, 632.159, 647.913, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 31, 5873.93, 637.614, 646.993, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 32, 5888.60, 639.829, 646.219, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 33, 5911.43, 634.141, 645.621, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 34, 5924.55, 626.764, 645.953, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 35, 5937.59, 622.716, 650.655, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 36, 5950.11, 618.000, 650.636, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 37, 5958.65, 608.832, 650.627, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 38, 5960.95, 598.314, 650.627, 0, 0, 0, 0, 100, 0),
|
||||
(286860, 39, 5960.60, 597.760, 650.627, 0, 20000, 0, 0, 100, 0);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,42 @@
|
||||
-- DB update 2020_12_13_02 -> 2020_12_13_03
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_13_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_13_02 2020_12_13_03 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606921345291246500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606921345291246500');
|
||||
|
||||
-- update general tables
|
||||
DELETE FROM `broadcast_text` WHERE `id` IN (100003, 100004, 100005);
|
||||
INSERT INTO `broadcast_text` (`ID`, `Language`, `MaleText`, `FemaleText`, `EmoteID0`, `EmoteID1`, `EmoteID2`, `EmoteDelay0`, `EmoteDelay1`, `EmoteDelay2`, `SoundId`, `Unk1`, `Unk2`, `VerifiedBuild`)VALUES
|
||||
(100003, 0, 'Mooooo...', '', 5, 0, 0, 0, 0, 0, 0, 0, 1, 18019),
|
||||
(100004, 0, 'Moooooooooo!', '', 5, 0, 0, 0, 0, 0, 0, 0, 1, 18019),
|
||||
(100005, 0, 'Thank you for bringing back my Bessy, $N. I couldn\'t live without her!', '', 5, 0, 0, 0, 0, 0, 0, 0, 1, 18019);
|
||||
|
||||
-- update Bessy & Thadell messages
|
||||
DELETE FROM `creature_text` WHERE `creatureId` IN (20415, 20464);
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `id`, `text`, `type`, `language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(20415, 0, 0, 'Mooooo...', 12, 0, 100, 0, 0, 0, 100003, 0, 'Bessy calmly moo when quest starts'),
|
||||
(20415, 1, 0, 'Moooooooooo!', 12, 0, 100, 0, 0, 0, 100004, 0, 'Bessy angry moo when being attacked'),
|
||||
(20464, 2, 0, 'Bessy, you''re home. Thank the Light!', 12, 0, 100, 0, 0, 0, 18181, 0, 'Thadell say to Bessy'),
|
||||
(20464, 3, 0, 'Thank you for bringing back my Bessy, $N. I couldn\'t live without her!', 12, 0, 100, 0, 0, 0, 100005, 0, 'Thadell say to player');
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,35 @@
|
||||
-- DB update 2020_12_13_04 -> 2020_12_14_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_13_04';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_13_04 2020_12_14_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606594157029530500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606594157029530500');
|
||||
|
||||
-- (Algalon the Observer): 'Phase Punch' applied as debuff
|
||||
DELETE FROM `spell_custom_attr` WHERE `spell_id` = 64412;
|
||||
|
||||
-- (High King Maulgar): 'Death Coil' applied as debuff
|
||||
DELETE FROM `spell_custom_attr` WHERE `spell_id`=33130;
|
||||
INSERT INTO `spell_custom_attr` (`spell_id`, `attributes`) VALUES
|
||||
(33130,12288);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,174 @@
|
||||
-- DB update 2020_12_14_00 -> 2020_12_15_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_14_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_14_00 2020_12_15_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1607432767438370200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1607432767438370200');
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` IN (25317,25220,25222);
|
||||
INSERT INTO `creature_text` (`CreatureID`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
(25317, 0, 0, 'What''s the matter, $c? Think you''re too good to stand in line with the rest of us?', 12, 0, 100, 0, 0, 0, 24758, 'Civilian Recruit to Player'),
|
||||
(25220, 0, 0, 'Miner.', 12, 7, 100, 66, 0, 0, 24377, 'Civilian Recruit to Generic Quest Trigger - LAB'),
|
||||
(25220, 0, 1, 'Farmhand, sir.', 12, 7, 100, 66, 0, 0, 24373, 'Civilian Recruit to Generic Quest Trigger - LAB'),
|
||||
(25220, 0, 2, 'Tailor.', 12, 7, 100, 66, 0, 0, 24374, 'Civilian Recruit to Generic Quest Trigger - LAB'),
|
||||
(25220, 0, 3, 'Blacksmith.', 12, 7, 100, 66, 0, 0, 24375, 'Civilian Recruit to Generic Quest Trigger - LAB'),
|
||||
(25220, 0, 4, 'Carpenter.', 12, 7, 100, 66, 0, 0, 24371, 'Civilian Recruit to Generic Quest Trigger - LAB'),
|
||||
(25220, 0, 5, 'Shipwright.', 12, 7, 100, 66, 0, 0, 24372, 'Civilian Recruit to Generic Quest Trigger - LAB'),
|
||||
(25220, 0, 6, 'Mason, sir.', 12, 7, 100, 66, 0, 0, 24376, 'Civilian Recruit to Generic Quest Trigger - LAB'),
|
||||
(25220, 0, 7, 'Cook.', 12, 7, 100, 66, 0, 0, 24378, 'Civilian Recruit to Generic Quest Trigger - LAB'),
|
||||
(25222, 0, 0, 'What did you do before you came to Northrend, then?', 12, 7, 100, 0, 0, 0, 24386, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 0, 1, 'State your profession.', 12, 7, 100, 0, 0, 0, 24382, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 0, 2, 'Yes, then. What is your trade?', 12, 7, 100, 0, 0, 0, 24383, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 0, 3, 'Your previous line of work, recruit?', 12, 7, 100, 0, 0, 0, 24385, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 0, 4, 'Your profession?', 12, 7, 100, 0, 0, 0, 24384, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 1, 0, 'Yes, you''re well seasoned in your field of work. Report to the civilian liaison at once, we need more like you!', 12, 7, 100, 273, 0, 0, 24361, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 1, 1, 'I thought we had enough in your line of work, but it looks like we have some openings. Report to the civilian liaison.', 12, 7, 100, 273, 0, 0, 24360, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 1, 2, 'I do have some openings in your line of work. Report to the civilian liaison.', 12, 7, 100, 273, 0, 0, 24359, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 1, 3, 'Yeah. We could use some more of you. Report to the civilian liaison for work assignment.', 12, 7, 100, 273, 0, 0, 24358, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 2, 0, 'Not anymore! Here''s your sword. Report to the barracks for duty!', 12, 7, 100, 397, 0, 0, 24363, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 2, 1, 'Afraid not, friend. Here''s your sword and shield. Report to the barracks for duty.', 12, 7, 100, 397, 0, 0, 24365, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 2, 2, 'You''re breaking my heart - I''ve quotas to fill, you know? Can you wield a sword? Off to the barracks.', 12, 7, 100, 397, 0, 0, 24367, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 2, 3, 'With a sword arm like that? I''m afraid we need you in the front lines, my friend. Report to the barracks.', 12, 7, 100, 397, 0, 0, 24366, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 2, 4, 'Looks like we have room for one more... no, my mistake. That''s a seven not a one. Hope you''re good with a sword - report to the barracks.', 12, 7, 100, 397, 0, 0, 24368, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 3, 0, 'Next, please!', 12, 7, 100, 22, 0, 0, 24370, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 3, 1, 'Keep it moving, people.', 12, 7, 100, 22, 0, 0, 24369, 'Recruitment Officer Carven to Generic Quest Trigger - LAB'),
|
||||
(25222, 3, 2, 'Next!', 12, 7, 100, 22, 0, 0, 24357, 'Recruitment Officer Carven to Generic Quest Trigger - LAB');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry` = 25220;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(25220, 1, 2253.644, 5195.469, 11.40062, 'Civilian Recruit'),
|
||||
(25220, 2, 2254.098, 5196.36, 11.40062, 'Civilian Recruit'),
|
||||
(25220, 3, 2277.823, 5238.724, 11.45096, 'Civilian Recruit'),
|
||||
(25220, 4, 2279.217, 5241.407, 11.45096, 'Civilian Recruit'),
|
||||
(25220, 5, 2280.84, 5244.218, 11.45719, 'Civilian Recruit'),
|
||||
(25220, 6, 2282.603, 5245.736, 11.36353, 'Civilian Recruit'),
|
||||
(25220, 7, 2284.867, 5246.299, 11.45096, 'Civilian Recruit'),
|
||||
(25220, 8, 2287.469, 5245.929, 11.45096, 'Civilian Recruit'),
|
||||
(25220, 9, 2289.469, 5244.898, 11.45096, 'Civilian Recruit'),
|
||||
(25220, 10, 2291.772, 5243.933, 11.45096, 'Civilian Recruit'),
|
||||
(25220, 11, 2294.129, 5242.708, 11.45096, 'Civilian Recruit'),
|
||||
-- P12 this is blizzlike behavior, with it - they will end up on the table.
|
||||
-- (25220, 12, 2298.062, 5241.932, 12.3176, 'Civilian Recruit'),
|
||||
(25220, 12, 2297.330, 5241.240, 11.46370, 'Civilian Recruit'),
|
||||
(25220, 13, 2303.019, 5253.306, 11.50584, 'Civilian Recruit'),
|
||||
(25220, 14, 2308.73, 5256.926, 11.50584, 'Civilian Recruit'),
|
||||
(25220, 15, 2320.826, 5259.258, 11.25584, 'Civilian Recruit');
|
||||
|
||||
DELETE FROM `creature` WHERE `guid` IN (108008,108007,108006,108005,108004,108003,108002,108001,108000);
|
||||
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry` IN (24959,25220,25307);
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid` IN (-107575 ,-107574, 25220, 25307);
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid` IN (2522000,2522001);
|
||||
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-107575, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Generic Quest Trigger - LAB - On Spawn - Set Active'),
|
||||
(-107575, 0, 1, 0, 1, 0, 100, 0, 0, 0, 22000, 23000, 12, 25220, 8, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Generic Quest Trigger - LAB - OOC - Cast Borean Tundra - Valiance Keep Flavor - Summon Recruit'),
|
||||
(-107574, 0, 1, 0, 1, 0, 100, 0, 0, 0, 22000, 23000, 11, 45307, 8, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Generic Quest Trigger - LAB - OOC - Cast Borean Tundra - Valiance Keep Flavor - Queue Global Ping'),
|
||||
(25307, 0, 0, 0, 19, 0, 100, 0, 11672, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 25317, 0, 0, 0, 0, 0, 0, 'Recruitment Officer Blythe - On Quest Accepted (Enlistment Day) - Say'),
|
||||
(25220, 0, 0, 1, 54, 0, 100, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Just Summoned - Set Active'),
|
||||
(25220, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 53, 0, 25220, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Just Summoned - Start WP'),
|
||||
(25220, 0, 2, 0, 8, 0, 100, 0, 45313, 0, 0, 0, 54, 22000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Spellhit - Anchor Here - Pause WP'),
|
||||
(25220, 0, 3, 0, 8, 0, 100, 0, 45307, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Spellhit - Borean Tundra - Valiance Keep Flavor - Queue Global Ping - Resume WP'),
|
||||
(25220, 0, 4, 0, 40, 0, 100, 0, 3, 25220, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP3 - Cast Anchor Here'),
|
||||
(25220, 0, 5, 0, 40, 0, 100, 0, 4, 25220, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP4 - Cast Anchor Here'),
|
||||
(25220, 0, 6, 0, 40, 0, 100, 0, 5, 25220, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP5 - Cast Anchor Here'),
|
||||
(25220, 0, 7, 0, 40, 0, 100, 0, 6, 25220, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP6 - Cast Anchor Here'),
|
||||
(25220, 0, 8, 0, 40, 0, 100, 0, 7, 25220, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP7 - Cast Anchor Here'),
|
||||
(25220, 0, 9, 0, 40, 0, 100, 0, 8, 25220, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP8 - Cast Anchor Here'),
|
||||
(25220, 0, 10, 0, 40, 0, 100, 0, 9, 25220, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP9 - Cast Anchor Here'),
|
||||
(25220, 0, 11, 0, 40, 0, 100, 0, 10, 25220, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP10 - Cast Anchor Here'),
|
||||
(25220, 0, 12, 0, 40, 0, 100, 0, 11, 25220, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP11 - Cast Anchor Here'),
|
||||
(25220, 0, 13, 14, 40, 0, 100, 0, 12, 25220, 0, 0, 54, 18000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP11 - Cast Anchor Here'),
|
||||
(25220, 0, 14, 0, 61, 0, 100, 0, 0, 0, 0, 0, 87, 2522000, 2522001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP11 - Run Script'),
|
||||
(25220, 0, 15, 0, 40, 0, 100, 0, 15, 25220, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Reached WP15 - Despawn'),
|
||||
(2522000, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Script 1 - Say'),
|
||||
(2522000, 9, 1, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Scrip 2 - Say'),
|
||||
(2522000, 9, 2, 0, 0, 0, 100, 0, 6000, 7000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Script 2 - Say'),
|
||||
(2522000, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Script 2 - Equip Items'),
|
||||
(2522000, 9, 4, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 65, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Script 2 - Resume WP'),
|
||||
(2522000, 9, 5, 0, 0, 0, 100, 0, 4000, 5000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Script 2 - Say'),
|
||||
(2522001, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Script 1 - Say'),
|
||||
(2522001, 9, 1, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Scrip 2 - Say'),
|
||||
(2522001, 9, 2, 0, 0, 0, 100, 0, 6000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Script 3 - Say'),
|
||||
(2522001, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 71, 0, 0, 2178, 143, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Script 3 - Equip Items'),
|
||||
(2522001, 9, 4, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 65, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Script 3 - Resume WP'),
|
||||
(2522001, 9, 5, 0, 0, 0, 100, 0, 4000, 5000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Script 2 - Say');
|
||||
|
||||
-- Civilian Recruit Scripts in Building
|
||||
DELETE FROM `creature_addon` WHERE `guid` = 117789;
|
||||
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `auras`) VALUES
|
||||
(117789, 0, 0, 3, 0, 0, NULL);
|
||||
|
||||
-- Civilian Recruit SAI
|
||||
SET @GUID := -117794;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` = 25317;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type` = 0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@GUID,0,0,0,1,0,100,0,8000,8000,12000,12000,5,36,0,0,0,0,0,1,0,0,0,0,0,0,0,'Civilian Recruit - Out of Combat - Play Emote 36'),
|
||||
(@GUID,0,1,0,1,0,100,0,35000,40000,35000,40000,80,11779400,0,0,0,0,0,1,0,0,0,0,0,0,0,'Civilian Recruit - Out of Combat - Run Script');
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 11779400;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type` = 9;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,'Civilian Recruit - On Script - Say Line 1'),
|
||||
(@ENTRY,9,1,0,0,0,100,0,6000,6000,0,0,1,2,6000,0,0,0,0,10,117790,25317,0,0,0,0,0,'Civilian Recruit - On Script - Say Line 2'),
|
||||
(@ENTRY,9,2,0,0,0,100,0,6000,6000,0,0,1,3,6000,0,0,0,0,1,0,0,0,0,0,0,0,'Civilian Recruit - On Script - Say Line 3');
|
||||
|
||||
-- Civilian Recruit SAI
|
||||
SET @GUID := -117788;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry` = 25317;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID AND `source_type` = 0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@GUID,0,0,0,1,0,100,0,8000,8000,12000,12000,5,36,0,0,0,0,0,1,0,0,0,0,0,0,0,'Civilian Recruit - Out of Combat - Play Emote 36'),
|
||||
(@GUID,0,1,0,1,0,100,0,35000,40000,35000,40000,80,11778800,0,0,0,0,0,1,0,0,0,0,0,0,0,'Civilian Recruit - Out of Combat - Run Script');
|
||||
|
||||
-- Actionlist SAI
|
||||
SET @ENTRY := 11778800;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type` = 9;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
|
||||
(@ENTRY,9,0,0,0,0,100,0,2000,2000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,'Civilian Recruit - On Script - Say Line 1'),
|
||||
(@ENTRY,9,1,0,0,0,100,0,6000,6000,0,0,1,2,6000,0,0,0,0,10,117789,25317,0,0,0,0,0,'Civilian Recruit - On Script - Say Line 2'),
|
||||
(@ENTRY,9,2,0,0,0,100,0,6000,6000,0,0,1,3,6000,0,0,0,0,1,0,0,0,0,0,0,0,'Civilian Recruit - On Script - Say Line 3');
|
||||
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`=25317 AND `GroupID` >= 1;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES
|
||||
-- First text
|
||||
(25317, 1, 0, 'This is harder than it looks.', 12, 7, 100, 0, 0, 0, 26488, 'Civilian Recruit'),
|
||||
(25317, 1, 1, 'Did that seem okay?', 12, 7, 100, 0, 0, 0, 26487, 'Civilian Recruit'),
|
||||
(25317, 1, 2, 'My arm is getting sore.', 12, 7, 100, 0, 0, 0, 26491, 'Civilian Recruit'),
|
||||
(25317, 1, 3, 'Hmm....', 12, 7, 100, 0, 0, 0, 26492, 'Civilian Recruit'),
|
||||
(25317, 1, 4, 'I think I\'m starting to get the hang of this.', 12, 7, 100, 0, 0, 0, 26490, 'Civilian Recruit'),
|
||||
(25317, 1, 5, 'This isn\'t easy.', 12, 7, 100, 0, 0, 0, 26489, 'Civilian Recruit'),
|
||||
-- reaction
|
||||
(25317, 2, 0, 'You aren\'t going to let me sleep are you?', 12, 7, 100, 0, 0, 0, 26497, 'Civilian Recruit'),
|
||||
(25317, 2, 1, 'Are you going to be doing this for much longer?', 12, 7, 100, 0, 0, 0, 26502, 'Civilian Recruit'),
|
||||
(25317, 2, 2, 'Could you try to be a little quieter?', 12, 7, 100, 0, 0, 0, 26500, 'Civilian Recruit'),
|
||||
-- reaction 2
|
||||
(25317, 3, 0, 'I just don\'t want to let anyone down.', 12, 7, 100, 0, 0, 0, 26494, 'Civilian Recruit'),
|
||||
(25317, 3, 1, 'I need to do something to keep myself busy.', 12, 7, 100, 0, 0, 0, 26495, 'Civilian Recruit'),
|
||||
(25317, 3, 2, 'I\'m just nervous. Sorry.', 12, 7, 100, 0, 0, 0, 26493, 'Civilian Recruit');
|
||||
|
||||
DELETE FROM `creature_equip_template` WHERE `CreatureID` IN (25317, 25220);
|
||||
UPDATE `creature` SET `equipment_id`=0 WHERE `id` = 25317;
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,60 @@
|
||||
-- DB update 2020_12_15_00 -> 2020_12_16_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_15_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_15_00 2020_12_16_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1607085889307075600'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1607085889307075600');
|
||||
|
||||
-- What The Dragons Know - Horde
|
||||
UPDATE `quest_poi_points` SET `X`=5892, `Y`=470 WHERE `QuestID`=24555 AND `Idx1`=0 AND `Idx2`=0;
|
||||
-- What The Dragons Know - Alliance
|
||||
UPDATE `quest_poi_points` SET `X`=5745, `Y`=720 WHERE `QuestID`=14444 AND `Idx1`=0 AND `Idx2`=0;
|
||||
|
||||
-- The Silver Covenant's Scheme - Horde
|
||||
UPDATE `quest_poi_points` SET `X`=5892, `Y`=470 WHERE `QuestID`=24557 AND `Idx1`=1 AND `Idx2`=0;
|
||||
UPDATE `quest_poi_points` SET `X`=5760, `Y`=715 WHERE `QuestID`=24557 AND `Idx1`=2 AND `Idx2`=0;
|
||||
|
||||
-- The Sunreaver Plan - Alliance
|
||||
UPDATE `quest_poi_points` SET `X`=5745, `Y`=720 WHERE `QuestID`=14457 AND `Idx1`=1 AND `Idx2`=0;
|
||||
UPDATE `quest_poi_points` SET `X`=5916, `Y`=554 WHERE `QuestID`=14457 AND `Idx1`=2 AND `Idx2`=0;
|
||||
|
||||
-- A Suitable Disguise - Horde
|
||||
UPDATE `quest_poi_points` SET `X`=5892, `Y`=470 WHERE `QuestID`=24556 AND `Idx1`=1 AND `Idx2`=0;
|
||||
UPDATE `quest_poi_points` SET `X`=5806, `Y`=695 WHERE `QuestID`=24556 AND `Idx1`=2 AND `Idx2`=0;
|
||||
-- A Suitable Disguise - Alliance
|
||||
UPDATE `quest_poi_points` SET `X`=5745, `Y`=720 WHERE `QuestID`=20438 AND `Idx1`=1 AND `Idx2`=0;
|
||||
UPDATE `quest_poi_points` SET `X`=5806, `Y`=695 WHERE `QuestID`=20438 AND `Idx1`=2 AND `Idx2`=0;
|
||||
|
||||
-- A Victory For The Sunreavers - Horde
|
||||
UPDATE `quest_poi_points` SET `X`=5800, `Y`=792 WHERE `QuestID`=24800 AND `Idx1`=0 AND `Idx2`=0;
|
||||
UPDATE `quest_poi_points` SET `X`=5800, `Y`=792 WHERE `QuestID`=24801 AND `Idx1`=0 AND `Idx2`=0;
|
||||
|
||||
-- A Victory For The Silver Covenant - Alliance
|
||||
UPDATE `quest_poi_points` SET `X`=5796, `Y`=799 WHERE `QuestID`=24796 AND `Idx1`=0 AND `Idx2`=0;
|
||||
|
||||
-- Reforging The Sword - Alliance
|
||||
UPDATE `quest_poi_points` SET `X`=5652, `Y`=2106 WHERE `QuestID`=24461 AND `Idx1`=6 AND `Idx2`=0;
|
||||
|
||||
-- The Halls Of Reflection - Alliance
|
||||
UPDATE `quest_poi_points` SET `X`=5652, `Y`=2106 WHERE `QuestID`=24480 AND `Idx1`=2 AND `Idx2`=0;
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,38 @@
|
||||
-- DB update 2020_12_16_00 -> 2020_12_18_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_16_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_16_00 2020_12_18_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1607086882277070500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1607086882277070500');
|
||||
|
||||
UPDATE `item_template_locale` SET `Description`='Lehrt Euch, wie man ein Fischmahl zubereitet.' WHERE `ID`=43017 AND `locale`='deDE';
|
||||
UPDATE `item_template_locale` SET `Description`='Lehrt Euch, wie man ein Megamammutmahl zubereitet.' WHERE `ID`=43018 AND `locale`='deDE';
|
||||
UPDATE `item_template_locale` SET `Description`='Lehrt Euch, wie man ein zartes Schaufelhauersteak zubereitet.' WHERE `ID`=43019 AND `locale`='deDE';
|
||||
UPDATE `item_template_locale` SET `Description`='Lehrt Euch, wie man sehr verbrannten Worg zubereitet.' WHERE `ID`=43021 AND `locale`='deDE';
|
||||
UPDATE `item_template_locale` SET `Description`='Lehrt Euch, wie man eine große Rhinowurst zubereitet.' WHERE `ID`=43022 AND `locale`='deDE';
|
||||
UPDATE `item_template_locale` SET `Description`='Lehrt Euch, wie man eine pochierte nordische Groppe zubereitet.' WHERE `ID`=43023 AND `locale`='deDE';
|
||||
UPDATE `item_template_locale` SET `Description`='Lehrt Euch, wie man einen Feuerkracherlachs zubereitet.' WHERE `ID`=43024 AND `locale`='deDE';
|
||||
UPDATE `item_template_locale` SET `Description`='Lehrt Euch, wie man einen würzigen blauen Nesselfisch zubereitet.' WHERE `ID`=43025 AND `locale`='deDE';
|
||||
UPDATE `item_template_locale` SET `Description`='Tun wir mal so, als hättet Ihr ein komplettes Ulduar-10er-Set' WHERE `ID`=46103 AND `locale`='deDE';
|
||||
UPDATE `item_template_locale` SET `Description`='Tun wir mal so, als hättet Ihr ein komplettes Ulduar-25er-Set' WHERE `ID`=46104 AND `locale`='deDE';
|
||||
UPDATE `item_template_locale` SET `Description`='Tun wir mal so, als hättet Ihr ein komplettes Ulduar-Hardmode-Set' WHERE `ID`=46105 AND `locale`='deDE';
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2020_12_18_00 -> 2020_12_18_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_18_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_18_00 2020_12_18_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608247978940176300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608247978940176300');
|
||||
|
||||
UPDATE `quest_template_addon` SET `SpecialFlags` = 0 WHERE `id` = 6962;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,357 @@
|
||||
-- DB update 2020_12_18_01 -> 2020_12_18_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_18_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_18_01 2020_12_18_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1607114956534301900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1607114956534301900');
|
||||
|
||||
-- Freka Bloodaxe - Horde
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 33553;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
|
||||
(33553, 1, 44973, 0, 0, 2599, 0),
|
||||
(33553, 2, 45014, 0, 0, 2597, 0),
|
||||
(33553, 3, 45203, 0, 0, 2601, 0),
|
||||
(33553, 4, 45204, 0, 0, 2601, 0),
|
||||
(33553, 5, 45205, 0, 0, 2601, 0),
|
||||
(33553, 6, 45206, 0, 0, 2602, 0),
|
||||
(33553, 7, 45207, 0, 0, 2602, 0),
|
||||
(33553, 8, 45208, 0, 0, 2601, 0),
|
||||
(33553, 9, 45209, 0, 0, 2602, 0),
|
||||
(33553, 10, 45210, 0, 0, 2601, 0),
|
||||
(33553, 11, 45211, 0, 0, 2602, 0),
|
||||
(33553, 12, 45212, 0, 0, 2601, 0),
|
||||
(33553, 13, 45213, 0, 0, 2602, 0),
|
||||
(33553, 14, 45214, 0, 0, 2601, 0),
|
||||
(33553, 15, 45215, 0, 0, 2602, 0),
|
||||
(33553, 16, 45216, 0, 0, 2602, 0),
|
||||
(33553, 17, 45217, 0, 0, 2602, 0),
|
||||
(33553, 18, 45218, 0, 0, 2602, 0),
|
||||
(33553, 19, 45219, 0, 0, 2602, 0),
|
||||
(33553, 20, 45220, 0, 0, 2602, 0),
|
||||
(33553, 21, 45221, 0, 0, 2602, 0),
|
||||
(33553, 22, 45222, 0, 0, 2601, 0),
|
||||
(33553, 23, 45223, 0, 0, 2602, 0),
|
||||
(33553, 24, 45581, 0, 0, 2598, 0),
|
||||
(33553, 25, 45595, 0, 0, 2600, 0),
|
||||
(33553, 26, 45719, 0, 0, 2639, 0),
|
||||
(33553, 27, 45725, 0, 0, 2603, 0),
|
||||
(33553, 28, 46749, 0, 0, 2671, 0);
|
||||
-- Delete duplicated item (33553, 29, 46757, 0, 0, 2671, 0);
|
||||
|
||||
-- Samamba - Horde (Sequence fixed)
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 33554;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
|
||||
(33554, 1, 45606, 0, 0, 2599, 0),
|
||||
(33554, 2, 45015, 0, 0, 2597, 0),
|
||||
(33554, 3, 45203, 0, 0, 2601, 0),
|
||||
(33554, 4, 45204, 0, 0, 2601, 0),
|
||||
(33554, 5, 45205, 0, 0, 2601, 0),
|
||||
(33554, 6, 45206, 0, 0, 2602, 0),
|
||||
(33554, 7, 45207, 0, 0, 2602, 0),
|
||||
(33554, 8, 45208, 0, 0, 2601, 0),
|
||||
(33554, 9, 45209, 0, 0, 2602, 0),
|
||||
(33554, 10, 45210, 0, 0, 2601, 0),
|
||||
(33554, 11, 45211, 0, 0, 2602, 0),
|
||||
(33554, 12, 45212, 0, 0, 2601, 0),
|
||||
(33554, 13, 45213, 0, 0, 2602, 0),
|
||||
(33554, 14, 45214, 0, 0, 2601, 0),
|
||||
(33554, 15, 45215, 0, 0, 2602, 0),
|
||||
(33554, 16, 45216, 0, 0, 2602, 0),
|
||||
(33554, 17, 45217, 0, 0, 2602, 0),
|
||||
(33554, 18, 45218, 0, 0, 2602, 0),
|
||||
(33554, 19, 45219, 0, 0, 2602, 0),
|
||||
(33554, 20, 45220, 0, 0, 2602, 0),
|
||||
(33554, 21, 45221, 0, 0, 2602, 0),
|
||||
(33554, 22, 45222, 0, 0, 2601, 0),
|
||||
(33554, 23, 45223, 0, 0, 2602, 0),
|
||||
(33554, 24, 45582, 0, 0, 2598, 0),
|
||||
(33554, 25, 45593, 0, 0, 2600, 0),
|
||||
(33554, 26, 45720, 0, 0, 2639, 0),
|
||||
(33554, 27, 45725, 0, 0, 2603, 0),
|
||||
(33554, 28, 46743, 0, 0, 2671, 0),
|
||||
(33554, 29, 46760, 0, 0, 2671, 0);
|
||||
|
||||
-- Eliza Killian - Horde
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 33555;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
|
||||
(33555, 1, 44971, 0, 0, 2599, 0),
|
||||
(33555, 2, 45016, 0, 0, 2597, 0),
|
||||
(33555, 3, 45203, 0, 0, 2601, 0),
|
||||
(33555, 4, 45204, 0, 0, 2601, 0),
|
||||
(33555, 5, 45205, 0, 0, 2601, 0),
|
||||
(33555, 6, 45206, 0, 0, 2602, 0),
|
||||
(33555, 7, 45207, 0, 0, 2602, 0),
|
||||
(33555, 8, 45208, 0, 0, 2601, 0),
|
||||
(33555, 9, 45209, 0, 0, 2602, 0),
|
||||
(33555, 10, 45210, 0, 0, 2601, 0),
|
||||
(33555, 11, 45211, 0, 0, 2602, 0),
|
||||
(33555, 12, 45212, 0, 0, 2601, 0),
|
||||
(33555, 13, 45213, 0, 0, 2602, 0),
|
||||
(33555, 14, 45214, 0, 0, 2601, 0),
|
||||
(33555, 15, 45215, 0, 0, 2602, 0),
|
||||
(33555, 16, 45216, 0, 0, 2602, 0),
|
||||
(33555, 17, 45217, 0, 0, 2602, 0),
|
||||
(33555, 18, 45218, 0, 0, 2602, 0),
|
||||
(33555, 19, 45219, 0, 0, 2602, 0),
|
||||
(33555, 20, 45220, 0, 0, 2602, 0),
|
||||
(33555, 21, 45221, 0, 0, 2602, 0),
|
||||
(33555, 22, 45222, 0, 0, 2601, 0),
|
||||
(33555, 23, 45223, 0, 0, 2602, 0),
|
||||
(33555, 24, 45583, 0, 0, 2598, 0),
|
||||
(33555, 25, 45597, 0, 0, 2600, 0),
|
||||
(33555, 26, 45723, 0, 0, 2639, 0),
|
||||
(33555, 27, 45725, 0, 0, 2603, 0),
|
||||
(33555, 28, 46746, 0, 0, 2671, 0),
|
||||
(33555, 29, 46764, 0, 0, 2671, 0);
|
||||
|
||||
-- Doru Thunderhorn - Horde
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 33556;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
|
||||
(33556, 1, 44980, 0, 0, 2599, 0),
|
||||
(33556, 2, 45013, 0, 0, 2597, 0),
|
||||
(33556, 3, 45203, 0, 0, 2601, 0),
|
||||
(33556, 4, 45204, 0, 0, 2601, 0),
|
||||
(33556, 5, 45205, 0, 0, 2601, 0),
|
||||
(33556, 6, 45206, 0, 0, 2602, 0),
|
||||
(33556, 7, 45207, 0, 0, 2602, 0),
|
||||
(33556, 8, 45208, 0, 0, 2601, 0),
|
||||
(33556, 9, 45209, 0, 0, 2602, 0),
|
||||
(33556, 10, 45210, 0, 0, 2601, 0),
|
||||
(33556, 11, 45211, 0, 0, 2602, 0),
|
||||
(33556, 12, 45212, 0, 0, 2601, 0),
|
||||
(33556, 13, 45213, 0, 0, 2602, 0),
|
||||
(33556, 14, 45214, 0, 0, 2601, 0),
|
||||
(33556, 15, 45215, 0, 0, 2602, 0),
|
||||
(33556, 16, 45216, 0, 0, 2602, 0),
|
||||
(33556, 17, 45217, 0, 0, 2602, 0),
|
||||
(33556, 18, 45218, 0, 0, 2602, 0),
|
||||
(33556, 19, 45219, 0, 0, 2602, 0),
|
||||
(33556, 20, 45220, 0, 0, 2602, 0),
|
||||
(33556, 21, 45221, 0, 0, 2602, 0),
|
||||
(33556, 22, 45222, 0, 0, 2601, 0),
|
||||
(33556, 23, 45223, 0, 0, 2602, 0),
|
||||
(33556, 24, 45584, 0, 0, 2598, 0),
|
||||
(33556, 25, 45592, 0, 0, 2600, 0),
|
||||
(33556, 26, 45722, 0, 0, 2639, 0),
|
||||
(33556, 27, 45725, 0, 0, 2603, 0),
|
||||
(33556, 28, 46750, 0, 0, 2671, 0),
|
||||
(33556, 29, 46755, 0, 0, 2671, 0);
|
||||
|
||||
-- Trellis Morningsun - Horde
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 33557;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
|
||||
(33557, 1, 44982, 0, 0, 2599, 0),
|
||||
(33557, 2, 45017, 0, 0, 2597, 0),
|
||||
(33557, 3, 45203, 0, 0, 2601, 0),
|
||||
(33557, 4, 45204, 0, 0, 2601, 0),
|
||||
(33557, 5, 45205, 0, 0, 2601, 0),
|
||||
(33557, 6, 45206, 0, 0, 2602, 0),
|
||||
(33557, 7, 45207, 0, 0, 2602, 0),
|
||||
(33557, 8, 45208, 0, 0, 2601, 0),
|
||||
(33557, 9, 45209, 0, 0, 2602, 0),
|
||||
(33557, 10, 45210, 0, 0, 2601, 0),
|
||||
(33557, 11, 45211, 0, 0, 2602, 0),
|
||||
(33557, 12, 45212, 0, 0, 2601, 0),
|
||||
(33557, 13, 45213, 0, 0, 2602, 0),
|
||||
(33557, 14, 45214, 0, 0, 2601, 0),
|
||||
(33557, 15, 45215, 0, 0, 2602, 0),
|
||||
(33557, 16, 45216, 0, 0, 2602, 0),
|
||||
(33557, 17, 45217, 0, 0, 2602, 0),
|
||||
(33557, 18, 45218, 0, 0, 2602, 0),
|
||||
(33557, 19, 45219, 0, 0, 2602, 0),
|
||||
(33557, 20, 45220, 0, 0, 2602, 0),
|
||||
(33557, 21, 45221, 0, 0, 2602, 0),
|
||||
(33557, 22, 45222, 0, 0, 2601, 0),
|
||||
(33557, 23, 45223, 0, 0, 2602, 0),
|
||||
(33557, 24, 45585, 0, 0, 2598, 0),
|
||||
(33557, 25, 45596, 0, 0, 2600, 0),
|
||||
(33557, 26, 45721, 0, 0, 2639, 0),
|
||||
(33557, 27, 45725, 0, 0, 2603, 0),
|
||||
(33557, 28, 46751, 0, 0, 2671, 0),
|
||||
(33557, 29, 46761, 0, 0, 2671, 0);
|
||||
|
||||
-- Corporal Arthur Flew - Alliance (Sequence fixed)
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 33307;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
|
||||
(33307, 1, 44974, 0, 0, 2599, 0),
|
||||
(33307, 2, 45011, 0, 0, 2597, 0),
|
||||
(33307, 3, 45074, 0, 0, 2601, 0),
|
||||
(33307, 4, 45075, 0, 0, 2601, 0),
|
||||
(33307, 5, 45076, 0, 0, 2601, 0),
|
||||
(33307, 6, 45077, 0, 0, 2601, 0),
|
||||
(33307, 7, 45078, 0, 0, 2601, 0),
|
||||
(33307, 8, 45128, 0, 0, 2601, 0),
|
||||
(33307, 9, 45129, 0, 0, 2601, 0),
|
||||
(33307, 10, 45130, 0, 0, 2601, 0),
|
||||
(33307, 11, 45131, 0, 0, 2602, 0),
|
||||
(33307, 12, 45152, 0, 0, 2602, 0),
|
||||
(33307, 13, 45153, 0, 0, 2602, 0),
|
||||
(33307, 14, 45154, 0, 0, 2602, 0),
|
||||
(33307, 15, 45155, 0, 0, 2602, 0),
|
||||
(33307, 16, 45156, 0, 0, 2602, 0),
|
||||
(33307, 17, 45159, 0, 0, 2602, 0),
|
||||
(33307, 18, 45160, 0, 0, 2602, 0),
|
||||
(33307, 19, 45163, 0, 0, 2602, 0),
|
||||
(33307, 20, 45181, 0, 0, 2602, 0),
|
||||
(33307, 21, 45182, 0, 0, 2602, 0),
|
||||
(33307, 22, 45183, 0, 0, 2602, 0),
|
||||
(33307, 23, 45184, 0, 0, 2602, 0),
|
||||
(33307, 24, 45574, 0, 0, 2598, 0),
|
||||
(33307, 25, 45125, 0, 0, 2600, 0),
|
||||
(33307, 26, 45718, 0, 0, 2639, 0),
|
||||
(33307, 27, 45725, 0, 0, 2603, 0),
|
||||
(33307, 28, 46752, 0, 0, 2671, 0),
|
||||
(33307, 29, 46758, 0, 0, 2671, 0);
|
||||
|
||||
-- Derrick Brindlebeard - Alliance
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 33310;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
|
||||
(33310, 1, 44970, 0, 0, 2599, 0),
|
||||
(33310, 2, 45018, 0, 0, 2597, 0),
|
||||
(33310, 3, 45074, 0, 0, 2601, 0),
|
||||
(33310, 4, 45075, 0, 0, 2601, 0),
|
||||
(33310, 5, 45076, 0, 0, 2601, 0),
|
||||
(33310, 6, 45077, 0, 0, 2601, 0),
|
||||
(33310, 7, 45078, 0, 0, 2601, 0),
|
||||
(33310, 8, 45128, 0, 0, 2601, 0),
|
||||
(33310, 9, 45129, 0, 0, 2601, 0),
|
||||
(33310, 10, 45130, 0, 0, 2601, 0),
|
||||
(33310, 11, 45131, 0, 0, 2602, 0),
|
||||
(33310, 12, 45152, 0, 0, 2602, 0),
|
||||
(33310, 13, 45153, 0, 0, 2602, 0),
|
||||
(33310, 14, 45154, 0, 0, 2602, 0),
|
||||
(33310, 15, 45155, 0, 0, 2602, 0),
|
||||
(33310, 16, 45156, 0, 0, 2602, 0),
|
||||
(33310, 17, 45159, 0, 0, 2602, 0),
|
||||
(33310, 18, 45160, 0, 0, 2602, 0),
|
||||
(33310, 19, 45163, 0, 0, 2602, 0),
|
||||
(33310, 20, 45181, 0, 0, 2602, 0),
|
||||
(33310, 21, 45182, 0, 0, 2602, 0),
|
||||
(33310, 22, 45183, 0, 0, 2602, 0),
|
||||
(33310, 23, 45184, 0, 0, 2602, 0),
|
||||
(33310, 24, 45577, 0, 0, 2598, 0),
|
||||
(33310, 25, 45586, 0, 0, 2600, 0),
|
||||
(33310, 26, 45717, 0, 0, 2639, 0),
|
||||
(33310, 27, 45725, 0, 0, 2603, 0),
|
||||
(33310, 28, 46748, 0, 0, 2671, 0),
|
||||
(33310, 29, 46762, 0, 0, 2671, 0);
|
||||
|
||||
-- Rillie Spindlenut - Alliance
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 33650;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
|
||||
(33650, 1, 45002, 0, 0, 2599, 0),
|
||||
(33650, 2, 45019, 0, 0, 2597, 0),
|
||||
(33650, 3, 45074, 0, 0, 2601, 0),
|
||||
(33650, 4, 45075, 0, 0, 2601, 0),
|
||||
(33650, 5, 45076, 0, 0, 2601, 0),
|
||||
(33650, 6, 45077, 0, 0, 2601, 0),
|
||||
(33650, 7, 45078, 0, 0, 2601, 0),
|
||||
(33650, 8, 45128, 0, 0, 2601, 0),
|
||||
(33650, 9, 45129, 0, 0, 2601, 0),
|
||||
(33650, 10, 45130, 0, 0, 2601, 0),
|
||||
(33650, 11, 45131, 0, 0, 2602, 0),
|
||||
(33650, 12, 45152, 0, 0, 2602, 0),
|
||||
(33650, 13, 45153, 0, 0, 2602, 0),
|
||||
(33650, 14, 45154, 0, 0, 2602, 0),
|
||||
(33650, 15, 45155, 0, 0, 2602, 0),
|
||||
(33650, 16, 45156, 0, 0, 2602, 0),
|
||||
(33650, 17, 45159, 0, 0, 2602, 0),
|
||||
(33650, 18, 45160, 0, 0, 2602, 0),
|
||||
(33650, 19, 45163, 0, 0, 2602, 0),
|
||||
(33650, 20, 45181, 0, 0, 2602, 0),
|
||||
(33650, 21, 45182, 0, 0, 2602, 0),
|
||||
(33650, 22, 45183, 0, 0, 2602, 0),
|
||||
(33650, 23, 45184, 0, 0, 2602, 0),
|
||||
(33650, 24, 45578, 0, 0, 2598, 0),
|
||||
(33650, 25, 45589, 0, 0, 2600, 0),
|
||||
(33650, 26, 45716, 0, 0, 2639, 0),
|
||||
(33650, 27, 45725, 0, 0, 2603, 0),
|
||||
(33650, 28, 46747, 0, 0, 2671, 0),
|
||||
(33650, 29, 46763, 0, 0, 2671, 0);
|
||||
|
||||
-- Rook Hawkfist - Alliance
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 33653;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
|
||||
(33653, 1, 44965, 0, 0, 2599, 0),
|
||||
(33653, 2, 45021, 0, 0, 2597, 0),
|
||||
(33653, 3, 45074, 0, 0, 2601, 0),
|
||||
(33653, 4, 45075, 0, 0, 2601, 0),
|
||||
(33653, 5, 45076, 0, 0, 2601, 0),
|
||||
(33653, 6, 45077, 0, 0, 2601, 0),
|
||||
(33653, 7, 45078, 0, 0, 2601, 0),
|
||||
(33653, 8, 45128, 0, 0, 2601, 0),
|
||||
(33653, 9, 45129, 0, 0, 2601, 0),
|
||||
(33653, 10, 45130, 0, 0, 2601, 0),
|
||||
(33653, 11, 45131, 0, 0, 2602, 0),
|
||||
(33653, 12, 45152, 0, 0, 2602, 0),
|
||||
(33653, 13, 45153, 0, 0, 2602, 0),
|
||||
(33653, 14, 45154, 0, 0, 2602, 0),
|
||||
(33653, 15, 45155, 0, 0, 2602, 0),
|
||||
(33653, 16, 45156, 0, 0, 2602, 0),
|
||||
(33653, 17, 45159, 0, 0, 2602, 0),
|
||||
(33653, 18, 45160, 0, 0, 2602, 0),
|
||||
(33653, 19, 45163, 0, 0, 2602, 0),
|
||||
(33653, 20, 45181, 0, 0, 2602, 0),
|
||||
(33653, 21, 45182, 0, 0, 2602, 0),
|
||||
(33653, 22, 45183, 0, 0, 2602, 0),
|
||||
(33653, 23, 45184, 0, 0, 2602, 0),
|
||||
(33653, 24, 45579, 0, 0, 2598, 0),
|
||||
(33653, 25, 45591, 0, 0, 2600, 0),
|
||||
(33653, 26, 45714, 0, 0, 2639, 0),
|
||||
(33653, 27, 45725, 0, 0, 2603, 0),
|
||||
(33653, 28, 46744, 0, 0, 2671, 0),
|
||||
(33653, 29, 46759, 0, 0, 2671, 0);
|
||||
|
||||
-- Irisee - Alliance
|
||||
DELETE FROM `npc_vendor` WHERE `entry` = 33657;
|
||||
INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `VerifiedBuild`) VALUES
|
||||
(33657, 1, 44984, 0, 0, 2599, 0),
|
||||
(33657, 2, 45020, 0, 0, 2597, 0),
|
||||
(33657, 3, 45074, 0, 0, 2601, 0),
|
||||
(33657, 4, 45075, 0, 0, 2601, 0),
|
||||
(33657, 5, 45076, 0, 0, 2601, 0),
|
||||
(33657, 6, 45077, 0, 0, 2601, 0),
|
||||
(33657, 7, 45078, 0, 0, 2601, 0),
|
||||
(33657, 8, 45128, 0, 0, 2601, 0),
|
||||
(33657, 9, 45129, 0, 0, 2601, 0),
|
||||
(33657, 10, 45130, 0, 0, 2601, 0),
|
||||
(33657, 11, 45131, 0, 0, 2602, 0),
|
||||
(33657, 12, 45152, 0, 0, 2602, 0),
|
||||
(33657, 13, 45153, 0, 0, 2602, 0),
|
||||
(33657, 14, 45154, 0, 0, 2602, 0),
|
||||
(33657, 15, 45155, 0, 0, 2602, 0),
|
||||
(33657, 16, 45156, 0, 0, 2602, 0),
|
||||
(33657, 17, 45159, 0, 0, 2602, 0),
|
||||
(33657, 18, 45160, 0, 0, 2602, 0),
|
||||
(33657, 19, 45163, 0, 0, 2602, 0),
|
||||
(33657, 20, 45181, 0, 0, 2602, 0),
|
||||
(33657, 21, 45182, 0, 0, 2602, 0),
|
||||
(33657, 22, 45183, 0, 0, 2602, 0),
|
||||
(33657, 23, 45184, 0, 0, 2602, 0),
|
||||
(33657, 24, 45580, 0, 0, 2598, 0),
|
||||
(33657, 25, 45590, 0, 0, 2600, 0),
|
||||
(33657, 26, 45715, 0, 0, 2639, 0),
|
||||
(33657, 27, 45725, 0, 0, 2603, 0),
|
||||
(33657, 28, 46745, 0, 0, 2671, 0),
|
||||
(33657, 29, 46756, 0, 0, 2671, 0);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,34 @@
|
||||
-- DB update 2020_12_18_02 -> 2020_12_19_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_18_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_18_02 2020_12_19_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608331608234968600'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608331608234968600');
|
||||
|
||||
-- Update initial NPCs positions
|
||||
UPDATE `creature` SET `position_x`=-6214.805, `position_y`=328.701, `position_z`=383.514, `orientation`=2.686 WHERE `guid`=351; -- Sten Stoutarm
|
||||
UPDATE `creature` SET `position_x`=-3987.618, `position_y`=-13874.763, `position_z`=91.132, `orientation`=4.785 WHERE `guid`=57173; -- Megelon
|
||||
UPDATE `creature` SET `position_x`=-606.627, `position_y`=-4251.340, `position_z`=38.957, `orientation`=3.175 WHERE `guid`=3442; -- Kaltunk
|
||||
UPDATE `creature` SET `position_x`=1678.629, `position_y`=1667.528, `position_z`=135.827, `orientation`=3.534 WHERE `guid`=29803; -- Undertaker Mordo
|
||||
UPDATE `creature` SET `position_x`=10357.584, `position_y`=-6369.816, `position_z`=36.141, `orientation`=2.321 WHERE `guid`=54984; -- Magistrix Erona
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2020_12_19_00 -> 2020_12_24_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_19_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_19_00 2020_12_24_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608425033220359700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608425033220359700');
|
||||
|
||||
UPDATE `spell_proc_event` SET `procFlags` = 65536 WHERE `entry` = 16164;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,29 @@
|
||||
-- DB update 2020_12_24_00 -> 2020_12_24_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_24_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_24_00 2020_12_24_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1602681411978701400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1602681411978701400');
|
||||
|
||||
UPDATE `broadcast_text_locale` SET `MaleText`='Cazador', `FemaleText`='Cazadora' WHERE `ID`=50546 AND `locale` IN ('esES', 'esMX');
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,629 @@
|
||||
-- DB update 2020_12_24_01 -> 2020_12_25_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_24_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_24_01 2020_12_25_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601870525065182700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601981411342865100');
|
||||
|
||||
-- ULDUAR SHIELD BUNNY
|
||||
UPDATE `creature_template` SET `InhabitType`=4, `AIName`='SmartAI' WHERE `entry`=33779;
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 33779);
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(137509, 33779, 603, 0, 0, 3, 1, 0, 0, -689.106, -50.0527, 428.213, 0, 180, 0, 0, 1, 0, 0, 0, 0, 0, '', 0),
|
||||
(137510, 33779, 603, 0, 0, 3, 1, 0, 0, -666.392, -4.951, 518.596, 0, 120, 0, 0, 1, 0, 0, 0, 0, 0, '', 0),
|
||||
(137511, 33779, 603, 0, 0, 3, 1, 0, 0, -642.508, -101.339, 518.981, 0, 120, 0, 0, 1, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -137509);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-137509, 0, 0, 0, 38, 0, 100, 0, 0, 1, 0, 0, 0, 11, 63660, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Shield Bunny - On Data Set 0 1 - Cast \'Empowered Arcane Explosion\'');
|
||||
|
||||
-- Kirin Tor Battle-Mage
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 33662;
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 33662);
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(137508, 33662, 603, 0, 0, 3, 1, 28886, 1, -673.059, -77.446, 426.35, 5.35086, 604800, 0, 0, 1, 0, 0, 0, 0, 0, '', 0),
|
||||
(137507, 33662, 603, 0, 0, 3, 1, 28886, 1, -675.671, -19.437, 426.35, 1.30916, 604800, 0, 0, 1, 0, 0, 0, 0, 0, '', 0),
|
||||
(136529, 33662, 603, 0, 0, 3, 1, 28780, 1, -800.668, -233.616, 429.967, 4.62572, 180, 5, 0, 75600, 39940, 1, 0, 0, 0, '', 0),
|
||||
(136530, 33662, 603, 0, 0, 3, 1, 28886, 1, -775.323, -158.514, 429.821, 0.836248, 180, 0, 0, 75600, 39940, 0, 0, 0, 0, '', 0),
|
||||
(136527, 33662, 603, 0, 0, 3, 1, 28886, 1, -704.212, -94.6969, 430.024, 2.44346, 180, 0, 0, 75600, 39940, 0, 0, 0, 0, '', 0),
|
||||
(136524, 33662, 603, 0, 0, 3, 1, 28884, 1, -718.091, -60.1257, 429.924, 0.959931, 180, 0, 0, 75600, 39940, 0, 0, 0, 0, '', 0),
|
||||
(136523, 33662, 603, 0, 0, 3, 1, 28886, 1, -815.095, -204.22, 429.841, 1.55333, 180, 0, 0, 75600, 39940, 0, 0, 0, 0, '', 0),
|
||||
(136522, 33662, 603, 0, 0, 3, 1, 28885, 1, -752.114, -102.089, 429.714, 6.17846, 180, 0, 0, 75600, 39940, 0, 0, 0, 0, '', 0),
|
||||
(136521, 33662, 603, 0, 0, 3, 1, 28885, 1, -786.215, -84.7696, 429.792, 1.44862, 180, 0, 0, 75600, 39940, 0, 0, 0, 0, '', 0);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -137508);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-137508, 0, 0, 0, 1, 0, 100, 1, 500, 500, 500, 500, 0, 11, 48310, 0, 0, 0, 0, 0, 10, 137511, 33779, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - Out of Combat - Cast \'Transitus Shield Beam\' (No Repeat)'),
|
||||
(-137508, 0, 1, 2, 38, 0, 100, 0, 0, 1, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -673.399, -87.85, 426.51, 0.021254, 'Kirin Tor Battle-Mage - On Data Set 0 1 - Move To Position'),
|
||||
(-137508, 0, 2, 0, 61, 0, 100, 0, 0, 1, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, 137511, 33779, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - On Data Set 0 1 - Despawn Instant'),
|
||||
(-137508, 0, 3, 0, 34, 0, 100, 0, 0, 1, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 6.2797, 'Kirin Tor Battle-Mage - On Reached Point 1 - Set Orientation 6.2797'),
|
||||
(-137508, 0, 4, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 62, 603, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -673.399, -87.85, 426.51, 6.2797, 'Kirin Tor Battle-Mage - On Update - Teleport (No Repeat)');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -137507);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-137507, 0, 0, 0, 1, 0, 100, 1, 500, 500, 500, 500, 0, 11, 48310, 0, 0, 0, 0, 0, 10, 137510, 33779, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - Out of Combat - Cast \'Transitus Shield Beam\' (No Repeat)'),
|
||||
(-137507, 0, 1, 2, 38, 0, 100, 0, 0, 1, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -674.524, -2.496, 425.95, 0.042202, 'Kirin Tor Battle-Mage - On Data Set 0 1 - Move To Position'),
|
||||
(-137507, 0, 2, 0, 61, 0, 100, 0, 0, 1, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 10, 137510, 33779, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - On Data Set 0 1 - Despawn Instant'),
|
||||
(-137507, 0, 3, 0, 34, 0, 100, 0, 0, 1, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 6.2797, 'Kirin Tor Battle-Mage - On Reached Point 1 - Set Orientation 6.2797'),
|
||||
(-137507, 0, 4, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 62, 603, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -674.524, -2.496, 425.95, 6.2797, 'Kirin Tor Battle-Mage - On Update - Teleport (No Repeat)');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136524);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136524, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 29, 1, 135, 0, 0, 0, 0, 10, 136281, 33624, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - On Data Set 1 1 - Start Follow Closest Creature \'Archmage Pentarus\''),
|
||||
(-136524, 0, 1, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 62, 603, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -679.573, -82.066, 427.233, 0.054839, 'Kirin Tor Battle-Mage - On Update - Teleport (No Repeat)');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` = -136524) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 2);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 2, -136524, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', '');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` IN (-137507,-137508)) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` IN (1,5));
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 1, -137507, 0, 0, 13, 1, 800, 0, 0, 0, 0, 0, '', ''),
|
||||
(22, 1, -137508, 0, 0, 13, 1, 800, 0, 0, 0, 0, 0, '', ''),
|
||||
(22, 5, -137507, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', ''),
|
||||
(22, 5, -137508, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', '');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136527);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136527, 0, 0, 0, 10, 0, 100, 1, 1, 20, 0, 0, 1, 80, 3366200, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - Within 1-20 Range Out of Combat LoS - Run Script (No Repeat)'),
|
||||
(-136527, 0, 1, 0, 10, 0, 100, 0, 1, 20, 90000, 120000, 1, 80, 3366200, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - Within 1-20 Range Out of Combat LoS - Run Script');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 3369600); -- This has a invalid guid, it has Archmage Rhydian guid but it is for Kirin Tor Battle-Mage
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 3366200);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(3366200, 9, 0, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - Script - Say Line 0'),
|
||||
(3366200, 9, 1, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 33626, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - Script - Say Line 0 (Hired Engineer)'),
|
||||
(3366200, 9, 2, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - Script - Say Line 1'),
|
||||
(3366200, 9, 3, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 33626, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - Script - Say Line 1 (Hired Engineer)');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 1) AND (`SourceEntry` = 136527);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 1, 136527, 0, 0, 13, 0, 0, 0, 0, 1, 0, 0, '', 'Kirin Tor Battle-Mage - Base Camp Transporter');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 2) AND (`SourceEntry` = 136527);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 2, 136527, 0, 0, 13, 0, 0, 0, 0, 1, 0, 0, '', '');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136523);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136523, 0, 0, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 11, 39550, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Battle-Mage - On Update - Cast \'Arcane Channeling\' (No Repeat)');
|
||||
|
||||
-- Kirin Tor Mage
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 33672;
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 33672) AND (`guid` IN (136553, 136552));
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136553, 33672, 603, 0, 0, 3, 1, 0, 0, -814.096, -201.356, 429.84, 6.25175, 30, 0, 0, 9416, 8459, 0, 0, 0, 0, '', 0),
|
||||
(136552, 33672, 603, 0, 0, 3, 1, 0, 0, -814.096, -201.356, 429.84, 6.25175, 30, 0, 0, 2500, 8459, 0, 0, 0, 0, '', 0);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136537);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136537, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 29, 1, 225, 0, 0, 0, 0, 10, 136281, 33624, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Data Set 1 1 - Start Follow Closest Creature \'Archmage Pentarus\''),
|
||||
(-136537, 0, 1, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 62, 603, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -679.255, -87.855, 427.228, 0.054839, 'Kirin Tor Mage - On Update - Teleport (No Repeat)');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` = -136537) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 2);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 2, -136537, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', '');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136552);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136552, 0, 0, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 11, 12980, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Update - Cast \'Teleport Visual\' (No Repeat)'),
|
||||
(-136552, 0, 1, 0, 60, 0, 100, 1, 2000, 2000, 0, 0, 0, 53, 0, 3367200, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Update - Start Waypoint (No Repeat)'),
|
||||
(-136552, 0, 2, 0, 40, 0, 100, 0, 6, 3367200, 0, 0, 0, 54, 10000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Waypoint 6 Reached - Pause Waypoint'),
|
||||
(-136552, 0, 3, 0, 40, 0, 100, 0, 6, 3367200, 0, 0, 0, 80, 3367200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Waypoint 6 Reached - Run Script'),
|
||||
(-136552, 0, 4, 5, 58, 0, 100, 0, 0, 3367200, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Waypoint Finished - Despawn In 1000 ms'),
|
||||
(-136552, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 11, 12980, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Update - Cast \'Teleport Visual\' (No Repeat)');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136553);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136553, 0, 0, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 11, 12980, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Update - Cast \'Teleport Visual\' (No Repeat)'),
|
||||
(-136553, 0, 1, 0, 60, 0, 100, 1, 2000, 2000, 0, 0, 0, 53, 0, 3367201, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Update - Start Waypoint (No Repeat)'),
|
||||
(-136553, 0, 2, 0, 40, 0, 100, 0, 4, 3367201, 0, 0, 0, 54, 10000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Waypoint 4 Reached - Pause Waypoint'),
|
||||
(-136553, 0, 3, 0, 40, 0, 100, 0, 4, 3367201, 0, 0, 0, 80, 3367200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Waypoint 4 Reached - Run Script'),
|
||||
(-136553, 0, 4, 5, 58, 0, 100, 0, 0, 3367201, 0, 0, 0, 41, 1000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Waypoint Finished - Despawn In 1000 ms'),
|
||||
(-136553, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 11, 12980, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - On Update - Cast \'Teleport Visual\' (No Repeat)');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 3367200);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(3367200, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 75, 68442, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - Actionlist - Add Aura \'Kneel\''),
|
||||
(3367200, 9, 1, 0, 0, 0, 100, 0, 8500, 8500, 0, 0, 0, 28, 68442, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kirin Tor Mage - Actionlist - Remove Aura \'Kneel\'');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=3367200;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(3367200, 1, -812.01, -201.99, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 2, -810.91, -203.51, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 3, -810.72, -206.63, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 4, -811.23, -217.11, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 5, -812.88, -222.94, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 6, -815.95, -228.36, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 7, -812.88, -222.94, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 8, -811.23, -217.11, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 9, -810.72, -206.63, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 10, -810.91, -203.51, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 11, -812.01, -201.99, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar'),
|
||||
(3367200, 12, -814.09, -201.35, 429.8, 'Kirin Tor Mage - Boxes Middle Ulduar');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=3367201;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(3367201, 1, -812.83, -202.50, 429.8, 'Kirin Tor Mage - Boxes Right Ulduar'),
|
||||
(3367201, 2, -812.35, -205.30, 429.8, 'Kirin Tor Mage - Boxes Right Ulduar'),
|
||||
(3367201, 3, -815.29, -207.55, 429.8, 'Kirin Tor Mage - Boxes Right Ulduar'),
|
||||
(3367201, 4, -818.87, -207.92, 429.8, 'Kirin Tor Mage - Boxes Right Ulduar'),
|
||||
(3367201, 5, -815.29, -207.55, 429.8, 'Kirin Tor Mage - Boxes Right Ulduar'),
|
||||
(3367201, 6, -812.35, -205.30, 429.8, 'Kirin Tor Mage - Boxes Right Ulduar'),
|
||||
(3367201, 7, -812.83, -202.50, 429.8, 'Kirin Tor Mage - Boxes Right Ulduar'),
|
||||
(3367201, 8, -814.09, -201.35, 429.8, 'Kirin Tor Mage - Boxes Right Ulduar');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136546);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136546, 0, 0, 0, 1, 0, 100, 0, 3000, 4000, 3000, 4000, 0, 10, 273, 1, 6, 274, 5, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136545);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136545, 0, 0, 0, 1, 0, 100, 0, 3000, 4000, 3000, 4000, 0, 10, 273, 1, 6, 274, 5, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136539);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136539, 0, 0, 0, 1, 0, 100, 0, 3000, 4000, 3000, 4000, 0, 10, 273, 1, 6, 274, 5, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136538);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136538, 0, 0, 0, 1, 0, 100, 0, 3000, 4000, 3000, 4000, 0, 10, 273, 1, 6, 274, 5, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '');
|
||||
|
||||
-- Goran Steelbreaker
|
||||
DELETE FROM `creature` WHERE (`id` = 33622);
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136271, 33622, 603, 0, 0, 3, 1, 0, 1, -870.116, -159.637, 458.86, 6.2623, 604800, 0, 0, 1, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry` = 13627100;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(13627100, 1, -856.854, -159.629, 458.894, 'Goran Steelbreaker'),
|
||||
(13627100, 2, -815.381, -160.206, 429.841, 'Goran Steelbreaker'),
|
||||
(13627100, 3, -812.063, -160.252, 429.841, 'Goran Steelbreaker'),
|
||||
(13627100, 4, -787.449, -186.878, 429.841, 'Goran Steelbreaker'),
|
||||
(13627100, 5, -764.428, -185.599, 429.841, 'Goran Steelbreaker'),
|
||||
(13627100, 6, -756.902, -183.903, 429.824, 'Goran Steelbreaker'),
|
||||
(13627100, 7, -743.469, -190.483, 429.841, 'Goran Steelbreaker'),
|
||||
(13627100, 8, -735.021, -155.349, 429.84, 'Goran Steelbreaker'),
|
||||
(13627100, 9, -733.845, -123.15, 429.84, 'Goran Steelbreaker'),
|
||||
(13627100, 10, -735.325, -104.313, 429.84, 'Goran Steelbreaker'),
|
||||
(13627100, 11, -726.365, -86.0322, 429.84, 'Goran Steelbreaker'),
|
||||
(13627100, 12, -710.154, -81.27, 429.84, 'Goran Steelbreaker'),
|
||||
(13627100, 13, -700.494, -81.3369, 429.402, 'Goran Steelbreaker'),
|
||||
(13627100, 14, -723.062, -81.6906, 429.842, 'Goran Steelbreaker'),
|
||||
(13627100, 15, -735.383, -98.9337, 429.842, 'Goran Steelbreaker'),
|
||||
(13627100, 16, -736.991, -134.149, 429.841, 'Goran Steelbreaker'),
|
||||
(13627100, 17, -740.398, -157.068, 429.842, 'Goran Steelbreaker'),
|
||||
(13627100, 18, -746.407, -170.483, 429.842, 'Goran Steelbreaker'),
|
||||
(13627100, 19, -748.094, -175.932, 429.801, 'Goran Steelbreaker'),
|
||||
(13627100, 20, -776.031, -186.115, 429.84, 'Goran Steelbreaker'),
|
||||
(13627100, 21, -795.367, -180.787, 429.84, 'Goran Steelbreaker'),
|
||||
(13627100, 22, -803.027, -151.463, 429.84, 'Goran Steelbreaker'),
|
||||
(13627100, 23, -800.079, -131.901, 429.614, 'Goran Steelbreaker'),
|
||||
(13627100, 24, -798.208, -85.7146, 429.842, 'Goran Steelbreaker'),
|
||||
(13627100, 25, -796.247, -66.4749, 429.843, 'Goran Steelbreaker'),
|
||||
(13627100, 26, -803.578, -54.884, 429.843, 'Goran Steelbreaker');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry` IN (13627101);
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(13627101, 1, -759.514, -46.609, 429.84, 'Goran Steelbreaker 1'),
|
||||
(13627101, 2, -709.315, -26.547, 429.84, 'Goran Steelbreaker 1'),
|
||||
(13627101, 3, -702.395, -11.965, 429.73, 'Goran Steelbreaker 1'),
|
||||
(13627101, 4, -679.813, -8.959, 426.88, 'Goran Steelbreaker 1');
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE (`entry` = 33622);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136271);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136271, 0, 0, 0, 1, 0, 100, 1, 0, 0, 0, 0, 0, 53, 0, 13627100, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Goran Steelbreaker - Out of Combat - Start Waypoint (No Repeat)'),
|
||||
(-136271, 0, 1, 0, 40, 0, 100, 0, 7, 13627100, 0, 0, 0, 54, 45000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Goran Steelbreaker - On Waypoint 7 Reached - Pause Waypoint'),
|
||||
(-136271, 0, 2, 0, 40, 0, 100, 0, 13, 13627100, 0, 0, 0, 54, 45000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Goran Steelbreaker - On Waypoint 13 Reached - Pause Waypoint'),
|
||||
(-136271, 0, 3, 4, 38, 0, 100, 0, 0, 1, 0, 0, 0, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Goran Steelbreaker - On Data Set 0 1 - Stop Waypoint'),
|
||||
(-136271, 0, 4, 0, 61, 0, 100, 0, 0, 1, 0, 0, 0, 53, 1, 13627101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Goran Steelbreaker - On Data Set 0 1 - Start Waypoint'),
|
||||
(-136271, 0, 5, 6, 58, 0, 100, 0, 0, 13627101, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 6.2797, 'Goran Steelbreaker - On Waypoint Finished - Set Orientation 6.2797'),
|
||||
(-136271, 0, 6, 7, 61, 0, 100, 0, 0, 13627101, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 10, 136525, 33620, 0, 0, 0, 0, 0, 0, 'Goran Steelbreaker - On Waypoint Finished - Set Data 0 1'),
|
||||
(-136271, 0, 7, 0, 61, 0, 100, 0, 0, 13627101, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 10, 136526, 33620, 0, 0, 0, 0, 0, 0, 'Goran Steelbreaker - On Waypoint Finished - Set Data 0 1'),
|
||||
(-136271, 0, 8, 9, 60, 0, 100, 1, 0, 0, 0, 0, 0, 62, 603, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -679.813, -8.959, 426.88, 6.2797, 'Goran Steelbreaker - On Update - Teleport (No Repeat)'),
|
||||
(-136271, 0, 9, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 55, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Goran Steelbreaker - On Update - Stop Waypoint (No Repeat)');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` = -136271) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 9);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 9, -136271, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', '');
|
||||
|
||||
-- Earthen Stoneshaper
|
||||
DELETE FROM `creature` WHERE (`id` = 33620);
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136526, 33620, 603, 0, 0, 3, 1, 0, 1, -873.232, -163.121, 458.848, 6.2623, 604800, 0, 0, 1, 0, 0, 0, 0, 0, '', 0),
|
||||
(136525, 33620, 603, 0, 0, 3, 1, 0, 1, -873.089, -156.242, 458.849, 6.2623, 604800, 0, 0, 1, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 33620;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136525);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136525, 0, 0, 0, 1, 0, 100, 1, 500, 500, 500, 500, 0, 29, 2, 135, 0, 0, 0, 0, 10, 136271, 33622, 0, 0, 0, 0, 0, 0, 'Earthen Stoneshaper - Out of Combat - Start Follow Closest Creature \'Goran Steelbreaker\' (No Repeat)'),
|
||||
(-136525, 0, 1, 2, 38, 0, 100, 0, 0, 1, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthen Stoneshaper - On Data Set 0 1 - Stop Follow '),
|
||||
(-136525, 0, 2, 0, 61, 0, 100, 0, 0, 1, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 10, 136271, 33622, 0, 0, -3, 3, 0, 0, 'Earthen Stoneshaper - On Data Set 0 1 - Move To Closest Creature \'Goran Steelbreaker\''),
|
||||
(-136525, 0, 3, 0, 34, 0, 100, 0, 0, 1, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 6.2797, 'Earthen Stoneshaper - On Reached Point 1 - Set Orientation 6.2797'),
|
||||
(-136525, 0, 4, 5, 60, 0, 100, 1, 0, 0, 0, 0, 0, 62, 603, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -682.924, -5.959, 427.28, 6.2797, 'Earthen Stoneshaper - On Update - Teleport (No Repeat)'),
|
||||
(-136525, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthen Stoneshaper - On Update - Stop Follow (No Repeat)');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136526);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136526, 0, 0, 0, 1, 0, 100, 1, 500, 500, 500, 500, 0, 29, 2, 225, 0, 0, 0, 0, 10, 136271, 33622, 0, 0, 0, 0, 0, 0, 'Earthen Stoneshaper - Out of Combat - Start Follow Closest Creature \'Goran Steelbreaker\' (No Repeat)'),
|
||||
(-136526, 0, 1, 2, 38, 0, 100, 0, 0, 1, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthen Stoneshaper - On Data Set 0 1 - Stop Follow '),
|
||||
(-136526, 0, 2, 0, 61, 0, 100, 0, 0, 1, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 10, 136271, 33622, 0, 0, -3, -3, 0.1, 0, 'Earthen Stoneshaper - On Data Set 0 1 - Move To Closest Creature \'Goran Steelbreaker\''),
|
||||
(-136526, 0, 3, 0, 34, 0, 100, 0, 0, 1, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 6.2797, 'Earthen Stoneshaper - On Reached Point 1 - Set Orientation 6.2797'),
|
||||
(-136526, 0, 4, 5, 60, 0, 100, 1, 0, 0, 0, 0, 0, 62, 603, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -682.812, -11.959, 427.25, 6.2797, 'Earthen Stoneshaper - On Update - Teleport (No Repeat)'),
|
||||
(-136526, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthen Stoneshaper - On Update - Stop Follow (No Repeat)');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` = -136525) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 5);
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` = -136526) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 5);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 5, -136525, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', ''),
|
||||
(22, 5, -136526, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', '');
|
||||
|
||||
-- Archmage Rhydian
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 33696;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 33696);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(33696, 0, 0, 1, 38, 0, 100, 0, 1, 1, 0, 0, 0, 1, 0, 2000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Rhydian - On Data Set 1 1 - Say Line 0'),
|
||||
(33696, 0, 1, 0, 61, 0, 100, 0, 1, 1, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Rhydian - On Data Set 1 1 - Set Event Phase 1'),
|
||||
(33696, 0, 2, 0, 52, 1, 100, 0, 0, 33696, 0, 0, 0, 53, 1, 33696, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Rhydian - On Text 0 Over - Start Waypoint (Phase 1)'),
|
||||
(33696, 0, 3, 0, 40, 1, 100, 0, 7, 33696, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Rhydian - On Waypoint 7 Reached - Set Run Off (Phase 1)'),
|
||||
(33696, 0, 4, 5, 40, 1, 100, 0, 9, 33696, 0, 0, 0, 54, 8000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Rhydian - On Waypoint 9 Reached - Pause Waypoint (Phase 1)'),
|
||||
(33696, 0, 5, 6, 61, 1, 100, 0, 9, 33696, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Rhydian - On Waypoint 9 Reached - Say Line 1 (Phase 1)'),
|
||||
(33696, 0, 6, 0, 61, 1, 100, 0, 9, 33696, 0, 0, 0, 59, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Rhydian - On Waypoint 9 Reached - Set Run On (Phase 1)'),
|
||||
(33696, 0, 7, 0, 40, 1, 100, 0, 13, 33696, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Rhydian - On Waypoint 13 Reached - Set Run Off (Phase 1)'),
|
||||
(33696, 0, 8, 0, 40, 1, 100, 0, 14, 33696, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 5.91667, 'Archmage Rhydian - On Waypoint 14 Reached - Set Orientation 5.91667 (Phase 1)'),
|
||||
(33696, 0, 9, 10, 38, 1, 100, 0, 1, 2, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -773.48, -144.13, 429.91, 0, 'Archmage Rhydian - On Data Set 1 2 - Move To Position (Phase 1)'),
|
||||
(33696, 0, 10, 0, 61, 0, 100, 0, 1, 2, 0, 0, 0, 59, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Rhydian - On Data Set 1 2 - Set Run On (Phase 1)'),
|
||||
(33696, 0, 11, 12, 34, 1, 100, 0, 8, 1, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 5.91667, 'Archmage Rhydian - On Reached Point 1 - Set Orientation 5.91667 (Phase 1)'),
|
||||
(33696, 0, 12, 0, 61, 1, 100, 0, 8, 1, 0, 0, 0, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Rhydian - On Reached Point 1 - Stop Waypoint (Phase 1)');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=33696;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(33696, 1, -769.512, -120.811, 429.55, 'Archmage Rhydian'),
|
||||
(33696, 2, -769.143, -104.085, 429.86, 'Archmage Rhydian'),
|
||||
(33696, 3, -763.094, -86.176, 429.95, 'Archmage Rhydian'),
|
||||
(33696, 4, -755.04, -68.305, 429.95, 'Archmage Rhydian'),
|
||||
(33696, 5, -746.373, -54.038, 429.96, 'Archmage Rhydian'),
|
||||
(33696, 6, -738.985, -49.878, 429.96, 'Archmage Rhydian'),
|
||||
(33696, 7, -729.148, -49.885, 429.96, 'Archmage Rhydian'),
|
||||
(33696, 8, -721.175, -49.993, 429.84, 'Archmage Rhydian'),
|
||||
(33696, 9, -718.606, -52.745, 429.84, 'Archmage Rhydian'),
|
||||
(33696, 10, -743.976, -62.591, 429.83, 'Archmage Rhydian'),
|
||||
(33696, 11, -760.337, -82.492, 429.83, 'Archmage Rhydian'),
|
||||
(33696, 12, -766.435, -98.779, 429.83, 'Archmage Rhydian'),
|
||||
(33696, 13, -768.557, -112.185, 429.83, 'Archmage Rhydian'),
|
||||
(33696, 14, -773.48, -144.13, 429.91, 'Archmage Rhydian');
|
||||
|
||||
-- Lore Keeper of Norgannon Projection Unit
|
||||
DELETE FROM `creature` WHERE (`id` = 33721) AND (`guid` IN (136778));
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136778, 33721, 603, 0, 0, 3, 1, 26937, 0, -759.845, -151.133, 438.61, 0, 604800, 0, 0, 12600, 3994, 0, 0, 0, 0, '', 0);
|
||||
|
||||
-- Lore Keeper of Norgannon
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE (`entry` = 33686);
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 33686);
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136605, 33686, 603, 0, 0, 3, 1, 6589, 0, -764.599, -147.708, 430.172, 3.19395, 604800, 0, 0, 17010, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`=33686;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(33686, 0, 0, 'I was constructed to serve as a repository for essential information regarding this complex. My primary functions include communicating the status of the frontal defense systems and assessing the status of the entity that this complex was built to imprison.', 12, 0, 0, 0, 0, 0, 33703, 0, 'Norgannon SAY_EVENT_1'),
|
||||
(33686, 1, 0, 'Access to the interior of the complex is currently restricted. Primary defensive emplacements are active. Secondary systems are currently non-active.', 12, 0, 0, 0, 0, 0, 33705, 0, 'Norgannon SAY_EVENT_2'),
|
||||
(33686, 2, 0, 'Compromise of complex detected, security override enabled - query permitted.', 12, 0, 0, 0, 0, 0, 33707, 0, 'Norgannon SAY_EVENT_3'),
|
||||
(33686, 3, 0, 'Primary defensive emplacements consist of iron constructs and Storm Beacons, which will generate additional constructs as necessary. Secondary systems consist of orbital defense emplacements.', 12, 0, 0, 0, 0, 0, 33712, 0, 'Norgannon SAY_EVENT_4'),
|
||||
(33686, 4, 0, 'Entity designate: Yogg-Saron. Security has been compromised. Prison operational status unknown. Unable to contact Watchers for notification purposes.', 12, 0, 0, 0, 0, 0, 33711, 0, 'Norgannon SAY_EVENT_5'),
|
||||
(33686, 5, 0, 'Deactivating.', 12, 0, 0, 0, 0, 0, 33808, 0, 'Norgannon SAY_EVENT_6');
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE (`MenuID` = 10366);
|
||||
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
|
||||
(10366, 0, 0, 'Activate secondary defensive systems.', 34420, 1, 1, 0, 0, 0, 0, NULL, 0, 0);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 33686);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(33686, 0, 0, 0, 62, 0, 100, 0, 10366, 0, 0, 0, 0, 98, 10477, 14496, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Gossip Option 0 Selected - Send Gossip'),
|
||||
(33686, 0, 1, 0, 10, 0, 100, 0, 1, 20, 90000, 180000, 1, 80, 3368600, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Within 1-20 Range Out of Combat LoS - Run Script'),
|
||||
(33686, 0, 2, 0, 10, 0, 100, 1, 1, 20, 0, 0, 1, 80, 3368600, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Within 1-20 Range Out of Combat LoS - Run Script (No Repeat)'),
|
||||
(33686, 0, 3, 4, 62, 0, 100, 0, 10477, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Gossip Option 0 Selected - Remove Npc Flags Gossip'),
|
||||
(33686, 0, 4, 5, 61, 0, 100, 0, 10477, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Gossip Option 0 Selected - Close Gossip'),
|
||||
(33686, 0, 5, 6, 61, 0, 100, 0, 10477, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Gossip Option 0 Selected - Store Targetlist'),
|
||||
(33686, 0, 6, 7, 61, 0, 100, 0, 10477, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 10, 136767, 33701, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Gossip Option 0 Selected - Send Target 1'),
|
||||
(33686, 0, 7, 8, 61, 0, 100, 0, 10477, 0, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Gossip Option 0 Selected - Run Script'),
|
||||
(33686, 0, 8, 9, 61, 0, 100, 0, 10477, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 136767, 33701, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Gossip Option 0 Selected - Set Data 1 1'),
|
||||
(33686, 0, 9, 0, 61, 0, 100, 0, 10477, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 10, 136253, 33579, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Gossip Option 0 Selected - Remove Npc Flags Gossip'),
|
||||
(33686, 0, 10, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Update - Remove Npc Flags Gossip (No Repeat)'),
|
||||
(33686, 0, 11, 14, 38, 0, 100, 0, 0, 1, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Data Set 0 1 - Despawn In 2000 ms'),
|
||||
(33686, 0, 12, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Update - Despawn In 2000 ms (No Repeat)'),
|
||||
(33686, 0, 13, 0, 38, 0, 100, 0, 1, 2, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Data Set 1 2 - Run Script'),
|
||||
(33686, 0, 14, 15, 61, 0, 100, 0, 0, 1, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Data Set 0 1 - Say Line 5'),
|
||||
(33686, 0, 15, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 10, 136778, 33721, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - On Data Set 0 1 - Despawn In 2000 ms');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 3368600);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(3368600, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 10, 136767, 33701, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - Store Targetlist'),
|
||||
(3368600, 9, 1, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - High Explorer Dellorah Say Line 0'),
|
||||
(3368600, 9, 2, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - Say Line 0'),
|
||||
(3368600, 9, 3, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - High Explorer Dellorah Say Line 1'),
|
||||
(3368600, 9, 4, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - Say Line 1'),
|
||||
(3368600, 9, 5, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - High Explorer Dellorah Say Line 2'),
|
||||
(3368600, 9, 6, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - Say Line 2'),
|
||||
(3368600, 9, 7, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - Say Line 3'),
|
||||
(3368600, 9, 8, 0, 0, 0, 100, 0, 14000, 14000, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - High Explorer Dellorah Say Line 3'),
|
||||
(3368600, 9, 9, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - High Explorer Dellorah Say Line 4'),
|
||||
(3368600, 9, 11, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 136761, 33696, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - Archmage Rhydian Waypoint Start'),
|
||||
(3368600, 9, 10, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - High Explorer Dellorah Say Line 5'),
|
||||
(3368600, 9, 12, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - Say Line 4'),
|
||||
(3368600, 9, 13, 0, 0, 0, 100, 0, 12000, 12000, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Lore Keeper of Norgannon - Actionlist - High Explorer Dellorah Say Line 6');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` = 33686) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` IN (11,13));
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 11, 33686, 0, 0, 13, 1, 800, 0, 0, 1, 0, 0, '', 'Lore Keeper of Norgannon - Remove Gossip Flag - Ulduar Base Camp Intro Started'),
|
||||
(22, 13, 33686, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', 'Lore Keeper of Norgannon - Change Phase - Ulduar Base Camp Intro Done');
|
||||
|
||||
-- High Explorer Dellorah
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 33701;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 33701);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(33701, 0, 1, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 80, 3370100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'High Explorer Dellorah - On Data Set 1 1 - Run Script (No Repeat)'),
|
||||
(33701, 0, 2, 3, 40, 0, 100, 0, 6, 0, 0, 0, 0, 1, 8, 5000, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'High Explorer Dellorah - On Waypoint 6 Reached - Say Line 8'),
|
||||
(33701, 0, 3, 0, 61, 0, 100, 0, 6, 0, 0, 0, 0, 54, 5000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'High Explorer Dellorah - On Waypoint 6 Reached - Pause Waypoint'),
|
||||
(33701, 0, 4, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'High Explorer Dellorah - On Update - Despawn In 2000 ms (No Repeat)'),
|
||||
(33701, 0, 5, 0, 58, 0, 100, 0, 0, 0, 0, 0, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'High Explorer Dellorah - On Waypoint Finished - Despawn In 2000 ms'),
|
||||
(33701, 0, 6, 0, 52, 0, 100, 0, 8, 33701, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 10, 136253, 33579, 0, 0, 0, 0, 0, 0, 'High Explorer Dellorah - On Text 8 Over - Set Data 0 1'),
|
||||
(33701, 0, 7, 0, 38, 0, 100, 0, 1, 2, 0, 0, 0, 80, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'High Explorer Dellorah - On Data Set 1 2 - Run Script');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 3370100);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(3370100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'High Explorer Dellorah - Actionlist - Set Data 1 0'),
|
||||
(3370100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 7, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'High Explorer Dellorah - Actionlist - Say Line 7'),
|
||||
(3370100, 9, 2, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 53, 1, 33701, 0, 0, 2000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'High Explorer Dellorah - Actionlist - Start Waypoint');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` = 33701) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 5);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 5, 33701, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', 'High Explorer Dellorah - Change Phase - Base Camp Intro Done');
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` = 33701);
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(136767, 33701, 603, 0, 0, 3, 1, 28826, 0, -771.144, -147.649, 430.055, 0.069813, 3600, 0, 0, 12600, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`=33701;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(33701, 0, 0, 'I heard a story or two of a Lore Keeper in Uldaman that fit your description. Do you serve a similar purpose?', 12, 0, 100, 0, 0, 0, 33702, 0, 'High Explorer Dellorah to Player'),
|
||||
(33701, 1, 0, 'Frontal defense systems? Is there something I should let Brann know before he has anyone attempt to enter the complex?', 12, 0, 100, 0, 0, 0, 33704, 0, 'High Explorer Dellorah to Player'),
|
||||
(33701, 2, 0, 'Can you detail the nature of these defense systems?', 12, 0, 100, 0, 0, 0, 33706, 0, 'High Explorer Dellorah to Player'),
|
||||
(33701, 3, 0, 'Got it. At least we don\'t have to deal with those orbital emplacements.', 12, 0, 100, 0, 0, 0, 33708, 0, 'High Explorer Dellorah to Player'),
|
||||
(33701, 4, 0, 'Rhydian, make sure you let Brann and Archmage Pentarus know about those defenses immediately.', 12, 0, 100, 0, 0, 0, 33709, 0, 'High Explorer Dellorah to Player'),
|
||||
(33701, 5, 0, 'And you mentioned an imprisoned entity? What is the nature of this entity and what is its status?', 12, 0, 100, 0, 0, 0, 33710, 0, 'High Explorer Dellorah to Player'),
|
||||
(33701, 6, 0, 'Yogg-Saron is here? It sounds like we really will have our hands full then.', 12, 0, 100, 0, 0, 0, 33713, 0, 'High Explorer Dellorah to Player'),
|
||||
(33701, 7, 0, 'What... What did you just do, $N?! Brann! Braaaaannn!', 14, 0, 100, 0, 0, 0, 34446, 0, 'High Explorer Dellorah to Player'),
|
||||
(33701, 8, 0, 'Brann! $N just activated the orbital defense system! If we don\'t get out here soon, we\'re going to be toast!', 14, 0, 100, 0, 0, 0, 34447, 0, 'High Explorer Dellorah to Player');
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE (`MenuID` = 10366);
|
||||
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
|
||||
(10366, 0, 0, 'Activate secondary defensive systems.', 34420, 1, 1, 0, 0, 0, 0, NULL, 0, 0);
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=33701;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(33701, 1, -767.794, -126.79, 429.83, 'High Explorer Dellorah'),
|
||||
(33701, 2, -767.925, -97.062, 429.83, 'High Explorer Dellorah'),
|
||||
(33701, 3, -757.399, -75.726, 429.83, 'High Explorer Dellorah'),
|
||||
(33701, 4, -742.995, -59.801, 429.83, 'High Explorer Dellorah'),
|
||||
(33701, 5, -729.309, -50.896, 429.83, 'High Explorer Dellorah'),
|
||||
(33701, 6, -720.001, -53.098, 429.83, 'High Explorer Dellorah'),
|
||||
(33701, 7, -723.54, -53.823, 429.83, 'High Explorer Dellorah'),
|
||||
(33701, 8, -746.544, -62.526, 429.83, 'High Explorer Dellorah'),
|
||||
(33701, 9, -815.776, -128.782, 429.82, 'High Explorer Dellorah'),
|
||||
(33701, 10, -856.608, -134.5, 458.89, 'High Explorer Dellorah'),
|
||||
(33701, 11, -899.84, -140.921, 458.89, 'High Explorer Dellorah'),
|
||||
(33701, 12, -917.893, -143.652, 464.3, 'High Explorer Dellorah');
|
||||
|
||||
-- Hired Enginner
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 33626;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -136348);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-136348, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -792.043, -44.357, 429.84, 2.41935, 'Hired Engineer - On Data Set 1 1 - Move To Position'),
|
||||
(-136348, 0, 1, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 62, 603, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -792.043, -44.357, 429.84, 2.41935, 'Hired Engineer - On Update - Teleport (No Repeat)');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` = -136348) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 2);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 2, -136348, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', 'Hired Enginner - Set Correct Properties');
|
||||
|
||||
-- Brann Bronzebear
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE (`entry` = 33579);
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=33579;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(33579, 1, -699.407, -48.602, 429.42, 'Brann Bronzebeard'),
|
||||
(33579, 2, -674.782, -45.877, 426.2, 'Brann Bronzebeard');
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`=33579;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(33579, 0, 0, 'Pentarus, you heard the $gman:woman;. Have your mages release the shield and let these brave souls through!', 14, 0, 100, 0, 0, 0, 33671, 0, 'Brann Bronzebeard - Ulduar'),
|
||||
(33579, 1, 0, 'Okay! Let\'s move out. Get into your machines; I\'ll speak to you from here via the radio.', 12, 0, 100, 0, 0, 0, 33684, 0, 'Brann Bronzebeard - Ulduar'),
|
||||
(33579, 2, 0, 'Our allies are ready. Bring down the shield and make way!', 14, 0, 100, 0, 0, 0, 33687, 0, 'Brann Bronzebeard - Ulduar'),
|
||||
(33579, 3, 0, 'The iron dwarves have been seen emerging from the bunkers at the base of the pillars straight ahead of you! Destroy the bunkers, and they\'ll be forced to fall back!', 12, 0, 100, 0, 0, 0, 34145, 0, 'Brann Bronzebeard - Ulduar');
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 33579;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 33579);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(33579, 0, 0, 1, 38, 0, 100, 0, 0, 1, 0, 0, 0, 1, 4, 0, 1, 0, 0, 0, 19, 33701, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Data Set 0 1 - Say Line 0'),
|
||||
(33579, 0, 1, 0, 61, 0, 100, 0, 0, 1, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Data Set 0 1 - Set Data 1 1'),
|
||||
(33579, 0, 2, 3, 62, 0, 100, 0, 10355, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Gossip Option 0 Selected - Say Line 0'),
|
||||
(33579, 0, 3, 4, 61, 0, 100, 0, 10355, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Gossip Option 0 Selected - Set Data 1 1'),
|
||||
(33579, 0, 4, 5, 61, 0, 100, 0, 10355, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Gossip Option 0 Selected - Close Gossip'),
|
||||
(33579, 0, 5, 6, 61, 0, 100, 0, 10355, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Gossip Option 0 Selected - Remove Npc Flags Gossip'),
|
||||
(33579, 0, 6, 7, 61, 0, 100, 0, 10355, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 10, 136605, 33686, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Gossip Option 0 Selected - Remove Npc Flags Gossip'),
|
||||
(33579, 0, 7, 0, 61, 0, 100, 0, 10355, 0, 0, 0, 0, 34, 802, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Gossip Option 0 Selected - Set Instance Data 802 to 0'),
|
||||
(33579, 0, 8, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 3357900, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Data Set 1 1 - Run Script'),
|
||||
(33579, 0, 9, 0, 38, 0, 100, 0, 0, 2, 0, 0, 0, 80, 3357901, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Data Set 0 2 - Run Script'),
|
||||
(33579, 0, 10, 11, 60, 0, 100, 1, 0, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Update - Remove Npc Flags Gossip (No Repeat)'),
|
||||
(33579, 0, 11, 12, 61, 0, 100, 0, 0, 0, 0, 0, 0, 62, 603, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -674.782, -45.877, 426.2, 0.110212, 'Brann Bronzebeard - On Update - Teleport (No Repeat)'),
|
||||
(33579, 0, 12, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 14, 50363, 194484, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Update - Despawn Instant (No Repeat)'),
|
||||
(33579, 0, 13, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 34, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Update - Set Instance Data 100 to 0 (No Repeat)'),
|
||||
(33579, 0, 14, 15, 38, 0, 100, 0, 1, 1, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 10, 136761, 33696, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Data Set 1 1 - Set Data 1 2'),
|
||||
(33579, 0, 15, 16, 61, 0, 100, 0, 1, 1, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 10, 136605, 33686, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Data Set 1 1 - Set Data 1 2'),
|
||||
(33579, 0, 16, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 10, 136767, 33701, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - On Data Set 1 1 - Set Data 1 2');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 3357900);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(3357900, 9, 0, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 10, 136281, 33624, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Say Line 0'),
|
||||
(3357900, 9, 1, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 136281, 33624, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 1 1'),
|
||||
(3357900, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 136524, 33662, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 1 1'),
|
||||
(3357900, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 136537, 33672, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 1 1'),
|
||||
(3357900, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 10, 136271, 33622, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 0 1'),
|
||||
(3357900, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Say Line 1'),
|
||||
(3357900, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 4, 15807, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Play Sound 15807'),
|
||||
(3357900, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 34, 801, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Instance Data 801 to 0'),
|
||||
(3357900, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 11, 33686, 200, 1, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 0 1'),
|
||||
(3357900, 9, 9, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 136348, 33626, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 1 1'),
|
||||
(3357900, 9, 10, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 53, 0, 33579, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Start Waypoint');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 3357901);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(3357901, 9, 0, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Say Line 2'),
|
||||
(3357901, 9, 1, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Say Line 3'),
|
||||
(3357901, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 10, 137508, 33662, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 0 1'),
|
||||
(3357901, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 4, 15794, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Play Sound 15794'),
|
||||
(3357901, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 10, 137507, 33662, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 0 1'),
|
||||
(3357901, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 10, 137511, 33779, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 0 1'),
|
||||
(3357901, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 10, 137510, 33779, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 0 1'),
|
||||
(3357901, 9, 7, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 10, 137509, 33779, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Data 0 1'),
|
||||
(3357901, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 14, 50363, 194484, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Despawn Instant'),
|
||||
(3357901, 9, 9, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 34, 800, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brann Bronzebeard - Actionlist - Set Instance Data 800 to 3');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` = 33579) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` IN (11,14));
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 11, 33579, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', 'Brann Bronzebeard - Set Correct Properties'),
|
||||
(22, 14, 33579, 0, 1, 13, 1, 800, 3, 0, 0, 0, 0, '', 'Brann Bronzebeard - Re-spawn vehicles - Intro Completed'),
|
||||
(22, 14, 33579, 0, 1, 13, 1, 0, 0, 0, 0, 0, 0, '', 'Brann Bronzebeard - Re-spawn vehicles - Leviathan not started');
|
||||
|
||||
-- Arch Mage Pentarus
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 33624;
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`=33624;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(33624, 0, 0, 'Of course, Brann. We will have the shield down momentarily.', 14, 0, 100, 0, 0, 0, 33673, 0, ''),
|
||||
(33624, 1, 0, 'Mages of the Kirin Tor, on Brann\'s Command, release the shield! Defend this platform and our allies with your lives! For Dalaran!', 14, 0, 100, 0, 0, 0, 33677, 0, '');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 33624);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(33624, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 0, 33624, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Pentarus - On Data Set 1 1 - Start Waypoint'),
|
||||
(33624, 0, 1, 2, 58, 0, 100, 0, 2, 33624, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Archmage Pentarus - On Waypoint Finished - Say Line 1'),
|
||||
(33624, 0, 2, 0, 61, 0, 100, 0, 2, 33624, 0, 0, 0, 45, 0, 2, 0, 0, 0, 0, 10, 136253, 33579, 0, 0, 0, 0, 0, 0, 'Archmage Pentarus - On Waypoint Finished - Set Data 0 2'),
|
||||
(33624, 0, 3, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 62, 603, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -676.52, -84.802, 426.89, 0.054839, 'Archmage Pentarus - On Update - Teleport (No Repeat)');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceEntry` = 33624) AND (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 4);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 4, 33624, 0, 0, 13, 1, 800, 3, 0, 0, 0, 0, '', 'Archmage Pentarus - Set Correct Properties');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=33624;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(33624, 1, -696.34, -85.89, 429.24, 'Archmage Pentarus'),
|
||||
(33624, 2, -676.52, -84.802, 426.89, 'Archmage Pentarus');
|
||||
|
||||
-- Teleporter
|
||||
UPDATE `gameobject_template` SET `ScriptName` = '' WHERE (`entry` = 194569);
|
||||
|
||||
DELETE FROM `gameobject` WHERE (`id` = 194569) AND (`guid` IN (56100, 34935, 34923, 34296, 34288, 34283, 34281, 34223, 34219));
|
||||
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(56100, 194569, 603, 0, 0, 3, 1, 2518.16, 2569.03, 412.299, 0, 0, 0, 0, 1, 180, 255, 1, '', 0),
|
||||
(34935, 194569, 603, 0, 0, 3, 1, 1498.05, -24.3509, 420.966, 0.034906, 0, 0, 0, 1, 180, 255, 1, '', 0),
|
||||
(34923, 194569, 603, 0, 0, 3, 1, 1854.82, -11.5608, 334.175, 0, 0, 0, 0, 1, 180, 255, 1, '', 0),
|
||||
(34296, 194569, 603, 0, 0, 3, 1, 926.292, -11.4635, 418.595, -0.017452, 0, 0, 0, 1, 180, 255, 1, '', 0),
|
||||
(34288, 194569, 603, 0, 0, 3, 1, 131.248, -35.3802, 409.804, 0, 0, 0, 0, 1, 180, 255, 1, '', 0),
|
||||
(34283, 194569, 603, 0, 0, 3, 1, -706.122, -92.6024, 429.876, 0, 0, 0, 0, 1, 180, 255, 1, '', 0),
|
||||
(34281, 194569, 603, 0, 0, 3, 1, 2086.26, -23.9948, 421.316, 0, 0, 0, 0, 1, 180, 255, 1, '', 0),
|
||||
(34223, 194569, 603, 0, 0, 3, 1, 553.233, -12.3247, 409.679, 0, 0, 0, 0, 1, 180, 255, 1, '', 0),
|
||||
(34219, 194569, 603, 0, 0, 3, 1, 1859.65, -24.9121, 448.811, 0, 0, 0, 0, 1, 180, 255, 1, '', 0);
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 15) AND (`SourceGroup` = 10389);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(15, 10389, 0, 0, 0, 13, 1, 0, 0, 0, 1, 0, 0, '', 'Ulduar Teleporter - Expedition Base Camp'),
|
||||
(15, 10389, 1, 0, 0, 13, 1, 0, 0, 0, 1, 0, 0, '', 'Ulduar Teleporter - Formation Grounds'),
|
||||
(15, 10389, 2, 0, 0, 13, 1, 0, 3, 0, 0, 0, 0, '', 'Ulduar Teleporter - Colossal Forge'),
|
||||
(15, 10389, 3, 0, 0, 13, 1, 3, 3, 0, 0, 0, 0, '', 'Ulduar Teleporter - Scrapyard'),
|
||||
(15, 10389, 4, 0, 0, 13, 1, 3, 3, 0, 0, 0, 0, '', 'Ulduar Teleporter - Antechamber of Ulduar'),
|
||||
(15, 10389, 5, 0, 0, 13, 1, 5, 3, 0, 0, 0, 0, '', 'Ulduar Teleporter - Shattered Walkway'),
|
||||
(15, 10389, 6, 0, 0, 13, 1, 6, 3, 0, 0, 0, 0, '', 'Ulduar Teleporter - Conservatory of Life'),
|
||||
(15, 10389, 7, 0, 0, 13, 1, 710, 0, 0, 1, 0, 0, '', 'Ulduar Teleporter - Spark of Imagination'),
|
||||
(15, 10389, 8, 0, 0, 13, 1, 11, 3, 0, 0, 0, 0, '', 'Ulduar Teleporter - Prison of Yogg-Saron');
|
||||
|
||||
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 22) AND (`SourceEntry` = 194569);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 2, 194569, 1, 0, 13, 1, 0, 0, 0, 1, 0, 0, '', 'Ulduar Teleporter - Enable');
|
||||
|
||||
UPDATE `gameobject_template` SET `AIName` = 'SmartGameObjectAI' WHERE `entry` = 194569;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 1 AND `entryorguid` = 194569);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(194569, 1, 0, 0, 60, 0, 100, 1, 0, 0, 0, 0, 0, 105, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Update - Add Gameobject Flags Not Selectable (No Repeat)'),
|
||||
(194569, 1, 1, 2, 60, 0, 100, 1, 0, 0, 0, 0, 0, 106, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Update - Remove Gameobject Flags Not Selectable (No Repeat)'),
|
||||
(194569, 1, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 202, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Update - Set GO state to 0 (No Repeat)'),
|
||||
(194569, 1, 3, 12, 62, 0, 100, 0, 10389, 0, 0, 0, 0, 11, 64014, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Gossip Option 0 Selected - Cast \'Expedition Base Camp Teleport\''),
|
||||
(194569, 1, 4, 12, 62, 0, 100, 0, 10389, 1, 0, 0, 0, 11, 64032, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Gossip Option 1 Selected - Cast \'Formation Grounds Teleport\''),
|
||||
(194569, 1, 5, 12, 62, 0, 100, 0, 10389, 2, 0, 0, 0, 11, 64028, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Gossip Option 2 Selected - Cast \'Colossal Forge Teleport\''),
|
||||
(194569, 1, 6, 12, 62, 0, 100, 0, 10389, 3, 0, 0, 0, 11, 64031, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Gossip Option 3 Selected - Cast \'Scrapyard Teleport\''),
|
||||
(194569, 1, 7, 12, 62, 0, 100, 0, 10389, 4, 0, 0, 0, 11, 64030, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Gossip Option 4 Selected - Cast \'Antechamber Teleport\''),
|
||||
(194569, 1, 8, 12, 62, 0, 100, 0, 10389, 5, 0, 0, 0, 11, 64029, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Gossip Option 5 Selected - Cast \'Shattered Walkway Teleport\''),
|
||||
(194569, 1, 9, 12, 62, 0, 100, 0, 10389, 6, 0, 0, 0, 11, 64024, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Gossip Option 6 Selected - Cast \'Conservatory Teleport\''),
|
||||
(194569, 1, 10, 12, 62, 0, 100, 0, 10389, 7, 0, 0, 0, 11, 64025, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Gossip Option 7 Selected - Cast \'Halls of Invention Teleport\''),
|
||||
(194569, 1, 11, 12, 62, 0, 100, 0, 10389, 8, 0, 0, 0, 11, 65042, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Gossip Option 8 Selected - Cast \'Prison of Yogg-Saron Teleport\''),
|
||||
(194569, 1, 12, 0, 61, 0, 100, 0, 10389, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ulduar Teleporter - On Gossip Option 0 Selected - Close Gossip');
|
||||
|
||||
DELETE FROM `spell_target_position` WHERE (ID IN (64014,64032,64028,64031,64030,64029));
|
||||
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES
|
||||
(64014, 1, 603, -706.122, -92.602, 430.27, 0.110212, 0),
|
||||
(64032, 1, 603, 131.248, -35.38, 410.2, 3.176500, 0),
|
||||
(64028, 1, 603, 553.233, -12.324, 410.07, 3.176500, 0),
|
||||
(64031, 1, 603, 926.292, -11.463, 418.99, 3.134592, 0),
|
||||
(64030, 1, 603, 1498.09, -24.246, 421.36, 6.276185, 0),
|
||||
(64029, 1, 603, 1859.72, -24.884, 449.21, 3.110162, 0),
|
||||
(64024, 1, 603, 2086.28, -23.963, 421.71, 3.110162, 0),
|
||||
(64025, 1, 603, 1854.8, -11.46, 334.57, 4.792662, 0),
|
||||
(65042, 1, 603, 2518.22, 2569.11, 412.69, 3.106680, 0);
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE (`MenuID` = 10389);
|
||||
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
|
||||
(10389, 0, 0, 'Teleport to the Expedition Base Camp.', 33919, 1, 0, 0, 0, 0, 0, '', 0, 0),
|
||||
(10389, 1, 0, 'Teleport to the Formation Grounds.', 33920, 1, 0, 0, 0, 0, 0, '', 0, 0),
|
||||
(10389, 2, 0, 'Teleport to the Colossal Forge.', 33921, 1, 0, 0, 0, 0, 0, '', 0, 0),
|
||||
(10389, 3, 0, 'Teleport to the Scrapyard.', 33922, 1, 0, 0, 0, 0, 0, '', 0, 0),
|
||||
(10389, 4, 0, 'Teleport to the Antechamber of Ulduar.', 33923, 1, 0, 0, 0, 0, 0, '', 0, 0),
|
||||
(10389, 5, 0, 'Teleport to the Shattered Walkway.', 33924, 1, 0, 0, 0, 0, 0, '', 0, 0),
|
||||
(10389, 6, 0, 'Teleport to the Conservatory of Life.', 33926, 1, 0, 0, 0, 0, 0, '', 0, 0),
|
||||
(10389, 7, 0, 'Teleport to the Spark of Imagination.', 33927, 1, 0, 0, 0, 0, 0, '', 0, 0),
|
||||
(10389, 8, 0, 'Teleport to the Prison of Yogg-Saron.', 33928, 1, 0, 0, 0, 0, 0, '', 0, 0);
|
||||
|
||||
-- Add the script to the 48310 id spell
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id`=48310;
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (48310, 'spell_transitus_shield_beam');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,31 @@
|
||||
-- DB update 2020_12_25_00 -> 2020_12_26_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_25_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_25_00 2020_12_26_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608597053624009600'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608597053624009600');
|
||||
|
||||
DELETE FROM `game_event_gameobject` WHERE `guid` IN (59177, 59178);
|
||||
INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES
|
||||
(24, 59177),
|
||||
(24, 59178);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,35 @@
|
||||
-- DB update 2020_12_26_00 -> 2020_12_27_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_26_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_26_00 2020_12_27_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608647607679439900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608647607679439900');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=24713 AND `source_type`=0 AND `id` IN (2,3);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(24713, 0, 2, 3, 62, 0, 100, 0, 9335, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, '"Crowleg" Dan - On Gossip Option Select - Close Gossip'),
|
||||
(24713, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, '"Crowleg" Dan - On Gossip Option Select - Start Attack');
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=9335;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(15, 9335, 0, 0, 0, 9, 0, 11479, 0, 0, 0, 0, 0, '', 'Crowleg" Dan - Show gossip if player has quest 11479');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2020_12_27_00 -> 2020_12_27_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_27_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_27_00 2020_12_27_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608646240603030900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608646240603030900');
|
||||
|
||||
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|33554432 WHERE `entry` IN (17767,17808,17842,17888,17968);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2020_12_27_01 -> 2020_12_27_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_27_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_27_01 2020_12_27_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608648169001292100'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608648169001292100');
|
||||
|
||||
UPDATE `acore_string` SET `content_default` = 'Unit Flags: %u.\nUnit Flags 2: %u.\nDynamic Flags: %u.\nFaction Template: %u.' WHERE `entry` = 542;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2020_12_27_02 -> 2020_12_28_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_27_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_27_02 2020_12_28_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609001966856175000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609001966856175000');
|
||||
|
||||
UPDATE `gameobject` SET `spawntimesecs` = 2 WHERE `guid` = 21293;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,46 @@
|
||||
-- DB update 2020_12_28_00 -> 2020_12_28_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_28_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_28_00 2020_12_28_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608651525587192300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608651525587192300');
|
||||
|
||||
UPDATE `acore_string` SET `content_default`='¦ Last IP: %s (Locked: %s)' WHERE `entry`=752;
|
||||
UPDATE `acore_string` SET `content_default`='¦ OS: %s - Latency: %u ms' WHERE `entry`=749;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Level: %u (%u/%u XP (%u XP left))' WHERE `entry`=843;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Race: %s %s, %s' WHERE `entry`=844;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Alive ?: %s' WHERE `entry`=845;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Phase: %u' WHERE `entry`=846;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Money: %ug%us%uc' WHERE `entry`=847;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Map: %s, Zone: %s' WHERE `entry`=848;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Guild: %s (ID: %u)' WHERE `entry`=849;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Played time: %s' WHERE `entry`=853;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Mails: %d Read/%u Total' WHERE `entry`=854;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Level: %u' WHERE `entry`=871;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Registration Email: %s - Email: %s' WHERE `entry`=879;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Player %s %s (guid: %u)' WHERE `entry`=35400;
|
||||
UPDATE `acore_string` SET `content_default`='¦ GM Mode active, Phase: -1' WHERE `entry`=35401;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Account: %s (ID: %u), GMLevel: %u' WHERE `entry`=35404;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Last Login: %s (Failed Logins: %u)' WHERE `entry`=35405;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Map: %s, Zone: %s, Area: %s' WHERE `entry`=35409;
|
||||
UPDATE `acore_string` SET `content_default`='¦ Registration Email: %s - Email: %s' WHERE `entry`=35406;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2020_12_28_01 -> 2020_12_29_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_28_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_28_01 2020_12_29_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608900035979104911'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608900035979104911');
|
||||
|
||||
UPDATE `creature_loot_template` SET `Chance`=5.7 WHERE `Chance` > 5 AND `Reference`=0 AND `Item` IN (1438, 2959, 2960, 2963, 2964, 2967, 2972, 2975, 3200, 3207, 3213, 3214, 3323, 3643, 4560, 4658, 4662, 4684, 4690, 6506, 6508, 6514, 6515, 6517, 6549, 6566, 6579, 7350, 7351, 9744, 9745, 9750, 9752, 9754, 9759, 9760);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,288 @@
|
||||
-- DB update 2020_12_29_00 -> 2020_12_29_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_29_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_29_00 2020_12_29_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609090256646931000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609090256646931000');
|
||||
|
||||
-- Cleanup existing creatures
|
||||
DELETE FROM `creature` WHERE `guid` IN (
|
||||
85883 -- Yellowgill Frenzy, will be replaced by 145345 (otherwise would be duplicate)
|
||||
);
|
||||
|
||||
-- Fix existing creatures (missing wandering behaviour)
|
||||
UPDATE `creature` SET `wander_distance` = 15, `MovementType` = 1 WHERE `guid` IN (
|
||||
85886, -- Yellowgill Frenzy
|
||||
82791, -- Lesser Scourgebat
|
||||
82793, -- Lesser Scourgebat
|
||||
82794, -- Lesser Scourgebat
|
||||
82800, -- Lesser Scourgebat
|
||||
82802, -- Lesser Scourgebat
|
||||
82554, -- Whitetail Frenzy
|
||||
82555 -- Whitetail Frenzy
|
||||
);
|
||||
UPDATE `creature` SET `wander_distance` = 5, `MovementType` = 1 WHERE `guid` IN (
|
||||
55814, -- Crazed Dragonhawk
|
||||
55897, -- Crazed Dragonhawk
|
||||
55922, -- Springpaw Stalker
|
||||
55942, -- Springpaw Stalker
|
||||
55945, -- Springpaw Stalker
|
||||
55946, -- Springpaw Stalker
|
||||
55980, -- Springpaw Stalker
|
||||
55981, -- Springpaw Stalker
|
||||
55983, -- Springpaw Stalker
|
||||
55984, -- Springpaw Stalker
|
||||
55749, -- Feral Dragonhawk Hatchling
|
||||
55768, -- Feral Dragonhawk Hatchling
|
||||
55775, -- Feral Dragonhawk Hatchling
|
||||
55778, -- Feral Dragonhawk Hatchling
|
||||
55786 -- Feral Dragonhawk Hatchling
|
||||
);
|
||||
|
||||
-- #################### Import original fix by @Kittnz from TC, adapted to AC ####################
|
||||
|
||||
SET @CGUID:=145211;
|
||||
|
||||
-- Add missing creature spawns in Ghostlands & Eversong Woods
|
||||
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+215;
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `curhealth`) VALUES
|
||||
(@CGUID+0 , 1420, 530, 6785.898, -7607.692, 128.1121, 3.815103, 120, 0), -- Toad
|
||||
(@CGUID+1 , 1420, 530, 6753.482, -7647.198, 128.3187, 3.793595, 120, 0), -- 1420 (Area: -1)
|
||||
(@CGUID+2 , 2914, 530, 6830.517, -7396.761, 46.36444, 2.204267, 120, 0), -- Snake
|
||||
(@CGUID+3 , 2914, 530, 6967.708, -7464.932, 47.05861, 1.433785, 120, 0), -- 2914 (Area: 3508)
|
||||
(@CGUID+4 , 2914, 530, 6764.093, -7363.276, 50.46708, 2.048597, 120, 0), -- 2914 (Area: 3517)
|
||||
(@CGUID+5 , 2914, 530, 6703.647, -7402.308, 51.60884, 5.743487, 120, 0), -- 2914 (Area: 3517)
|
||||
(@CGUID+6 , 2914, 530, 9898.549, -6844.095, 21.79119, 5.635744, 120, 0), -- 2914 (Area: 0)
|
||||
(@CGUID+7 , 2914, 530, 9200.372, -7787.419, 114.7875, 3.199877, 120, 0), -- 2914 (Area: 3480)
|
||||
(@CGUID+8 , 2914, 530, 9155.745, -7848.188, 106.3085, 5.677832, 120, 0), -- 2914 (Area: 3480) (possible waypoints or random movement)
|
||||
(@CGUID+9 , 2914, 530, 8850.941, -7711.045, 142.8265, 0.9482585, 120, 0), -- 2914 (Area: 0)
|
||||
(@CGUID+10 , 2914, 530, 8728.21, -7871.131, 167.5767, 3.596344, 120, 0), -- 2914 (Area: 3476)
|
||||
(@CGUID+11 , 2914, 530, 8637.07, -8030.312, 172.4991, 0.7605414, 120, 0), -- 2914 (Area: 3476) (possible waypoints or random movement)
|
||||
(@CGUID+12 , 2914, 530, 8105.803, -7868.944, 182.6229, 3.106677, 120, 0), -- 2914 (Area: 3476)
|
||||
(@CGUID+13 , 13321, 530, 6804.864, -7692.796, 123.9494, 1.613627, 120, 0), -- Frog
|
||||
(@CGUID+14 , 13321, 530, 7139.874, -6836.952, 42.78193, 3.004393, 120, 0), -- 13321 (Area: 0)
|
||||
(@CGUID+15 , 13321, 530, 6874.098, -6292.956, 28.83097, 2.986305, 120, 0), -- 13321 (Area: 0)
|
||||
(@CGUID+16 , 13321, 530, 6896.695, -6237.083, 27.97087, 3.193066, 120, 0), -- 13321 (Area: 0)
|
||||
(@CGUID+17 , 16355, 530, 6590.018, -6665.895, 47.47748, 3.028023, 120, 0), -- Lesser Scourgebat
|
||||
(@CGUID+18 , 16355, 530, 6615.374, -6649.544, 47.67059, 2.618959, 120, 0), -- 16355 (Area: 3861)
|
||||
(@CGUID+19 , 16355, 530, 6678.834, -6669.411, 46.41251, 2.527587, 120, 0), -- 16355 (Area: 3861)
|
||||
(@CGUID+20 , 16355, 530, 6751.53, -6650.502, 40.92892, 3.361847, 120, 0), -- 16355 (Area: 3861)
|
||||
(@CGUID+21 , 16355, 530, 6694.581, -6614.153, 42.82938, 1.788726, 120, 0), -- 16355 (Area: 3861)
|
||||
(@CGUID+22 , 16355, 530, 6746.584, -6637.266, 40.26681, 1.167443, 120, 0), -- 16355 (Area: 3861)
|
||||
(@CGUID+23 , 16355, 530, 6613.917, -6613.427, 45.56771, 1.741399, 120, 0), -- 16355 (Area: 0)
|
||||
(@CGUID+24 , 16355, 530, 6709.029, -6582.425, 38.43601, 3.079052, 120, 0), -- 16355 (Area: 0)
|
||||
(@CGUID+25 , 16355, 530, 6655.542, -6584.168, 47.69909, 1.860139, 120, 0), -- 16355 (Area: 0)
|
||||
(@CGUID+26 , 16355, 530, 6777.141, -6576.169, 22.53009, 2.004029, 120, 0), -- 16355 (Area: 5779)
|
||||
(@CGUID+27 , 16355, 530, 6820.745, -6629.127, 29.34797, 4.576158, 120, 0), -- 16355 (Area: 0)
|
||||
(@CGUID+28 , 16355, 530, 6913.5, -6392.067, 32.9911, 1.252754, 120, 0), -- 16355 (Area: 3514)
|
||||
(@CGUID+29 , 16355, 530, 6786.887, -6389.533, 33.69895, 1.401155, 120, 0), -- 16355 (Area: 3514)
|
||||
(@CGUID+30 , 16355, 530, 6834.158, -6266.923, 28.88157, 0.7696482, 120, 0), -- 16355 (Area: 0)
|
||||
(@CGUID+31 , 16355, 530, 6811.086, -6309.688, 32.27558, 6.07257, 120, 0), -- 16355 (Area: 0)
|
||||
(@CGUID+32 , 16355, 530, 6746.925, -6374.906, 38.59792, 0.9527051, 120, 0), -- 16355 (Area: 0)
|
||||
(@CGUID+33 , 16355, 530, 6743.388, -6254.041, 35.68666, 0.4505479, 120, 0), -- 16355 (Area: 0)
|
||||
(@CGUID+34 , 16352, 530, 6607.711, -7228.053, 47.55958, 2.182768, 120, 0), -- Greater Spindleweb
|
||||
(@CGUID+35 , 16352, 530, 6840.333, -6911.398, 80.30796, 5.87111, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+36 , 16352, 530, 6950.854, -6882.652, 51.16842, 4.52, 120, 0), -- 16352 (Area: 3506)
|
||||
(@CGUID+37 , 16352, 530, 6768.055, -6851.429, 87.48727, 5.528165, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+38 , 16352, 530, 6770.479, -6850.35, 87.49597, 3.62482, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+39 , 16352, 530, 6559.612, -6826.08, 105.455, 4.570914, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+40 , 16352, 530, 6601.431, -6767.694, 109.1149, 4.307267, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+41 , 16352, 530, 6599.975, -6751.242, 116.5198, 3.551486, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+42 , 16352, 530, 7008.281, -6705.673, 28.26144, 4.884287, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+43 , 16352, 530, 6871.393, -6317.614, 32.46682, 3.043771, 120, 0), -- 16352 (Area: 3514)
|
||||
(@CGUID+44 , 16352, 530, 6878.775, -6305.776, 31.08891, 5.672717, 120, 0), -- 16352 (Area: 3514)
|
||||
(@CGUID+45 , 16352, 530, 6843.483, -6281.33, 26.38034, 3.213944, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+46 , 16352, 530, 6876.344, -6120.826, 27.65071, 0.7722683, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+47 , 16352, 530, 6918.788, -6012.118, 16.0651, 0.2698549, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+48 , 16352, 530, 6780.824, -5914.694, 55.04383, 4.475933, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+49 , 16352, 530, 6833.493, -5866.168, 14.88271, 0.9358938, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+50 , 16352, 530, 6840.229, -5885.817, 18.84746, 0.9175394, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+51 , 16352, 530, 6880.296, -5831.833, 12.60031, 4.379216, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+52 , 16352, 530, 6921.029, -5888.282, 11.06036, 3.010598, 120, 0), -- 16352 (Area: 0)
|
||||
(@CGUID+53 , 16349, 530, 6889.151, -7353.237, 48.22483, 4.51504, 120, 0), -- Ghostclaw Ravager
|
||||
(@CGUID+54 , 16349, 530, 6842.837, -7303.427, 54.16766, 1.288876, 120, 0), -- 16349 (Area: 3517)
|
||||
(@CGUID+55 , 16349, 530, 6546.021, -7284.988, 56.26369, 1.260878, 120, 0), -- 16349 (Area: 3517)
|
||||
(@CGUID+56 , 16349, 530, 6679.54, -7225.896, 45.35223, 4.113977, 120, 0), -- 16349 (Area: 3517)
|
||||
(@CGUID+57 , 16349, 530, 6643.776, -7193.75, 54.53874, 0, 120, 0), -- 16349 (Area: 3517)
|
||||
(@CGUID+58 , 16349, 530, 6814.677, -6882.684, 88.09016, 2.293302, 120, 0), -- 16349 (Area: 0)
|
||||
(@CGUID+59 , 16349, 530, 6721.141, -6838.881, 103.265, 6.057627, 120, 0), -- 16349 (Area: 0)
|
||||
(@CGUID+60 , 16349, 530, 6697.734, -6834.776, 102.7457, 6.008372, 120, 0), -- 16349 (Area: 0)
|
||||
(@CGUID+61 , 16349, 530, 6650.794, -6857.804, 114.3118, 2.645206, 120, 0), -- 16349 (Area: 0)
|
||||
(@CGUID+62 , 16349, 530, 6848.059, -6343.108, 31.09843, 4.492753, 120, 0), -- 16349 (Area: 3514)
|
||||
(@CGUID+63 , 16349, 530, 6946.989, -6384.78, 39.4313, 4.954051, 120, 0), -- 16349 (Area: 3514)
|
||||
(@CGUID+64 , 16349, 530, 6912.969, -6363.86, 34.72787, 3.331182, 120, 0), -- 16349 (Area: 3514)
|
||||
(@CGUID+65 , 16349, 530, 6766.795, -6363.485, 39.13235, 0.5625338, 120, 0), -- 16349 (Area: 0)
|
||||
(@CGUID+66 , 16349, 530, 6946.226, -6247.874, 32.41405, 5.925901, 120, 0), -- 16349 (Area: 0)
|
||||
(@CGUID+67 , 16349, 530, 6788.563, -6065.623, 76.42849, 3.921466, 120, 0), -- 16349 (Area: 0)
|
||||
(@CGUID+68 , 16349, 530, 6792.339, -6061.395, 74.22968, 3.969122, 120, 0), -- 16349 (Area: 0)
|
||||
(@CGUID+69 , 16349, 530, 6810.644, -5954.92, 53.78344, 3.796812, 120, 0), -- 16349 (Area: 0)
|
||||
(@CGUID+70 , 16348, 530, 7063.472, -7130.528, 46.0153, 6.204991, 120, 0), -- Ghostclaw Lynx
|
||||
(@CGUID+71 , 16348, 530, 7284.161, -6991.957, 49.69464, 1.443535, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+72 , 16348, 530, 7213.42, -6959.183, 48.15844, 1.778343, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+73 , 16348, 530, 7250.096, -6969.17, 47.61874, 1.986341, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+74 , 16348, 530, 7050.619, -6915.433, 49.37156, 2.73385, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+75 , 16348, 530, 7451.216, -7814.882, 147.9057, 3.899374, 120, 0), -- 16348 (Area: 3516)
|
||||
(@CGUID+76 , 16348, 530, 7396.958, -7735.421, 126.7814, 2.59045, 120, 0), -- 16348 (Area: 3516)
|
||||
(@CGUID+77 , 16348, 530, 7340.802, -7687.29, 114.7227, 0.2125256, 120, 0), -- 16348 (Area: 3516)
|
||||
(@CGUID+78 , 16348, 530, 7183.236, -7268.509, 46.15837, 4.739726, 120, 0), -- 16348 (Area: -1)
|
||||
(@CGUID+79 , 16348, 530, 7229.547, -7256.011, 50.49553, 3.413854, 120, 0), -- 16348 (Area: -1)
|
||||
(@CGUID+80 , 16348, 530, 7087.505, -7228.648, 47.83735, 2.820592, 120, 0), -- 16348 (Area: -1)
|
||||
(@CGUID+81 , 16348, 530, 7216.22, -6980.535, 45.21544, 2.602345, 120, 0), -- 16348 (Area: -1)
|
||||
(@CGUID+82 , 16348, 530, 7314.215, -6966.182, 50.0986, 1.607889, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+83 , 16348, 530, 7330.698, -6964.013, 48.61691, 2.429726, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+84 , 16348, 530, 7381.186, -6840.756, 49.09549, 5.203093, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+85 , 16348, 530, 7338.635, -6880.206, 47.74126, 3.243301, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+86 , 16348, 530, 7245.959, -6846.432, 44.47991, 3.107588, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+87 , 16348, 530, 7271.94, -6770.036, 41.23086, 3.766337, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+88 , 16348, 530, 7214.612, -6826.908, 47.06087, 1.656858, 120, 0), -- 16348 (Area: 0)
|
||||
(@CGUID+89 , 16354, 530, 7076.276, -6972.893, 46.59879, 5.554435, 120, 0), -- Vampiric Mistbat
|
||||
(@CGUID+90 , 16354, 530, 7017.884, -6890.591, 51.47795, 0.1461384, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+91 , 16354, 530, 7113.623, -6924.28, 47.51407, 1.275599, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+92 , 16354, 530, 7120.204, -6986.206, 46.46815, 3.014331, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+93 , 16354, 530, 7042.884, -7063.796, 47.43617, 0.2345574, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+94 , 16354, 530, 7126.826, -6958.08, 46.08292, 1.337121, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+95 , 16354, 530, 7014.953, -7154.451, 44.05517, 4.580289, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+96 , 16354, 530, 7049.035, -7179.571, 44.51942, 2.854439, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+97 , 16354, 530, 7192.258, -6990.721, 45.789, 6.118358, 120, 0), -- 16354 (Area: 3493) (Auras: 29363 - 29363)
|
||||
(@CGUID+98 , 16354, 530, 7297.3, -6952.889, 48.22968, 0.04103268, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+99 , 16354, 530, 7256.268, -6915.919, 49.01978, 6.275373, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+100, 16354, 530, 7100.769, -6852.027, 48.50787, 3.594324, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+101, 16354, 530, 7115.031, -6797.596, 43.95771, 4.893901, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+102, 16354, 530, 7046.083, -6001.001, 5.373741, 1.707996, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+103, 16354, 530, 7657.632, -7820.115, 155.0192, 0.007812341, 120, 0), -- 16354 (Area: 5780) (Auras: 29363 - 29363)
|
||||
(@CGUID+104, 16354, 530, 7625.615, -7846.144, 163.4028, 4.013608, 120, 0), -- 16354 (Area: 5780) (Auras: 29363 - 29363)
|
||||
(@CGUID+105, 16354, 530, 7122.203, -7253.339, 46.5706, 5.714052, 120, 0), -- 16354 (Area: -1) (Auras: 29363 - 29363)
|
||||
(@CGUID+106, 16354, 530, 7217.567, -6982.356, 45.42596, 2.619296, 120, 0), -- 16354 (Area: -1) (Auras: 29363 - 29363)
|
||||
(@CGUID+107, 16354, 530, 7117.631, -7009.641, 45.96103, 1.385088, 120, 0), -- 16354 (Area: -1) (Auras: 29363 - 29363)
|
||||
(@CGUID+108, 16354, 530, 7166.285, -6976.54, 44.8732, 4.951204, 120, 0), -- 16354 (Area: -1) (Auras: 29363 - 29363)
|
||||
(@CGUID+109, 16354, 530, 7312.727, -6912.875, 50.63189, 4.525721, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+110, 16354, 530, 7320.769, -6873.548, 46.65247, 4.479732, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+111, 16354, 530, 7280.374, -6883.919, 46.72137, 2.94094, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+112, 16354, 530, 7311.557, -6785.887, 42.1341, 3.170881, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+113, 16354, 530, 7346.644, -6818.584, 45.92062, 3.949025, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+114, 16354, 530, 7288.737, -6849.499, 44.25882, 4.882647, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+115, 16354, 530, 7377.227, -6753.976, 31.68961, 0.03127035, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+116, 16354, 530, 7416.598, -6716.583, 28.30837, 0.7370265, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+117, 16354, 530, 7353.333, -6720.048, 30.60197, 2.399705, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+118, 16354, 530, 7259.75, -6787.555, 40.84682, 6.201098, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+119, 16354, 530, 7108.942, -6779.335, 39.96529, 5.709267, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+120, 16354, 530, 7133.71, -6917.99, 50.83417, 2.893063, 120, 0), -- 16354 (Area: 0) (Auras: 29363 - 29363)
|
||||
(@CGUID+121, 16405, 530, 6988.21, -5644.906, -3.24633, 3.193715, 120, 0), -- Whitetail Frenzy (fishy!)
|
||||
(@CGUID+122, 16405, 530, 7185.634, -5581.585, -7.89854, 1.237991, 120, 0), -- 16405 (Area: 3455) (possible waypoints or random movement)
|
||||
(@CGUID+123, 16405, 530, 7125.062, -5516.672, -5.845787, 0.05448707, 120, 0), -- 16405 (Area: 3455)
|
||||
(@CGUID+124, 16405, 530, 7250.163, -5645.383, -4.686822, 1.609466, 120, 0), -- 16405 (Area: 3455) (possible waypoints or random movement)
|
||||
(@CGUID+125, 16405, 530, 7251.583, -5518.657, -14.82046, 5.090523, 120, 0), -- 16405 (Area: 3455)
|
||||
(@CGUID+126, 16405, 530, 7319, -5583.684, -5.345567, 4.631339, 120, 0), -- 16405 (Area: 3455)
|
||||
(@CGUID+127, 16405, 530, 7385.255, -5514.504, -23.83957, 4.482534, 120, 0), -- 16405 (Area: 3455)
|
||||
(@CGUID+128, 16404, 530, 7453.585, -5582.35, -4.679311, 1.291544, 120, 0), -- Yellowgill Frenzy (fishy!)
|
||||
(@CGUID+129, 16404, 530, 7650.671, -5514.592, -49.15406, 0.4712389, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+130, 16404, 530, 7584.502, -5583.413, -24.85344, 3.455752, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+131, 16404, 530, 7583.759, -5452.181, -46.03991, 2.70526, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+132, 16404, 530, 7714.01, -5449.991, -64.69885, 5.61996, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+133, 16404, 530, 7646.778, -5386.804, -65.33501, 3.752458, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+134, 16404, 530, 7782.522, -5520.318, -25.0596, 2.251475, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+135, 16404, 530, 7851.458, -5451.522, -47.55369, 0.6981317, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+136, 16404, 530, 7916.752, -5518.634, -40.62648, 0.08726646, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+137, 16404, 530, 7981.461, -5584.885, -4.679321, 2.984513, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+138, 16404, 530, 7981.47, -5453.279, -45.36422, 2.443461, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+139, 16404, 530, 8049.632, -5517.96, -25.7112, 5.201081, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+140, 16404, 530, 8116.961, -5448.617, -46.06174, 0.6981317, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+141, 16404, 530, 8115.655, -5582.934, -4.67935, 3.071779, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+142, 16404, 530, 8181.515, -5517.779, -21.47383, 3.996804, 120, 0), -- 16404 (Area: 3455)
|
||||
(@CGUID+143, 33712, 530, 8581.657, -5615.35, -1.142317, 1.903857, 120, 0), -- Golden Crawler
|
||||
(@CGUID+144, 33712, 530, 8504.382, -5543.861, -1.478864, 3.13378, 120, 0), -- 33712 (Area: 3460)
|
||||
(@CGUID+145, 33712, 530, 8514.937, -5619.518, -0.04902005, 2.168977, 120, 0), -- 33712 (Area: 3460)
|
||||
(@CGUID+146, 33712, 530, 8415.799, -5584.587, -1.309665, 0, 120, 0), -- 33712 (Area: 3460)
|
||||
(@CGUID+147, 33712, 530, 8332.279, -5641.95, -1.466211, 2.25529, 120, 0), -- 33712 (Area: 3460)
|
||||
(@CGUID+148, 33712, 530, 8283.341, -5648.665, -1.085784, 0, 120, 0), -- 33712 (Area: 3460)
|
||||
(@CGUID+149, 33712, 530, 8282.833, -5682.408, 1.912665, 1.05757, 120, 0), -- 33712 (Area: 3460)
|
||||
(@CGUID+150, 33712, 530, 8293.516, -5772.522, 0.8719814, 5.366834, 120, 0), -- 33712 (Area: 3460)
|
||||
(@CGUID+151, 33712, 530, 8308.861, -5862.752, 0.241255, 6.083331, 120, 0), -- 33712 (Area: 3460)
|
||||
(@CGUID+152, 33712, 530, 9197.843, -5831.596, -1.436119, 3.801267, 120, 0), -- 33712 (Area: 3911)
|
||||
(@CGUID+153, 33712, 530, 9354.067, -5992.446, 0.5006291, 4.806949, 120, 0), -- 33712 (Area: 3911)
|
||||
(@CGUID+154, 33712, 530, 9355.795, -6054.746, -10.57742, 5.58345, 120, 0), -- 33712 (Area: 3911)
|
||||
(@CGUID+155, 15372, 530, 10655.46, -6208.573, 44.35903, 3.352107, 120, 0), -- Springpaw Lynx
|
||||
(@CGUID+156, 15372, 530, 10664.23, -6132.04, 28.6685, 2.430012, 120, 0), -- 15372 (Area: 3431)
|
||||
(@CGUID+157, 15372, 530, 10680.05, -6169.8, 39.0421, 1.041597, 120, 0), -- 15372 (Area: 3431)
|
||||
(@CGUID+158, 721, 530, 8518.23, -5731.495, 13.00602, 3.633779, 120, 0), -- Rabbit
|
||||
(@CGUID+159, 721, 530, 8639.186, -5761.18, 11.46758, 3.938846, 120, 0), -- 721 (Area: 3460)
|
||||
(@CGUID+160, 721, 530, 8778.733, -5847.375, 7.75886, 4.726789, 120, 0), -- 721 (Area: 3460)
|
||||
(@CGUID+161, 721, 530, 8984.896, -5983.854, 19.71628, 4.000124, 120, 0), -- 721 (Area: 3911)
|
||||
(@CGUID+162, 721, 530, 9145.909, -5946.4, 28.77039, 2.019282, 120, 0), -- 721 (Area: 3911)
|
||||
(@CGUID+163, 721, 530, 9231.008, -6160.386, 25.5099, 0.5819958, 120, 0), -- 721 (Area: 3911)
|
||||
(@CGUID+164, 721, 530, 9452.181, -7939.893, 11.60837, 3.357151, 120, 0), -- 721 (Area: 3472)
|
||||
(@CGUID+165, 721, 530, 9438.168, -7889.708, 21.39819, 2.464021, 120, 0), -- 721 (Area: 3472)
|
||||
(@CGUID+166, 721, 530, 9396.646, -7802.477, 55.43135, 0.6543702, 120, 0), -- 721 (Area: 3480)
|
||||
(@CGUID+167, 4075, 530, 6658.765, -6295.493, 29.20658, 2.160989, 120, 0), -- Rat
|
||||
(@CGUID+168, 4075, 530, 7113.27, -5958.493, 12.98514, 1.957865, 120, 0), -- 4075 (Area: 0)
|
||||
(@CGUID+169, 4075, 530, 7308.667, -5989.029, 16.2368, 2.572109, 120, 0), -- 4075 (Area: 3491)
|
||||
(@CGUID+170, 15649, 530, 10060.82, -6872.714, 24.29431, 4.285359, 120, 0), -- Feral Dragonhawk Hatchling
|
||||
(@CGUID+171, 15651, 530, 8653.924, -5784.069, 18.15051, 3.120111, 120, 0), -- Springpaw Stalker
|
||||
(@CGUID+172, 15651, 530, 10048.03, -6717.27, 31.03372, 4.651473, 120, 0), -- 15651 (Area: 3533)
|
||||
(@CGUID+173, 15651, 530, 10116.2, -7079.959, 11.65078, 5.202464, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+174, 15651, 530, 10119.57, -7117.229, 11.13619, 5.610377, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+175, 15651, 530, 10245.07, -7154.263, 5.379348, 3.824573, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+176, 15651, 530, 10312.5, -7285.686, 10.4436, 3.958998, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+177, 15651, 530, 0155.74, -7315.172, 46.89272, 1.747505, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+178, 15651, 530, 10212.78, -7312.304, 43.83004, 2.297004, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+179, 15651, 530, 10120.49, -7380.654, 41.25549, 3.739351, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+180, 15651, 530, 10222.12, -7377.514, 42.6799, 6.21672, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+181, 15651, 530, 10287.61, -7510.908, 45.47846, 4.328416, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+182, 15651, 530, 10307.25, -7600.326, 27.67019, 1.3225, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+183, 15651, 530, 10261.34, -7483.148, 64.01847, 4.310963, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+184, 15651, 530, 10222.87, -7613.924, 61.70162, 2.482553, 120, 0), -- 15651 (Area: 0)
|
||||
(@CGUID+185, 15650, 530, 10279.31, -7324.253, 33.49329, 4.19599, 120, 0), -- Crazed Dragonhawk
|
||||
(@CGUID+186, 15650, 530, 10192.26, -7320.828, 45.92649, 5.882011, 120, 0), -- 15650 (Area: 0) (Auras: 29119 - 29119)
|
||||
(@CGUID+187, 15650, 530, 10171.51, -7404.468, 48.17466, 5.125631, 120, 0), -- 15650 (Area: 0) (Auras: 29119 - 29119)
|
||||
(@CGUID+188, 15650, 530, 10225.49, -7453.733, 75.07253, 4.820997, 120, 0), -- 15650 (Area: 0) (Auras: 29119 - 29119)
|
||||
(@CGUID+189, 15650, 530, 10095.22, -7399.66, 33.8582, 1.982334, 120, 0), -- 15650 (Area: 0) (Auras: 29119 - 29119)
|
||||
(@CGUID+190, 15650, 530, 10089.92, -7352.991, 24.48084, 3.473843, 120, 0), -- 15650 (Area: 0) (Auras: 29119 - 29119)
|
||||
(@CGUID+191, 15650, 530, 10304.47, -7592.876, 23.93329, 4.038411, 120, 0), -- 15650 (Area: 0) (Auras: 29119 - 29119)
|
||||
(@CGUID+192, 15650, 530, 9840.896, -7878.327, 39.42878, 0.1114382, 120, 0), -- 15650 (Area: 3472) (Auras: 29119 - 29119)
|
||||
(@CGUID+193, 15650, 530, 9008.495, -8056.905, 185.9688, 1.125495, 120, 0), -- 15650 (Area: 0) (Auras: 29119 - 29119)
|
||||
(@CGUID+194, 15650, 530, 9009.816, -7833.289, 159.5567, 4.887175, 120, 0), -- 15650 (Area: 0) (Auras: 29119 - 29119)
|
||||
(@CGUID+195, 15650, 530, 9015.15, -7667.337, 140.8466, 4.705554, 120, 0), -- 15650 (Area: 0) (Auras: 29119 - 29119)
|
||||
(@CGUID+196, 15650, 530, 8824.381, -7819.187, 175.3332, 3.444827, 120, 0), -- 15650 (Area: 0) (Auras: 29119 - 29119)
|
||||
(@CGUID+197, 15650, 530, 8785.419, -7913.549, 175.9667, 0.7577809, 120, 0), -- 15650 (Area: 3476) (Auras: 29119 - 29119)
|
||||
(@CGUID+198, 15650, 530, 8848.306, -7942.777, 220.488, 5.064994, 120, 0), -- 15650 (Area: 3476) (Auras: 29119 - 29119)
|
||||
(@CGUID+199, 15650, 530, 8333.768, -8008.462, 206.4037, 2.313344, 120, 0), -- 15650 (Area: 3476) (Auras: 29119 - 29119)
|
||||
(@CGUID+200, 15650, 530, 8269.027, -8019.356, 224.7379, 5.511599, 120, 0), -- 15650 (Area: 3476) (Auras: 29119 - 29119)
|
||||
(@CGUID+201, 15650, 530, 8213.844, -7896.639, 190.6529, 2.801, 120, 0), -- 15650 (Area: 3476) (Auras: 29119 - 29119)
|
||||
(@CGUID+202, 15650, 530, 8216.283, -7952.173, 209.498, 1.65485, 120, 0), -- 15650 (Area: 3476) (Auras: 29119 - 29119)
|
||||
(@CGUID+203, 16541, 530, 7244.089, -7125.762, 61.12453, 0.4067548, 120, 0), -- Ghostlands Guardian
|
||||
(@CGUID+204, 16541, 530, 7182.639, -7079.073, 56.25724, 2.565634, 120, 0), -- 16541 (Area: 0)
|
||||
(@CGUID+205, 16541, 530, 7168.553, -7095.772, 56.25724, 2.426008, 120, 0), -- 16541 (Area: 0)
|
||||
(@CGUID+206, 14881, 530, 6908.589, -7112.601, 45.76462, 0.250855, 120, 0), -- Spider
|
||||
(@CGUID+207, 14881, 530, 7087.832, -7109.549, 46.94461, 3.255385, 120, 0), -- 14881 (Area: 0)
|
||||
(@CGUID+208, 14881, 530, 6913.161, -6316.999, 33.59887, 5.188184, 120, 0), -- 14881 (Area: 3514)
|
||||
(@CGUID+209, 14881, 530, 7177.549, -7263.504, 45.25873, 4.996254, 120, 0), -- 14881 (Area: -1) (possible waypoints or random movement)
|
||||
(@CGUID+210, 14881, 530, 7295.609, -7026.236, 48.24609, 0.2017749, 120, 0), -- 14881 (Area: -1) (possible waypoints or random movement)
|
||||
(@CGUID+211, 14881, 530, 7120.973, -6668.307, 45.87799, 1.187052, 120, 0), -- 14881 (Area: 0)
|
||||
(@CGUID+212, 33713, 530, 6896.669, -5765.082, -2.75388, 1.12993, 120, 0), -- Rotting Crawler
|
||||
(@CGUID+213, 33713, 530, 6853.869, -5738.312, -9.519895, 1.390244, 120, 0), -- 33713 (Area: 0)
|
||||
(@CGUID+214, 33713, 530, 7173.716, -5696.389, -4.92298, 4.901935, 120, 0), -- 33713 (Area: 3491)
|
||||
(@CGUID+215, 33713, 530, 7336.688, -5723.884, 0.3463151, 6.180531, 120, 0); -- 33713 (Area: 3491)
|
||||
|
||||
-- Update movement
|
||||
UPDATE `creature` SET `wander_distance`=15, `MovementType`=1 WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+215;
|
||||
UPDATE `creature` SET `wander_distance`=0, `MovementType`=0 WHERE `guid` IN (@CGUID+203, @CGUID+204, @CGUID+205, @CGUID+206);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,53 @@
|
||||
-- DB update 2020_12_29_01 -> 2020_12_30_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_29_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_29_01 2020_12_30_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1607246968593658900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1607246968593658900');
|
||||
|
||||
-- Alliance
|
||||
DELETE FROM `quest_request_items` WHERE `ID`=24535;
|
||||
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `CompletionText`, `VerifiedBuild`) VALUES
|
||||
(24535, 0, 0, 'Did you visit the ground where Thalorien fell defending the Sunwell?', 12340);
|
||||
|
||||
DELETE FROM `quest_request_items_locale` WHERE `ID`=24535 AND `locale`='deDE';
|
||||
INSERT INTO `quest_request_items_locale` (`ID`, `locale`, `CompletionText`, `VerifiedBuild`) VALUES
|
||||
(24535, 'deDE', 'Seid Ihr an dem Ort gewesen, an dem Thalorien fiel, als er den Sonnenbrunnen verteidigte?', 18019);
|
||||
|
||||
DELETE FROM `quest_offer_reward` WHERE `ID`=24535;
|
||||
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
|
||||
(24535, 0, 0, 0, 0, 0, 0, 0, 0, 'I confess that I did not expect Thalorien''s spirit to recognize you as the heir to Quel''Delar, but I defer to his judgment. You may enter the Sunwell, but I remind you that you are a guest in our most sacred of precincts, and you should act accordingly.', 12340);
|
||||
|
||||
DELETE FROM `quest_offer_reward_locale` WHERE `ID`=24535 AND `locale`='deDE';
|
||||
INSERT INTO `quest_offer_reward_locale` (`ID`, `locale`, `RewardText`, `VerifiedBuild`) VALUES
|
||||
(24535, 'deDE', 'Ich gebe zu, dass ich nicht erwartet hätte, dass Thalorien Euch als Erben Quel''Delars anerkennt, aber ich respektiere sein Urteil. Ihr dürft zum Sonnenbrunnen gehen, doch ich erinnere Euch daran, dass Ihr an unserem allerheiligsten Ort zu Gast seid und Euch dementsprechend zu verhalten habt.', 18019);
|
||||
|
||||
-- Horde
|
||||
DELETE FROM `quest_offer_reward` WHERE `ID`=24563;
|
||||
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES
|
||||
(24563, 0, 0, 0, 0, 0, 0, 0, 0, 'You truly do carry Quel''Delar. This is a great day for all of Quel''Thalas and the sin''dorei. You have my leave to enter the Sunwell and finish the sword''s restoration. Keep your head high, $N. The children of Silvermoon have dreamt of this day for years.', 12340);
|
||||
|
||||
DELETE FROM `quest_offer_reward_locale` WHERE `ID`=24563 AND `locale`='deDE';
|
||||
INSERT INTO `quest_offer_reward_locale` (`ID`, `locale`, `RewardText`, `VerifiedBuild`) VALUES
|
||||
(24563, 'deDE', 'Ihr tragt wirklich Quel''Delar bei Euch. Heute ist ein großer Tag für ganz Quel''Thalas und die Sin''dorei! Ihr habt meine Erlaubnis, zum Sonnenbrunnen zu gehen und die Wiederherstellung des Schwertes abzuschließen. Lasst den Kopf nicht hängen, $N. Die Söhne und Töchter Silbermonds haben viele Jahre auf diesen Tag gewartet.', 18019);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,50 @@
|
||||
-- DB update 2020_12_31_00 -> 2020_12_31_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_31_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_31_00 2020_12_31_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601269592461165174'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601269592461165174');
|
||||
|
||||
/* Horde */
|
||||
DELETE FROM `creature_queststarter` WHERE (`quest` = 11431) AND (`id` IN (24657));
|
||||
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES
|
||||
(24657, 11431);
|
||||
|
||||
DELETE FROM `creature_questender` WHERE (`quest` = 11431) AND (`id` IN (24657));
|
||||
INSERT INTO `creature_questender` (`id`, `quest`) VALUES
|
||||
(24657, 11431);
|
||||
|
||||
/* Alliance */
|
||||
DELETE FROM `creature_queststarter` WHERE (`quest` = 11117) AND (`id` IN (23486));
|
||||
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES
|
||||
(23486, 11117);
|
||||
|
||||
DELETE FROM `creature_questender` WHERE (`quest` = 11117) AND (`id` IN (23486));
|
||||
INSERT INTO `creature_questender` (`id`, `quest`) VALUES
|
||||
(23486, 11117);
|
||||
|
||||
/* fix for Wolpertinger Net */
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 23487;
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 23487) AND (`source_type` = 0) AND (`id` IN (0));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(23487, 0, 0, 1, 8, 0, 100, 0, 41621, 0, 0, 0, 0, 11, 32906, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Wild Wolpertinger - On Spellhit \'Wolpertinger Net\' - Add Item \'Stunned Wolpertinger\'');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,45 @@
|
||||
-- DB update 2020_12_31_01 -> 2021_01_01_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2020_12_31_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2020_12_31_01 2021_01_01_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609009225243254400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609009225243254400');
|
||||
|
||||
UPDATE `gameobject` SET `spawntimesecs` = 2 WHERE `id` IN
|
||||
(20691, -- Cozzle's Footlocker
|
||||
20925, -- Captain's Footlocker
|
||||
181110, -- Soaked Tome
|
||||
181133, -- Rathis Tomber's Supplies
|
||||
181238, -- Dented Chest
|
||||
181239, -- Worn Chest
|
||||
182011, -- Crate of Ingots
|
||||
182804, -- Mysteries of the Light
|
||||
183050, -- The Saga of Terokk
|
||||
126158, -- Tallonkai's Dresser
|
||||
187980); -- First Aid Supplies
|
||||
|
||||
-- Night Elf Plans: An'daroth, An'owyn, Scrying on the Sin'dorei
|
||||
UPDATE `gameobject` SET `spawntimesecs` = 5 WHERE `id` IN (181138,181139,181140);
|
||||
-- Sealed Box (Investigate Tuurem), Dawn Runner Cargo/Warped Crates
|
||||
UPDATE `gameobject` SET `spawntimesecs` = 60 WHERE `id` IN (182542,181626);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,54 @@
|
||||
-- DB update 2021_01_01_00 -> 2021_01_02_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_01_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_01_00 2021_01_02_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609174873784850500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609174873784850500');
|
||||
|
||||
UPDATE `creature_template_addon` SET `auras` = '29266' WHERE `entry` = 17508;
|
||||
|
||||
DELETE FROM `creature` WHERE `id` = 17426 AND `guid` = 86514;
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 17508;
|
||||
UPDATE `creature_template` SET `unit_flags` = 512, `AIName` = 'SmartAI' WHERE (`entry` = 17426);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 17508);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(17508, 0, 0, 1, 19, 0, 100, 0, 9579, 0, 0, 0, 0, 12, 17426, 8, 0, 0, 0, 0, 8, 0, 0, 0, 0, -2089.99, -11297.3, 63.522, 3.29479, 'Galaen\'s Corpse - On Quest \'Galaen\'s Fate\' Taken - Summon Creature \'Galaen\''),
|
||||
(17508, 0, 1, 2, 61, 0, 100, 0, 9579, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Galaen\'s Corpse - On Quest \'Galaen\'s Fate\' Taken - Store Targetlist'),
|
||||
(17508, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 9, 17426, 0, 0, 0, 0, 0, 0, 0, 'Galaen\'s Corpse - On Quest \'Galaen\'s Fate\' Taken - Send Target 1');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 17426);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(17426, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1742600, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Galaen - On Respawn - Run Script');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1742600);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(1742600, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Galaen - Actionlist - Set Orientation to Stored Target'),
|
||||
(1742600, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Galaen - Actionlist - Say Line 0'),
|
||||
(1742600, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Galaen - Actionlist - Say Line 1'),
|
||||
(1742600, 9, 3, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Galaen - Actionlist - Say Line 2'),
|
||||
(1742600, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 41, 5000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Galaen - Actionlist - Despawn In 5000 ms');
|
||||
|
||||
-- Set correct quest prev for Galaen's Journal - The Fate of Vindicator Saruan based on WOW Head
|
||||
UPDATE `quest_template_addon` SET `PrevQuestID` = 9779 WHERE `ID` = 9706;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,124 @@
|
||||
-- DB update 2021_01_02_00 -> 2021_01_02_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_02_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_02_00 2021_01_02_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609196416272968100'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
-- INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609196416272968100');
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '', `spell1` = 0, `unit_flags`=`unit_flags`|512 WHERE (`entry` = 17243);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -61966);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-61966, 0, 0, 2, 62, 0, 100, 0, 7426, 0, 0, 0, 0, 80, 1724300, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - On Gossip Option 0 Selected - Run Script'),
|
||||
(-61966, 0, 1, 0, 0, 0, 100, 0, 0, 250, 8000, 15000, 0, 11, 7978, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - In Combat - Cast \'Throw Dynamite\''),
|
||||
(-61966, 0, 2, 0, 61, 0, 100, 0, 7426, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - On Gossip Option 0 Selected - Set Event Phase 2'),
|
||||
(-61966, 0, 3, 4, 1, 1, 100, 0, 120000, 150000, 0, 0, 0, 1, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Out of Combat - Say Line 11 (Phase 1)'),
|
||||
(-61966, 0, 4, 0, 61, 1, 100, 0, 120000, 150000, 0, 0, 0, 1, 12, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Out of Combat - Say Line 12 (Phase 1)'),
|
||||
(-61966, 0, 5, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - On Reset - Set Event Phase 1'),
|
||||
(-61966, 0, 6, 7, 1, 1, 100, 0, 15000, 15000, 0, 0, 0, 2, 875, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Out of Combat - Set Faction 875 (Phase 1)'),
|
||||
(-61966, 0, 7, 0, 61, 1, 100, 0, 0, 0, 0, 0, 0, 82, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Out of Combat - Add Npc Flags Gossip (Phase 1)');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1724300);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(1724300, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Close Gossip'),
|
||||
(1724300, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Set Orientation Invoker'),
|
||||
(1724300, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Remove Npc Flags Gossip'),
|
||||
(1724300, 9, 3, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 1'),
|
||||
(1724300, 9, 4, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 2'),
|
||||
(1724300, 9, 5, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 3'),
|
||||
(1724300, 9, 6, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 4'),
|
||||
(1724300, 9, 7, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 5'),
|
||||
(1724300, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Set Faction 14'),
|
||||
(1724300, 9, 9, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Start Attacking');
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`=17243;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(17243, 1, 0, '%s laughs.', 16, 7, 100, 11, 0, 0, 13785, 0, 'Engineer Spark - Show Gnomercy #1'),
|
||||
(17243, 2, 0, 'Does it frighten you to know that there are those that would serve the Legion with such devotion as to remain unwavering citizens of your pointless civilizations until called upon?', 12, 7, 100, 1, 0, 0, 13787, 0, 'Engineer Spark - Show Gnomercy #2'),
|
||||
(17243, 3, 0, 'Live in fear, die by the will of Kael\'thas... It\'s all the same.', 12, 7, 100, 1, 0, 0, 13791, 0, 'Engineer Spark - Show Gnomercy #3'),
|
||||
(17243, 4, 0, 'And now, I cut you!', 12, 7, 100, 0, 0, 0, 14090, 0, 'Engineer Spark - Show Gnomercy #4'),
|
||||
(17243, 5, 0, 'DIE!', 12, 7, 100, 0, 0, 0, 14091, 0, 'Engineer Spark - Show Gnomercy #5'),
|
||||
(17243, 6, 0, '%s picks up the naga flag.', 16, 7, 100, 0, 0, 0, 13775, 0, 'Engineer Spark - Tree\'s Company #1'),
|
||||
(17243, 7, 0, 'What\'s the big idea? You nearly blew my cover, idiot! I told you to put the compass and navigation maps somewhere safe - not out in the open for any fool to discover.', 12, 7, 100, 1, 0, 0, 13777, 0, 'Engineer Spark - Tree\'s Company #2'),
|
||||
(17243, 8, 0, 'The Master has gone to great lengths to secure information about the whereabouts of the Exodar. You could have blown the entire operation, including the cover of our spy on the inside.', 12, 7, 100, 1, 0, 0, 13778, 0, 'Engineer Spark - Tree\'s Company #3'),
|
||||
(17243, 9, 0, 'Relax? Do you know what Kael\'thas does to those that fail him, Geezle? Eternal suffering and pain... Do NOT screw this up, fool.', 12, 7, 100, 1, 0, 0, 13780, 0, 'Engineer Spark - Tree\'s Company #4'),
|
||||
(17243, 10, 0, 'Our Bloodmyst scouts have located our contact. The fool, Velen, will soon leave himself open and defenseless -- long enough for us to strike! Now get out of my sight before I vaporize you...', 12, 7, 100, 15, 0, 0, 13781, 0, 'Engineer Spark - Tree\'s Company #5'),
|
||||
(17243, 11, 0, 'A-ha! Found one!', 12, 7, 100, 1, 0, 0, 14076, 0, 'Engineer Spark - Wandering on Beach #1'),
|
||||
(17243, 11, 1, 'Another one!', 12, 7, 100, 1, 0, 0, 14077, 0, 'Engineer Spark - Wandering on Beach #2'),
|
||||
(17243, 11, 2, 'Oh that\'s a big one!', 12, 7, 100, 1, 0, 0, 14078, 0, 'Engineer Spark - Wandering on Beach #3'),
|
||||
(17243, 11, 3, 'It\'s ironic, I hate the ocean but I love the beach.', 12, 7, 100, 1, 0, 0, 14080, 0, 'Engineer Spark - Wandering on Beach #4'),
|
||||
(17243, 11, 4, 'I wonder if you can really hear the ocean in these things.', 12, 7, 100, 1, 0, 0, 14079, 0, 'Engineer Spark - Wandering on Beach #5'),
|
||||
(17243, 11, 5, 'Yes Master, all goes along as planned.', 12, 7, 100, 1, 0, 0, 14082, 0, 'Engineer Spark - Wandering on Beach #6'),
|
||||
(17243, 12, 0, '%s places the shell in his pack.', 16, 7, 100, 1, 0, 0, 14083, 0, 'Engineer Spark - Wandering on Beach - Emotes #1'),
|
||||
(17243, 12, 1, '%s examines the shell.', 16, 7, 100, 1, 0, 0, 14086, 0, 'Engineer Spark - Wandering on Beach - Emotes #2'),
|
||||
(17243, 12, 2, '%s holds the shell up to his ear.', 16, 7, 100, 1, 0, 0, 14084, 0, 'Engineer Spark - Wandering on Beach - Emotes #3');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 17243);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(17243, 0, 0, 1, 38, 0, 100, 0, 1, 1, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -5080.7, -11253.6, 0.56, 0, 'Engineer "Spark" Overgrind - On Data Set 1 1 - Move To Position'),
|
||||
(17243, 0, 1, 0, 61, 0, 100, 0, 1, 1, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - On Data Set 1 1 - Set Event Phase 1'),
|
||||
(17243, 0, 2, 0, 34, 1, 100, 0, 0, 1, 0, 0, 0, 80, 1724301, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - On Reached Point 1 - Run Script (Phase 1)'),
|
||||
(17243, 0, 3, 4, 34, 1, 100, 0, 0, 2, 0, 0, 0, 41, 250, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - On Reached Point 2 - Despawn In 250 ms (Phase 1)'),
|
||||
(17243, 0, 4, 0, 61, 0, 100, 0, 0, 2, 0, 0, 0, 33, 17243, 0, 0, 0, 0, 0, 201, 30298, 0, 150, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - On Reached Point 2 - Quest Credit \'null\' (Phase 1)');
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE (`entry` = 17318);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 17318);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(17318, 0, 0, 1, 25, 0, 100, 0, 0, 0, 0, 0, 0, 12, 17243, 8, 150000, 0, 0, 0, 8, 0, 0, 0, 0, -5029.91, -11291.8, 8.096, 0, 'Geezle - On Reset - Summon Creature \'Engineer "Spark" Overgrind\''),
|
||||
(17318, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 9, 17243, 0, 200, 0, 0, 0, 0, 0, 'Geezle - On Reset - Store Targetlist'),
|
||||
(17318, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Geezle - On Reset - Remove Npc Flags Gossip'),
|
||||
(17318, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -5092.26, -11252, 0.71, 0, 'Geezle - On Reset - Move To Position'),
|
||||
(17318, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Geezle - On Reset - Set Data 1 1'),
|
||||
(17318, 0, 5, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Geezle - On Data Set 1 1 - Set Orientation'),
|
||||
(17318, 0, 6, 0, 34, 0, 100, 0, 0, 2, 0, 0, 0, 41, 250, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Geezle - On Reached Point 2 - Despawn In 250 ms');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1724301);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(1724301, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 99, 3, 0, 0, 0, 0, 0, 14, 22188, 181694, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Set Lootstate Deactivated'),
|
||||
(1724301, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 6'),
|
||||
(1724301, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 9, 17318, 0, 100, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Store Targetlist'),
|
||||
(1724301, 9, 3, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Set Orientation'),
|
||||
(1724301, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Set Data 1 1'),
|
||||
(1724301, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 0'),
|
||||
(1724301, 9, 6, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 1, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 7'),
|
||||
(1724301, 9, 7, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 0, 1, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 8'),
|
||||
(1724301, 9, 8, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 1'),
|
||||
(1724301, 9, 9, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 1, 9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 9'),
|
||||
(1724301, 9, 10, 0, 0, 0, 100, 0, 9000, 9000, 0, 0, 0, 1, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 10'),
|
||||
(1724301, 9, 11, 0, 0, 0, 100, 0, 8000, 8000, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Say Line 2'),
|
||||
(1724301, 9, 12, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 69, 2, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -5029.91, -11291.8, 8.096, 0, 'Engineer "Spark" Overgrind - Actionlist - Move To Position'),
|
||||
(1724301, 9, 14, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 201, 2, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, -5139.79, -11248.3, 5.23, 0, 'Engineer "Spark" Overgrind - Actionlist - Move to pos target 2'),
|
||||
(1724301, 9, 13, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Set Run Off'),
|
||||
(1724301, 9, 15, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineer "Spark" Overgrind - Actionlist - Set Run Off');
|
||||
|
||||
DELETE FROM `gameobject` WHERE (`id` = 181694) AND (`guid` IN (22188));
|
||||
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(22188, 181694, 530, 0, 0, 1, 1, -5083.38, -11252.2, 0.57825, -0.680679, 0, 0, 0, 0, 60, 100, 1, '', 0);
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`=17318;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(17318, 0, 0, 'What\'s the big idea, Spark? Why\'d you call for this meeting?', 12, 0, 100, 1, 0, 0, 13776, 0, 'Geezle - Tree\'s Company - Text #1'),
|
||||
(17318, 1, 0, 'Relax, Spark! I have it all under control. We\'ll strip mine the Exodar right out from under \'em - making both you and I very, very rich in the process.', 12, 0, 100, 1, 0, 0, 13779, 0, 'Geezle - Tree\'s Company - Text #2'),
|
||||
(17318, 2, 0, 'Yes, sir. It won\'t happen again...', 12, 0, 100, 1, 0, 0, 13782, 0, 'Geezle - Tree\'s Company - Text #3');
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,30 @@
|
||||
-- DB update 2021_01_02_01 -> 2021_01_03_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_02_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_02_01 2021_01_03_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608955862284429300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608955862284429300');
|
||||
|
||||
UPDATE `creature` SET `modelid`=27809 WHERE `guid` IN (123878, 123880, 123882, 123884, 123886, 123888, 123890, 123892, 123894, 123896, 123898, 123900, 123902, 123904, 123906, 123908, 123910, 123912,
|
||||
123914, 123916, 123918, 123920);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,80 @@
|
||||
-- DB update 2021_01_03_00 -> 2021_01_03_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_03_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_03_00 2021_01_03_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609274862007339479'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609274862007339479');
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE (`entry` = 17886);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-63582, -63583, -63584, -63585));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-63583, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 11, 31411, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '[DND]Sunhawk Portal Controller - On Respawn - Cast \'Stabilize Sun Gate I\''),
|
||||
(-63584, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 11, 31412, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '[DND]Sunhawk Portal Controller - On Respawn - Cast \'Stabilize Sun Gate II\''),
|
||||
(-63585, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 11, 31413, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '[DND]Sunhawk Portal Controller - On Respawn - Cast \'Stabilize Sun Gate III\''),
|
||||
(-63582, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 11, 31414, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '[DND]Sunhawk Portal Controller - On Respawn - Cast \'Stabilize Sun Gate IV\'');
|
||||
|
||||
UPDATE `gameobject_template` SET `AIName` = 'SmartGameObjectAI' WHERE `entry` IN (184850, 182026);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` IN (-12164, -12166, -12168, -12173) AND (`source_type` = 1));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(-12164, 1, 0, 1, 70, 0, 100, 0, 2, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 10, 63584, 17886, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Gameobject State Changed - Kill Target'),
|
||||
(-12164, 1, 1, 0, 61, 0, 100, 0, 2, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Gameobject State Changed - Set Event Phase 1'),
|
||||
(-12164, 1, 2, 0, 60, 1, 100, 0, 0, 0, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Update - Despawn In 3000 ms (Phase 1)'),
|
||||
(-12166, 1, 0, 1, 70, 0, 100, 0, 2, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 10, 63583, 17886, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Gameobject State Changed - Kill Target'),
|
||||
(-12166, 1, 1, 0, 61, 0, 100, 0, 2, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Gameobject State Changed - Set Event Phase 1'),
|
||||
(-12166, 1, 2, 0, 60, 1, 100, 0, 0, 0, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Update - Despawn In 3000 ms (Phase 1)'),
|
||||
(-12168, 1, 0, 1, 70, 0, 100, 0, 2, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 10, 63582, 17886, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Gameobject State Changed - Kill Target'),
|
||||
(-12168, 1, 1, 0, 61, 0, 100, 0, 2, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Gameobject State Changed - Set Event Phase 1'),
|
||||
(-12168, 1, 2, 0, 60, 1, 100, 0, 0, 0, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Update - Despawn In 3000 ms (Phase 1)'),
|
||||
(-12173, 1, 0, 1, 70, 0, 100, 0, 2, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 10, 63585, 17886, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Gameobject State Changed - Kill Target'),
|
||||
(-12173, 1, 1, 0, 61, 0, 100, 0, 2, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Gameobject State Changed - Set Event Phase 1'),
|
||||
(-12173, 1, 2, 0, 60, 1, 100, 0, 0, 0, 0, 0, 0, 41, 3000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sunhawk Portal Controller - On Update - Despawn In 3000 ms (Phase 1)');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 182026 AND (`source_type` = 1));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(182026, 1, 0, 0, 60, 0, 100, 0, 2000, 2000, 2000, 2000, 0, 105, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sun Gate - On Update - Add Gameobject Flags Not Selectable'),
|
||||
(182026, 1, 1, 0, 60, 0, 100, 0, 2000, 2000, 2000, 2000, 0, 106, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Sun Gate - On Update - Remove Gameobject Flags Not Selectable');
|
||||
|
||||
UPDATE `creature` SET `position_x`=-2147.350098, `position_y`=-10741.099609, `position_z`=73.903397 WHERE `guid`=63583;
|
||||
UPDATE `creature` SET `position_x`=-2128.939941, `position_y`=-10726.000000, `position_z`=66.335800 WHERE `guid`=63584;
|
||||
UPDATE `creature` SET `position_x`=-2107.070068, `position_y`=-10703.000000, `position_z`=65.189400 WHERE `guid`=63585;
|
||||
UPDATE `creature` SET `position_x`=-2098.620117, `position_y`=-10688.500000, `position_z`=65.218102 WHERE `guid`=63582;
|
||||
|
||||
UPDATE `creature` SET `spawntimesecs` = 33 WHERE `id` = 17886;
|
||||
UPDATE `gameobject` SET `spawntimesecs` = 30, `animprogress` = 100 WHERE `id` = 184850;
|
||||
UPDATE `gameobject_template` SET `Data3` = 3000 WHERE (`entry` = 184850);
|
||||
|
||||
DELETE FROM `creature` WHERE `guid` = 96886 and `id` = 17889;
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`) VALUES
|
||||
(96886, 17889, 530, 1, 1, 0, 0, -2143.43, -10692, 64.7658, 4.93928, 300, 0, 0, 42, 0, 0);
|
||||
|
||||
UPDATE `conditions` SET `ConditionValue2`=17889, `ConditionValue3`=63610 WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=31411;
|
||||
UPDATE `conditions` SET `ConditionValue2`=17889, `ConditionValue3`=96886 WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=31412;
|
||||
UPDATE `conditions` SET `ConditionValue2`=17889, `ConditionValue3`=63611 WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=31413;
|
||||
UPDATE `conditions` SET `ConditionValue2`=17889, `ConditionValue3`=63609 WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=31414;
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN(182026);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 1, 182026, 1, 0, 30, 1, 184850, 60, 0, 0, 0, 0, '', 'Sun Gate - Only run SAI if gob in range'),
|
||||
(22, 2, 182026, 1, 0, 30, 1, 184850, 60, 0, 1, 0, 0, '', 'Sun Gate - Only run SAI if no gob in range');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,44 @@
|
||||
-- DB update 2021_01_03_01 -> 2021_01_04_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_03_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_03_01 2021_01_04_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608949912835926000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608949912835926000');
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (19257, 19258);
|
||||
|
||||
-- Arcanist Torseldori
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = 19257 AND `source_type`= 0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`)VALUES
|
||||
(19257, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Arcanist Torseldori - On aggro - say text'),
|
||||
(19257, 0, 1, 0, 0, 0, 100, 0, 1000, 1000, 3000, 4000, 0, 11, 15530, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Arcanist Torseldori - IC - Cast spell Frostbolt'),
|
||||
(19257, 0, 2, 0, 0, 0, 100, 0, 4000, 10000, 10000, 14000, 0, 11, 12674, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Arcanist Torseldori - IC - Cast spell Frost Nova'),
|
||||
(19257, 0, 3, 0, 0, 0, 100, 0, 10000, 15000, 13000, 24000, 0, 11, 33634, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Arcanist Torseldori - IC - Cast spell Frost Blizzard');
|
||||
|
||||
-- Bloodmage
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` = 19258 AND `source_type`= 0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(19258, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 3000, 4000, 0, 11, 15530, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodmage - IC - Cast spell Frostbolt'),
|
||||
(19258, 0, 1, 0, 0, 0, 100, 0, 4000, 10000, 10000, 14000, 0, 11, 12674, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodmage - IC - Cast spell Frost Nova'),
|
||||
(19258, 0, 2, 0, 0, 0, 100, 0, 10000, 15000, 13000, 24000, 0, 11, 33634, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodmage - IC - Cast spell Frost Blizzard');
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,73 @@
|
||||
-- DB update 2021_01_04_00 -> 2021_01_04_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_04_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_04_00 2021_01_04_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609602692076885000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609602692076885000');
|
||||
DELETE FROM `creature` WHERE (`id` = 1986) AND (`guid` BETWEEN 46958 AND 47268);
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(46958, 1986, 1, 0, 0, 1, 1, 709, 0, 10901.5, 877.607, 1330.02, 4.54922, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(46971, 1986, 1, 0, 0, 1, 1, 709, 0, 10948.4, 894.388, 1337.57, 2.37731, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(46972, 1986, 1, 0, 0, 1, 1, 709, 0, 10946.9, 868.31, 1333.54, 2.07776, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(46974, 1986, 1, 0, 0, 1, 1, 709, 0, 10934.6, 866.205, 1332.33, 0.647587, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(46981, 1986, 1, 0, 0, 1, 1, 709, 0, 10906, 861.33, 1328.92, 1.37518, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(46997, 1986, 1, 0, 0, 1, 1, 709, 0, 10898.4, 899.52, 1323.7, 2.03641, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(46998, 1986, 1, 0, 0, 1, 1, 709, 0, 10880.6, 873.212, 1325.12, 3.64265, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(46999, 1986, 1, 0, 0, 1, 1, 709, 0, 10868.7, 864.152, 1326.22, 5.12821, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47000, 1986, 1, 0, 0, 1, 1, 709, 0, 10860.8, 860.262, 1327.82, 5.9069, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47001, 1986, 1, 0, 0, 1, 1, 709, 0, 10842.7, 884.155, 1333.06, 5.17599, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47002, 1986, 1, 0, 0, 1, 1, 709, 0, 10834.3, 900.392, 1334.86, 4.43627, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47003, 1986, 1, 0, 0, 1, 1, 709, 0, 10825, 900.829, 1335.63, 2.77949, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47004, 1986, 1, 0, 0, 1, 1, 709, 0, 10934.8, 961.053, 1325.38, 3.91643, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47006, 1986, 1, 0, 0, 1, 1, 709, 0, 10987.4, 959.655, 1336.21, 1.93931, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47008, 1986, 1, 0, 0, 1, 1, 709, 0, 10953.2, 941.028, 1340.61, 0.306411, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47009, 1986, 1, 0, 0, 1, 1, 709, 0, 10939.5, 918.482, 1340, 1.89603, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47010, 1986, 1, 0, 0, 1, 1, 709, 0, 10696.7, 822.492, 1323.19, 5.59532, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47012, 1986, 1, 0, 0, 1, 1, 709, 0, 10721.4, 884.235, 1328.18, -1.25852, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47016, 1986, 1, 0, 0, 1, 1, 709, 0, 10804.8, 944.245, 1335.96, -0.130181, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47017, 1986, 1, 0, 0, 1, 1, 709, 0, 10829.9, 938.924, 1336.01, 2.86993, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47018, 1986, 1, 0, 0, 1, 1, 709, 0, 10846.5, 966.492, 1335.8, 1.04653, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47021, 1986, 1, 0, 0, 1, 1, 709, 0, 10906.4, 970.732, 1338.31, 5.91386, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47023, 1986, 1, 0, 0, 1, 1, 709, 0, 10917.7, 959.212, 1339.72, 1.05716, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47029, 1986, 1, 0, 0, 1, 1, 709, 0, 10942, 966.046, 1327.18, -2.13105, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47030, 1986, 1, 0, 0, 1, 1, 709, 0, 10977.9, 977.973, 1335.13, 3.34604, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47031, 1986, 1, 0, 0, 1, 1, 709, 0, 10988.4, 942.037, 1336.3, 4.35619, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47037, 1986, 1, 0, 0, 1, 1, 709, 0, 10735.7, 902.511, 1332.48, 1.54551, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47038, 1986, 1, 0, 0, 1, 1, 709, 0, 10665.8, 934.3, 1322, 1.40995, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47039, 1986, 1, 0, 0, 1, 1, 709, 0, 10972.9, 937.654, 1337.93, 3.62358, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47052, 1986, 1, 0, 0, 1, 1, 709, 0, 10963.4, 922.714, 1340.44, 4.23278, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47053, 1986, 1, 0, 0, 1, 1, 709, 0, 10922.2, 939.819, 1322.27, 1.36314, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47054, 1986, 1, 0, 0, 1, 1, 709, 0, 10681.9, 882.404, 1320.55, 5.86431, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47055, 1986, 1, 0, 0, 1, 1, 709, 0, 10704.6, 944.455, 1328.3, 4.38078, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47056, 1986, 1, 0, 0, 1, 1, 709, 0, 10889.4, 917.586, 1326.64, 5.77704, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47057, 1986, 1, 0, 0, 1, 1, 709, 0, 10866.7, 917.293, 1331.2, 1.25664, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47060, 1986, 1, 0, 0, 1, 1, 709, 0, 10788.4, 933.77, 1336.79, 6.27289, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47061, 1986, 1, 0, 0, 1, 1, 709, 0, 10769.4, 925.903, 1338.38, 0.601829, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47062, 1986, 1, 0, 0, 1, 1, 709, 0, 10679.8, 900.103, 1320.82, 4.15732, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47208, 1986, 1, 0, 0, 1, 1, 709, 0, 10727, 952.523, 1332.22, 1.0757, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47249, 1986, 1, 0, 0, 1, 1, 709, 0, 10751.2, 924.089, 1337.09, 2.08465, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47262, 1986, 1, 0, 0, 1, 1, 709, 0, 10843.2, 957.249, 1335.49, 3.94444, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47263, 1986, 1, 0, 0, 1, 1, 709, 0, 10864.9, 979.124, 1336.56, 3.40339, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0),
|
||||
(47266, 1986, 1, 0, 0, 1, 1, 709, 0, 10728.2, 871.7, 1328.7, 2.65916, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47267, 1986, 1, 0, 0, 1, 1, 709, 0, 10708, 873.924, 1324.61, 1.77671, 300, 5, 0, 71, 0, 1, 0, 0, 0, '', 0),
|
||||
(47268, 1986, 1, 0, 0, 1, 1, 709, 0, 10893, 986.807, 1337.14, 2.47837, 300, 0, 0, 71, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2021_01_04_01 -> 2021_01_04_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_04_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_04_01 2021_01_04_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609543457839849700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609543457839849700');
|
||||
|
||||
UPDATE `creature_template` SET `npcflag`=`npcflag`&~32768, `flags_extra`=`flags_extra`|1024 WHERE `entry` IN (8888, 9299);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,29 @@
|
||||
-- DB update 2021_01_04_02 -> 2021_01_04_03
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_04_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_04_02 2021_01_04_03 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609341775988183484'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609341775988183484');
|
||||
|
||||
UPDATE `quest_template_addon` SET `PrevQuestID` = 9280 WHERE (`ID` = 9409);
|
||||
UPDATE `quest_template_addon` SET `PrevQuestID` = 9409 WHERE (`ID` = 9371);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2021_01_04_03 -> 2021_01_05_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_04_03';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_04_03 2021_01_05_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609352829390064240'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609352829390064240');
|
||||
|
||||
UPDATE `creature_template` SET `speed_walk` = 1 WHERE `entry` = 16295;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,30 @@
|
||||
-- DB update 2021_01_05_00 -> 2021_01_06_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_05_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_05_00 2021_01_06_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609414989791132104'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609414989791132104');
|
||||
DELETE FROM `creature` WHERE (`id` = 1766) AND (`guid` IN (17952));
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(17952, 1766, 0, 0, 0, 1, 1, 246, 0, 1016.2447, 1489.1141, 41.584156, 0.199946, 275, 5, 0, 222, 0, 1, 0, 0, 0, '', 0);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,29 @@
|
||||
-- DB update 2021_01_06_00 -> 2021_01_06_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_06_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_06_00 2021_01_06_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609618111014466000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609618111014466000');
|
||||
DELETE FROM `npc_trainer` WHERE (`ID` = 17482) AND (`SpellID` = -200012);
|
||||
INSERT INTO `npc_trainer` (`ID`, `SpellID`, `MoneyCost`, `ReqSkillLine`, `ReqSkillRank`, `ReqLevel`) VALUES
|
||||
(17482, -200012, 0, 0, 0, 0);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,42 @@
|
||||
-- DB update 2021_01_06_01 -> 2021_01_07_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_06_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_06_01 2021_01_07_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609601212878725000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609601212878725000');
|
||||
DELETE FROM `gossip_menu` WHERE `MenuID` IN (2405, 2406, 2407, 2408);
|
||||
INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES
|
||||
(2405, 3077),
|
||||
(2405, 3097),
|
||||
(2405, 3098),
|
||||
(2405, 3099),
|
||||
(2406, 3100),
|
||||
(2407, 3101),
|
||||
(2408, 3102);
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` IN (14,15) AND `SourceGroup` = 2405;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(14, 2405, 3097, 0, 0, 8, 0, 4512, 0, 0, 0, 0, 0, '', 'Show gossip text 3099 if quest \'A Little Slime Goes a Long Way (Part 1)\' is rewarded'),
|
||||
(14, 2405, 3097, 0, 0, 9, 0, 4513, 0, 0, 1, 0, 0, '', 'Show gossip text 3099 if quest \'A Little Slime Goes a Long Way (Part 2)\' is not taken'),
|
||||
(14, 2405, 3099, 0, 0, 9, 0, 4513, 0, 0, 0, 0, 0, '', 'Show gossip text 3099 if quest \'A Little Slime Goes a Long Way (Part 2)\' is taken'),
|
||||
(14, 2405, 3098, 0, 0, 8, 0, 4513, 0, 0, 0, 0, 0, '', 'Show gossip text 3098 if quest \'A Little Slime Goes a Long Way (Part 2)\' is rewarded'),
|
||||
(15, 2405, 0, 0, 0, 9, 0, 4513, 0, 0, 0, 0, 0, '', 'Show gossip option if quest \'A Little Slime Goes a Long Way (Part 2)\' is taken');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,50 @@
|
||||
-- DB update 2021_01_07_00 -> 2021_01_07_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_07_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_07_00 2021_01_07_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609803806703890000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609803806703890000');
|
||||
|
||||
-- add initial delay of half a second to In Combat - Cast 'Lightning Shield' + add comments to all rows
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 17982);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(17982, 0, 0, 0, 19, 0, 100, 0, 9759, 0, 0, 0, 0, 53, 1, 17982, 0, 0, 0, 2, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Quest \'Ending Their World\' Taken - Start Waypoint'),
|
||||
(17982, 0, 1, 0, 0, 0, 100, 0, 5000, 6000, 8000, 8000, 0, 11, 8056, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - In Combat - Cast \'Frost Shock\''),
|
||||
(17982, 0, 2, 0, 0, 0, 100, 0, 7000, 9000, 11000, 11000, 0, 11, 913, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - In Combat - Cast \'Healing Wave\''),
|
||||
(17982, 0, 4, 0, 0, 0, 100, 0, 500, 500, 15000, 15000, 0, 11, 325, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - In Combat - Cast \'Lightning Shield\''),
|
||||
(17982, 0, 5, 0, 40, 0, 100, 0, 25, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 25 Reached - Say Line 0'),
|
||||
(17982, 0, 6, 7, 40, 0, 100, 0, 27, 0, 0, 0, 0, 54, 30000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 27 Reached - Pause Waypoint'),
|
||||
(17982, 0, 7, 0, 61, 0, 100, 0, 27, 0, 0, 0, 0, 80, 1798200, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 27 Reached - Run Script'),
|
||||
(17982, 0, 8, 0, 40, 0, 100, 0, 28, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 28 Reached - Say Line 2'),
|
||||
(17982, 0, 9, 10, 40, 0, 100, 0, 31, 0, 0, 0, 0, 54, 10000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 31 Reached - Pause Waypoint'),
|
||||
(17982, 0, 10, 0, 61, 0, 100, 0, 31, 0, 0, 0, 0, 80, 1798201, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 31 Reached - Run Script'),
|
||||
(17982, 0, 11, 12, 40, 0, 100, 0, 40, 0, 0, 0, 0, 54, 10000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 40 Reached - Pause Waypoint'),
|
||||
(17982, 0, 12, 0, 61, 0, 100, 0, 40, 0, 0, 0, 0, 1, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 40 Reached - Say Line 7'),
|
||||
(17982, 0, 13, 0, 56, 0, 100, 0, 40, 0, 0, 0, 0, 1, 8, 0, 0, 0, 0, 0, 12, 16777215, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint Resumed - Say Line 8'),
|
||||
(17982, 0, 14, 15, 40, 0, 100, 0, 43, 0, 0, 0, 0, 54, 10000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 43 Reached - Pause Waypoint'),
|
||||
(17982, 0, 15, 0, 61, 0, 100, 0, 43, 0, 0, 0, 0, 1, 9, 8000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 43 Reached - Say Line 9'),
|
||||
(17982, 0, 16, 0, 52, 0, 100, 0, 9, 0, 0, 0, 0, 1, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Text 9 Over - Say Line 10'),
|
||||
(17982, 0, 17, 18, 40, 0, 100, 0, 45, 0, 0, 0, 0, 54, 28000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 45 Reached - Pause Waypoint'),
|
||||
(17982, 0, 18, 0, 61, 0, 100, 0, 45, 0, 0, 0, 0, 80, 1798202, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 45 Reached - Run Script'),
|
||||
(17982, 0, 19, 0, 40, 0, 100, 0, 49, 0, 0, 0, 0, 80, 1798203, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Waypoint 49 Reached - Run Script'),
|
||||
(17982, 0, 20, 0, 7, 1, 100, 1, 0, 0, 0, 0, 0, 80, 1798204, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Demolitionist Legoso - On Evade - Run Script (Phase 1) (No Repeat)');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,32 @@
|
||||
-- DB update 2021_01_07_01 -> 2021_01_08_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_07_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_07_01 2021_01_08_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606881109355464500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606881109355464500');
|
||||
|
||||
-- Text improvements
|
||||
|
||||
UPDATE `creature_text` SET `Text`='The Lich King is here? Then my destiny shall be fulfilled on this day! ' WHERE `CreatureID`=37223 AND `GroupID`=27 AND `ID`=0;
|
||||
UPDATE `creature_text` SET `Text`='Aye. ARRRRRRGHHHH... He... He is coming. You... You must...' WHERE `CreatureID`=37225 AND `GroupID`=35 AND `ID`=0;
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,31 @@
|
||||
-- DB update 2021_01_08_00 -> 2021_01_08_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_08_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_08_00 2021_01_08_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1608429976729774300'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1608429976729774300');
|
||||
|
||||
UPDATE `spell_proc_event` SET `procFlags` = 16384, `CustomChance` = 0 WHERE `entry` = -51940;
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_sha_earthliving_weapon';
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(-51940, 'spell_sha_earthliving_weapon');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,29 @@
|
||||
-- DB update 2021_01_08_01 -> 2021_01_09_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_08_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_08_01 2021_01_09_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609978307795332000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609978307795332000');
|
||||
DELETE FROM `graveyard_zone` WHERE (`ID` = 925) AND (`GhostZone` = 3479);
|
||||
INSERT INTO `graveyard_zone` (`ID`, `GhostZone`, `Faction`, `Comment`) VALUES
|
||||
(925, 3479, 0, 'Bloodmyst, Blood Watch GY - Bloodmyst Isle');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,43 @@
|
||||
-- DB update 2021_01_09_00 -> 2021_01_09_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_09_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_09_00 2021_01_09_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1595505810975581600'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1595505810975581600');
|
||||
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id`=45980 AND `ScriptName`='spell_gen_despawn_self';
|
||||
|
||||
UPDATE `creature_template` SET `unit_flags` = 2 WHERE (`entry` = 25773);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 25773);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(25773, 0, 0, 3, 54, 0, 100, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzcrank Survivor - On Just Summoned - Say Line 0'),
|
||||
(25773, 0, 1, 2, 1, 0, 100, 0, 5000, 5000, 5000, 5000, 0, 41, 2000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzcrank Survivor - Out of Combat - Despawn In 2000 ms'),
|
||||
(25773, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 11, 41232, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzcrank Survivor - Out of Combat - Cast \'Teleport Visual Only\''),
|
||||
(25773, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzcrank Survivor - On Just Summoned - Set Reactstate Passive');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 25814);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(25814, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 1, 1, 10000, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzcrank Mechagnome - On Aggro - Say Line 1 (Phase 1) (No Repeat)'),
|
||||
(25814, 0, 1, 2, 8, 0, 100, 0, 46485, 0, 0, 0, 0, 33, 26096, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzcrank Mechagnome - On Spellhit \'The Greatmother\'s Soulcatcher\' - Quest Credit \'Souls of the Decursed\''),
|
||||
(25814, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fizzcrank Mechagnome - On Spellhit \'The Greatmother\'s Soulcatcher\' - Despawn In 10 ms');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,32 @@
|
||||
-- DB update 2021_01_09_01 -> 2021_01_09_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_09_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_09_01 2021_01_09_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1606850752274331900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1606850752274331900');
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE `MenuID`=10120 AND `OptionID`=1;
|
||||
UPDATE `conditions` SET `ElseGroup`=1, `ConditionTypeOrReference`=47, `ConditionValue2`=10 WHERE `SourceGroup`=10120 AND `ConditionValue1`=13373;
|
||||
UPDATE `conditions` SET `SourceEntry`=0, `ElseGroup`=2, `ConditionTypeOrReference`=47, `ConditionValue2`=10 WHERE `SourceGroup`=10120 AND `ConditionValue1`=13374;
|
||||
UPDATE `conditions` SET `SourceEntry`=0, `ElseGroup`=3, `ConditionTypeOrReference`=47, `ConditionValue2`=10 WHERE `SourceGroup`=10120 AND `ConditionValue1`=13376;
|
||||
UPDATE `conditions` SET `ElseGroup`=4, `ConditionTypeOrReference`=47, `ConditionValue2`=10 WHERE `SourceGroup`=10120 AND `ConditionValue1`=13406;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,133 @@
|
||||
-- DB update 2021_01_09_02 -> 2021_01_10_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_09_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_09_02 2021_01_10_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609100844918098600'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609100844918098600');
|
||||
|
||||
DELETE FROM `creature` WHERE (`id` IN (25258, 25261, 25259) AND `guid` IN (85221, 85222, 85226));
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(85221, 25258, 571, 0, 0, 1, 1, 23031, 0, 2280.15, 5179.14, 11.423, 4.38078, 1200, 0, 0, 1, 0, 2, 0, 0, 0, '', 0),
|
||||
(85222, 25259, 571, 0, 0, 1, 1, 23031, 0, 2282.03, 5179.58, 11.423, 3.76991, 1200, 0, 0, 1, 0, 0, 0, 0, 0, '', 0),
|
||||
(85226, 25261, 571, 0, 0, 1, 1, 23031, 0, 2280.96, 5180.91, 11.423, 3.735, 1200, 0, 0, 1, 0, 0, 0, 0, 0, '', 0);
|
||||
|
||||
UPDATE `creature_template` SET `flags_extra` = 2, `unit_flags` = 0, `AIName` = 'SmartAI' WHERE `entry` IN (25258, 25259, 25260, 25261);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (25258, 25259, 25260, 25261));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(25258, 0, 0, 0, 34, 0, 100, 1, 2, 5, 0, 0, 0, 80, 2525800, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - On Reached Point 5 - Run Script (No Repeat)'),
|
||||
(25258, 0, 1, 0, 34, 0, 100, 0, 2, 9, 0, 0, 0, 80, 2525801, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - On Reached Point 9 - Run Script'),
|
||||
(25258, 0, 2, 0, 34, 0, 100, 0, 2, 10, 0, 0, 0, 80, 2525802, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - On Reached Point 10 - Run Script'),
|
||||
(25258, 0, 3, 0, 34, 0, 100, 1, 2, 15, 0, 0, 0, 12, 25260, 3, 180000, 0, 0, 0, 8, 0, 0, 0, 0, 2255.77, 5186.26, 11.4391, 1.47479, 'Footman Rob - On Reached Point 15 - Summon Creature \'Footman Mitch\' (No Repeat)'),
|
||||
(25258, 0, 4, 0, 34, 0, 100, 0, 2, 16, 0, 0, 0, 80, 2525803, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - On Reached Point 16 - Run Script'),
|
||||
(25258, 0, 5, 0, 17, 0, 100, 0, 25260, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - On Summoned Unit - Store Targetlist'),
|
||||
(25258, 0, 6, 0, 1, 0, 100, 1, 100, 100, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Out of Combat - Change Equipment (No Repeat)'),
|
||||
(25258, 0, 7, 0, 1, 0, 100, 1, 100, 100, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Out of Combat - Change Equipment (No Repeat)'),
|
||||
(25258, 0, 8, 0, 1, 0, 100, 1, 100, 100, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Out of Combat - Change Equipment (No Repeat)'),
|
||||
(25259, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.27258, 'Footman George - On Data Set 1 1 - Set Orientation 4.27258'),
|
||||
(25260, 0, 0, 1, 63, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 6000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Mitch - On Just Created - Say Line 0'),
|
||||
(25260, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Mitch - On Just Created - Set Run Off'),
|
||||
(25260, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 2264.94, 5221.99, 11.2882, 4.3713, 'Footman Mitch - On Just Created - Move To Position'),
|
||||
(25261, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.27258, 'Footman Chuck - On Data Set 1 1 - Set Orientation 4.28258');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (2525800, 2525801, 2525802, 2525803));
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(2525800, 9, 0, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 1, 0, 6000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Say Line 0'),
|
||||
(2525800, 9, 1, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Say Line 0'),
|
||||
(2525801, 9, 0, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 1, 1, 6000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Say Line 1'),
|
||||
(2525801, 9, 1, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 0, 6000, 0, 0, 0, 0, 10, 110613, 25245, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Say Line 0'),
|
||||
(2525801, 9, 2, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 2, 6000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Say Line 2'),
|
||||
(2525801, 9, 3, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 1, 6000, 0, 0, 0, 0, 10, 110613, 25245, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Say Line 1'),
|
||||
(2525801, 9, 4, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 5, 397, 0, 0, 0, 0, 0, 10, 110613, 25245, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Play Emote 397'),
|
||||
(2525801, 9, 5, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 0, 17, 423, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Set Emote State 423'),
|
||||
(2525801, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 1, 0, 2703, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Change Equipment'),
|
||||
(2525801, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 1, 0, 2703, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Change Equipment'),
|
||||
(2525801, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 1, 0, 2703, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Change Equipment'),
|
||||
(2525801, 9, 9, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 17, 423, 0, 0, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Set Emote State 423'),
|
||||
(2525801, 9, 10, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 17, 423, 0, 0, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Set Emote State 423'),
|
||||
(2525801, 9, 11, 0, 0, 0, 100, 0, 22000, 22000, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Set Emote State 0'),
|
||||
(2525801, 9, 12, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Set Emote State 0'),
|
||||
(2525801, 9, 13, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Set Emote State 0'),
|
||||
(2525801, 9, 14, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 1, 0, 2703, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Change Equipment'),
|
||||
(2525801, 9, 15, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 1, 0, 2703, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Change Equipment'),
|
||||
(2525801, 9, 16, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 1, 0, 2703, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Change Equipment'),
|
||||
(2525801, 9, 17, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Change Equipment'),
|
||||
(2525801, 9, 18, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Change Equipment'),
|
||||
(2525801, 9, 19, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Change Equipment'),
|
||||
(2525802, 9, 0, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 1, 3, 6000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Say Line 3'),
|
||||
(2525802, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Set Data 1 1'),
|
||||
(2525802, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Set Data 1 1'),
|
||||
(2525802, 9, 3, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 1, 0, 6000, 0, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Say Line 0'),
|
||||
(2525802, 9, 4, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Play Emote 11'),
|
||||
(2525802, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Play Emote 11'),
|
||||
(2525802, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Play Emote 11'),
|
||||
(2525802, 9, 7, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 5, 274, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Play Emote 274'),
|
||||
(2525802, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 274, 0, 0, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Play Emote 274'),
|
||||
(2525802, 9, 9, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 274, 0, 0, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Play Emote 274'),
|
||||
(2525803, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 0, 10, 85222, 25259, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Despawn Instant'),
|
||||
(2525803, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 0, 10, 85226, 25261, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Despawn Instant'),
|
||||
(2525803, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Despawn Instant'),
|
||||
(2525803, 9, 3, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 41, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Footman Rob - Actionlist - Despawn Instant');
|
||||
|
||||
SET @PATH := 8522110;
|
||||
DELETE FROM `creature_addon` WHERE `guid` = 85221;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
|
||||
(85221, @PATH , 0, 0, 1, 0, '');
|
||||
|
||||
DELETE FROM `waypoint_data` WHERE `id` = @PATH;
|
||||
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES
|
||||
(@PATH, 1, 2277.19, 5177.20, 11.33, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 2, 2268.98, 5175.54, 11.166, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 3, 2254.60, 5188.90, 11.385, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 4, 2256.71, 5195.323, 11.450, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 5, 2260.67, 5200.36, 11.3711, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 6, 2264.38, 5199.09, 11.3676, 0, 13000, 0, 0, 100, 0),
|
||||
(@PATH, 7, 2270.18, 5196.94, 12.4959, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 8, 2275.23, 5194.94, 12.49, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 9, 2276.23, 5197.58, 12.4896, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 10, 2279.08, 5206.5, 12.494, 0, 60000, 0, 0, 100, 0),
|
||||
(@PATH, 11, 2278.6, 5205.3, 12.4926, 0, 16000, 0, 0, 100, 0),
|
||||
(@PATH, 12, 2275.55, 5197.84, 12.4897, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 13, 2273.063, 5196.067, 12.4932, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 14, 2265.21, 5198.54, 11.3533, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 15, 2260.26, 5202.83, 11.4377, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 16, 2258.98, 5205.83, 11.322, 0, 0, 0, 0, 100, 0),
|
||||
(@PATH, 17, 2268.17, 5226.07, 11.2421, 0, 5000, 0, 0, 100, 0);
|
||||
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`= 85221;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
|
||||
(85221, 85221, 0, 0, 4, 0, 0),
|
||||
(85221, 85226, 1, 305, 4, 8, 4),
|
||||
(85221, 85222, 1, 55, 4, 8, 4);
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID` IN (25245, 25258, 25259, 25260, 25261);
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(25245, 0, 0, 'You lads know the drill. No alcohol to servicemen on duty. You want the general to kill me himself?', 12, 7, 100, 274, 0, 0, 24744, 0, 'James Deacon'),
|
||||
(25245, 1, 0, 'All right, all right... but you didn\'t get these from me!', 12, 7, 100, 6, 0, 0, 24745, 0, 'James Deacon'),
|
||||
(25258, 0, 0, 'One last drink before we head to the front?', 12, 7, 100, 1, 0, 0, 24475, 0, 'Footman Rob'),
|
||||
(25258, 1, 0, 'Barkeep! Bring out your strongest ale. We\'re off to the front.', 12, 7, 100, 1, 0, 0, 24478, 0, 'Footman Rob'),
|
||||
(25258, 2, 0, 'You\'ll surely make an exception for us, eh? We might not come back.', 12, 7, 100, 1, 0, 0, 24479, 0, 'Footman Rob'),
|
||||
(25258, 3, 0, 'I guess that\'s it then. Off we go.', 12, 7, 100, 1, 0, 0, 24482, 0, 'Footman Rob'),
|
||||
(25259, 0, 0, 'Sure, why not?', 12, 7, 100, 6, 0, 0, 24476, 0, 'Footman George'),
|
||||
(25260, 0, 0, 'Hey, guys! Wait up!', 12, 7, 100, 0, 0, 0, 24761, 0, 'Footman Mitch'),
|
||||
(25261, 0, 0, 'That was the worst beer I\'ve ever had.', 12, 7, 100, 0, 0, 0, 24483, 0, 'Footman Chuck');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,50 @@
|
||||
-- DB update 2021_01_10_00 -> 2021_01_12_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_10_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_10_00 2021_01_12_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1601843049417097700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1601843049417097700');
|
||||
|
||||
UPDATE `creature_template` SET `npcflag`= 2 WHERE `entry` IN (27657, 27658, 27659);
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE `MenuID`= 9708 AND `OptionID`= 0;
|
||||
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
|
||||
(9708, 0, 0, 'So where do we go from here?', 28427, 1, 1, 0, 0, 0, 0, '', 0, 0);
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE `MenuID`= 9575 AND `OptionID`= 3;
|
||||
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
|
||||
(9575, 3, 0, 'What abilities do ruby drakes have?', 28085, 1, 1, 0, 0, 0, 0, '', 0, 0);
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE `MenuID`= 9574 AND `OptionID` IN (2, 3);
|
||||
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
|
||||
(9574, 2, 0, 'I want to exchange my Amber Essence for Emerald Essence.', 27038, 1, 1, 0, 0, 0, 0, '', 0, 0),
|
||||
(9574, 3, 0, 'I want to exchange my Ruby Essence for Emerald Essence.', 27039, 1, 1, 0, 0, 0, 0, '', 0, 0);
|
||||
|
||||
DELETE FROM `npc_text` WHERE `ID`= 12916;
|
||||
INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `BroadcastTextID0`, `lang0`, `Probability0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `BroadcastTextID1`, `lang1`, `Probability1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `BroadcastTextID2`, `lang2`, `Probability2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `BroadcastTextID3`, `lang3`, `Probability3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `BroadcastTextID4`, `lang4`, `Probability4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `BroadcastTextID5`, `lang5`, `Probability5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `BroadcastTextID6`, `lang6`, `Probability6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `BroadcastTextID7`, `lang7`, `Probability7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`, `VerifiedBuild`) VALUES
|
||||
(12916, 'Varos Cloudstrider and his ring guardians protect the second ring. Your drakes are more than a match for the ring guardians, but Varos stands behind an impenetrable shield created from the energy of the Oculus itself. Ten centrifuge constructs power the shield from the ring and platforms above. Destroy them and Varos will be vulnerable.$B$BI can grant you the power to call upon a drake from the red flight. Speak to Eternos or Verdisa if you prefer to draw on the power of the bronze or the green.', '', 26950, 0, 1, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 0, 0, 12340);
|
||||
|
||||
DELETE FROM `broadcast_text` WHERE `ID` IN (26950, 29536);
|
||||
INSERT INTO `broadcast_text` (`ID`, `Language`, `MaleText`, `FemaleText`, `EmoteID0`, `EmoteID1`, `EmoteID2`, `EmoteDelay0`, `EmoteDelay1`, `EmoteDelay2`, `SoundId`, `Unk1`, `Unk2`, `VerifiedBuild`) VALUES
|
||||
(26950, 0, 'Varos Cloudstrider and his ring guardians protect the second ring. Your drakes are more than a match for the ring guardians, but Varos stands behind an impenetrable shield created from the energy of the Oculus itself. Ten centrifuge constructs power the shield from the ring and platforms above. Destroy them and Varos will be vulnerable.$B$BI can grant you the power to call upon a drake from the red flight. Speak to Eternos or Verdisa if you prefer to draw on the power of the bronze or the green.', '', 0, 0, 0, 0, 0, 0, 0, 0, 1, 18019),(29536, 0, 'Varos Cloudstrider and his ring guardians protect the second ring. Your drakes are more than a match for the ring guardians, but Varos stands behind an impenetrable shield created from the energy of the Oculus itself. Ten centrifuge constructs power the shield from the ring and platforms above. Destroy them and Varos will be vulnerable.', 'Varos Cloudstrider and his ring guardians protect the second ring. Your drakes are more than a match for the ring guardians, but Varos stands behind an impenetrable shield created from the energy of the Oculus itself. Ten centrifuge constructs power the shield from the ring and platforms above. Destroy them and Varos will be vulnerable.', 0, 0, 0, 0, 0, 0, 0, 0, 1, 18019);
|
||||
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,79 @@
|
||||
-- DB update 2021_01_12_00 -> 2021_01_12_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_12_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_12_00 2021_01_12_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1607250027116831100'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1607250027116831100');
|
||||
|
||||
DELETE FROM `item_template_locale` WHERE `ID` IN (42083, 42019, 42013, 42007, 42000, 41995, 41911, 41900, 38996, 38970, 38957, 37976, 37967, 37955, 37837, 37742, 37711, 37706, 37544, 37090, 35553, 35551, 35550, 35549, 35548, 35546, 35545, 35544, 35541, 35539, 35538, 35537, 35535, 35533, 35531, 35529, 35527, 35526, 35525, 35524, 35523, 35521, 35520, 35519, 35518, 35517, 34835, 34663, 34647, 34645) AND `locale` = 'deDE';
|
||||
INSERT INTO `item_template_locale` (`ID`, `locale`, `Name`, `Description`, `VerifiedBuild`) VALUES
|
||||
(42083, 'deDE', 'LK Ehre 5 Caster DPS Kritisch Umhang', '', 15050),
|
||||
(42019, 'deDE', 'LK Arena 6 Hexenmeister Handschuhe', '', 15050),
|
||||
(42013, 'deDE', 'LK Arena 6 Hexenmeister Schultern', '', 15050),
|
||||
(42007, 'deDE', 'LK Arena 6 Hexenmeister Beine', '', 15050),
|
||||
(42000, 'deDE', 'LK Arena 6 Hexenmeister Brust', '', 15050),
|
||||
(41995, 'deDE', 'LK Arena 6 Hexenmeister Helm', '', 15050),
|
||||
(41911, 'deDE', 'LK Ehre 5 Caster DPS Armschienen', '', 15050),
|
||||
(41900, 'deDE', 'LK Ehre 5 Caster DPS Gürtel', '', 15050),
|
||||
(38996, 'deDE', 'Schriftrolle der Verzauberung: Armschiene - Erhebliche Heilung', '', 15050),
|
||||
(38970, 'deDE', 'Schriftrolle der Verzauberung: Handschuhe - Außergewöhnliche Heilung', '', 15050),
|
||||
(38957, 'deDE', 'Schriftrolle der Verzauberung: Waffe - Außergewöhnliches Schlagen', '', 15050),
|
||||
(37976, 'deDE', 'DB54 Heiler Hals2', '', 15050),
|
||||
(37967, 'deDE', 'DB42 Zauber Ring4', '', 15050),
|
||||
(37955, 'deDE', 'DB26 Heiler Umhang', '', 15050),
|
||||
(37837, 'deDE', 'Fette Laute', 'TEMP Test Verkäufer Item', 15050),
|
||||
(37742, 'deDE', 'Währung Token Test-Token 2', 'Ein zweites Test-Token für das Währungstoken-System', 15050),
|
||||
(37711, 'deDE', 'Währung Token Test-Token 1', 'Ein Test-Token für das Währungstoken-System', 15050),
|
||||
(37706, 'deDE', 'Gehärteter Saronitbarren', '', 15050),
|
||||
(37544, 'deDE', 'Drachenknochenhalskette', '', 15050),
|
||||
(37090, 'deDE', 'Flinkmohn', '', 15050),
|
||||
(35553, 'deDE', 'Pläne: Kampffäuste aus Hartkhorium', '', 15050),
|
||||
(35551, 'deDE', 'Muster: Sonnenfeuerhandlappen', '', 15050),
|
||||
(35550, 'deDE', 'Muster: Sonnengetränkte Schuppenhandschuhe', '', 15050),
|
||||
(35549, 'deDE', 'Muster: Sonnengetränkter Schuppenbrustschutz', '', 15050),
|
||||
(35548, 'deDE', 'Muster: Robe des ewigen Lichts', '', 15050),
|
||||
(35546, 'deDE', 'Muster: Lederstulpen der Sonne', '', 15050),
|
||||
(35545, 'deDE', 'Muster: Lederbrustschutz der Sonne', '', 15050),
|
||||
(35544, 'deDE', 'Muster: Hände des ewigen Lichts', '', 15050),
|
||||
(35541, 'deDE', 'Muster: Pfeilmacherhandschuhe des Phönix', '', 15050),
|
||||
(35539, 'deDE', 'Muster: Knochenpanzer von Sonne und Schatten', '', 15050),
|
||||
(35538, 'deDE', 'Vorlage: Ring des fließenden Lebens', '', 15050),
|
||||
(35537, 'deDE', 'Vorlage: Anhänger aus Sonnenfeuer', '', 15050),
|
||||
(35535, 'deDE', 'Vorlage: Halsreif aus Hartkhorium', '', 15050),
|
||||
(35533, 'deDE', 'Vorlage: Amulett des fließenden Lebens', 'Lehrt Euch die Herstellung eines Amuletts des fließenden Lebens.', 15050),
|
||||
(35531, 'deDE', 'Pläne: Flinkstahlarmschienen', '', 15050),
|
||||
(35529, 'deDE', 'Pläne: Morgenstahlarmschienen', '', 15050),
|
||||
(35527, 'deDE', 'Muster: Flinkschlagarmschienen', '', 15050),
|
||||
(35526, 'deDE', 'Muster: Flinkheiltücher', '', 15050),
|
||||
(35525, 'deDE', 'Muster: Flinkheilmantelung', '', 15050),
|
||||
(35524, 'deDE', 'Muster: Schultern der blitzartigen Reflexe', '', 15050),
|
||||
(35523, 'deDE', 'Muster: Schulterpolster des erneuerten Lebens', '', 15050),
|
||||
(35521, 'deDE', 'Muster: Lebendige Erdschultern', '', 15050),
|
||||
(35520, 'deDE', 'Muster: Lebendige Erdbindungen', '', 15050),
|
||||
(35519, 'deDE', 'Muster: Armschienen des erneuerten Lebens', '', 15050),
|
||||
(35518, 'deDE', 'Muster: Armschienen des flinken Gedankens', '', 15050),
|
||||
(35517, 'deDE', 'Muster: Bindungen der blitzartigen Reflexe', '', 15050),
|
||||
(34835, 'deDE', 'Omars Juwel von POWAH', '', 15050),
|
||||
(34663, 'deDE', 'Silberner Federkiel', '', 15050),
|
||||
(34647, 'deDE', 'Rauhes Pergament', '', 15050),
|
||||
(34645, 'deDE', 'Irdische Tinte', '', 15050);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,154 @@
|
||||
-- DB update 2021_01_12_01 -> 2021_01_13_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_12_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_12_01 2021_01_13_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609035890119156900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609035890119156900');
|
||||
|
||||
/* Filling in *_loot_template comment fields */
|
||||
|
||||
/* CREATURE */
|
||||
UPDATE `creature_loot_template`
|
||||
LEFT JOIN `item_template` ON `creature_loot_template`.`item` = `item_template`.`entry`
|
||||
INNER JOIN `creature_template` ON `creature_loot_template`.`entry` = `creature_template`.`lootid`
|
||||
SET `creature_loot_template`.`comment` =
|
||||
(CASE
|
||||
WHEN `creature_loot_template`.`reference` = 0
|
||||
THEN CONCAT(`creature_template`.`name`, ' - ', `item_template`.`name`)
|
||||
ELSE CONCAT(`creature_template`.`name`, ' - ', '(ReferenceTable)')
|
||||
END)
|
||||
WHERE `creature_loot_template`.`comment` = '' OR `creature_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* DISENCHANT */
|
||||
UPDATE `disenchant_loot_template`
|
||||
LEFT JOIN `item_template` ON `disenchant_loot_template`.`item` = `item_template`.`entry`
|
||||
SET `disenchant_loot_template`.`comment` =
|
||||
(CASE
|
||||
WHEN `disenchant_loot_template`.`reference` = 0
|
||||
THEN `item_template`.`name`
|
||||
ELSE '(ReferenceTable)'
|
||||
END)
|
||||
WHERE `disenchant_loot_template`.`comment` = '' OR `disenchant_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* FISHING */
|
||||
UPDATE `fishing_loot_template`
|
||||
LEFT JOIN `item_template` ON `fishing_loot_template`.`item` = `item_template`.`entry`
|
||||
SET `fishing_loot_template`.`comment` =
|
||||
(CASE
|
||||
WHEN `fishing_loot_template`.`reference` = 0
|
||||
THEN `item_template`.`name`
|
||||
ELSE '(ReferenceTable)'
|
||||
END)
|
||||
WHERE `fishing_loot_template`.`comment` = '' OR `fishing_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* GAMEOBJECT */
|
||||
UPDATE `gameobject_loot_template`
|
||||
LEFT JOIN `item_template` ON `gameobject_loot_template`.`item` = `item_template`.`entry`
|
||||
INNER JOIN `gameobject_template` ON `gameobject_loot_template`.`entry` = `gameobject_template`.`DATA1`
|
||||
SET `gameobject_loot_template`.`comment` =
|
||||
(CASE
|
||||
WHEN `gameobject_loot_template`.`reference` = 0
|
||||
THEN CONCAT(`gameobject_template`.`name`, ' - ', `item_template`.`name`)
|
||||
ELSE CONCAT(`gameobject_template`.`name`, ' - ', '(ReferenceTable)')
|
||||
END)
|
||||
WHERE `gameobject_loot_template`.`comment` = '' OR `gameobject_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* ITEM */
|
||||
UPDATE `item_loot_template`
|
||||
LEFT JOIN `item_template` AS `i1` ON `item_loot_template`.`item` = `i1`.`entry`
|
||||
INNER JOIN `item_template` AS `i2` ON `item_loot_template`.`entry` = `i2`.`entry`
|
||||
SET `item_loot_template`.`comment` =
|
||||
(CASE
|
||||
WHEN `item_loot_template`.`reference` = 0
|
||||
THEN CONCAT(`i2`.`name`, ' - ', `i1`.`name`)
|
||||
ELSE CONCAT(`i2`.`name`, ' - ', '(ReferenceTable)')
|
||||
END)
|
||||
WHERE `item_loot_template`.`comment` = '' OR `item_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* MAIL */
|
||||
UPDATE `mail_loot_template`
|
||||
INNER JOIN `item_template` ON `mail_loot_template`.`item` = `item_template`.`entry`
|
||||
SET `mail_loot_template`.`comment` = `item_template`.`name`
|
||||
WHERE `mail_loot_template`.`comment` = '' OR `mail_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* MILLING */
|
||||
UPDATE `milling_loot_template`
|
||||
SET `milling_loot_template`.`comment` = '(ReferenceTable)'
|
||||
WHERE `milling_loot_template`.`comment` = '' OR `milling_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* PICKPOCKETING */
|
||||
UPDATE `pickpocketing_loot_template`
|
||||
LEFT JOIN `item_template` ON `pickpocketing_loot_template`.`item` = `item_template`.`entry`
|
||||
INNER JOIN `creature_template` ON `pickpocketing_loot_template`.`entry` = `creature_template`.`entry`
|
||||
SET `pickpocketing_loot_template`.`comment` =
|
||||
(CASE
|
||||
WHEN `pickpocketing_loot_template`.`reference` = 0
|
||||
THEN CONCAT(`creature_template`.`name`, ' - ', `item_template`.`name`)
|
||||
ELSE CONCAT(`creature_template`.`name`, ' - ', '(ReferenceTable)')
|
||||
END)
|
||||
WHERE `pickpocketing_loot_template`.`comment` = '' OR `pickpocketing_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* PROSPECTING */
|
||||
UPDATE `prospecting_loot_template`
|
||||
LEFT JOIN `item_template` ON `prospecting_loot_template`.`item` = `item_template`.`entry`
|
||||
SET `prospecting_loot_template`.`comment` =
|
||||
(CASE
|
||||
WHEN `prospecting_loot_template`.`reference` = 0
|
||||
THEN `item_template`.`name`
|
||||
ELSE '(ReferenceTable)'
|
||||
END)
|
||||
WHERE `prospecting_loot_template`.`comment` = '' OR `prospecting_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* REFERENCE */
|
||||
UPDATE `reference_loot_template`
|
||||
LEFT JOIN `item_template` ON `reference_loot_template`.`item` = `item_template`.`entry`
|
||||
SET `reference_loot_template`.`comment` =
|
||||
(CASE
|
||||
WHEN `reference_loot_template`.`reference` = 0
|
||||
THEN `item_template`.`name`
|
||||
ELSE '(ReferenceTable)'
|
||||
END)
|
||||
WHERE `reference_loot_template`.`comment` = '' OR `reference_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* SKINNING */
|
||||
UPDATE `skinning_loot_template`
|
||||
LEFT JOIN `item_template` ON `skinning_loot_template`.`item` = `item_template`.`entry`
|
||||
INNER JOIN `creature_template` ON `skinning_loot_template`.`entry` = `creature_template`.`entry`
|
||||
SET `skinning_loot_template`.`comment` =
|
||||
(CASE
|
||||
WHEN `skinning_loot_template`.`reference` = 0
|
||||
THEN CONCAT(`creature_template`.`name`, ' - ', `item_template`.`name`)
|
||||
ELSE CONCAT(`creature_template`.`name`, ' - ', '(ReferenceTable)')
|
||||
END)
|
||||
WHERE `skinning_loot_template`.`comment` = '' OR `skinning_loot_template`.`comment` IS NULL;
|
||||
|
||||
/* SPELL */
|
||||
UPDATE `spell_loot_template`
|
||||
LEFT JOIN `item_template` ON `spell_loot_template`.`item` = `item_template`.`entry`
|
||||
SET `spell_loot_template`.`comment` =
|
||||
(CASE
|
||||
WHEN `spell_loot_template`.`reference` = 0
|
||||
THEN `item_template`.`name`
|
||||
ELSE '(ReferenceTable)'
|
||||
END)
|
||||
WHERE `spell_loot_template`.`comment` = '' OR `spell_loot_template`.`comment` IS NULL;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,115 @@
|
||||
-- DB update 2021_01_13_00 -> 2021_01_13_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_13_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_13_00 2021_01_13_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609106243604105800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609106243604105800');
|
||||
|
||||
-- DELETE OLD WAYPOINTS
|
||||
DELETE FROM `waypoints` WHERE `entry`=25220;
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=2522000;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(2522000, 1, 2253.64, 5195.47, 11.4006, 'Civilian Recruit'),
|
||||
(2522000, 2, 2254.1, 5196.36, 11.4006, 'Civilian Recruit'),
|
||||
(2522000, 3, 2277.82, 5238.72, 11.451, 'Civilian Recruit'),
|
||||
(2522000, 4, 2279.22, 5241.41, 11.451, 'Civilian Recruit'),
|
||||
(2522000, 5, 2280.84, 5244.22, 11.4572, 'Civilian Recruit'),
|
||||
(2522000, 6, 2282.6, 5245.74, 11.3635, 'Civilian Recruit'),
|
||||
(2522000, 7, 2284.87, 5246.3, 11.451, 'Civilian Recruit'),
|
||||
(2522000, 8, 2287.47, 5245.93, 11.451, 'Civilian Recruit'),
|
||||
(2522000, 9, 2289.47, 5244.9, 11.451, 'Civilian Recruit'),
|
||||
(2522000, 10, 2291.77, 5243.93, 11.451, 'Civilian Recruit'),
|
||||
(2522000, 11, 2294.13, 5242.71, 11.451, 'Civilian Recruit'),
|
||||
(2522000, 12, 2296.28, 5241.78, 11.401, 'Civilian Recruit'),
|
||||
(2522000, 13, 2303.02, 5253.31, 11.5058, 'Civilian Recruit'),
|
||||
(2522000, 14, 2308.73, 5256.93, 11.5058, 'Civilian Recruit'),
|
||||
(2522000, 15, 2320.83, 5259.26, 11.2558, 'Civilian Recruit');
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry`=2522001;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(2522001, 1, 2296.559, 5246.846, 11.404, 'Civilian Recruit'),
|
||||
(2522001, 2, 2292.450, 5254.650, 11.388, 'Civilian Recruit'),
|
||||
(2522001, 3, 2285.198, 5253.812, 11.234, 'Civilian Recruit'),
|
||||
(2522001, 4, 2277.200, 5253.496, 11.276, 'Civilian Recruit'),
|
||||
(2522001, 5, 2269.225, 5256.365, 7.161, 'Civilian Recruit'),
|
||||
(2522001, 6, 2261.543, 5259.822, 7.163, 'Civilian Recruit'),
|
||||
(2522001, 7, 2258.661, 5260.919, 7.359, 'Civilian Recruit'),
|
||||
(2522001, 8, 2251.999, 5263.715, 11.654, 'Civilian Recruit'),
|
||||
(2522001, 9, 2242.162, 5267.343, 11.658, 'Civilian Recruit'),
|
||||
(2522001, 10, 2234.742, 5269.070, 7.347, 'Civilian Recruit'),
|
||||
(2522001, 11, 2224.120, 5274.070, 7.163, 'Civilian Recruit'),
|
||||
(2522001, 12, 2216.152, 5276.913, 11.278, 'Civilian Recruit'),
|
||||
(2522001, 13, 2214.973, 5278.051, 11.281, 'Civilian Recruit'),
|
||||
(2522001, 14, 2213.541, 5282.745, 10.813, 'Civilian Recruit'),
|
||||
(2522001, 15, 2214.522, 5288.735, 10.604, 'Civilian Recruit'),
|
||||
(2522001, 16, 2212.032, 5291.217, 10.618, 'Civilian Recruit'),
|
||||
(2522001, 17, 2205.3017, 5292.435, 15.717, 'Civilian Recruit'),
|
||||
(2522001, 18, 2197.444, 5295.870, 22.238, 'Civilian Recruit'),
|
||||
(2522001, 19, 2194.665, 5296.065, 21.897, 'Civilian Recruit'),
|
||||
(2522001, 20, 2192.113, 5293.873, 22.002, 'Civilian Recruit'),
|
||||
(2522001, 21, 2188.318, 5286.672, 22.058, 'Civilian Recruit'),
|
||||
(2522001, 22, 2184.876, 5284.927, 22.058, 'Civilian Recruit'),
|
||||
(2522001, 23, 2182.702, 5284.855, 22.058, 'Civilian Recruit'),
|
||||
(2522001, 24, 2178.031, 5285.953, 24.625, 'Civilian Recruit'),
|
||||
(2522001, 25, 2169.735, 5289.780, 24.665, 'Civilian Recruit'),
|
||||
(2522001, 26, 2163.189, 5290.488, 24.665, 'Civilian Recruit'),
|
||||
(2522001, 27, 2158.472, 5291.988, 24.665, 'Civilian Recruit');
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 25220;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 25220);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(25220, 0, 0, 1, 54, 0, 100, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Just Summoned - Set Active On'),
|
||||
(25220, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 2522000, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Just Summoned - Start Waypoint'),
|
||||
(25220, 0, 2, 0, 8, 0, 100, 0, 45313, 0, 0, 0, 0, 54, 22000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Spellhit \'Anchor Here\' - Pause Waypoint'),
|
||||
(25220, 0, 3, 0, 8, 0, 100, 0, 45307, 0, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Spellhit \'Borean Tundra - Valiance Keep Flavor - Queue Global Ping\' - Resume Waypoint'),
|
||||
(25220, 0, 4, 0, 40, 0, 100, 0, 3, 2522000, 0, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 3 Reached - Cast \'Anchor Here\''),
|
||||
(25220, 0, 5, 0, 40, 0, 100, 0, 4, 2522000, 0, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 4 Reached - Cast \'Anchor Here\''),
|
||||
(25220, 0, 6, 0, 40, 0, 100, 0, 5, 2522000, 0, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 5 Reached - Cast \'Anchor Here\''),
|
||||
(25220, 0, 7, 0, 40, 0, 100, 0, 6, 2522000, 0, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 6 Reached - Cast \'Anchor Here\''),
|
||||
(25220, 0, 8, 0, 40, 0, 100, 0, 7, 2522000, 0, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 7 Reached - Cast \'Anchor Here\''),
|
||||
(25220, 0, 9, 0, 40, 0, 100, 0, 8, 2522000, 0, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 8 Reached - Cast \'Anchor Here\''),
|
||||
(25220, 0, 10, 0, 40, 0, 100, 0, 9, 2522000, 0, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 9 Reached - Cast \'Anchor Here\''),
|
||||
(25220, 0, 11, 0, 40, 0, 100, 0, 10, 2522000, 0, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 10 Reached - Cast \'Anchor Here\''),
|
||||
(25220, 0, 12, 0, 40, 0, 100, 0, 11, 2522000, 0, 0, 0, 11, 45313, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 11 Reached - Cast \'Anchor Here\''),
|
||||
(25220, 0, 13, 14, 40, 0, 100, 0, 12, 2522000, 0, 0, 0, 54, 18000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 12 Reached - Pause Waypoint'),
|
||||
(25220, 0, 14, 0, 61, 0, 100, 0, 12, 2522000, 0, 0, 0, 87, 2522000, 2522001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - On Waypoint 12 Reached - Run Random Script');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2522000);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(2522000, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Say Line 0'),
|
||||
(2522000, 9, 1, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Say Line 0'),
|
||||
(2522000, 9, 2, 0, 0, 0, 100, 0, 6000, 7000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Say Line 1'),
|
||||
(2522000, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Change Equipment'),
|
||||
(2522000, 9, 4, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Resume Waypoint'),
|
||||
(2522000, 9, 5, 0, 0, 0, 100, 0, 4000, 5000, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Say Line 3');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2522001);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(2522001, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Say Line 0'),
|
||||
(2522001, 9, 1, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Say Line 0'),
|
||||
(2522001, 9, 2, 0, 0, 0, 100, 0, 6000, 7000, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Say Line 2'),
|
||||
(2522001, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 71, 0, 0, 2178, 143, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Change Equipment'),
|
||||
(2522001, 9, 4, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 53, 0, 2522001, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Start Waypoint'),
|
||||
(2522001, 9, 5, 0, 0, 0, 100, 0, 4000, 5000, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, 25222, 0, 0, 0, 0, 0, 0, 0, 'Civilian Recruit - Actionlist - Say Line 3');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,33 @@
|
||||
-- DB update 2021_01_13_01 -> 2021_01_14_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_13_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_13_01 2021_01_14_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609118876085874200'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609118876085874200');
|
||||
|
||||
DELETE FROM `gameobject` WHERE (`id` = 192011 AND `guid` IN (99732, 2134518));
|
||||
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(99732, 192011, 571, 0, 0, 1, 1, 8426.94, 2921.13, 606.259, 1.61609, 0, 0, -0.722938, -0.690913, 25, 0, 1, '', 0),
|
||||
(2134518, 192011, 571, 0, 0, 1, 1, 8427.42, 2910.6, 606.259, 1.61609, 0, 0, -0.722938, -0.690913, 300, 0, 1, '', 0);
|
||||
|
||||
UPDATE `gameobject_template` SET `Data1` = 17 WHERE (`entry` = 192011);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,28 @@
|
||||
-- DB update 2021_01_14_00 -> 2021_01_14_01
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_14_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_14_00 2021_01_14_01 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1610598175630537700'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1610598175630537700');
|
||||
|
||||
UPDATE `creature_template` SET `faction` = 1639, `unit_flags` = 4096, `flags_extra` = 0 WHERE `entry` = 17551;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,103 @@
|
||||
-- DB update 2021_01_14_01 -> 2021_01_14_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_14_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_14_01 2021_01_14_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1607329910475731400'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1607329910475731400');
|
||||
|
||||
DELETE FROM `item_template_locale` WHERE `ID` IN (34467, 33315, 33147, 33080, 33063, 32972, 32911, 32642, 32595, 32594, 32560, 32558, 32556, 32552, 32550, 32548, 32546, 32544, 31849, 31845, 31843, 31802, 31665, 30440, 30427, 30197, 30193, 29887, 29885, 29874, 29872, 29863, 29861, 29860, 29857, 29856, 29852, 29842, 29840, 29839, 29790, 29311, 28598, 28131, 28110, 25627, 25582, 25581, 25580, 23567, 22045, 22042, 22020, 21044, 20364, 19879, 18970, 16165, 16085, 13339, 13337, 9701, 9700, 8688, 5495, 5333, 3068, 3034, 1914, 1700, 1324, 1298, 964, 45280) AND `locale` = 'deDE';
|
||||
INSERT INTO `item_template_locale` (`ID`, `locale`, `Name`, `Description`, `VerifiedBuild`) VALUES
|
||||
(34467, 'deDE', 'Test Eine Hand voll Teufelseisenbolzen', '', 15050),
|
||||
(33315, 'deDE', 'QAFormel: Waffe - Scharfrichter', '', 15050),
|
||||
(33147, 'deDE', 'Formel: Umhang - Feingefühl', '', 15050),
|
||||
(33080, 'deDE', 'Elixier der Wasserelementare', 'Gerüchten zufolge soll dieses Elixier seinen Besitzer in einen kleinen Wasserelementar verwandeln. Nur für Mitglieder des Syndikats verwendbar.', 15050),
|
||||
(33063, 'deDE', 'Wirklich hartes Braufestbrot', 'Nicht genießbar, aber ein praktisches Hilfsmittel zur Verteidigung Eures Getränks.', 15050),
|
||||
(32972, 'deDE', 'Rosarote Brille', '', 15050),
|
||||
(32911, 'deDE', 'Leerer Braufestkrug', '', 15050),
|
||||
(32642, 'deDE', 'Rohe Rune der Dunkelheit', 'Die Teufelsenergie durchdringt den Raum um die Rune herum.', 15050),
|
||||
(32595, 'deDE', 'Ogrela Reagenz Staub', '', 15050),
|
||||
(32594, 'deDE', 'Ogrela Test Tunika', '', 15050),
|
||||
(32560, 'deDE', 'Tier 5 Krieger Ausrüstungsbox 2', '', 15050),
|
||||
(32558, 'deDE', 'Tier 5 Hexenmeister Ausrüstungsbox 2', '', 15050),
|
||||
(32556, 'deDE', 'Tier 5 Schamane Ausrüstungsbox 2', '', 15050),
|
||||
(32552, 'deDE', 'Tier 5 Priester Ausrüstungsbox 2', '', 15050),
|
||||
(32550, 'deDE', 'Tier 5 Paladin Ausrüstungsbox 2', '', 15050),
|
||||
(32548, 'deDE', 'Tier 5 Magier Ausrüstungsbox 2', '', 15050),
|
||||
(32546, 'deDE', 'Tier 5 Jäger Ausrüstungsbox 2', '', 15050),
|
||||
(32544, 'deDE', 'Tier 5 Druide Ausrüstungsbox 2', '', 15050),
|
||||
(31849, 'deDE', 'QAArmschienen - Stärke +12', '', 15050),
|
||||
(31845, 'deDE', 'QAArmschienen - Zaubermacht +15', '', 15050),
|
||||
(31843, 'deDE', 'QAArmschienen - Angriffskraft +24', '', 15050),
|
||||
(31802, 'deDE', 'Fleischlingssimulationsstab', '', 15050),
|
||||
(31665, 'deDE', 'Ferngesteuerter Spielzeugmörserpanzer', 'Hinweis: Zur Sicherheit von Kleinkindern wird mit Kanonen nicht wirklich geschossen.', 15050),
|
||||
(30440, 'deDE', 'Monster - Speer, Donnerlanze', '', 15050),
|
||||
(30427, 'deDE', 'Naga Schatzkarte - Questgeber (PH)', 'X markiert die Ssstelle.', 15050),
|
||||
(30197, 'deDE', 'QARing - Werte +4', '', 15050),
|
||||
(30193, 'deDE', 'QARing - Zaubermacht +12', '', 15050),
|
||||
(29887, 'deDE', 'Jäger 150 epische Munitionskiste', '', 15050),
|
||||
(29885, 'deDE', 'Jäger 120 epische Testgeschosse', '', 15050),
|
||||
(29874, 'deDE', 'QABrust - Gesundheit +150', '', 15050),
|
||||
(29872, 'deDE', 'QABrust - Werte +6', '', 15050),
|
||||
(29863, 'deDE', 'QAHandschuhe - Zauberschaden +20', '', 15050),
|
||||
(29861, 'deDE', 'QAUmhang - Zauberdurchschlag +20', '', 15050),
|
||||
(29860, 'deDE', 'QAUmhang - Beweglichkeit +12', '', 15050),
|
||||
(29857, 'deDE', 'QAStiefel - Ausdauer +12', '', 15050),
|
||||
(29856, 'deDE', 'QAStiefel - Beweglichkeit +12', '', 15050),
|
||||
(29852, 'deDE', 'QAStiefel - Ausdauer +9 & Geschwindigkeit +8%', '', 15050),
|
||||
(29842, 'deDE', 'QAWaffe - Zauberschaden +40', '', 15050),
|
||||
(29840, 'deDE', 'QAWaffe - Seelenfrost', '', 15050),
|
||||
(29839, 'deDE', 'QAWaffe - Mungo', '', 15050),
|
||||
(29790, 'deDE', 'Sprengladungen', '', 15050),
|
||||
(29311, 'deDE', 'Bauanleitung für Teufelshäscher', '', 15050),
|
||||
(28598, 'deDE', 'Bauanleitung für Teufelshäscher', '', 15050),
|
||||
(28131, 'deDE', 'Häscherbrecherwerfer', '', 15050),
|
||||
(28110, 'deDE', 'Fetter Gnom und kleine Elfe', '', 15050),
|
||||
(25627, 'deDE', 'QR 9922 Schild', '', 15050),
|
||||
(25582, 'deDE', 'QR 9867 Druiden Mondkin Gürtel', '', 15050),
|
||||
(25581, 'deDE', 'QR 9867 Jäger Handschuhe', '', 15050),
|
||||
(25580, 'deDE', 'QR 9867 Krieger Beine', '', 15050),
|
||||
(23567, 'deDE', '[PH] Silithus PvP-Staub [DEP]', '', 15050),
|
||||
(22045, 'deDE', 'Test QARaid Super Munitionsschließkassette', '', 15050),
|
||||
(22042, 'deDE', 'QAUmhang - Bedrohung -2%', '', 15050),
|
||||
(22020, 'deDE', 'QAWaffe - Beweglichkeit +15', '', 15050),
|
||||
(21044, 'deDE', 'Rentierzügel', '', 15050),
|
||||
(20364, 'deDE', 'Test Munitionsschließkassette', '', 15050),
|
||||
(19879, 'deDE', 'Alex'' Test Niederschlagsstab', '', 15050),
|
||||
(18970, 'deDE', 'Ring Kritische Tests 2', '', 15050),
|
||||
(16165, 'deDE', 'Test arkane Resistenz Beinpanzer', '', 15050),
|
||||
(16085, 'deDE', 'Erste Hilfe für den Fachmann - Heilt Euch selbst', '', 15050),
|
||||
(13339, 'deDE', 'Monster - Stab, gefiedertes Silber', '', 15050),
|
||||
(13337, 'deDE', 'Monster - Stab, gefiedertes Gold', '', 15050),
|
||||
(9701, 'deDE', 'Monster - Item, Roter Funkler', '', 15050),
|
||||
(9700, 'deDE', 'Monster - Item, Blauer Funkler', '', 15050),
|
||||
(8688, 'deDE', 'Bindung bei Erwerb Test Item', '', 15050),
|
||||
(5495, 'deDE', 'Schwarzer Überzieher', '', 15050),
|
||||
(5333, 'deDE', 'Mathystra-Relikte', '', 15050),
|
||||
(3068, 'deDE', 'Silberfadengugel', '', 15050),
|
||||
(3034, 'deDE', 'Glyphenverzierte Brustplatte', '', 15050),
|
||||
(1914, 'deDE', 'Deprecated Silberner Miniaturhammer', '', 15050),
|
||||
(1700, 'deDE', 'Das Claymore des Admin Warlord', 'Hergestellt von TBRC', 15050),
|
||||
(1324, 'deDE', 'Deprecated Parkers Mittagessen', '', 15050),
|
||||
(1298, 'deDE', 'Deprecated Handgelenksschutz des Nachtmagiers', '', 15050),
|
||||
(964, 'deDE', 'Deprecated Rotes Leinenhemd', '', 15050),
|
||||
(45280, 'deDE', 'Supershirt', 'Ich habe Ulduar in Hardmode getestet und alles was ich bekam war dieses blöde T-Shirt!', 15050);
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,40 @@
|
||||
-- DB update 2021_01_14_02 -> 2021_01_15_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_14_02';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_14_02 2021_01_15_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1609112407840861500'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609112407840861500');
|
||||
|
||||
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 18317;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18317);
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(18317, 0, 0, 0, 4, 0, 25, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ethereal Priest - On Aggro - Say Line 0'),
|
||||
(18317, 0, 1, 0, 14, 1, 100, 2, 1000, 40, 7000, 10000, 0, 11, 34945, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ethereal Priest - Friendly At 1000 Health - Cast \'Heal\' (Phase 1) (Normal Dungeon)'),
|
||||
(18317, 0, 2, 0, 14, 1, 100, 4, 1000, 40, 7000, 10000, 0, 11, 22883, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ethereal Priest - Friendly At 1000 Health - Cast \'Heal\' (Phase 1) (Heroic Dungeon)'),
|
||||
(18317, 0, 3, 0, 0, 0, 100, 2, 6700, 7900, 16000, 18000, 0, 11, 34944, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ethereal Priest - In Combat - Cast \'Holy Nova\' (Normal Dungeon)'),
|
||||
(18317, 0, 4, 0, 0, 0, 100, 4, 6700, 7900, 16000, 18000, 0, 11, 37669, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ethereal Priest - In Combat - Cast \'Holy Nova\' (Heroic Dungeon)'),
|
||||
(18317, 0, 5, 0, 16, 1, 100, 0, 17139, 40, 7000, 10000, 0, 11, 17139, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ethereal Priest - On Friendly Unit Missing Buff \'Power Word: Shield\' - Cast \'Power Word: Shield\' (Phase 1)'),
|
||||
(18317, 0, 6, 0, 16, 1, 100, 4, 35944, 40, 7000, 10000, 0, 11, 35944, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ethereal Priest - On Friendly Unit Missing Buff \'Power Word: Shield\' - Cast \'Power Word: Shield\' (Phase 1) (Heroic Dungeon)'),
|
||||
(18317, 0, 7, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ethereal Priest - On Aggro - Set Event Phase 1'),
|
||||
(18317, 0, 8, 0, 7, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ethereal Priest - On Evade - Set Event Phase 0');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
@@ -0,0 +1,48 @@
|
||||
-- DB update 2021_01_15_00 -> 2021_01_16_00
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_01_15_00';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_01_15_00 2021_01_16_00 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1607523114128420000'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1607523114128420000');
|
||||
|
||||
UPDATE `game_tele` SET `position_x`=3677.532959, `position_y`=2166.696777, `position_z`=35.807980, `orientation`=2.301083 WHERE `id`=455; -- Azjol-Nerub
|
||||
|
||||
DELETE FROM `game_tele` WHERE `id` IN (1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1490);
|
||||
INSERT INTO `game_tele` (`id`, `position_x`, `position_y`, `position_z`, `orientation`, `map`, `name`) VALUES
|
||||
(1435, -8779.900391, 834.348816, 94.680130, 0.653013, 0, 'TheStockade'),
|
||||
(1436, 3643.309082, 2036.508545, 1.787417, 4.339186, 571, 'AhnKahet'),
|
||||
(1437, -8750.759766, -4442.196777, -199.259674, 4.376938, 1, 'TheCullingOfStratholme'),
|
||||
(1438, 6952.303711, -4419.976074, 450.077667, 0.807518, 571, 'GundrakDungeon'),
|
||||
(1439, 9182.918945, -1384.819336, 1110.209961, 5.577789, 571, 'HallsOfLightning'),
|
||||
(1440, 8921.905273, -993.503479, 1039.410278, 1.552629, 571, 'HallsOfStone'),
|
||||
(1441, 5630.444824, 1994.013184, 798.058777, 4.587561, 571, 'HallsOfReflection'),
|
||||
(1442, 5598.744629, 2015.848999, 798.041748, 3.810007, 571, 'PitOfSaron'),
|
||||
(1443, 3600.503174, 197.339737, -113.760269, 5.299053, 571, 'RubySanctum'),
|
||||
(1444, 3859.444580, 6989.848145, 152.040604, 5.796354, 571, 'EyeOfEternity'),
|
||||
(1445, 5666.252930, 2009.196899, 798.041443, 5.431836, 571, 'ForgeOfSouls'),
|
||||
(1446, 3893.507568, 6985.326172, 69.487663, 6.278975, 571, 'TheNexusDungeon'),
|
||||
(1447, 3457.111816, 262.394165, -113.819344, 3.282578, 571, 'ObsidianSanctum'),
|
||||
(1448, 3879.958740, 6984.616211, 106.3120190, 3.196693, 571, 'Oculus'),
|
||||
(1449, 8515.682617, 716.982239, 558.247864, 1.573150, 571, 'TrialOfTheCrusader'),
|
||||
(1450, 9327.247070, -1114.638550, 1245.147095, 0.002312, 571, 'UlduarRaid'),
|
||||
(1490, 5474.070313, 39.761471, 149.545578, 6.271932, 571, 'CrystalsongForest');
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user