master 822b53028853 cached
245 files
10.0 MB
2.6M tokens
1 requests
Copy disabled (too large) Download .txt
Showing preview only (10,501K chars total). Download the full file to get everything.
Repository: ZhengPeiRu21/mod-individual-progression
Branch: master
Commit: 822b53028853
Files: 245
Total size: 10.0 MB

Directory structure:
gitextract_b9pt4l1b/

├── .editorconfig
├── .gitattributes
├── .gitignore
├── LICENSE
├── README.md
├── conf/
│   ├── conf.sh.dist
│   └── individualProgression.conf.dist
├── data/
│   └── sql/
│       ├── auth/
│       │   └── updates/
│       │       └── .gitkeep
│       ├── characters/
│       │   └── updates/
│       │       └── .gitkeep
│       └── world/
│           ├── base/
│           │   ├── .gitignore
│           │   ├── 00_cleanup.sql
│           │   ├── adjustment_auras.sql
│           │   ├── aq_gate_quest.sql
│           │   ├── aq_war.sql
│           │   ├── aq_war_effort.sql
│           │   ├── av.sql
│           │   ├── av_creatures.sql
│           │   ├── av_gameobjects.sql
│           │   ├── boss_lord_kazzak.sql
│           │   ├── class_trainers.sql
│           │   ├── cs_individualProgression.sql
│           │   ├── dungeon_aq20.sql
│           │   ├── dungeon_aq40.sql
│           │   ├── dungeon_attunements.sql
│           │   ├── dungeon_blackfathom_deeps.sql
│           │   ├── dungeon_blackrock_depths.sql
│           │   ├── dungeon_blackrock_spire.sql
│           │   ├── dungeon_blackwing_lair.sql
│           │   ├── dungeon_deadmines.sql
│           │   ├── dungeon_dire_maul.sql
│           │   ├── dungeon_gnomeregan.sql
│           │   ├── dungeon_karazhan.sql
│           │   ├── dungeon_maraudon.sql
│           │   ├── dungeon_molten_core.sql
│           │   ├── dungeon_onyxia.sql
│           │   ├── dungeon_ragefire_chasm.sql
│           │   ├── dungeon_razorfen_downs.sql
│           │   ├── dungeon_razorfen_kraul.sql
│           │   ├── dungeon_scarlet_monastery.sql
│           │   ├── dungeon_scholomance.sql
│           │   ├── dungeon_shadowfang_keep.sql
│           │   ├── dungeon_ssc.sql
│           │   ├── dungeon_stockade.sql
│           │   ├── dungeon_stratholme.sql
│           │   ├── dungeon_sunken_temple.sql
│           │   ├── dungeon_uldaman.sql
│           │   ├── dungeon_wailing_caverns.sql
│           │   ├── dungeon_zulaman.sql
│           │   ├── dungeon_zulfarrak.sql
│           │   ├── dungeon_zulgurub.sql
│           │   ├── ipp_aware_npcs.sql
│           │   ├── item_enchantment_rates.sql
│           │   ├── mounts_and_riding.sql
│           │   ├── naxx40.sql
│           │   ├── naxx40_archmage_tarsis.sql
│           │   ├── naxx40_creatures.sql
│           │   ├── naxx40_frozen_runes.sql
│           │   ├── naxx40_gameobjects.sql
│           │   ├── naxx40_omarion.sql
│           │   ├── naxx40_quests.sql
│           │   ├── naxx40_spells.sql
│           │   ├── player_levelstats.sql
│           │   ├── player_progression.sql
│           │   ├── player_starting_gear.sql
│           │   ├── player_starting_skillbars.sql
│           │   ├── player_starting_weapon_skills.sql
│           │   ├── professions.sql
│           │   ├── pvp_brackets.sql
│           │   ├── pvp_quests.sql
│           │   ├── pvp_vendors.sql
│           │   ├── quest_missing_diplomat.sql
│           │   ├── quest_the_masquerade.sql
│           │   ├── quest_xp_table.sql
│           │   ├── restore_achievements.sql
│           │   ├── si.sql
│           │   ├── si_creatures.sql
│           │   ├── si_gameobjects.sql
│           │   ├── spell_restorations.sql
│           │   ├── tbc_creatures.sql
│           │   ├── tbc_item_changes.sql
│           │   ├── tbc_loot_fixes.sql
│           │   ├── tbc_raid_hp_restoration.sql
│           │   ├── tbc_reference_loot.sql
│           │   ├── tbc_vendors.sql
│           │   ├── vanilla_creature_reputations.sql
│           │   ├── vanilla_creatures.sql
│           │   ├── vanilla_item_changes.sql
│           │   ├── vanilla_mechanic_immunity.sql
│           │   ├── vanilla_pooled_treasure_chests.sql
│           │   ├── vanilla_pvp_system.sql
│           │   ├── vanilla_quest_levels.sql
│           │   ├── vanilla_quest_reputations.sql
│           │   ├── vanilla_skinning_adjustments.sql
│           │   ├── vanilla_spell_school_immunity.sql
│           │   ├── vanilla_spell_school_resistances.sql
│           │   ├── vanilla_vendors.sql
│           │   ├── vanilla_world_level_adjustments.sql
│           │   ├── vanilla_xp_tables.sql
│           │   ├── warlock_pet_stats.sql
│           │   ├── wotlk_archmage_timear.sql
│           │   ├── wotlk_emblems.sql
│           │   ├── wotlk_vendors.sql
│           │   ├── zone_alterac_mountains.sql
│           │   ├── zone_arathi_highlands.sql
│           │   ├── zone_ashenvale.sql
│           │   ├── zone_azshara.sql
│           │   ├── zone_badlands.sql
│           │   ├── zone_barrens.sql
│           │   ├── zone_blades_edge_mountains.sql
│           │   ├── zone_blasted_lands.sql
│           │   ├── zone_bloodmyst_isle.sql
│           │   ├── zone_burning_steppes.sql
│           │   ├── zone_dalaran.sql
│           │   ├── zone_darkshore.sql
│           │   ├── zone_darnassus.sql
│           │   ├── zone_deadwind_pass.sql
│           │   ├── zone_desolace.sql
│           │   ├── zone_dragonblight.sql
│           │   ├── zone_dun_morogh.sql
│           │   ├── zone_durotar.sql
│           │   ├── zone_duskwood.sql
│           │   ├── zone_dustwallow_marsh.sql
│           │   ├── zone_eastern_plaguelands.sql
│           │   ├── zone_elwynn_forest.sql
│           │   ├── zone_eversong_woods.sql
│           │   ├── zone_felwood.sql
│           │   ├── zone_feralas.sql
│           │   ├── zone_ghostlands.sql
│           │   ├── zone_hellfire_peninsula.sql
│           │   ├── zone_hillsbrad_foothills.sql
│           │   ├── zone_hinterlands.sql
│           │   ├── zone_ironforge.sql
│           │   ├── zone_isle_of_queldanas.sql
│           │   ├── zone_loch_modan.sql
│           │   ├── zone_mulgore.sql
│           │   ├── zone_nagrand.sql
│           │   ├── zone_netherstorm.sql
│           │   ├── zone_orgrimmar.sql
│           │   ├── zone_redridge_mountains.sql
│           │   ├── zone_searing_gorge.sql
│           │   ├── zone_shadowmoon_valley.sql
│           │   ├── zone_shattrath.sql
│           │   ├── zone_silithus.sql
│           │   ├── zone_silvermoon.sql
│           │   ├── zone_silverpine.sql
│           │   ├── zone_stonetalon_mountains.sql
│           │   ├── zone_stormwind.sql
│           │   ├── zone_stranglethorn.sql
│           │   ├── zone_swamp_of_sorrows.sql
│           │   ├── zone_tanaris.sql
│           │   ├── zone_teldrassil.sql
│           │   ├── zone_terokkar_forest.sql
│           │   ├── zone_thousand_needles.sql
│           │   ├── zone_thunder_bluff.sql
│           │   ├── zone_tirisfal_glades.sql
│           │   ├── zone_undercity.sql
│           │   ├── zone_ungoro.sql
│           │   ├── zone_western_plaguelands.sql
│           │   ├── zone_westfall.sql
│           │   ├── zone_wetlands.sql
│           │   ├── zone_winterspring.sql
│           │   └── zone_zangarmarsh.sql
│           └── updates/
│               ├── .gitignore
│               └── .gitkeep
├── include.sh
├── optional/
│   ├── patch-explanations.txt
│   └── sql/
│       └── world/
│           ├── zz_optional_ammo_stack_size.sql
│           ├── zz_optional_aq_quest_nerf.sql
│           ├── zz_optional_av_landmines.sql
│           ├── zz_optional_creature_stats.sql
│           ├── zz_optional_item_stack_sizes.sql
│           ├── zz_optional_limit_spells_to_expansion.sql
│           ├── zz_optional_phasing.sql
│           ├── zz_optional_remove_heirlooms.sql
│           ├── zz_optional_restore_crafting_cd_timers.sql
│           ├── zz_optional_restore_potion_cd.sql
│           ├── zz_optional_restore_rogue_poisons.sql
│           ├── zz_optional_small_group_adjustments.sql
│           ├── zz_optional_spell_damage_and_healing.sql
│           ├── zz_optional_stackable_buff_scrolls.sql
│           ├── zz_optional_tbc_heroic_dungeon_keys_nerf.sql
│           ├── zz_optional_tbc_pvp_prices.sql
│           ├── zz_optional_unobtainable_items.sql
│           ├── zz_optional_vanilla_crafting_requirements.sql
│           ├── zz_optional_vanilla_models.sql
│           ├── zz_optional_vanilla_regen_values.sql
│           ├── zz_optional_vanilla_transports.sql
│           └── zz_optional_wotlk_hp_values_for_tbc_raids.sql
└── src/
    ├── IndividualProgression.cpp
    ├── IndividualProgression.h
    ├── IndividualProgressionAwareness.cpp
    ├── IndividualProgressionBG.cpp
    ├── IndividualProgressionPlayer.cpp
    ├── IndividualProgressionPvP.cpp
    ├── IndividualProgression_loader.cpp
    ├── cs_individualProgression.cpp
    ├── naxx40Scripts/
    │   ├── boss_anubrekhan_40.cpp
    │   ├── boss_faerlina_40.cpp
    │   ├── boss_four_horsemen_40.cpp
    │   ├── boss_gluth_40.cpp
    │   ├── boss_gothik_40.cpp
    │   ├── boss_grobbulus_40.cpp
    │   ├── boss_heigan_40.cpp
    │   ├── boss_kelthuzad_40.cpp
    │   ├── boss_loatheb_40.cpp
    │   ├── boss_maexxna_40.cpp
    │   ├── boss_noth_40.cpp
    │   ├── boss_patchwerk_40.cpp
    │   ├── boss_razuvious_40.cpp
    │   ├── boss_sapphiron_40.cpp
    │   ├── boss_thaddius_40.cpp
    │   ├── custom_creatures_40.cpp
    │   ├── custom_gameobjects_40.cpp
    │   ├── custom_scripts_40.cpp
    │   ├── custom_spells_40.cpp
    │   ├── instance_naxxramas.cpp
    │   ├── naxxramas.h
    │   ├── naxxramas_40.h
    │   └── omarion.cpp
    ├── spellScripts/
    │   └── spellScripts.cpp
    ├── tbcScripts/
    │   ├── caverns_of_time.cpp
    │   ├── instance_karazhan.cpp
    │   ├── isle_of_queldanas.cpp
    │   ├── serpentshrine_cavern.cpp
    │   └── the_eye.cpp
    ├── vanillaScripts/
    │   ├── ProgressionSystem.h
    │   ├── aq_scripts.cpp
    │   ├── aq_we_scripts.cpp
    │   ├── blackrock_spire.h
    │   ├── boss_chromaggus.cpp
    │   ├── boss_drakkisath.cpp
    │   ├── boss_lord_kazzak.cpp
    │   ├── boss_onyxia.cpp
    │   ├── instance_blackrock_depths.cpp
    │   ├── instance_blackrock_spire.cpp
    │   ├── instance_maraudon.cpp
    │   ├── instance_molten_core.cpp
    │   ├── instance_onyxias_lair.cpp
    │   ├── instance_stratholme.cpp
    │   ├── molten_core.h
    │   ├── onyxias_lair.h
    │   ├── quest_jail_break.cpp
    │   └── quest_the_masquerade.cpp
    └── wotlkScripts/
        ├── IppWotlkModdedScripts.cpp
        └── npc_archmage_timear.cpp

================================================
FILE CONTENTS
================================================

================================================
FILE: .editorconfig
================================================
[*]
charset = utf-8
indent_style = space
indent_size = 4
tab_width = 4
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 80


================================================
FILE: .gitattributes
================================================
## AUTO-DETECT
##   Handle line endings automatically for files detected as
##   text and leave all files detected as binary untouched.
##   This will handle all files NOT defined below.
*   text=auto eol=lf

# Text
*.conf text
*.conf.dist text
*.cmake text

## Scripts
*.sh text
*.fish text
*.lua text

## SQL
*.sql text

## C++
*.c text
*.cc text
*.cxx text
*.cpp text
*.c++ text
*.hpp text
*.h text
*.h++ text
*.hh text


## For documentation

# Documents
*.doc	 diff=astextplain
*.DOC	 diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot  diff=astextplain
*.DOT  diff=astextplain
*.pdf  diff=astextplain
*.PDF	 diff=astextplain
*.rtf	 diff=astextplain
*.RTF	 diff=astextplain

## DOCUMENTATION
*.markdown   text
*.md         text
*.mdwn       text
*.mdown      text
*.mkd        text
*.mkdn       text
*.mdtxt      text
*.mdtext     text
*.txt        text
AUTHORS      text
CHANGELOG    text
CHANGES      text
CONTRIBUTING text
COPYING      text
copyright    text
*COPYRIGHT*  text
INSTALL      text
license      text
LICENSE      text
NEWS         text
readme       text
*README*     text
TODO         text

## GRAPHICS
*.ai   binary
*.bmp  binary
*.eps  binary
*.gif  binary
*.ico  binary
*.jng  binary
*.jp2  binary
*.jpg  binary
*.jpeg binary
*.jpx  binary
*.jxr  binary
*.pdf  binary
*.png  binary
*.psb  binary
*.psd  binary
*.svg  text
*.svgz binary
*.tif  binary
*.tiff binary
*.wbmp binary
*.webp binary


## ARCHIVES
*.7z  binary
*.gz  binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary

## EXECUTABLES
*.exe binary
*.pyc binary


================================================
FILE: .gitignore
================================================
!.gitignore

#
#Generic
#

.directory
.mailmap
*.orig
*.rej
*.*~
.hg/
*.kdev*
.DS_Store
CMakeLists.txt.user
*.bak
*.patch
*.diff
*.REMOTE.*
*.BACKUP.*
*.BASE.*
*.LOCAL.*

#
# IDE & other softwares
#
/.settings/
/.externalToolBuilders/*
.vscode/*
# exclude in all levels
nbproject/
.sync.ffs_db
*.kate-swp

#
# Eclipse
#
*.pydevproject
.metadata
.gradle
tmp/
*.tmp
*.swp
*~.nib
local.properties
.settings/
.loadpath
.project
.cproject


================================================
FILE: LICENSE
================================================
MIT License

Copyright (c) 2021 AzerothCore

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


================================================
FILE: README.md
================================================
# Individual Player Progression

## Azerothcore Module

This module simulates progress through expansions and expansion tiers for individual players.

Each tier is designed to simulate the experience of being within that tier and expansion, within the limitations of the WotLK client. This means Vanilla content is like it was during Vanilla WoW.

The goal of the module is to focus on the journey of the player. All catch-up mechanics have been removed. There is no goal to rush to end-game or find a "fresh" server, because each new character is a fresh experience.

Note that this module either requires many players working together, or adjustments for smaller raid size to allow individual groups to progress. This module works well together with Playerbots and NPCbots.

Lower-level content added in later expansions that is not "catch-up" content has NOT been removed. This includes Draenei and Blood Elf starting zones, Inscription and Jewelcrafting skills, new quests and hubs added to the Vanilla world in TBC, and so on. I feel this content does not negatively impact the player journey like "catch-up" content. Some of this content can optionally be phased until the appropriate patch in which it was introduced for those who prefer an even more authentic Vanilla world - see the optional SQL files for more details.

## Some Included Features
* NPCs and Game Objects are aware of individual player progress, visible depending on player progression
* Restoration of content that was removed, nerfed or released in a later patch. Such as the original Naxxramas, Onyxia and TBC Attunement quests, elite creatures in outdoor areas and riding skills.
* Overhaul of vanilla creatures and quests. (Smart AI, quest drop chances, creature respawn times, patrols and spawn locations have all been restored.)
* Optional power and healing adjustment for Vanilla and TBC content to simulate the original world difficulty.
* WotLK emblems drop based on your progression.
* Original vanilla AV
* Isle of Quel'Danas Progression
* Playerbots support

Here you can find a list of all the [changes](https://github.com/ZhengPeiRu21/mod-individual-progression/wiki/List-of-Changes) and [progression tiers](https://github.com/ZhengPeiRu21/mod-individual-progression/wiki/List-of-Progression-Tiers).

Options are provided that allow changes to the player experience, based on preference. Please see the config file.

## How to Install
Please see [How to Install](https://github.com/ZhengPeiRu21/mod-individual-progression/wiki/How-to-Install)

## Please Note!
This module uses Player Settings to save individual character progress. *Please ensure that EnablePlayerSettings is set to 1 in worldserver.conf or progress will not be saved!* Also, for item changes to take effect, please ensure *DBC.EnforceItemAttributes is set to 0*! This will allow the module to override item stats with their correct Vanilla stats.

### Optional Data Files
Some changes for Vanilla and TBC content require DBC modification. The .mpq file for the client and .dbc files for the server can be found in the "optional" directory. These changes include requiring Vanilla reagents such as Flint and Steel for campfires, changing Level 60 enchanting to use Vanilla and not TBC reagents, profession leveling adjustments, etc. These files are all optional and the module will work without the patch, but these recipes will remain their WotLK versions.

### Optional Recommended Addon
For a more authentic experience, some players may prefer to have pre-3.2 behavior of item prices only being displayed in tooltips when at a vendor. 
This is handled by the client, so I have created an addon that will restore this behavior. The addon can be found here: https://github.com/ZhengPeiRu21/hide-vendor-price

## Discord
[https://discord.gg/PTXxh3KSgQ](https://discord.gg/PTXxh3KSgQ)

## Thank You
Special thanks to the following contributors and projects that made this module possible:
* AzerothCore and TrinityCore, along with ancestors Mangos.
* AzerothCore mod-war-effort
* AzerothCore mod-pvp-titles
* vMangos for Vanilla game and patch progression data
* cMangos for TBC game data
* Sogladev for Naxx 40 scripts and data


================================================
FILE: conf/conf.sh.dist
================================================
#!/usr/bin/env bash

## CUSTOM SQL - Important file used by the db_assembler.sh
## Keep only the required variables (base sql files or updates, depending on the DB)

## BASE SQL

DB_AUTH_CUSTOM_PATHS+=(
	"$MOD_SKELETON_ROOT/data/sql/auth/base/"
)

DB_CHARACTERS_CUSTOM_PATHS+=(
	"$MOD_SKELETON_ROOT/data/sql/characters/base/"
)

DB_WORLD_CUSTOM_PATHS+=(
	"$MOD_SKELETON_ROOT/data/sql/world/base/"
)

## UPDATES

DB_AUTH_UPDATES_PATHS+=(
	"$MOD_SKELETON_ROOT/data/sql/auth/updates/"
)

DB_CHARACTERS_UPDATES_PATHS+=(
	"$MOD_SKELETON_ROOT/data/sql/characters/updates/"
)

DB_WORLD_UPDATES_PATHS+=(
	"$MOD_SKELETON_ROOT/data/sql/world/updates/"
)


================================================
FILE: conf/individualProgression.conf.dist
================================================
#
# Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
#

[worldserver]

########################################
# Individual Progression Configuration
########################################

# IndividualProgression.Enable
#
#        Description: Enable Individual Progression Module
#                     Please note that like all AzerothCore modules, database changes cannot be undone through config settings.
#                     This means that world changes like restoring Vanilla quests and NPC stats will remain in place even if disabled.
#                     Disabling the module will disable functionality like access restrictions, level caps, damage adjustments, etc.
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.Enable = 1

# IndividualProgression.EnforceGroupRules
#
#        Description: Only allow players to group with others in the same progression phase
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.EnforceGroupRules = 1

# IndividualProgression.VanillaPowerAdjustment
#
#        Description: Adjustment to player's attack power before completing Vanilla content and opening the Dark Portal
#                     This is meant to provide a more accurate Vanilla feeling in Vanilla content
#                     Applied linearly per level between levels 11 and 60
#
#        Default:     1 - No Adjustment
#        Suggested:   between 0.5 and 0.6 (50-60% of regular damage)
#
IndividualProgression.VanillaPowerAdjustment = 1

# IndividualProgression.VanillaHealingAdjustment
#
#        Description: Adjustment to player's healing power before completing Vanilla content and opening the Dark Portal
#                     This is meant to provide a more accurate Vanilla feeling in Vanilla content
#                     Applied linearly per level between levels 11 and 60
#
#        Default:     1 - No Adjustment
#        Suggested:   0.5 (50% of regular healing)
#
IndividualProgression.VanillaHealingAdjustment = 1

# IndividualProgression.TBCPowerAdjustment
#
#        Description: Adjustment to player's attack power after opening the Dark Portal but before completing TBC content
#                     This is meant to provide a more accurate TBC feeling in TBC content
#                     Unlike Vanilla adjustment, a flat value is always used
#
#        Default:     1 - No Adjustment
#        Suggested:   between 0.5 and 0.6 (50-60% of regular damage)
#
IndividualProgression.TBCPowerAdjustment = 1

# IndividualProgression.TBCHealingAdjustment
#
#        Description: Adjustment to player's healing power after opening the Dark Portal but before completing TBC content
#                     This is meant to provide a more accurate TBC feeling in TBC content
#                     Unlike Vanilla adjustment, a flat value is always used
#
#        Default:     1 - No Adjustment
#        Suggested:   between 0.5 and 0.6 (50-60% of regular healing)
#
IndividualProgression.TBCHealingAdjustment = 1

# IndividualProgression.QuestXPFix
#
#        Description: Quest XP for Vanilla and TBC quests was boosted as a catchup mechanism in patches 2.3.0 and 3.0.2
#                     Enable this option to reduce quest XP for affected quest to be closer to original values
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.QuestXPFix = 1

# IndividualProgression.RequireNaxxStrathEntrance
#
#        Description: If enabled, this will require players to first enter Naxx 40 through the original beta entrance in the back of Stratholme,
#                     before being able to use the teleportation crystal in EPL. This is consistent behavior with other Vanilla raids (MC, BWL).
#                     If disabled, players can enter Naxx 40 through the crystal as soon as they are attuned and they have reached the correct
#                     progression level - no Stratholme run will be required.
#
#        Default:     0 - Disabled
#                     1 - Enabled
#
IndividualProgression.RequireNaxxStrathEntrance = 0

# IndividualProgression.doableNaxx40Bosses
#
#        Description: If enabled, this will make certain bosses in Naxx40 easier.
#                     - Razuvious will cast disrupting shout instead of mana burn
#                     - Four Horsemen's ability damage will be much lower. So they can be fought together without a strategy.
#                     - Gluth will search for a zombie every 9 seconds instead of 3.
#
#        Default:     0 - Disabled
#                     1 - Enabled
#
IndividualProgression.doableNaxx40Bosses = 0

# IndividualProgression.MoltenCore.ManualRuneHandling
#
#        Description: Defines whether Molten Core runes are handled manually (dousing through Aqual Quintessence)
#                     or automatic when bosses are defeated (WotLK default)
#
#        Default:     1 - Enabled (requires dousing)
#                     0 - Disabled (automatic, handled when bosses are defeated)
#
IndividualProgression.MoltenCore.ManualRuneHandling = 1

# IndividualProgression.MoltenCore.AqualEssenceCooldownReduction
#
#        Description: Reduces the cooldown of Eternal Quintessences by the amount specified.
#
#        Default:     0 - Disabled (1 hour cooldown)
#                     60 - (No cooldown)
#
IndividualProgression.MoltenCore.AqualEssenceCooldownReduction = 0

# IndividualProgression.SerpentshrineCavern.RequireAllBosses
#
#        Description: Requires all bosses being killed before accessing Vashj's console panel.
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.SerpentshrineCavern.RequireAllBosses = 1

# IndividualProgression.TheEye.RequireAllBosses
#
#        Description: Requires all bosses being killed to open the doors to Kael
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.TheEye.RequireAllBosses = 1

# IndividualProgression.FishingFix
#
#        Description: Before patch 3.1, fishing skill had progression and had to be leveled in low level zones before high level areas could add skill
#                     In patch 3.1, it was changed to allow leveling fishing even when catching junk in high level zones, allowing progression to be skipped
#                     This reverts that changed.
#
#        Default:     1 - Enabled (Pre 3.1 behavior - Fishing requires progression through zone levels)
#                     0 - Disabled (Post 3.1 behavior - Allow leveling fishing in any area)
#
IndividualProgression.FishingFix = 1

# IndividualProgression.SimpleConfigOverride
#
#        Description: If enabled, it will allow this module to set a few AzerothCore config values.
#                     The first two are required for this module.
#                     If you don't want the reduced water breath timer, you need to disable this option and set the first 2 options in worldserver.conf yourself.
#
#                     Changed options include:
#                     - Enable PlayerSettings (required by Individual Progression module)
#                     - Do not enforce DBC Item Attributes, so that Vanilla item changes can override client values
#                     - Water Breath Timer to 1 Minute (Vanilla value, changed to 3 Minutes in WotLK)
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.SimpleConfigOverride = 1

# IndividualProgression.DisableQuestMarkers
#
#        Description: Disable Quest Object markers and sparkles (added in patch 2.3)
#
#        Default:     1 - Markers and Sparkles Disabled
#                     0 - Markers and Sparkles Enabled
#
IndividualProgression.DisableQuestMarkers = 1

# IndividualProgression.DisableRDF
#
#        Description: Enable or disable the Random Dungeon Finder feature within the context of Individual Progression.
#                     Queuing for specific dungeons and Holiday Events will still be possible. (Use DungeonFinder.OptionsMask in worldserver.conf to completely disable the LFG tool.)
#
#        Default:     0 - RDF Enabled
#                     1 - RDF Disabled
#
IndividualProgression.DisableRDF = 0

# IndividualProgression.MaxMonsterSight
#
#        Description: Enable or disable Max Monster Sight.
#                     The AC default setting is 50 yards. Enabling this will increase the range to 80 yards.
#                     The reason behind this are the tower and bunker archers in Alterac Valley. 
#                     These archers should have a 80 yard ranged attack.
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.MaxMonsterSight = 1

# IndividualProgression.QuestMoneyAtLevelCap
#
#        Description: If enabled, players at the level cap for the current progression stage will receive extra money when completing quests. This feature was added in patch 1.10
#                     (Please note that completing quests at the level cap of the server, configured in worldserver.conf will always provide extra money, as hard-coded in AzerothCore.)
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.QuestMoneyAtLevelCap = 1

# IndividualProgression.RepeatableVanillaQuestsXP
#
#        Description: Some repeatable quests in Vanilla gave XP every time they were turned in.
#                     Enable this feature to allow these quests to have the Vanilla behavior and give XP each turn in.
#                     Disable to have the WotLK behavior and only grant XP once.
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.RepeatableVanillaQuestsXP = 1

# IndividualProgression.ProgressionLimit
#
#        Description: If enabled, players will not be able to proceed beyond this progression stage.
#                     Please refer to IndividualProgression.h/ProgressionState enum for progression stage values.
#                     For example, a value of 7 will limit players to Vanilla content.
#
#        Default:     0 - Disabled (players may progress up to the maximum progression stage of 18, which is the completion of WotLK content)
#                     1-17 - Set a lower maximum attainable progression stage
#
IndividualProgression.ProgressionLimit = 0

# IndividualProgression.StartingProgression
#
#        Description: If enabled, players will begin at this progression stage.
#                     Existing players who are at an earlier stage will be set to this stage upon log in.
#                     Please refer to IndividualProgression.h/ProgressionState enum for progression stage values.
#
#        Default:     0 - Disabled (start at stage 0)
#                     1-18 - Set higher starting progression stage
#
IndividualProgression.StartingProgression = 0

# IndividualProgression.TbcRacesUnlockProgression
#
#        Description: The progression stage at which TBC races (Draenei and Blood Elves) will be unlocked.
#                     Races will be unlocked when the player reaches this level with any character on their account.
#                     Disable to have TBC races available by default.
#                     Please refer to IndividualProgression.h/ProgressionState enum for progression stage values.
#                     Players cannot visit TBC starting zones until TBC races are available to them.
#
#        Default:     0 - TBC races always available to be created
#                     8 - Vanilla must be completed to create Draenei and Blood Elves
#                     1-7, 9-18 - Set a different required progression stage to create TBC race characters
#
IndividualProgression.TbcRacesUnlockProgression = 0

# IndividualProgression.tbcRacesStartingProgression
#
#        Description: The progression stage at which Draenei and Blood Elf characters will begin.
#
#        Default:     0 - Draenei and Blood Elves start at progression 0
#                     8 - Draenei and Blood Elves start at the beginning of TBC
#
IndividualProgression.tbcRacesStartingProgression = 0

# IndividualProgression.DeathKnightUnlockProgression
#
#        Description: The progression stage at which Death Knight characters can be created.
#                     Death Knights will be available when the player reaches this level with any character on their account.
#                     Disable to have the Death Knight class available by default.
#                     Please note that all other Death Knight creation restrictions from worldserver.conf still apply.
#                     The default value is to not allow Death Knight creation until TBC content is cleared.
#                     This is due to the game not having proper progression balancing for Death Knights until WotLK.
#
#        Default:     13 - TBC must be completed to create Death Knights
#                     0 - Death Knights always available to be created
#                     1-12, 14-18 - Set a different required progression stage to create Death Knights
#
IndividualProgression.DeathKnightUnlockProgression = 13

# IndividualProgression.DeathKnightStartingProgression
#
#        Description: The progression stage at which Death Knight characters will begin.
#
#        Default:     13 - Death Knights start at the beginning of WotLK
#                     0-12, 14-18 - Set a different starting progression stage for Death Knights
#
IndividualProgression.DeathKnightStartingProgression = 13

# IndividualProgression.RequiredZulGurubProgression
#
#        Description: The progression stage at which Zul'Gurub will be available
#
#        Default:     3 - Zul'Gurub unlocks after BWL (Default, Blizzlike)
#                     0-18 - Set a different required progression stage for Zul'Gurub
#
IndividualProgression.RequiredZulGurubProgression = 3

# IndividualProgression.DisableDefaultProgression
#
#        Description: Disable the regular progression flow, so progression must be advanced through custom creature progression entries
#
#        Default:     0 - Default Progression
#                     1 - Custom Progression
#
IndividualProgression.DisableDefaultProgression = 0

# IndividualProgression.CustomProgression
#
#        Description: A list of creature IDs paired to progression states. When a creature on the list is defeated by a player,
#                     the player will be set to that progression state. Used for custom, non-standard progression.
#                     Not needed for regular, Blizz-like progress through expansions, which works by default.
#                     Example: IndividualProgression.CustomProgression="448 8, 639 13"
#                     This example would allow players access to TBC content for defeating Hogger (entry 448), and Northrend content for defeating VanCleef (entry 639)
#                     Leave empty to disable (default.)
#
#        Default:     "" - Disabled (default)
#
IndividualProgression.CustomProgression = ""

# IndividualProgression.AllowEarlyDungeonSet2
#
#        Description: Dungeon Set 2 was introduced in patch 1.10 and requires completing some AQ content that is normally not available until a later phase
#                     When enabled, this allows the relevant content to be accessed early so that Dungeon Set 2 can be acquired before it is made obsolete by raid gear.
#
#        Default:     0 - Disabled
#                     1 - Enabled
#
IndividualProgression.AllowEarlyDungeonSet2 = 0

# IndividualProgression.AllowEarlyScourgeBosses
#
#        Description: The Scourge Invasion adds 6 dungeon bosses that are only available during progression tier 6. Players are not likely to go back to low level dungeons at this point.
#                     When enabled, this allows these bosses to be fought early, before they're made obsolete.
#
#        Default:     0 - Disabled
#                     1 - Enabled
#
IndividualProgression.AllowEarlyScourgeBosses = 0

# IndividualProgression.TBC.ArenaSeason
#
#        Description: Current TBC arena season id
#        Default:     1
#                     1-4
#
IndividualProgression.TBC.ArenaSeason = 1

# IndividualProgression.WotLK.ArenaSeason
#
#        Description: Current WotLK arena season id
#        Default:     5
#                     5-8
#
IndividualProgression.WotLK.ArenaSeason = 5

# IndividualProgression.VanillaPvPRankRequirement
#
#        Description: Required PvP honor kills during Vanilla for each PvP rank to earn relevant titles and get corresponding items
#
IndividualProgression.VanillaPvpKillRequirement.Rank1 = 100
IndividualProgression.VanillaPvpKillRequirement.Rank2 = 200
IndividualProgression.VanillaPvpKillRequirement.Rank3 = 400
IndividualProgression.VanillaPvpKillRequirement.Rank4 = 800
IndividualProgression.VanillaPvpKillRequirement.Rank5 = 1400
IndividualProgression.VanillaPvpKillRequirement.Rank6 = 2000
IndividualProgression.VanillaPvpKillRequirement.Rank7 = 3000
IndividualProgression.VanillaPvpKillRequirement.Rank8 = 4500
IndividualProgression.VanillaPvpKillRequirement.Rank9 = 6000
IndividualProgression.VanillaPvpKillRequirement.Rank10 = 8000
IndividualProgression.VanillaPvpKillRequirement.Rank11 = 10000
IndividualProgression.VanillaPvpKillRequirement.Rank12 = 13000
IndividualProgression.VanillaPvpKillRequirement.Rank13 = 18000
IndividualProgression.VanillaPvpKillRequirement.Rank14 = 24000

# IndividualProgression.VanillaPvpTitlesPersistAfterVanilla
#
#        Description: Players retain their Vanilla PvP titles even after reaching TBC/WotLK
#
#        Default:     1 - Enabled (Default, Blizzlike)
#                     0 - Disabled
#
IndividualProgression.VanillaPvpTitlesPersistAfterVanilla = 1

# IndividualProgression.VanillaPvpEarnTitlesAfterVanilla
#
#        Description: Players can continue to earn new Vanilla PvP titles even after reaching TBC/WotLK
#
#        Default:     0 - Disabled (Default, Blizzlike)
#                     1 - Enabled
#
IndividualProgression.VanillaPvpEarnTitlesAfterVanilla = 0

# IndividualProgression.ExcludedAccountsEarnPvPTitles
#
#        Description: Enable / Disable excluded accounts earning pvp titles. This includes playerbots.
#
#        Default:     0 - Disabled
#                     1 - Enabled
#
IndividualProgression.ExcludedAccountsEarnPvPTitles = 0

# IndividualProgression.ExcludeAccounts
#
#        Description: Enable or disable the exclusion of accounts from Individual Progression.
#                     This is useful for accounts that are used for bots, testing, or other purposes where progression should not be enforced.
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.ExcludeAccounts = 1

# IndividualProgression.ExcludedAccountsRegex
#
#        Description: A regular expression to match account names that should be excluded from Individual Progression.
#                     Only used if ExcludeAccounts is enabled.
#                     This is useful for accounts that are used for bots, testing, or other purposes where progression should not be enforced.
#                     If the Playerbots module is enabled, "^RNDBOT.*" will exclude randombots from Individual Progression.
#                     To add more accounts you need to use capital letters and this format: "(^RNDBOT.*|TEST1|TEST2)"
#
#        Default:     "^RNDBOT.*"
#
IndividualProgression.ExcludedAccountsRegex = "^RNDBOT.*"

# IndividualProgression.ExcludedAccountsMaxLevel
#
#        Description: Set the maximum level for Excluded Accounts (RNDBOTS)
#
#        Default:     80
#
IndividualProgression.ExcludedAccountsMaxLevel = 80

# IndividualProgression.EnableSetRepCommand
#
#        Description: Enable the .ip setrep command for normal AND gm accounts
#                     This command will set the reputation of certain factions to the same value as the character that has the highest value on your account.
#                     To avoid abuse this command will by default not work for factions you aren't already neutral/friendly/honored with. (depending on the faction)
#                     Use IndividualProgression.sharedFactionIdsRegex to set the allowed factions players can share with the characters on their account.
#
#        Default:     0 - Disabled
#                     1 - Enabled
#
IndividualProgression.EnableSetRepCommand = 0

# IndividualProgression.LimitedSetRepCommand
#
#        Description: To avoid abuse, the player needs to be at least neutral/friendly/honored already with a faction to gain reputation for it. (depending on the faction)
#                     This will help prevent a group of 5 characters to hand in a quest 1 by 1 and use the '.ip setrep' command in between each time to get 5x the reputation.
#                     Needing to be honored means you already did most quests or already put in some reputation grind yourself.
#                     PvP factions will require neutral reputation, so they are not effected. (see: cs_individualProgression.cpp for the full list)
#                     The Aldor, The Scryers and the Brood of Nozdormu are exceptions. You need to be honored with them, even if this setting is disabled.
#
#        Default:     1 - Enabled
#                     0 - Disabled
#
IndividualProgression.LimitedSetRepCommand = 1

# IndividualProgression.sharedFactionIdsRegex
#
#        Description: This is a list of faction ids that the player can share with other characters on their account.
#                     EnableSetRepCommand needs to be enabled.
#                     Valid faction ids are: 
#                     - vanilla = 59|270|349|509|510|529|576|589|609|729|730|749|889|890|909|910
#                     - tbc     = 922|932|933|934|935|941|942|946|947|967|970|978|989|990|1011|1012|1015|1031|1038|1077
#                     - wotlk   = 1037|1052|1073|1090|1091|1094|1098|1119|1124|1156
#
#                     see also: https://www.wowhead.com/wotlk/factions
#
#        Default:     "59|270|349|509|510|529|576|589|609|729|730|749|889|890|909"
#
IndividualProgression.sharedFactionIdsRegex = "59|270|349|509|510|529|576|589|609|729|730|749|889|890|909"


================================================
FILE: data/sql/auth/updates/.gitkeep
================================================



================================================
FILE: data/sql/characters/updates/.gitkeep
================================================



================================================
FILE: data/sql/world/base/.gitignore
================================================
zz_optional*


================================================
FILE: data/sql/world/base/00_cleanup.sql
================================================
/* Several unused BG NPCs have wrong classes in AC - fix to prevent console warning */
UPDATE `creature_template` SET `unit_class` = 2 WHERE `entry` IN (22742, 22791, 22796, 22792, 22627, 22532, 22774, 22534, 22529, 22537, 22790, 22791, 22637, 22599,
                                                                 32013, 22781, 31930, 32128, 31935, 31927, 31938, 32120, 37332, 32142, 31821, 37248, 37453, 37253,
                                                                 37245, 37256, 37443, 37472, 37341);
UPDATE `creature_template` SET `unit_class` = 1 WHERE `entry` IN (22632, 32055, 31921, 37376);
UPDATE `creature_template` SET `unit_class` = 8 WHERE `entry` IN (29273);

/* Delete unused Creature Addon data */
DELETE FROM `creature_addon` WHERE `guid` IN (133917, 133918, 133919, 133920, 133925);

-- battlemasters
DELETE FROM `game_event_creature` WHERE `guid` IN (207918, 207929, 207951, 208042, 208081, 208107, 208146, 208159, 208185); -- alliance
DELETE FROM `game_event_creature` WHERE `guid` IN (208207, 208240, 208251, 208355, 208368, 208394, 208407); -- horde

-- remove AzerothCore area triggers used by WotLK Scourge Invasion Event
DELETE FROM `areatrigger_involvedrelation` WHERE `id` IN (4092, 4094, 4095, 4096, 4098, 4099, 4100, 4101, 4103, 4104, 4105, 5151, 5152, 5153, 5154, 5158, 5159, 5160, 5161);

-- remove arena season event entries added by AC
DELETE FROM `creature_addon` WHERE `guid` IN (88155, 88156, 88158, 88159, 88160);
DELETE FROM `game_event_creature` WHERE `guid` IN 
(17676, 88155, 88156, 88158, 88159, 88160, 91798, 152022, 152023, 152026, 152027, 152028, 152029, 152030, 152031, 202335, 202336, 
208486, 208487, 208488, 208489, 208491, 208492, 208494, 208496, 208498, 208499, 208500, 208501, 208503, 208504, 208506, 208508);

DELETE FROM `creature`   WHERE `id1`   IN (32405, 32832, 32834);
DELETE FROM `npc_vendor` WHERE `entry` IN (32405, 32832, 32834);
DELETE FROM `creature` WHERE `guid` = 88156 AND `id1` IN (20278); -- Vixton Pinchwhistle


/* the following edits are temporary */


-- unused "Increased healing done and damage done"
DELETE FROM `spell_dbc` WHERE `ID` IN 
(7675, 7676, 7677, 18047, 18048, 22748, 23796, 25067, 25179, 26225, 26690, 27925, 28151, 
31941, 32584, 33024, 33025, 33026, 33027, 33028, 33029, 33030, 33099, 33101, 33102, 33103, 33104, 
33105, 33106, 33118, 33123, 33124, 33148, 33149, 33163, 33164, 33165, 33166, 33168, 33169, 33170, 
33273, 33275, 33328, 33820, 33821, 34495, 34693, 35133, 35338, 36062, 36065, 36098, 36149, 36387, 
36422, 36428, 37083, 37549, 37952, 37980, 38001, 39508, 39585, 39602, 39806, 39903, 39988, 
40107, 40151, 40232, 40342, 40687, 41644, 41718, 41783, 41830, 41890, 42059, 42069, 42070, 42077, 
42087, 42089, 42093, 42110, 42120, 42125, 42127, 43460, 44071, 44077, 44759, 44847, 44853, 44973);

-- these changes are already made in the spell.dbc file for the server. no need to have them in spell_dbc as well.
DELETE FROM `spell_dbc` WHERE `ID` IN 
(7678, 7679, 7680, 7681, 7685, 7686, 7687, 7688, 7689, 7696, 7700, 7701, 7702, 7703, 7706, 7707, 7708, 7709, 7710, 9294, 9295, 9296, 9298, 9304, 9305, 9306, 9307, 9308, 9314, 9315, 9316, 9317, 9318, 
9325, 9326, 9327, 9328, 9342, 9343, 9344, 9345, 9346, 9357, 9358, 9359, 9361, 9393, 9394, 9395, 9396, 9397, 9398, 9400, 9401, 9402, 9403, 9404, 9406, 9407, 9408, 9411, 9412, 9413, 9414, 9415, 9416, 9417, 
11390, 13595, 13597, 13598, 13599, 13601, 13830, 13831, 13881, 14047, 14054, 14055, 14127, 14248, 14254, 14793, 14794, 14798, 14799, 15696, 15714, 15715, 16638, 17280, 17320, 17367, 17371, 17493, 17539, 
17628, 17747, 17819, 17821, 17824, 17829, 17830, 17846, 17866, 17867, 17868, 17871, 17872, 17873, 17875, 17878, 17882, 17884, 17885, 17890, 17891, 17892, 17896, 17897, 17898, 17899, 17900, 17901, 17902, 
17905, 17908, 17909, 17988, 17990, 17993, 17995, 17997, 17999, 18008, 18009, 18011, 18013, 18014, 18015, 18016, 18017, 18018, 18020, 18025, 18026, 18027, 18029, 18030, 18031, 18032, 18033, 18034, 18035, 
18036, 18037, 18038, 18039, 18040, 18041, 18042, 18043, 18044, 18045, 18046, 18049, 18050, 18052, 18053, 18054, 18055, 18056, 18057, 18058, 21509, 21518, 21931, 22747, 22749, 22750, 22844, 22849, 23213, 
23264, 23265, 23271, 23593, 23594, 23728, 23730, 23732, 23734, 23802, 23929, 24160, 24163, 24164, 24165, 24167, 24168, 24196, 24197, 24198, 24243, 24354, 24420, 24421, 24595, 24666, 24667, 24998, 25073, 
25074, 25078, 25079, 25110, 25117, 25119, 25121, 25122, 25123, 25607, 25706, 26142, 26154, 26155, 26158, 26166, 26227, 26228, 26276, 26395, 26405, 26459, 26460, 26461, 26599, 26694, 26695, 26703, 26715, 
26717, 26727, 26730, 26737, 26814, 27721, 27853, 27855, 27859, 27911, 27917, 27924, 27926, 27974, 27975, 27981, 27982, 28004, 28015, 28017, 28141, 28143, 28144, 28152, 28264, 28273, 28360, 28488, 28491, 
28508, 28530, 28686, 28687, 28693, 28736, 28767, 28779, 28780, 28792, 28805, 28841, 28851, 28853, 28856, 28857, 28876, 28890, 28898, 29113, 29334, 29369, 29467, 29475, 31033, 31040, 31369, 31370, 31371, 
31372, 32149, 32196, 32200, 32355, 32367, 32401, 32402, 32403, 32607, 32925, 32956, 33022, 33094, 33097, 33136, 33138, 33139, 33140, 33141, 33233, 33236, 33250, 33267, 33268, 33269, 33400, 33484, 33556, 
33662, 33997, 33999, 34000, 34010, 34040, 34230, 34231, 34294, 34321, 34598, 34611, 34747, 34760, 35084, 35087, 35163, 35165, 35337, 35403, 35404, 35405, 35406, 35437, 35445, 35447, 36347, 36385, 36425, 
36430, 36432, 36749, 37542, 37649, 37817, 38305, 38348, 39201, 39569, 40150, 40260, 40705, 41040, 41604, 41648, 41651, 41752, 41780, 41782, 41834, 41905, 41973, 42040, 42057, 42062, 42063, 42071, 42076, 
42099, 42108, 42111, 42119, 42122, 42124, 42248, 42249, 42250, 42251, 42814, 43455, 43710, 43712, 44075, 44751, 44974, 44979, 45044, 45478, 45479, 46051, 46632, 46783, 47125, 47952, 48051, 48253, 48269, 
48626, 48644, 49441, 49558, 52184, 52810, 52849, 54192, 54229, 54230, 54232, 
81000, 81001, 81002, 81003, 81004, 81005, 81006, 81007, 81008, 81009, 81010, 81011, 81012, 81013, 81014, 81015, 81016, 81017, 81018, 81019, 81020, 81021, 81022, 81023, 81024, 81025, 81026, 81027, 81028, 
81029, 81030, 81031, 81032, 81033, 81034, 81035, 81036, 81037, 81038, 81039, 81040, 81041, 81042, 81043, 81044, 81045, 81046, 81047, 81048, 81049, 81050, 81051, 81052, 81053, 81054, 81055, 81056, 81057, 
81058, 81059, 81060, 81061, 81062, 81063, 81064, 81065, 81066, 81067, 81068, 81069, 81070, 81071, 81072, 81073, 81074, 81075, 81076, 81077, 81078, 81079, 81080, 81081, 81082, 81083, 81084, 81085, 81086, 
81087, 81088, 81089, 81090, 81091, 81092, 81093, 81094, 81095, 81096, 81097, 81098, 81099, 81100, 81101, 81102, 81103, 81104, 81105, 81106, 81107, 81108, 81109, 81110, 81111, 81112, 81113, 81114, 81115, 
81116, 81117, 81118, 81119, 81120, 81121, 81122, 81123, 81124, 81125, 81126, 81127, 81128, 81129, 81130, 81131, 81132, 81133, 81134, 81135, 81136, 81137, 81138, 81139);

-- remove vanilla AV landmines, default is no landmines
SET @OGUID := 657000;
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+101 AND @OGUID+499;


================================================
FILE: data/sql/world/base/adjustment_auras.sql
================================================
SET @IPPPHASE     := 65536;
SET @IPPPHASE_II  := 131072;
SET @IPPPHASE_III := 262144;
SET @IPPPHASE_IV  := 524288;
SET @IPPPHASE_V   := 1048576;
SET @IPPPHASE_VI  := 2097152;

DELETE FROM `spell_dbc` WHERE `ID` IN (89501, 89505, 89507, 89509, 89511, 89513, 89515, 89517, 89519);
INSERT INTO `spell_dbc`(`ID`,`Category`,`DispelType`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`ShapeshiftMask`,`unk_320_2`,`ShapeshiftExclude`,`unk_320_3`,`Targets`,`TargetCreatureType`,`RequiresSpellFocus`,`FacingCasterFlags`,`CasterAuraState`,`TargetAuraState`,`ExcludeCasterAuraState`,`ExcludeTargetAuraState`,`CasterAuraSpell`,`TargetAuraSpell`,`ExcludeCasterAuraSpell`,`ExcludeTargetAuraSpell`,`CastingTimeIndex`,`RecoveryTime`,`CategoryRecoveryTime`,`InterruptFlags`,`AuraInterruptFlags`,`ChannelInterruptFlags`,`ProcTypeMask`,`ProcChance`,`ProcCharges`,`MaxLevel`,`BaseLevel`,`SpellLevel`,`DurationIndex`,`PowerType`,`ManaCost`,`ManaCostPerLevel`,`ManaPerSecond`,`ManaPerSecondPerLevel`,`RangeIndex`,`Speed`,`ModalNextSpell`,`CumulativeAura`,`Totem_1`,`Totem_2`,`Reagent_1`,`Reagent_2`,`Reagent_3`,`Reagent_4`,`Reagent_5`,`Reagent_6`,`Reagent_7`,`Reagent_8`,`ReagentCount_1`,`ReagentCount_2`,`ReagentCount_3`,`ReagentCount_4`,`ReagentCount_5`,`ReagentCount_6`,`ReagentCount_7`,`ReagentCount_8`,`EquippedItemClass`,`EquippedItemSubclass`,`EquippedItemInvTypes`,`Effect_1`,`Effect_2`,`Effect_3`,`EffectDieSides_1`,`EffectDieSides_2`,`EffectDieSides_3`,`EffectRealPointsPerLevel_1`,`EffectRealPointsPerLevel_2`,`EffectRealPointsPerLevel_3`,`EffectBasePoints_1`,`EffectBasePoints_2`,`EffectBasePoints_3`,`EffectMechanic_1`,`EffectMechanic_2`,`EffectMechanic_3`,`ImplicitTargetA_1`,`ImplicitTargetA_2`,`ImplicitTargetA_3`,`ImplicitTargetB_1`,`ImplicitTargetB_2`,`ImplicitTargetB_3`,`EffectRadiusIndex_1`,`EffectRadiusIndex_2`,`EffectRadiusIndex_3`,`EffectAura_1`,`EffectAura_2`,`EffectAura_3`,`EffectAuraPeriod_1`,`EffectAuraPeriod_2`,`EffectAuraPeriod_3`,`EffectMultipleValue_1`,`EffectMultipleValue_2`,`EffectMultipleValue_3`,`EffectChainTargets_1`,`EffectChainTargets_2`,`EffectChainTargets_3`,`EffectItemType_1`,`EffectItemType_2`,`EffectItemType_3`,`EffectMiscValue_1`,`EffectMiscValue_2`,`EffectMiscValue_3`,`EffectMiscValueB_1`,`EffectMiscValueB_2`,`EffectMiscValueB_3`,`EffectTriggerSpell_1`,`EffectTriggerSpell_2`,`EffectTriggerSpell_3`,`EffectPointsPerCombo_1`,`EffectPointsPerCombo_2`,`EffectPointsPerCombo_3`,`EffectSpellClassMaskA_1`,`EffectSpellClassMaskA_2`,`EffectSpellClassMaskA_3`,`EffectSpellClassMaskB_1`,`EffectSpellClassMaskB_2`,`EffectSpellClassMaskB_3`,`EffectSpellClassMaskC_1`,`EffectSpellClassMaskC_2`,`EffectSpellClassMaskC_3`,`SpellVisualID_1`,`SpellVisualID_2`,`SpellIconID`,`ActiveIconID`,`SpellPriority`,`Name_Lang_enUS`,`Name_Lang_enGB`,`Name_Lang_koKR`,`Name_Lang_frFR`,`Name_Lang_deDE`,`Name_Lang_enCN`,`Name_Lang_zhCN`,`Name_Lang_enTW`,`Name_Lang_zhTW`,`Name_Lang_esES`,`Name_Lang_esMX`,`Name_Lang_ruRU`,`Name_Lang_ptPT`,`Name_Lang_ptBR`,`Name_Lang_itIT`,`Name_Lang_Unk`,`Name_Lang_Mask`,`NameSubtext_Lang_enUS`,`NameSubtext_Lang_enGB`,`NameSubtext_Lang_koKR`,`NameSubtext_Lang_frFR`,`NameSubtext_Lang_deDE`,`NameSubtext_Lang_enCN`,`NameSubtext_Lang_zhCN`,`NameSubtext_Lang_enTW`,`NameSubtext_Lang_zhTW`,`NameSubtext_Lang_esES`,`NameSubtext_Lang_esMX`,`NameSubtext_Lang_ruRU`,`NameSubtext_Lang_ptPT`,`NameSubtext_Lang_ptBR`,`NameSubtext_Lang_itIT`,`NameSubtext_Lang_Unk`,`NameSubtext_Lang_Mask`,`Description_Lang_enUS`,`Description_Lang_enGB`,`Description_Lang_koKR`,`Description_Lang_frFR`,`Description_Lang_deDE`,`Description_Lang_enCN`,`Description_Lang_zhCN`,`Description_Lang_enTW`,`Description_Lang_zhTW`,`Description_Lang_esES`,`Description_Lang_esMX`,`Description_Lang_ruRU`,`Description_Lang_ptPT`,`Description_Lang_ptBR`,`Description_Lang_itIT`,`Description_Lang_Unk`,`Description_Lang_Mask`,`AuraDescription_Lang_enUS`,`AuraDescription_Lang_enGB`,`AuraDescription_Lang_koKR`,`AuraDescription_Lang_frFR`,`AuraDescription_Lang_deDE`,`AuraDescription_Lang_enCN`,`AuraDescription_Lang_zhCN`,`AuraDescription_Lang_enTW`,`AuraDescription_Lang_zhTW`,`AuraDescription_Lang_esES`,`AuraDescription_Lang_esMX`,`AuraDescription_Lang_ruRU`,`AuraDescription_Lang_ptPT`,`AuraDescription_Lang_ptBR`,`AuraDescription_Lang_itIT`,`AuraDescription_Lang_Unk`,`AuraDescription_Lang_Mask`,`ManaCostPct`,`StartRecoveryCategory`,`StartRecoveryTime`,`MaxTargetLevel`,`SpellClassSet`,`SpellClassMask_1`,`SpellClassMask_2`,`SpellClassMask_3`,`MaxTargets`,`DefenseType`,`PreventionType`,`StanceBarOrder`,`EffectChainAmplitude_1`,`EffectChainAmplitude_2`,`EffectChainAmplitude_3`,`MinFactionID`,`MinReputation`,`RequiredAuraVision`,`RequiredTotemCategoryID_1`,`RequiredTotemCategoryID_2`,`RequiredAreasID`,`SchoolMask`,`RuneCostID`,`SpellMissileID`,`PowerDisplayID`,`EffectBonusMultiplier_1`,`EffectBonusMultiplier_2`,`EffectBonusMultiplier_3`,`SpellDescriptionVariableID`,`SpellDifficultyID`) VALUES
--
(89507,0,0,0,65728,268435456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,262148,0,6,0,0,1,0,0,0,0,0,-16,0,0,0,0,0,1,0,0,0,0,0,0,0,0,141,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,537,0,0,'Haste','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712188,'Increases ranged attack speed by $s1\%.','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,9,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
(89509,0,0,0,2843738496,3072,16385,1048576,128,393224,4096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,6,0,0,1,0,0,0,0,0,-1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,261,0,0,0,0,0,0,0,0,0,0,0,0,0,0,@IPPPHASE + 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,253,0,0,'Phase Shift: IPP','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712172,'','','','','','','','','','','','','','','','',16712188,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
(89511,0,0,0,2843738496,3072,16385,1048576,128,393224,4096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,6,0,0,1,0,0,0,0,0,-1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,261,0,0,0,0,0,0,0,0,0,0,0,0,0,0,@IPPPHASE_II + 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,253,0,0,'Phase Shift: IPP','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712172,'','','','','','','','','','','','','','','','',16712188,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
(89513,0,0,0,2843738496,3072,16385,1048576,128,393224,4096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,6,0,0,1,0,0,0,0,0,-1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,261,0,0,0,0,0,0,0,0,0,0,0,0,0,0,@IPPPHASE_III + 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,253,0,0,'Phase Shift: IPP','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712172,'','','','','','','','','','','','','','','','',16712188,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
(89515,0,0,0,2843738496,3072,16385,1048576,128,393224,4096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,6,0,0,1,0,0,0,0,0,-1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,261,0,0,0,0,0,0,0,0,0,0,0,0,0,0,@IPPPHASE_IV + 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,253,0,0,'Phase Shift: IPP','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712172,'','','','','','','','','','','','','','','','',16712188,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
(89517,0,0,0,2843738496,3072,16385,1048576,128,393224,4096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,6,0,0,1,0,0,0,0,0,-1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,261,0,0,0,0,0,0,0,0,0,0,0,0,0,0,@IPPPHASE_V + 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,253,0,0,'Phase Shift: IPP','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712172,'','','','','','','','','','','','','','','','',16712188,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
(89519,0,0,0,2843738496,3072,16385,1048576,128,393224,4096,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,6,0,0,1,0,0,0,0,0,-1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,261,0,0,0,0,0,0,0,0,0,0,0,0,0,0,@IPPPHASE_VI + 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,253,0,0,'Phase Shift: IPP','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712172,'','','','','','','','','','','','','','','','',16712188,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0);


================================================
FILE: data/sql/world/base/aq_gate_quest.sql
================================================
DELETE FROM `gameobject` WHERE `id` IN (176146, 176147, 176148);
INSERT INTO `gameobject` (`id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES 
(176146, 1, -8133.34, 1525.13, 17.1904, 6.28103, 0.00107995, -0.999999, 600, 100, 1), -- Gate of Ahn'Qiraj
(176147, 1, -8133.34, 1525.13, 17.1904, 6.28103, 0.00107995, -0.999999, 600, 100, 1), -- Ahn'Qiraj Gate Roots
(176148, 1, -8133.34, 1525.13, 17.1904, 6.28103, 0.00107995, -0.999999, 600, 100, 1); -- Ahn'Qiraj Gate Runes

-- Ghost Gate - should not be placed, remove it if it is present
DELETE FROM `gameobject` WHERE `id` = 180322;

-- Ahn'Qiraj Gate, Roots and Runes
UPDATE `gameobject_template_addon` SET `flags` = 4 WHERE `entry` IN (176146, 176147, 176148);
UPDATE `gameobject_template` SET `ScriptName` = 'aq_gate' WHERE `entry` IN (176146, 176147, 176148);

-- fix tiny red crystal quest not completing
UPDATE `gameobject_template` SET `ScriptName` = 'gobject_crystalline_tear' WHERE `entry` = 180633; -- was go_crystalline_tear

-- add unused crystal to avoid worldserver error due to 'go_crystalline_tear' scrypt no longer being used.
DELETE FROM `gameobject_template` WHERE `entry` = 280633;
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `size`, `Data1`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES 
(280633, 2, 5746, 'Crystalline Tear', 1, 7062, '', 'go_crystalline_tear', 12340);

-- Scarab Gong
-- See related AC PR: https://github.com/azerothcore/azerothcore-wotlk/pull/12879/files
UPDATE `gameobject_template` SET `type` = 2, `ScriptName` = "gobject_scarab_gong" WHERE `entry` = 180717;
UPDATE `gameobject` SET `id` = 180717 WHERE `guid` = 49451;
DELETE FROM `gameobject_questender` WHERE `quest`=8743;
INSERT INTO `gameobject_questender` (`id`, `quest`) VALUES (180717, 8743);
DELETE FROM `gameobject_queststarter` WHERE `quest`=8743;
INSERT INTO `gameobject_queststarter` (`id`, `quest`) VALUES (180717, 8743);

SET @STRING_ENTRY := 41100;
DELETE FROM `acore_string` WHERE `entry` IN  (@STRING_ENTRY);
INSERT INTO `acore_string` (`entry`, `content_default`) VALUES
(@STRING_ENTRY, '%s, Champion of the Bronze Dragonflight, has rung the Scarab Gong. The ancient gates of Ahn''Qiraj open, revealing the horrors of a forgotten war...');

-- Fix drop rate for Nightmare_corruption
UPDATE `creature_loot_template` SET `Chance` = 5 WHERE `Item` = 21146;
UPDATE `creature_loot_template` SET `Chance` = 5 WHERE `Item` = 21147;
UPDATE `creature_loot_template` SET `Chance` = 5 WHERE `Item` = 21148;

-- Fix drop rate for Narain's Scrying Goggles
UPDATE `creature_loot_template` SET `Chance` = 2 WHERE `Item` = 20951;

-- Fix missing quest details for The Charge of the Dragonflights
UPDATE `quest_template` SET `QuestDescription` = 'Eranikus, Vaelastrasz, and Azuregos... No doubt you know of these dragons, mortal. It is no coincidence, then, that they have played such influential roles as watchers of our world. Unfortunately whether by agents of the Old Gods or betrayal by those that would call them friend, each guardian has fallen to tragedy. The extent of which has fueled my own distrust towards your kind. Seek them out... And prepare yourself for the worst.', `LogDescription` = 'Speak with Anachronos.',  `QuestCompletionLog` = 'Speak with Anachronos.' WHERE `ID` = 8555;
UPDATE `quest_template_locale` SET `Details` = 'Eranikus, Vaelastrasz, et Azuregos... Vous avez certainement entendu parler de ces dragons, mortel. Ce n''est pas une simple coïncidence si chacun d''eux a joué un grand rôle comme gardien de ce monde. Malheureusement, et ma propre naïveté en est en partie responsable, ces gardiens ont tous succombé à de terribles tragédies, si terribles qu''elles ont alimenté ma méfiance à l''égard de votre espèce. Cherchez-les… Et préparez-vous au pire.', `Objectives` = 'Parlez à Anachronos.',  `CompletedText` = 'Parlez à Anachronos.' WHERE `ID` = 8555 AND `locale` = 'frFR';

-- Fix missing quest details for Translating the Ledger
UPDATE `quest_template` SET `QuestDescription` = 'First things first! We need to figure out what Azuregos wrote in this ledger. You say that he''s told you to make an arcanite buoy and that this is the schematic? Strange that he would write this in Draconic. That old goat knows I can''t read this nonsense. If this is going to work, I''m going to need my scrying goggles, a five hundred pound chicken and volume II of Draconic for Dummies. Not necessarily in that order.', `LogDescription` = 'We need to figure out what Azuregos wrote in this ledger.',  `QuestCompletionLog` = 'We need to figure out what Azuregos wrote in this ledger.' WHERE `ID` = 8576;
UPDATE `quest_template_locale` SET `Details` = 'Commençons par le commencement ! Il faut comprendre ce que Azuregos a écrit dans ce registre. Vous dites qu''il vous a demandé de fabriquer une bouée en arcanite avec le schéma ? Étrange qu''il ait écrit ça en draconique. Ce vieux bouc sait que je ne peux pas déchiffrer ces absurdités. Pour que ça marche, il me faut mes lunettes de divination, un poulet de deux cents kilos et le tome II de Draconique pour les Nuls.', `Objectives` = 'Nous devons découvrir ce que Azuregos a écrit dans ce registre.',  `CompletedText` = 'Nous devons découvrir ce que Azuregos a écrit dans ce registre.' WHERE `ID` = 8576 AND `locale` = 'frFR';

-- New 'Bang a Gong!' quest. No rewards for completing this version. No mount, no title. Currently the Mallet of Zul'Farrak is required to bang the gong.
-- New 'Chaos and Destruction' quest. Kill Colossus of Zora(15740), Regal(15741) and Ashi(15742)
DELETE FROM `quest_template` WHERE `ID` IN (108743, 108744, 108745, 108746, 108747);
INSERT INTO `quest_template` (`ID`, `QuestType`, `QuestLevel`, `MinLevel`, `QuestSortID`, `QuestInfoID`, `SuggestedGroupNum`, `RequiredFactionId1`, `RequiredFactionId2`, `RequiredFactionValue1`, `RequiredFactionValue2`, `RewardNextQuest`, `RewardXPDifficulty`, `RewardMoney`, `RewardMoneyDifficulty`, `RewardDisplaySpell`, `RewardSpell`, `RewardHonor`, `RewardKillHonor`, 
`StartItem`, `Flags`, `RequiredPlayerKills`, `RewardItem1`, `RewardAmount1`, `RewardItem2`, `RewardAmount2`, `RewardItem3`, `RewardAmount3`, `RewardItem4`, `RewardAmount4`, `ItemDrop1`, `ItemDropQuantity1`, `ItemDrop2`, `ItemDropQuantity2`, `ItemDrop3`, `ItemDropQuantity3`, `ItemDrop4`, `ItemDropQuantity4`, 
`RewardChoiceItemID1`, `RewardChoiceItemQuantity1`, `RewardChoiceItemID2`, `RewardChoiceItemQuantity2`, `RewardChoiceItemID3`, `RewardChoiceItemQuantity3`, `RewardChoiceItemID4`, `RewardChoiceItemQuantity4`, `RewardChoiceItemID5`, `RewardChoiceItemQuantity5`, `RewardChoiceItemID6`, `RewardChoiceItemQuantity6`, 
`POIContinent`, `POIx`, `POIy`, `POIPriority`, `RewardTitle`, `RewardTalents`, `RewardArenaPoints`, `RewardFactionID1`, `RewardFactionValue1`, `RewardFactionOverride1`, `RewardFactionID2`, `RewardFactionValue2`, `RewardFactionOverride2`, `RewardFactionID3`, `RewardFactionValue3`, `RewardFactionOverride3`, `RewardFactionID4`, `RewardFactionValue4`, `RewardFactionOverride4`, `RewardFactionID5`, `RewardFactionValue5`, `RewardFactionOverride5`, 
`TimeAllowed`, `AllowableRaces`, `LogTitle`, `LogDescription`, `QuestDescription`, `AreaDescription`, `QuestCompletionLog`, `RequiredNpcOrGo1`, `RequiredNpcOrGo2`, `RequiredNpcOrGo3`, `RequiredNpcOrGo4`, `RequiredNpcOrGoCount1`, `RequiredNpcOrGoCount2`, `RequiredNpcOrGoCount3`, `RequiredNpcOrGoCount4`, `RequiredItemId1`, `RequiredItemId2`, `RequiredItemId3`, `RequiredItemId4`, `RequiredItemId5`, `RequiredItemId6`, 
`RequiredItemCount1`, `RequiredItemCount2`, `RequiredItemCount3`, `RequiredItemCount4`, `RequiredItemCount5`, `RequiredItemCount6`, `Unknown0`, `ObjectiveText1`, `ObjectiveText2`, `ObjectiveText3`, `ObjectiveText4`, `VerifiedBuild`) VALUES 

(108743, 0, 60, 60, 1377, 82, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 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, 'Simply Bang a Gong!', '', '', NULL, 'Return to The Scarab Gong in Silithus.', 0, 0, 0, 0, 0, 0, 0, 0, 9240, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 3, '', '', '', '', 12340),
(108744, 2, 60, 60, 1377, 82, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 64, 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, 910, 7, 0, 609, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Chaos and Destruction', 'Kill Lieutenant General Nokhor, 3 Colossal Anubisath Warbringers and 12 Supreme Anubisath Warbringers.', '', '', 'Return to Jonathan the Revelator at the Scarab Gong.', 15818, 15743, 15758, 0, 1, 3, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', '', '', NULL),
(108745, 2, 60, 60, 1377, 82, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 64, 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, 910, 7, 0, 609, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Colossus of Zora', 'Kill the Colossus of Zora.', '', '', 'Return to Jonathan the Revelator at the Scarab Gong.', 15740, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', '', '', NULL),
(108746, 2, 60, 60, 1377, 82, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 64, 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, 910, 7, 0, 609, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Colossus of Regal', 'Kill the Colossus of Regal.', '', '', 'Return to Jonathan the Revelator at the Scarab Gong.', 15741, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', '', '', NULL),
(108747, 2, 60, 60, 1377, 82, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 64, 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, 910, 7, 0, 609, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Colossus of Ashi', 'Kill the Colossus of Ashi.', '', '', 'Return to Jonathan the Revelator at the Scarab Gong.', 15742, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', '', '', NULL);

-- don't count quests for the loremaster achievement
DELETE FROM `quest_template_addon` WHERE `ID` IN (108743, 108744, 108745, 108746, 108747);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, 
`RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`) VALUES 
(108743, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 256),
(108744, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 256),
(108745, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 258),
(108746, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 258),
(108747, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 258);

UPDATE `quest_template` SET `RewardNextQuest` = 0 WHERE `ID` = 8743; -- can be removed later

DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `ConditionTypeOrReference` = 8 AND `SourceEntry` IN (8286, 8857, 8858, 8859, 108743, 108744, 108745, 108746, 108747);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, 
`ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES 
--
(19, 0, 8286, 0, 0, 8, 0, 108850, 0, 0, 0, 0, 0, '',   'Quest \'What Tomorrow Brings\' requires the \'Complete the War Effort\' quest to be completed'),
(19, 0, 8286, 0, 1, 8, 0, 108855, 0, 0, 0, 0, 0, '',   'Quest \'What Tomorrow Brings\' requires the \'Complete the War Effort\' quest to be completed'),
(19, 0, 8857, 0, 1, 8, 0, 108747, 0, 0, 0, 0, 0, '',   'Quest \'Secrets of the Colossus - Ashi\' requires the \'Colossus of Ashi\' quest to be completed'),
(19, 0, 8858, 0, 1, 8, 0, 108746, 0, 0, 0, 0, 0, '',   'Quest \'Secrets of the Colossus - Regal\' requires the \'Colossus of Regal\' quest to be completed'),
(19, 0, 8859, 0, 1, 8, 0, 108745, 0, 0, 0, 0, 0, '',   'Quest \'Secrets of the Colossus - Zora\' requires the \'Colossus of Zora\' quest to be completed'),
(19, 0, 108743, 0, 0, 8, 0, 8743, 0, 0, 1, 0, 0, '',   'Quest \'Simply Bang a Gong!\' requires the \'Bang a Gong!\' quest to NOT be completed'),
(19, 0, 108743, 0, 0, 8, 0, 108850, 0, 0, 0, 0, 0, '', 'Quest \'Simply Bang a Gong!\' requires the \'Complete the War Effort\' quest to be completed'),
(19, 0, 108743, 0, 1, 8, 0, 8743, 0, 0, 1, 0, 0, '',   'Quest \'Simply Bang a Gong!\' requires the \'Bang a Gong!\' quest to NOT be completed'),
(19, 0, 108743, 0, 1, 8, 0, 108855, 0, 0, 0, 0, 0, '', 'Quest \'Simply Bang a Gong!\' requires the \'Complete the War Effort\' quest to be completed'),
(19, 0, 108744, 0, 0, 8, 0, 108745, 0, 0, 0, 0, 0, '', 'Quest \'Chaos and Destruction\' requires the \'Colossus of Zora\' quest to be completed'),
(19, 0, 108744, 0, 0, 8, 0, 108746, 0, 0, 0, 0, 0, '', 'Quest \'Chaos and Destruction\' requires the \'Colossus of Regal\' quest to be completed'),
(19, 0, 108744, 0, 0, 8, 0, 108747, 0, 0, 0, 0, 0, '', 'Quest \'Chaos and Destruction\' requires the \'Colossus of Ashi\' quest to be completed'),
(19, 0, 108745, 0, 0, 8, 0, 8743, 0, 0, 0, 0, 0, '',   'Quest \'Colossus of Zora\' requires either quest 8743 or 108743 to be completed'),
(19, 0, 108745, 0, 1, 8, 0, 108743, 0, 0, 0, 0, 0, '', 'Quest \'Colossus of Zora\' requires either quest 8743 or 108743 to be completed'),
(19, 0, 108746, 0, 0, 8, 0, 8743, 0, 0, 0, 0, 0, '',   'Quest \'Colossus of Regal\' requires either quest 8743 or 108743 to be completed'),
(19, 0, 108746, 0, 1, 8, 0, 108743, 0, 0, 0, 0, 0, '', 'Quest \'Colossus of Regal\' requires either quest 8743 or 108743 to be completed'),
(19, 0, 108747, 0, 0, 8, 0, 8743, 0, 0, 0, 0, 0, '',   'Quest \'Colossus of Ashi\' requires either quest 8743 or 108743 to be completed'),
(19, 0, 108747, 0, 1, 8, 0, 108743, 0, 0, 0, 0, 0, '', 'Quest \'Colossus of Ashi\' requires either quest 8743 or 108743 to be completed');

-- update quest texts for the new 'Simply Bang a Gong!' quest
DELETE FROM `quest_request_items` WHERE `ID` IN (108743, 108744);
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `CompletionText`, `VerifiedBuild`) VALUES 
(108743, 1, 0, 'The Scarab Gong looms ominously before you. Steel yourself, $N; for once the Scarab Gong is rung, the gates of Ahn\'Qiraj will be opened.$B$BHowever, the Brood of Nozdomu and the Cenarion Circle will not reward you, unless you aid them.', 12340),
(108744, 1, 0, '', NULL);

DELETE FROM `quest_offer_reward` WHERE `ID` IN (108743, 108744);
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES 
(108743, 0, 0, 0, 0, 0, 0, 0, 0, 'From the ground near the gong springs a special crystal. Perhaps favor from the Brood.', 12340),
(108744, 0, 0, 0, 0, 0, 0, 0, 0, '', NULL);
    
DELETE FROM `quest_template_addon` WHERE `ID` IN (8743);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, 
`RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`) VALUES 
(8743, 0, 0, 0, 8742, 0, 0, 0, 0, 0, 0, 910, 0, 0, 0, 0, 0);

UPDATE `quest_template` SET `QuestDescription` = '' WHERE `ID` = 108743;    
    
-- Connect new 'Bang a Gong!' quest to the Scarab Gong in Silithus
DELETE FROM `gameobject_queststarter` WHERE `id` = 180717 AND `quest` IN (8743, 108743, 108744);
INSERT INTO `gameobject_queststarter` (`id`, `quest`) VALUES (180717, 8743), (180717, 108743);

DELETE FROM `gameobject_questender` WHERE `id` = 180717 AND `quest` IN (8743, 108743);
INSERT INTO `gameobject_questender` (`id`, `quest`) VALUES (180717, 8743), (180717, 108743);

DELETE FROM `creature_queststarter` WHERE `id` = 15693 AND `quest` IN (108744, 108745, 108746, 108747);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (15693, 108744), (15693, 108745), (15693, 108746), (15693, 108747);

DELETE FROM `creature_questender` WHERE `id` = 15693 AND `quest` IN (8745, 108744, 108745, 108746, 108747);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (15693, 8745), (15693, 108744), (15693, 108745), (15693, 108746), (15693, 108747);


================================================
FILE: data/sql/world/base/aq_war.sql
================================================
SET @IPPPHASE := 65536;
SET @CGUID    := 650000;
SET @OGUID    := 650000;

/* smart scripts */
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN 
(15634, 15740, 15741, 15742, 15758, 15810, 15813, 15818);
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN 
(15634, 15740, 15741, 15742, 15758, 15810, 15813, 15818);

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`, `event_param6`, 
`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 
--
(15634, 0, 0, 0, 101, 0, 100, 0, 1, 20, 0, 50000, 60000, 0, 11, 25839, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,       'Priestess of the Moon - On Near Player - Cast Mass Healing'),
--
(15740, 0, 0, 0, 0, 0, 100, 0, 60000, 60000, 60000, 60000, 0, 0, 11, 26167, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,  'Colossus of Zora - In Combat - Cast Colossal Smash'), -- https://www.youtube.com/watch?v=F4aAAo_GSrw
(15741, 0, 0, 0, 0, 0, 100, 0, 60000, 60000, 60000, 60000, 0, 0, 11, 26167, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,  'Colossus of Regal - In Combat - Cast Colossal Smash'),
(15742, 0, 0, 0, 0, 0, 100, 0, 60000, 60000, 60000, 60000, 0, 0, 11, 26167, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,  'Colossus of Ashi - In Combat - Cast Colossal Smash'),
--
(15758, 0, 0, 0, 0, 0, 100, 0, 8000, 12000, 8000, 12000, 0, 0, 11, 11971, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0,   'Supreme Anubisath Warbringer - Within 0-5 Range - Cast Sundering Cleave'),
(15810, 0, 0, 0, 9, 0, 100, 0, 0, 0, 6000, 9000, 0, 5, 11, 15496, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0,            'Eroded Anubisath Warbringer - 0-5 Range - Cast Cleave'),
(15810, 0, 1, 0, 0, 0, 100, 0, 8000, 12000, 8000, 12000, 0, 0, 11, 17963, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0,   'Eroded Anubisath Warbringer - Within 0-5 Range - Cast Sundering Cleave'),
(15810, 0, 2, 0, 0, 0, 100, 0, 12000, 12000, 17000, 17000, 0, 0, 11, 11876, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,  'Eroded Anubisath Warbringer - In Combat - Cast War Stomp'),
(15813, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,                       'Qiraji Officer Zod - On Aggro - Say Line 0'),
(15813, 0, 1, 0, 0, 0, 100, 0, 3000, 6000, 7000, 12000, 0, 0, 11, 19643, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0,    'Qiraji Officer Zod - Within 0-5 Range - Cast Mortal Strike'),
(15818, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,                       'Lieutenant General Nokhor - On Aggro - Say Line 0'),
(15818, 0, 1, 0, 9, 0, 100, 0, 0, 0, 6000, 9000, 0, 5, 11, 15284, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0,            'Lieutenant General Nokhor - 0-5 Range - Cast Cleave'),
(15818, 0, 2, 0, 9, 0, 100, 0, 0, 0, 12000, 18000, 0, 8, 11, 16244, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,          'Lieutenant General Nokhor - Within 0-8 Range - Cast Demoralizing Shout'),
(15818, 0, 3, 0, 0, 0, 100, 0, 3000, 6000, 7000, 12000, 0, 0, 11, 16856, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0,    'Lieutenant General Nokhor - Within 0-5 Range - Cast Mortal Strike'),
(15818, 0, 4, 0, 0, 0, 100, 0, 16000, 20000, 16000, 20000, 0, 0, 11, 25599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,  'Lieutenant General Nokhor - Within 0-8 Range - Cast Thundercrash');


DELETE FROM `creature_text` WHERE `CreatureID` IN (15813, 15818);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES 
(15813, 0, 0, 'Kneel before me, mortal! Kneel before Zod!', 12, 7, 100, 0, 0, 0, 11471, 0, 'Qiraji Officer Zod'),
(15818, 0, 0, 'Burn in hate, $r.', 12, 7, 100, 0, 0, 0, 11475, 0, 'Lieutenant General Nokhor'); -- need to check language, set to common, currently can't understand it. 

DELETE FROM `creature_text` WHERE `CreatureID`= 15693;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`, `TextRange`, `comment`) VALUES
(15693, 0, 0, '$n, Champion of the Bronze Dragonflight, has rung the Scarab Gong. The ancient gates of Ahn\'Qiraj open, revealing the horrors of a forgotten war...', 16, 0, 100, 1, 0, 0, 11427, 4, 'EMOTE_AQ_GONG_1'),
(15693, 1, 0, 'Massive Qiraji resonating crystals break through the earthen crust of Kalimdor. Colossal creatures made of obsidian stone breach the freshly broken land...', 16, 0, 100, 1, 0, 0, 11432, 4, 'EMOTE_AQ_GONG_2'),
(15693, 2, 0, 'Colossus of Zora casts its massive shadow upon the whole of Silithus.', 16, 0, 100, 1, 0, 0, 0, 4, 'EMOTE_AQ_GONG_3'),
(15693, 3, 0, 'Colossus of Ashi breaks free of its cocoon beneath Hive\'Ashi.', 16, 0, 100, 1, 0, 0, 0, 4, 'EMOTE_AQ_GONG_4'),
(15693, 4, 0, 'Colossus of Regal hears the call to battle and rises to serve its master.', 16, 0, 100, 1, 0, 0, 0, 4, 'EMOTE_AQ_GONG_5');

-- add bosses to Silithus and Darkshore 
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+101 AND @CGUID+140;
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, 
`spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@CGUID+101,15810,0,0,1,0,0,1,@IPPPHASE,0,4386.996582, 550.179260, 54.762119, 0.581150,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+102,15810,0,0,1,0,0,1,@IPPPHASE,0,4388.178711, 513.457581, 53.590897, 3.921458,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+103,15810,0,0,1,0,0,1,@IPPPHASE,0,4356.629395, 519.999329, 58.591854, 3.295495,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+104,15810,0,0,1,0,0,1,@IPPPHASE,0,4361.684570, 558.289734, 56.632832, 4.635385,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+105,15813,0,0,1,0,0,1,@IPPPHASE,0,4372.355957, 536.665649, 59.118938, 4.758702,1800,0,0,0,0,0,0,0,0,'',0), -- boss darkshore 1
--
(@CGUID+106,15810,0,0,1,0,0,1,@IPPPHASE,0, 5083.312988, 90.152863, 45.683632, 4.534914,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+107,15810,0,0,1,0,0,1,@IPPPHASE,0, 5057.701660, 83.685188, 49.825253, 3.410223,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+108,15810,0,0,1,0,0,1,@IPPPHASE,0, 5046.050781, 122.508644, 43.164379, 2.331871,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+109,15810,0,0,1,0,0,1,@IPPPHASE,0, 5071.985840, 138.409653, 41.266869, 0.861605,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+110,15813,0,0,1,0,0,1,@IPPPHASE,0, 5064.384277, 107.279877, 42.528320, 3.140021,1800,0,0,0,0,0,0,0,0,'',0), -- boss darkshore 2
--
(@CGUID+111,15810,0,0,1,0,0,1,@IPPPHASE,0, 6409.220215, 4.401052, 30.286741, 2.987807,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+112,15810,0,0,1,0,0,1,@IPPPHASE,0, 6424.186035, 30.883730, 27.005314, 0.934775,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+113,15810,0,0,1,0,0,1,@IPPPHASE,0, 6454.531738, 28.456089, 31.199347, 0.068485,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+114,15810,0,0,1,0,0,1,@IPPPHASE,0, 6453.624023, -5.977130, 28.319181, 5.131168,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+115,15813,0,0,1,0,0,1,@IPPPHASE,0, 6434.273438, 12.233818, 26.357977, 0.805967,1800,0,0,0,0,0,0,0,0,'',0), -- boss darkshore 3
--
(@CGUID+116,15742,0,0,1,0,0,1,@IPPPHASE,0, -6545.32, 967.875, 0.374282, 0.785268,3600,5,0,0,0,1,0,0,0,'',0),  -- Colossus of Ashi
(@CGUID+117,15741,0,0,1,0,0,1,@IPPPHASE,0, -7824.52, 663.901, -34.1379, 2.20763,3600,5,0,0,0,1,0,0,0,'',0),   -- Colossus of Regal
(@CGUID+118,15740,0,0,1,0,0,1,@IPPPHASE,0, -7340.2, 1643.75, -34.0787, 4.01405,3600,5,0,0,0,1,0,0,0,'',0),    -- Colossus of Zora
--
(@CGUID+119,15758,0,0,1,0,0,1,@IPPPHASE,0, -7623.261719, 1416.035767, 4.126772,  4.945646,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+120,15758,0,0,1,0,0,1,@IPPPHASE,0, -7659.168457, 1392.619751, 3.995544, 3.687438,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+121,15758,0,0,1,0,0,1,@IPPPHASE,0, -7688.503418, 1428.886963, 3.855407, 2.550966,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+122,15758,0,0,1,0,0,1,@IPPPHASE,0, -7652.402344, 1464.758667, 4.526736, 0.600033,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+123,15818,0,0,1,0,0,1,@IPPPHASE,1, -7644.985840, 1422.093628, 3.326948, 5.378395,1800,15,0,0,0,1,0,0,0,'',0), -- boss Silithus 1
--
(@CGUID+124,15758,0,0,1,0,0,1,@IPPPHASE,0, -7806.652832, 855.699951, -4.778733, 0.353429,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+125,15758,0,0,1,0,0,1,@IPPPHASE,0, -7831.444336, 808.078979, -9.832852, 4.501119,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+126,15758,0,0,1,0,0,1,@IPPPHASE,0, -7881.184082, 864.466614, -1.765002, 2.737900,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+127,15758,0,0,1,0,0,1,@IPPPHASE,0, -7832.478027, 912.945801, -2.498297, 0.817600,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+128,15818,0,0,1,0,0,1,@IPPPHASE,1, -7830.405273, 851.316223, -4.844313, 4.929938,1800,15,0,0,0,1,0,0,0,'',0), -- boss Silithus 2
--
(@CGUID+129,15758,0,0,1,0,0,1,@IPPPHASE,0, -6290.943848, 736.276489, 11.109619, 5.837865,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+130,15758,0,0,1,0,0,1,@IPPPHASE,0, -6303.743652, 703.045105, 11.219690, 4.562379,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+131,15758,0,0,1,0,0,1,@IPPPHASE,0, -6349.953613, 715.365662, 2.037906, 3.263330,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+132,15758,0,0,1,0,0,1,@IPPPHASE,0, -6346.292969, 777.375793, 1.782544, 1.899878,1800,5,0,0,0,1,0,0,0,'',0),
(@CGUID+133,15818,0,0,1,0,0,1,@IPPPHASE,1, -6322.091797, 738.599060, 8.332182, 2.500710,1800,15,0,0,0,1,0,0,0,'',0), -- boss Silithus 3
--
(@CGUID+134,15743,0,0,1,0,0,1,@IPPPHASE,0, -7953.03, 1588.4, -2.4214, 0.0139782, 1800, 0, 0, 345840, 0, 0, 0, 0, 0, '', 0),
(@CGUID+135,15743,0,0,1,0,0,1,@IPPPHASE,0, -7947.04, 1538.89, 0.298302, 6.05763, 1800, 0, 0, 345840, 0, 0, 0, 0, 0, '', 0),
(@CGUID+136,15743,0,0,1,0,0,1,@IPPPHASE,0, -8107.13, 1522.33, 2.60935, 6.03569,  1800, 0, 0, 345840, 0, 0, 0, 0, 0, '', 0),
(@CGUID+137,15744,0,0,1,0,0,1,@IPPPHASE,0, -8107.33, 1536.68, 3.37718, 0.315558, 1800, 5, 0, 194250, 51360, 1, 0, 0, 0, '', 0),
--
(@CGUID+138, 15797,0,0,1,0,0,1,1,0, -6826.11, 813.571, 51.6444, 5.49779, 300, 0, 0, 0, 0, 0, 0, 0, 0, 'npc_ipp_aqwar', 0), -- Colossus Researcher Sophia
(@CGUID+139, 15798,0,0,1,0,0,1,1,0, -6824.03, 813.17, 51.4418, 3.52557, 300, 0, 0, 0, 0, 0, 0, 0, 0, 'npc_ipp_aqwar', 0),  -- Colossus Researcher Nestor
(@CGUID+140, 15799,0,0,1,0,0,1,1,0, -6825.01, 811.389, 51.8466, 1.67552, 300, 0, 0, 0, 0, 0, 0, 0, 0, 'npc_ipp_aqwar', 0); -- Colossus Researcher Eazel

-- nerf hive boss HP so they're doable for a raid of 40
UPDATE `creature_template` SET `HealthModifier` = 600 WHERE entry IN (15740, 15741, 15742);

-- remove flags_extra = 1 (CREATURE_FLAG_EXTRA_INSTANCE_BIND) for Lieutenant General Nokhor
UPDATE `creature_template` SET `flags_extra` = 0 WHERE `entry` = 15818;

-- Supreme Anubisath Warbringer
UPDATE `creature_template` SET `maxgold` = 23909 WHERE `entry` = 15758; -- previously 83909

-- General Rajaxx
UPDATE `creature_text` SET `TextRange` = 4 WHERE `CreatureID` = 15341 AND `GroupID` = 12;

DELETE FROM `pool_template` WHERE `entry` IN (601053, 601054); 
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(601053, 1, "AQ War Event Darkshore Boss"),
(601054, 1, "AQ War Event Silithus Boss");

DELETE FROM `pool_creature` WHERE `pool_entry` IN (15813, 15818, 601053, 601054); -- 15813, 15818 need to be removed later on
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(@CGUID+105, 601053, 0, 'AQ War Event Darkshore Boss'),
(@CGUID+110, 601053, 0, 'AQ War Event Darkshore Boss'),
(@CGUID+115, 601053, 0, 'AQ War Event Darkshore Boss'),
(@CGUID+123, 601054, 0, 'AQ War Event Silithus Boss'),
(@CGUID+128, 601054, 0, 'AQ War Event Silithus Boss'),
(@CGUID+133, 601054, 0, 'AQ War Event Silithus Boss');

-- add Resonating Crystal Formations to Silithus and Darkshore
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+101 AND @OGUID+106;
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
(@OGUID+101, 180810, 1, 0, 0, 1, 1, 6431.208496, 7.873897, 25.929821, 6.005887, 0, 0, -1, 0, 3600, 255, 1, 'gobject_ipp_aqwar', 0),
(@OGUID+102, 180810, 1, 0, 0, 1, 1, 5070.317383, 106.293625, 42.326523, 3.869612, 0, 0, -1, 0, 3600, 255, 1, 'gobject_ipp_aqwar', 0),
(@OGUID+103, 180810, 1, 0, 0, 1, 1, 4370.228027, 540.763245, 59.281170, 6.165329, 0, 0, -1, 0, 3600, 255, 1, 'gobject_ipp_aqwar', 0),
(@OGUID+104, 180810, 1, 0, 0, 1, 1, -7648.079590, 1426.084717, 2.876715, 3.538846, 0, 0, -1, 0, 3600, 255, 1, 'gobject_ipp_aqwar', 0),
(@OGUID+105, 180810, 1, 0, 0, 1, 1, -7831.400879, 857.148376, -4.281037, 1.477178, 0, 0, -1, 0, 3600, 255, 1, 'gobject_ipp_aqwar', 0),
(@OGUID+106, 180810, 1, 0, 0, 1, 1, -6317.880371, 738.097473, 9.361129, 2.939591, 0, 0, -1, 0, 3600, 255, 1, 'gobject_ipp_aqwar', 0);

-- set Resonating Crystal Formations to 'Not selectable'
UPDATE `gameobject_template_addon` SET `flags` = 16 WHERE `entry` = 180810;

-- add loot to Colossus of Zora, Regal and Ashi
DELETE FROM `creature_loot_template` WHERE `entry` = 15740;
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(15740, 14555, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 3475, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 1728, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 811, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 1263, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 14554, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 647, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 2099, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 944, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 2243, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 2245, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 1443, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 2244, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 14558, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 833, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 2246, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 14553, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 1168, 0, 0, 0, 1, 1, 1, 1, 'Colossus of Zora, Regal, Ashi - Epic'),
(15740, 13036, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13126, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13009, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13120, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13075, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13133, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13123, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 9402, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13013, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13125, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 2564, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13077, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13040, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13067, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13003, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13135, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13007, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13107, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13106, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13073, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13111, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13070, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13015, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13144, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13118, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13146, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13116, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13000, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13072, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 6622, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13060, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13004, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13047, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13130, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13066, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 1203, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13096, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13030, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13083, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13085, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13002, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 4496, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13001, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 13091, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 1973, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 7734, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue'),
(15740, 11302, 0, 0, 0, 1, 2, 1, 1, 'Colossus of Zora, Regal, Ashi - Blue');

-- same lootID for all 3 Colossus bosses
DELETE FROM `creature_loot_template` WHERE `entry` IN (15741, 15742);
UPDATE `creature_template` SET `LootId` = 15740 WHERE `entry` IN (15740, 15741, 15742);


================================================
FILE: data/sql/world/base/aq_war_effort.sql
================================================
SET @CGUID    := 650000;
SET @OGUID    := 650000;

-- Collector Npcs
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+1 AND @CGUID+30;
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
-- Alliance Collector Npcs
(@CGUID+1,15383,0,0,0,0,0,1,1,1,-4914.29,-1228.1,501.65,3.66003,300,0,0,13495,0,0,0,0,0,'',0),
(@CGUID+2,15431,0,0,0,0,0,1,1,1,-4915.32,-1220.84,501.658,4.07551,300,0,0,14355,0,0,0,0,0,'',0),
(@CGUID+3,15432,0,0,0,0,0,1,1,0,-4913.26,-1222.67,501.654,4.02445,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+4,15434,0,0,0,0,0,1,1,1,-4946.99,-1281.73,501.675,0.977894,300,0,0,13495,0,0,0,0,0,'',0),
(@CGUID+5,15437,0,0,0,0,0,1,1,1,-4940.91,-1282.46,501.672,1.63836,300,0,0,14355,0,0,0,0,0,'',0),   
(@CGUID+6,15445,0,0,0,0,0,1,1,1,-4944.6,-1283.01,501.674,1.29677,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+7,15446,0,0,0,0,0,1,1,1,-4959.54,-1176.73,501.66,3.66733,300,0,0,13495,0,0,0,0,0,'',0),
(@CGUID+8,15448,0,0,0,0,0,1,1,1,-4960.88,-1175.1,501.66,3.82756,300,0,0,14355,0,0,0,0,0,'',0),
(@CGUID+9,15450,0,0,0,0,0,1,1,1,-4965.87,-1174.28,501.648,3.79535,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+10,15451,0,0,0,0,0,1,1,1,-4970.42,-1152.78,501.658,3.61236,300,0,0,13495,0,0,0,0,0,'',0),
(@CGUID+11,15452,0,0,0,0,0,1,1,0,-4971.47,-1150.77,501.655,3.5888,300,0,0,14355,0,0,0,0,0,'',0),
(@CGUID+12,15453,0,0,0,0,0,1,1,1,-4974.99,-1149.58,501.649,4.06239,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+13,15455,0,0,0,0,0,1,1,1,-4936.96,-1280.96,501.671,2.38871,300,0,0,13495,0,0,0,0,0,'',0),
(@CGUID+14,15456,0,0,0,0,0,1,1,0,-4934.81,-1279.79,501.668,2.64632,300,0,0,14355,0,0,0,0,0,'',0),
(@CGUID+15,15457,0,0,0,0,0,1,1,1,-4933.33,-1278.1,501.666,2.70444,300,0,0,15260,0,0,0,0,0,'',0),
-- Horde Collector Npcs
(@CGUID+16,15459,0,0,1,0,0,1,1,1,1671.67,-4107.41,36.0965,3.85839,300,0,0,13495,0,0,0,0,0,'',0),
(@CGUID+17,15460,0,0,1,0,0,1,1,1,1657.41,-4112.72,33.7797,1.90117,300,0,0,14355,0,0,0,0,0,'',0),
(@CGUID+18,15469,0,0,1,0,0,1,1,1,1669.59,-4117.64,35.6868,2.63395,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+19,15477,0,0,1,0,0,1,1,1,1615.13,-4139.08,33.6528,1.23872,300,0,0,13495,0,0,0,0,0,'',0),
(@CGUID+20,15508,0,0,1,0,0,1,1,1,1620.51,-4139.6,33.9276,2.16785,300,0,0,14355,0,0,0,0,0,'',0),
(@CGUID+21,15512,0,0,1,0,0,1,1,1,1625.6,-4134.17,32.9404,2.72077,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+22,15515,0,0,1,0,0,1,1,1,1588.28,-4180.86,40.2650,2.8524,300,0,0,13495,0,0,0,0,0,'',0),
(@CGUID+23,15522,0,0,1,0,0,1,1,1,1595.8,-4159.28,37.0467,3.07632,300,0,0,14355,0,0,0,0,0,'',0),
(@CGUID+24,15525,0,0,1,0,0,1,1,1,1597.44,-4176.43,40.382,3.18315,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+25,15528,0,0,1,0,0,1,1,1,1566.1,-4122.68,37.3608,6.23736,300,0,0,13495,0,0,0,0,0,'',0),
(@CGUID+26,15529,0,0,1,0,0,1,1,0,1571.74,-4119.56,36.6828,4.67363,300,0,0,14355,0,0,0,0,0,'',0),
(@CGUID+27,15532,0,0,1,0,0,1,1,1,1567.14,-4126.69,37.2995,0.075908,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+28,15533,0,0,1,0,0,1,1,1,1642.74,-4089.04,36.6118,3.70578,300,0,0,13495,0,0,0,0,0,'',0),
(@CGUID+29,15534,0,0,1,0,0,1,1,1,1632.55,-4091.73,35.2461,5.86929,300,0,0,14355,0,0,0,0,0,'',0),
(@CGUID+30,15535,0,0,1,0,0,1,1,1,1634.37,-4087.58,36.2655,5.29543,300,0,0,15260,0,0,0,0,0,'',0);

-- Commendation Npcs
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+31 AND @CGUID+50;
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
-- Alliance Commendation Npcs
(@CGUID+31,15731,0,0,0,0,0,1,1,0,-4938.75,-1206.29,501.658,4.03146,300,0,0,2614,0,0,0,0,0,'npc_ipp_we',0),
(@CGUID+32,15733,0,0,0,0,0,1,1,0,-4936.65,-1209.73,501.658,3.95796,300,0,0,2614,0,0,0,0,0,'npc_ipp_we',0),
(@CGUID+33,15734,0,0,0,0,0,1,1,0,-4943.13,-1204.78,501.658,4.62712,300,0,0,2614,0,0,0,0,0,'npc_ipp_we',0),
(@CGUID+34,15735,0,0,0,0,0,1,1,0,-4936.06,-1214.82,501.639,3.21465,300,0,0,2614,0,0,0,0,0,'npc_ipp_we',0),
-- (@CGUID+35,21969,0,0,0,0,0,1,1,0,-4946.71,-1206.24,501.658,5.19933,300,0,0,2614,0,0,0,0,0,'npc_ipp_we',0), -- Exodar Commendation Officer
-- Horde Commendation Npcs
(@CGUID+36,15736,0,0,1,0,0,1,1,0,1592.17,-4097.91,34.9759,6.25645,300,0,0,2614,0,0,0,0,0,'npc_ipp_we',0),
(@CGUID+37,15737,0,0,1,0,0,1,1,0,1595.6,-4091.94,35.8097,5.20323,300,0,0,2614,0,0,0,0,0,'npc_ipp_we',0),
(@CGUID+38,15738,0,0,1,0,0,1,1,0,1598.27,-4090.5,35.8736,5.13568,300,0,0,2614,0,0,0,0,0,'npc_ipp_we',0),
(@CGUID+39,15739,0,0,1,0,0,1,1,0,1592.84,-4094.01,35.6404,5.82527,300,0,0,2614,0,0,0,0,0,'npc_ipp_we',0),
-- (@CGUID+40,21968,0,0,1,0,0,1,1,0,1601.01,-4091.87,35.5195,4.52778,300,0,0,2614,0,0,0,0,0,'npc_ipp_we',0), -- Silvermoon City Commendation Officer
-- After AQ phase, the commendation Npcs move to their respective cities until the end of WotLK expansion, allows players to use up their marks if they have any after AQ
-- Post AQ Alliance Commendation Npcs
(@CGUID+41,15731,0,0,1,0,0,1,1,0,9949.44,2497.12,1317.629,4.7139,300,0,0,2614,0,0,0,0,0,'npc_ipp_naxx40',0),
(@CGUID+42,15733,0,0,0,0,0,1,1,0,-4824.87,-1287.68,501.868,1.38699,300,0,0,2614,0,0,0,0,0,'npc_ipp_naxx40',0),
(@CGUID+43,15734,0,0,0,0,0,1,1,0,-4974.55,-1197.28,501.662,1.925,300,0,0,2614,0,0,0,0,0,'npc_ipp_naxx40',0),
(@CGUID+44,15735,0,0,0,0,0,1,1,0,-8863.96,636.05,96.1007,1.94892,300,0,0,2614,0,0,0,0,0,'npc_ipp_naxx40',0),
(@CGUID+45,21969,0,0,530,0,0,1,1,0,-3925.42,-11606.5,-138.447,4.948,300,0,0,2614,0,0,0,0,0,'npc_ipp_naxx40',0),
-- Post AQ Horde Commendation Npcs
(@CGUID+46,15736,0,0,1,0,0,1,1,0,1582.31,-4110.7,34.113,5.29359,300,0,0,2614,0,0,0,0,0,'npc_ipp_naxx40',0),
(@CGUID+47,15737,0,0,1,0,0,1,1,0,1617.93,-4100.5,33.307,4.99858,300,0,0,2614,0,0,0,0,0,'npc_ipp_naxx40',0),
(@CGUID+48,15738,0,0,0,0,0,1,1,0,1596.11,279.05,-43.102,4.69252,300,0,0,2614,0,0,0,0,0,'npc_ipp_naxx40',0),
(@CGUID+49,15739,0,0,1,0,0,1,1,0,-1213.31,51.31,130.71,2.55176,300,0,0,2614,0,0,0,0,0,'npc_ipp_naxx40',0),
(@CGUID+50,21968,0,0,530,0,0,1,1,0,9514.08,-7170.69,14.1073,0.12504,300,0,0,2614,0,0,0,0,0,'npc_ipp_naxx40',0);

-- War Effort Recruiters
DELETE FROM `gossip_menu` WHERE `MenuID` IN (3118101, 3118103, 3118105, 3118107);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES (3118101, 8101), (3118103, 8103), (3118105, 8105), (3118107, 8107);

UPDATE `creature_template` SET `gossip_menu_id` = 3118101, `npcflag` = 3 WHERE `entry` = 15707;
UPDATE `creature_template` SET `gossip_menu_id` = 3118103, `npcflag` = 3 WHERE `entry` IN (15708, 15709, 21156);
UPDATE `creature_template` SET `gossip_menu_id` = 3118105, `npcflag` = 3 WHERE `entry` = 15703;
UPDATE `creature_template` SET `gossip_menu_id` = 3118107, `npcflag` = 3 WHERE `entry` IN (15702, 15704, 21155);

UPDATE `quest_template` SET `AllowableRaces` = 690 WHERE `ID` IN (8792, 8793, 8794, 10500);
UPDATE `quest_template` SET `AllowableRaces` = 1101 WHERE `ID` IN (8795, 8796, 8797, 10501);

DELETE FROM `creature_queststarter` WHERE `quest` IN (8792, 8793, 8794, 8795, 8796, 8797, 10500, 10501);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (15702, 8792), (15703, 8792), (15704, 8792), (21155, 8792), (15707, 8795), (15708, 8795), (15709, 8795), (21156, 8795);

DELETE FROM `creature_questender` WHERE `quest` IN (8792, 8793, 8794, 8795, 8796, 8797, 10500, 10501);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (15700, 8792), (15701, 8795);

DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+51 AND @CGUID+58;
DELETE FROM `creature` WHERE `guid` = 86424; -- placed by AC - copy of 15707
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@CGUID+51,15702,0,0,1,0,0,1,1,0,-1209.58, 100.22, 134.661, 3.15905,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+52,15703,0,0,0,0,0,1,1,0,1572.58, 272.707, -43.0193, 5.02655,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+53,15704,0,0,1,0,0,1,1,0,1653.07, -4403.81, 18.5819, 4.45059,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+54,15707,0,0,0,0,0,1,1,0,-4956.09, -931.133, 503.347, 5.37561,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+55,15708,0,0,0,0,0,1,1,0,-8813.75, 654.068, 96.1603, 4.83456,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+56,15709,0,0,1,0,0,1,1,0,9945.15, 2494.24, 1317.52, 4.20624,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+57,21155,0,0,530,0,0,1,1,0,9526.53, -7190.16, 16.1257, 1.55872,300,0,0,15260,0,0,0,0,0,'',0),
(@CGUID+58,21156,0,0,530,0,0,1,1,0,-3907.79, -11606.595, -138.176, 4.69083,300,0,0,15260,0,0,0,0,0,'',0);

-- War Effort Commanders
DELETE FROM `creature` WHERE `guid` IN (@CGUID+59, @CGUID+60);
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(@CGUID+59,15701,0,0,0,0,0,1,1,1,-4961.68,-1243.19,501.672,2.46488,300,0,1,30520,0,2,0,134254592,0,'',0),
(@CGUID+60,15700,0,0,1,0,0,1,1,1,1581.39,-4202.27,41.8233,4.96133,300,0,1,30520,0,2,0,134217728,0,'',0);

SET @NPC := 15701;
SET @PATH := @NPC * 10;
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, -4975.995605, -1231.047607, 501.676392, 2.419811, 0, 0, 0, 100, 0),
(@PATH, 2, -4994.347168, -1208.347168, 501.676392, 2.021614, 0, 0, 0, 100, 0),
(@PATH, 3, -4992.331543, -1191.743164, 501.661407, 1.034368, 0, 0, 0, 100, 0),
(@PATH, 4, -4977.826172, -1184.909424, 501.659943, 6.023217, 0, 0, 0, 100, 0),
(@PATH, 5, -4963.172852, -1191.700562, 501.659943, 5.594390, 0, 0, 0, 100, 0),
(@PATH, 6, -4953.628418, -1206.568237, 501.659943, 5.093306, 0, 0, 0, 100, 0),
(@PATH, 7, -4944.017578, -1226.812378, 501.659241, 4.541171, 0, 0, 0, 100, 0),
(@PATH, 8, -4951.852051, -1236.240234, 501.664520, 3.806038, 0, 0, 0, 100, 0);

DELETE FROM `creature_template_addon` WHERE `entry` IN (@NPC);
INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES
(@NPC,@PATH,14347,0,1,0,0, '');

SET @NPC := 15700;
SET @PATH := @NPC * 10;
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, 1578.605957, -4182.716797, 39.134441, 1.467103, 0, 0, 0, 100, 0),
(@PATH, 2, 1580.579590, -4161.104004, 35.596245, 1.116816, 0, 0, 0, 100, 0),
(@PATH, 3, 1592.792236, -4137.739746, 32.130486, 0.887479, 0, 0, 0, 100, 0),
(@PATH, 4, 1606.842896, -4121.146484, 29.679825, 0.547402, 0, 0, 0, 100, 0),
(@PATH, 5, 1647.132690, -4103.271484, 31.960993, 0.366760, 0, 0, 0, 100, 0),
(@PATH, 6, 1684.800659, -4091.520508, 37.020203, 0.325919, 0, 0, 0, 100, 0),
(@PATH, 7, 1712.287964, -4083.820801, 40.581638, 0.325919, 0, 0, 0, 100, 0),
(@PATH, 8, 1731.218018, -4067.316650, 45.004307, 0.883552, 0, 0, 0, 100, 0),
(@PATH, 9, 1712.287964, -4083.820801, 40.581638, 0.325919, 0, 0, 0, 100, 0),
(@PATH, 10, 1684.800659, -4091.520508, 37.020203, 0.325919, 0, 0, 0, 100, 0),
(@PATH, 11, 1647.132690, -4103.271484, 31.960993, 0.366760, 0, 0, 0, 100, 0),
(@PATH, 12, 1606.842896, -4121.146484, 29.679825, 0.547402, 0, 0, 0, 100, 0),
(@PATH, 13, 1592.792236, -4137.739746, 32.130486, 0.887479, 0, 0, 0, 100, 0),
(@PATH, 14, 1580.579590, -4161.104004, 35.596245, 1.116816, 0, 0, 0, 100, 0),
(@PATH, 15, 1578.605957, -4182.716797, 39.134441, 1.467103, 0, 0, 0, 100, 0);

DELETE FROM `creature_template_addon` WHERE `entry` IN (@NPC);
INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES
(@NPC,@PATH,14573,0,0,0,0, '');

-- Phase AQ War Effort Npcs
UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_we' WHERE `entry` IN 
(15383, 15431, 15432, 15434, 15437, 15445, 15446, 15448, 15450, 15451, 15452, 15453, 15455, 15456, 15457, 15459, 15460, 15469, 15477, 15508, 15512, 15515, 15522, 15525, 
15528, 15529, 15532, 15533, 15534, 15535, 15700, 15701, 15702, 15703, 15704, 15707, 15708, 15709, 21155, 21156);

-- Phase AQ War Effort Objects
DELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+1 AND @OGUID+20;
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`, `Comment`) VALUES 
-- Horde
(@OGUID+1,  180812, 1, 0, 0, 1, 1, 1590.82, -4155.33, 36.2926, 3.7001, 0, 0, -0.961261, 0.27564, 180, 100, 1, 'gobject_ipp_leather_stage_0', 0, NULL),
(@OGUID+2,  180818, 1, 0, 0, 1, 1, 1637.11, -4147.21, 36.0414, 3.73501, 0, 0, -0.956305, 0.292372, 180, 100, 1, 'gobject_ipp_herbs_stage_0', 0, NULL), 
(@OGUID+3,  180826, 1, 0, 0, 1, 1, 1579.35, -4109.25, 34.5417, 3.75246, 0, 0, -0.953716, 0.300708, 180, 100, 1, 'gobject_ipp_bandages_stage_0', 0, NULL),
(@OGUID+4,  180832, 1, 0, 0, 1, 1, 1619.83, -4092.43, 34.5107, 3.7001, 0, 0, -0.961261, 0.27564, 180, 100, 1, 'gobject_ipp_food_stage_0', 0, NULL),
(@OGUID+5,  180838, 1, 0, 0, 1, 1, 1683.11, -4134.35, 39.5419, 3.71755, 0, 0, -0.958819, 0.284016, 180, 100, 1, 'gobject_ipp_bars_stage_0', 0, NULL),
(@OGUID+6,  180813, 1, 0, 0, 1, 1, 1590.88, -4155.33, 36.298, 3.68265, 0, 0, -0.961261, 0.27564, 180, 100, 1, 'gobject_ipp_leather_stage_1', 0, NULL),
(@OGUID+7,  180819, 1, 0, 0, 1, 1, 1637.1, -4147.25, 36.0531, 3.73501, 0, 0, -0.956305, 0.292372, 180, 100, 1, 'gobject_ipp_herbs_stage_1', 0, NULL),
(@OGUID+8,  180827, 1, 0, 0, 1, 1, 1579.33, -4109.25, 34.5487, 3.71755, 0, 0, -0.953716, 0.300708, 180, 100, 1, 'gobject_ipp_bandages_stage_1', 0, NULL),
(@OGUID+9,  180833, 1, 0, 0, 1, 1, 1619.8, -4092.53, 34.4888, 3.7001, 0, 0, -0.961261, 0.27564, 180, 100, 1, 'gobject_ipp_food_stage_1', 0, NULL),
(@OGUID+10, 180839, 1, 0, 0, 1, 1, 1683.1, -4134.31, 39.539, 3.73501, 0, 0, -0.958819, 0.284016, 180, 100, 1, 'gobject_ipp_bars_stage_1', 0, NULL),
-- Alliance
(@OGUID+11, 180598, 0, 0, 0, 1, 1, -4971.55, -1148.57, 501.648, 2.28638, 0, 0, 0.909961, 0.414693, 180, 100, 1, 'gobject_ipp_bandages_stage_0', 0, NULL),
(@OGUID+12, 180681, 0, 0, 0, 1, 1, -4958.51, -1179.32, 501.659, 2.26893, 0, 0, 0.906308, 0.422618, 180, 100, 1, 'gobject_ipp_leather_stage_0', 0, NULL),
(@OGUID+13, 180680, 0, 0, 0, 1, 1, -4913.85, -1226, 501.651, 2.25148, 0, 0, 0.902585, 0.430511, 180, 100, 1, 'gobject_ipp_bars_stage_0', 0, NULL),
(@OGUID+14, 180679, 0, 0, 0, 1, 1, -4937.29, -1282.74, 501.672, 2.26893, 0, 0, 0.906308, 0.422618, 180, 100, 1, 'gobject_ipp_food_stage_0', 0, NULL),
(@OGUID+16, 180674, 0, 0, 0, 1, 1, -4968.33, -1152.89, 501.925, 2.26893, 0, 0, 0.909961, 0.414693, 180, 100, 1, 'gobject_ipp_bandages_stage_1', 0, NULL),
(@OGUID+17, 180692, 0, 0, 0, 1, 1, -4958.51, -1179.32, 501.659, 2.26893, 0, 0, 0.906308, 0.422618, 180, 100, 1, 'gobject_ipp_leather_stage_1', 0, NULL),
(@OGUID+18, 180780, 0, 0, 0, 1, 1, -4913.73, -1225.95, 501.651, 2.26893, 0, 0, 0.902585, 0.430511, 180, 100, 1, 'gobject_ipp_bars_stage_1', 0, NULL),
(@OGUID+19, 180800, 0, 0, 0, 1, 1, -4937.28, -1282.87, 501.672, 2.25147, 0, 0, 0.906308, 0.422618, 180, 100, 1, 'gobject_ipp_food_stage_1', 0, NULL),
(@OGUID+20, 180801, 0, 0, 0, 1, 1, -4935.58, -1284.82, 501.671, 2.25147, 0, 0, 0.906308, 0.422618, 180, 100, 1, 'gobject_ipp_herbs_stage_1', 0, NULL);


-- New 'Complete the War Effort' quest. 
DELETE FROM `quest_template` WHERE `ID` IN (108850, 108855);
INSERT INTO `quest_template` (`ID`, `QuestType`, `QuestLevel`, `MinLevel`, `QuestSortID`, `QuestInfoID`, `SuggestedGroupNum`, `RequiredFactionId1`, `RequiredFactionId2`, `RequiredFactionValue1`, `RequiredFactionValue2`, `RewardNextQuest`, `RewardXPDifficulty`, `RewardMoney`, `RewardMoneyDifficulty`, `RewardDisplaySpell`, `RewardSpell`, `RewardHonor`, `RewardKillHonor`, 
`StartItem`, `Flags`, `RequiredPlayerKills`, `RewardItem1`, `RewardAmount1`, `RewardItem2`, `RewardAmount2`, `RewardItem3`, `RewardAmount3`, `RewardItem4`, `RewardAmount4`, `ItemDrop1`, `ItemDropQuantity1`, `ItemDrop2`, `ItemDropQuantity2`, `ItemDrop3`, `ItemDropQuantity3`, `ItemDrop4`, `ItemDropQuantity4`, 
`RewardChoiceItemID1`, `RewardChoiceItemQuantity1`, `RewardChoiceItemID2`, `RewardChoiceItemQuantity2`, `RewardChoiceItemID3`, `RewardChoiceItemQuantity3`, `RewardChoiceItemID4`, `RewardChoiceItemQuantity4`, `RewardChoiceItemID5`, `RewardChoiceItemQuantity5`, `RewardChoiceItemID6`, `RewardChoiceItemQuantity6`, 
`POIContinent`, `POIx`, `POIy`, `POIPriority`, `RewardTitle`, `RewardTalents`, `RewardArenaPoints`, `RewardFactionID1`, `RewardFactionValue1`, `RewardFactionOverride1`, `RewardFactionID2`, `RewardFactionValue2`, `RewardFactionOverride2`, `RewardFactionID3`, `RewardFactionValue3`, `RewardFactionOverride3`, `RewardFactionID4`, `RewardFactionValue4`, `RewardFactionOverride4`, `RewardFactionID5`, `RewardFactionValue5`, `RewardFactionOverride5`, 
`TimeAllowed`, `AllowableRaces`, `LogTitle`, `LogDescription`, `QuestDescription`, `AreaDescription`, `QuestCompletionLog`, `RequiredNpcOrGo1`, `RequiredNpcOrGo2`, `RequiredNpcOrGo3`, `RequiredNpcOrGo4`, `RequiredNpcOrGoCount1`, `RequiredNpcOrGoCount2`, `RequiredNpcOrGoCount3`, `RequiredNpcOrGoCount4`, `RequiredItemId1`, `RequiredItemId2`, `RequiredItemId3`, `RequiredItemId4`, `RequiredItemId5`, `RequiredItemId6`, 
`RequiredItemCount1`, `RequiredItemCount2`, `RequiredItemCount3`, `RequiredItemCount4`, `RequiredItemCount5`, `RequiredItemCount6`, `Unknown0`, `ObjectiveText1`, `ObjectiveText2`, `ObjectiveText3`, `ObjectiveText4`, `VerifiedBuild`) VALUES 
--
(108850, 2, 60, 50, -365, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21513, 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, 1101, 'Complete the War Effort', '', '', NULL, 'Return to Field Marshal Snowfall in Ironforge.', 0, 0, 0, 0, 0, 0, 0, 0, 21436, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, '', '', '', '', 0),
(108855, 2, 60, 50, -365, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21513, 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, 690, 'Complete the War Effort', '', '', NULL, 'Return to Warlord Gorchuk in Orgrimmar.', 0, 0, 0, 0, 0, 0, 0, 0, 21438, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 0, 0, '', '', '', '', 0);

DELETE FROM `quest_offer_reward` WHERE `ID` IN (108850, 108855);
INSERT INTO `quest_offer_reward` (`ID`, `Emote1`, `Emote2`, `Emote3`, `Emote4`, `EmoteDelay1`, `EmoteDelay2`, `EmoteDelay3`, `EmoteDelay4`, `RewardText`, `VerifiedBuild`) VALUES 
(108850, 0, 0, 0, 0, 0, 0, 0, 0, 'You are such a selfless person. Thank you very much for your contribution to the war effort. It\'s people like you that are going to make the difference between success and failure at Ahn\'Qiraj. I just hope that all of this will be enough.$B$BThanks again, $N.', 0),
(108855, 0, 0, 0, 0, 0, 0, 0, 0, 'You are such a selfless person. Thank you very much for your contribution to the war effort. It\'s people like you that are going to make the difference between success and failure at Ahn\'Qiraj. I just hope that all of this will be enough.$B$BThanks again, $N.', 0);

DELETE FROM `quest_template_addon` WHERE `ID` IN (108850, 108855);
INSERT INTO `quest_template_addon` (`ID`, `MaxLevel`, `AllowableClasses`, `SourceSpellID`, `PrevQuestID`, `NextQuestID`, `ExclusiveGroup`, `RewardMailTemplateID`, `RewardMailDelay`, 
`RequiredSkillID`, `RequiredSkillPoints`, `RequiredMinRepFaction`, `RequiredMaxRepFaction`, `RequiredMinRepValue`, `RequiredMaxRepValue`, `ProvidedItemCount`, `SpecialFlags`) VALUES 
(108850, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 256),
(108855, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 256);

DELETE FROM `creature_queststarter` WHERE `id` = 15700 AND `quest` = 108855;
DELETE FROM `creature_queststarter` WHERE `id` = 15701 AND `quest` = 108850;
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES 
(15700, 108855),
(15701, 108850);

DELETE FROM `creature_questender` WHERE `id` = 15700 AND `quest` = 108855;
DELETE FROM `creature_questender` WHERE `id` = 15701 AND `quest` = 108850;
INSERT INTO `creature_questender` (`id`, `quest`) VALUES 
(15700, 108855),
(15701, 108850);

-- Hide 'Complete the War Effort' quests until the player has completed all collection quests at least once
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `ConditionTypeOrReference` = 8 AND `SourceEntry` IN (108850, 108855);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, 
`ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES 
-- Alliance
(19, 0, 108850, 0, 0, 8, 0, 8492, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_COPPER_BARS_A'),
(19, 0, 108850, 0, 0, 8, 0, 8494, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_IRON_BARS'),
(19, 0, 108850, 0, 0, 8, 0, 8499, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_THORIUM_BARS'),
(19, 0, 108850, 0, 0, 8, 0, 8503, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_STRANGLEKELP'),
(19, 0, 108850, 0, 0, 8, 0, 8505, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_PURPLE_LOTUS_A'),
(19, 0, 108850, 0, 0, 8, 0, 8509, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_ARTHAS_TEARS'),
(19, 0, 108850, 0, 0, 8, 0, 8511, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_LIGHT_LEATHER'),
(19, 0, 108850, 0, 0, 8, 0, 8513, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_MEDIUM_LEATHER'),
(19, 0, 108850, 0, 0, 8, 0, 8515, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_THICK_LEATHER_A'),
(19, 0, 108850, 0, 0, 8, 0, 8517, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_LINEN_BANDAGES'),
(19, 0, 108850, 0, 0, 8, 0, 8520, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_SILK_BANDAGES'),
(19, 0, 108850, 0, 0, 8, 0, 8522, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_RUNECLOTH_BANDAGES_A'),
(19, 0, 108850, 0, 0, 8, 0, 8524, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_RAINBOW_FIN'),
(19, 0, 108850, 0, 0, 8, 0, 8526, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_ROAST_RAPTOR'),
(19, 0, 108850, 0, 0, 8, 0, 8528, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_SPOTTED_YELLOWTAIL_A'),
-- Horde
(19, 0, 108855, 0, 0, 8, 0, 8532, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_COPPER_BARS_H'),
(19, 0, 108855, 0, 0, 8, 0, 8542, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_TIN_BARS'),
(19, 0, 108855, 0, 0, 8, 0, 8545, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_MITHRIL_BARS'),
(19, 0, 108855, 0, 0, 8, 0, 8549, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_PEACEBLOOM'),
(19, 0, 108855, 0, 0, 8, 0, 8580, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_FIREBLOOM'),
(19, 0, 108855, 0, 0, 8, 0, 8582, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_PURPLE_LOTUS_H'),
(19, 0, 108855, 0, 0, 8, 0, 8588, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_HEAVY_LEATHER'),
(19, 0, 108855, 0, 0, 8, 0, 8590, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_THICK_LEATHER_H'),
(19, 0, 108855, 0, 0, 8, 0, 8600, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_RUGGED_LEATHER'),
(19, 0, 108855, 0, 0, 8, 0, 8604, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_WOOL_BANDAGES'),
(19, 0, 108855, 0, 0, 8, 0, 8607, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_MAGEWEAVE_BANDAGES'),
(19, 0, 108855, 0, 0, 8, 0, 8609, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_RUNECLOTH_BANDAGES_H'),
(19, 0, 108855, 0, 0, 8, 0, 8611, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_LEAN_WOLF_STEAK'),
(19, 0, 108855, 0, 0, 8, 0, 8613, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_SPOTTED_YELLOWTAIL_H'),
(19, 0, 108855, 0, 0, 8, 0, 8615, 0, 0, 0, 0, 0, '', 'Quest \'Complete the War Effort\' requires QUEST_BAKED_SALMON');


-- Alliance CompletionText fixes
UPDATE `quest_request_items` SET `CompletionText` = 'I do so hope that you have been successful in gathering the thorium bars that we spoke of earlier.' WHERE `ID` = 8499;
UPDATE `quest_request_items` SET `CompletionText` = 'Hello, $C, have you been able to get those twenty silk bandages yet?' WHERE `ID` = 8520;

-- Alliance RewardText fixes
UPDATE `quest_offer_reward` SET `RewardText` = 'Oh thank you, $C! Thank you! That\'s twenty down and an incalculable amount to go. You have the gratitude of the Alliance, and your efforts shall not go unrewarded. Speak to me again should you come across more thorium bars.' WHERE `ID` = 8499;

-- Alliance LogDescription fixes
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Copper Bars to Sergeant Stonebrow in Ironforge.' WHERE `ID` = 8493;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Iron Bars to Corporal Carnes in Ironforge.' WHERE `ID` = 8495;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Thorium Bars to Dame Twinbraid in Ironforge.' WHERE `ID` = 8500;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Stranglekelp to Private Draxlegauge in Ironforge.' WHERE `ID` = 8504;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Purple Lotus to Master Nightsong in Ironforge.' WHERE `ID` = 8506;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Arthas\' Tears to Sergeant Major Germaine in Ironforge.' WHERE `ID` = 8510;
UPDATE `quest_template` SET `LogDescription` = 'Bring 10 Light Leather to Bonnie Stoneflayer in Ironforge.' WHERE `ID` = 8512;
UPDATE `quest_template` SET `LogDescription` = 'Bring 10 Medium Leather to Private Porter in Ironforge.' WHERE `ID` = 8514;
UPDATE `quest_template` SET `LogDescription` = 'Bring 10 Thick Leather to Marta Finespindle in Ironforge.' WHERE `ID` = 8516;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Linen Bandages to Sentinel Silversky in Ironforge.' WHERE `ID` = 8518;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Silk Bandages to Nurse Stonefield in Ironforge.' WHERE `ID` = 8521;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Runecloth Bandages to Keeper Moonshade in Ironforge.' WHERE `ID` = 8523;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Rainbow Fin Albacore to Slicky Gastronome in Ironforge.' WHERE `ID` = 8525;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Roast Raptor to Sarah Sadwhistle in Ironforge.' WHERE `ID` = 8527;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Spotted Yellowtail to Huntress Swiftriver in Ironforge.' WHERE `ID` = 8529;

-- Alliance QuestCompletionLog fixes
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Sergeant Stonebrow in Ironforge.' WHERE `ID` IN (8492, 8493);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Corporal Carnes in Ironforge.' WHERE `ID` IN (8494, 8495);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Dame Twinbraid in Ironforge.' WHERE `ID` IN (8499, 8500);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Private Draxlegauge in Ironforge.' WHERE `ID` IN (8503, 8504);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Master Nightsong in Ironforge.' WHERE `ID` IN (8505, 8506);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Sergeant Major Germaine in Ironforge.' WHERE `ID` IN (8509, 8510);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Bonnie Stoneflayer in Ironforge.' WHERE `ID` IN (8511, 8512);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Private Porter in Ironforge.' WHERE `ID` IN (8513, 8514);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Marta Finespindle in Ironforge.' WHERE `ID` IN (8515, 8516);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Sentinel Silversky in Ironforge.' WHERE `ID` IN (8517, 8518);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Nurse Stonefield in Ironforge.' WHERE `ID` IN (8520, 8521);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Keeper Moonshade in Ironforge.' WHERE `ID` IN (8522, 8523);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Slicky Gastronome in Ironforge.' WHERE `ID` IN (8524, 8525);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Sarah Sadwhistle in Ironforge.' WHERE `ID` IN (8526, 8527);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Huntress Swiftriver in Ironforge.' WHERE `ID` IN (8528, 8529);

-- Horde CompletionText fixes
UPDATE `quest_request_items` SET `CompletionText` = 'How many tin bars do you have there, $c? After the war I think I\'m going to need someone to teach me how to count.' WHERE `ID` = 8542;
UPDATE `quest_request_items` SET `CompletionText` = 'Back so soon with the peacebloom, $c?' WHERE `ID` = 8549;
UPDATE `quest_request_items` SET `CompletionText` = 'Returned already with the purple lotus that I have requested, $C? It is critical that you do so in as timely as fashion as possible lest all that I am attempting here come to naught.' WHERE `ID` = 8582;
UPDATE `quest_request_items` SET `CompletionText` = 'Ah, $C, have you returned so quickly with the wool bandages?' WHERE `ID` = 8604;
UPDATE `quest_request_items` SET `CompletionText` = 'The war comes soon, I think, $C. I thank you for your time and effort devoted to helping with our gathering tasks. Do you return because you have obtained the runecloth bandages that we spoke of before?' WHERE `ID` = 8609;
UPDATE `quest_request_items` SET `CompletionText` = 'Back with those lean wolf steaks so soon, $C? I don\'t care if they\'re overcooked or tartar, just make sure they\'re tasty and get them to me quick!' WHERE `ID` = 8611;
UPDATE `quest_request_items` SET `CompletionText` = 'Back so soon with the spotted yellowtail, $C? You rememba\' to cook it up nice? We not servin\' raw fish to the soldiers out in the hot desert sun, to be sure.' WHERE `ID` = 8613;
UPDATE `quest_request_items` SET `CompletionText` = 'Have you returned with the baked salmon, $C? Remember, it must be cooked; I have no use for raw fish unfortunately.' WHERE `ID` = 8615;

-- Horde RewardText fixes
UPDATE `quest_offer_reward` SET `RewardText` = 'Well, I guess that looks like the right number of tin bars. Don\'t try to fool me, $C! Counting makes my skull hurt. Now I go and put these bars on the stack and you go out and bring me back more of the same.' WHERE `ID` = 8542;
UPDATE `quest_offer_reward` SET `RewardText` = 'And so our efforts push us that much closer to war. Thank you for your hard work in gathering this peacebloom $C. I assure you that it will go to good use, and that your contribution has been noted $N. Should you find yourself willing, please return to me again with more of the flowers. Until then, may the Earth Mother guide you.' WHERE `ID` = 8549;
UPDATE `quest_offer_reward` SET `RewardText` = '$C! Pele\'keiki happy for now. Pele\'keiki take all that firebloom and put it in box so it stay fresh. Pele\'keiki be seein\' to it that all the firebloom bein\' made into good stuff for the war. And if you be gettin\' anymore, you come see Pele\'keiki fast. Pele\'keiki prolly be needin\' more.' WHERE `ID` = 8580;
UPDATE `quest_offer_reward` SET `RewardText` = 'A commendable effort, $C. I will measure these specimens for their appropriate usage and note your contribution. The purple lotus will then need to be properly stored until I am ready for them. As for you, if you are still available I should imagine that I\'ll still need more purple lotus. Please check back with me in a moment.' WHERE `ID` = 8582;
UPDATE `quest_offer_reward` SET `RewardText` = 'Oh, so you do have the heavy leather I needed. Your blade is sharp indeed, $C; these are good skins! Now that we\'ve gotten off on the right foot with one another I\'ll make sure that your contribution is put to good use. And if you happen to come across more heavy leather, bring it my way.' WHERE `ID` = 8588;
UPDATE `quest_offer_reward` SET `RewardText` = 'You have my thanks, $C, and the gratitude of the Horde. If you come across more wool bandages bring them to me here should you wish to further contribute to the war effort. Until then, may your ancestors watch over you!' WHERE `ID` = 8604;
UPDATE `quest_offer_reward` SET `RewardText` = 'You are a credit to the Horde, $C. Thank you for your efforts; they are appreciated! I\'ll have to pack these fresh bandages away and take another count to see how far along we are to our goal. If you\'d like you could gather more runecloth bandages and return them to me here.' WHERE `ID` = 8609;
UPDATE `quest_offer_reward` SET `RewardText` = 'Ok, this stack of meat looks good to me. I\'ll salt them, and then pack them away and hopefully they\'ll keep fresh enough to be edible when the time comes.$B$BThanks for the contribution, $C. Do you think you could bring me another rack?' WHERE `ID` = 8611;
UPDATE `quest_offer_reward` SET `RewardText` = 'Oh ya, this be the good stuff. I pack it up real nice so it not go to waste. Thanks be to you for helpin\' me out like this. I\'m thinkin\' you an A-number-one fisherman for all this spotted yellowtail. An if you happen to fish up and cook even more, you bring it to me here; I make sure everyone know you did!' WHERE `ID` = 8613;
UPDATE `quest_offer_reward` SET `RewardText` = 'Thank you for proving your interest in helping with the war effort here, $C. Many would simply ignore our needs, opting instead to make a profit. But they do not have the gratitude of the Horde, as you now do. Their hearts are not full, as yours must be filled with the pride that comes from selfless giving.$B$BAgain, I thank you. Should you find the time to assist us further before our preparations are complete, I will be here waiting.' WHERE `ID` = 8615;

-- Horde LogDescription fixes
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 copper bars to Miner Cromwell in Orgrimmar.' WHERE `ID` = 8533;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 tin bars to Grunt Maug in Orgrimmar.' WHERE `ID` = 8543;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Mithril Bars to Senior Sergeant T\'kelah in Orgrimmar.' WHERE `ID` = 8546;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Peacebloom to Herbalist Proudfeather in Orgrimmar.' WHERE `ID` = 8550;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Firebloom to Batrider Pele\'keiki in Orgrimmar.' WHERE `ID` = 8581;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Purple Lotus to Apothecary Jezel in Orgrimmar.' WHERE `ID` = 8583;
UPDATE `quest_template` SET `LogDescription` = 'Bring 10 Heavy Leather to Skinner Jamani in Orgrimmar.'  WHERE `ID` = 8589;
UPDATE `quest_template` SET `LogDescription` = 'Bring 10 Thick Leather to Sergeant Umala in Orgrimmar.' WHERE `ID` = 8591;
UPDATE `quest_template` SET `LogDescription` = 'Bring 10 Rugged Leather to Doctor Serratus in Orgrimmar.' WHERE `ID` = 8601;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Wool Bandages to Healer Longrunner in Orgrimmar.' WHERE `ID` = 8605;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Mageweave Bandages to Lady Callow in Orgrimmar.' WHERE `ID` = 8608;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Runecloth Bandages to Stoneguard Clayhoof in Orgrimmar.' WHERE `ID` = 8610;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Lean Wolf Steaks to Bloodguard Rawtar in Orgrimmar.' WHERE `ID` = 8612;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Spotted Yellowtail to Fisherman Lin\'do in Orgrimmar.' WHERE `ID` = 8614;
UPDATE `quest_template` SET `LogDescription` = 'Bring 20 Baked Salmon to Chief Sharpclaw in Orgrimmar.' WHERE `ID` = 8616;

-- Horde QuestCompletionLog fixes
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Miner Cromwell in Orgrimmar.' WHERE `ID` IN (8532, 8533);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Grunt Maug in Orgrimmar.' WHERE `ID` IN (8542, 8543);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Senior Sergeant T\'kelah in Orgrimmar.' WHERE `ID` IN (8545, 8546);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Herbalist Proudfeather in Orgrimmar.' WHERE `ID` IN (8549, 8550);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Batrider Pele\'keiki in Orgrimmar.' WHERE `ID` IN (8580, 8581);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Apothecary Jezel in Orgrimmar.' WHERE `ID` IN (8582, 8583);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Skinner Jamani in Orgrimmar.' WHERE `ID` = 8589;
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Sergeant Umala in Orgrimmar.' WHERE `ID` = 8591;
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Doctor Serratus in Orgrimmar.' WHERE `ID` = 8601;
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Healer Longrunner in Orgrimmar.' WHERE `ID` = 8605;
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Lady Callow in Orgrimmar.' WHERE `ID` = 8608;
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Stoneguard Clayhoof in Orgrimmar.' WHERE `ID` = 8610;
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Bloodguard Rawtar in Orgrimmar.' WHERE `ID` IN (8611, 8612);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Fisherman Lin\'do in Orgrimmar.' WHERE `ID` IN (8613, 8614);
UPDATE `quest_template` SET `QuestCompletionLog` = 'Return to Chief Sharpclaw in Orgrimmar.' WHERE `ID` IN (8615, 8616);

-- Horde quest_template_addon fixes
UPDATE `quest_template_addon` SET `SpecialFlags` = 0 WHERE `ID` = 8609;
UPDATE `quest_template_addon` SET `SpecialFlags` = 1 WHERE `ID` = 8610;

-- make Field Duty Quests repeatable
UPDATE `quest_template_addon` SET `SpecialFlags` = 1 WHERE `ID` IN (8548, 8572, 8573, 8574, 9338); 


================================================
FILE: data/sql/world/base/av.sql
================================================
SET @CGUID    := 657000;
SET @WPID     := 6570000;

/* TBC Patrols - Caves */
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+88, @CGUID+89, @CGUID+105, @CGUID+106, @CGUID+114, @CGUID+133, @CGUID+138, @CGUID+139);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES 
(@CGUID+088, @WPID+880, 0, 0, 0, 0, 0, NULL),
(@CGUID+089, @WPID+890, 0, 0, 0, 0, 0, NULL),
(@CGUID+105, @WPID+1050, 0, 0, 0, 0, 0, NULL),
(@CGUID+106, @WPID+1060, 0, 0, 0, 0, 0, NULL),
(@CGUID+114, @WPID+1140, 0, 0, 0, 0, 0, NULL),
(@CGUID+133, @WPID+1330, 0, 0, 0, 0, 0, NULL),
(@CGUID+138, @WPID+1380, 0, 0, 0, 0, 0, NULL),
(@CGUID+139, @WPID+1390, 0, 0, 0, 0, 0, NULL);

DELETE FROM `waypoint_data` WHERE `id` IN (@WPID+880, @WPID+890, @WPID+1050, @WPID+1060, @WPID+1140, @WPID+1330, @WPID+1380, @WPID+1390);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES 
(@WPID+880, 1, 107.532, 91.634, 3.44018, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 2, 135.909, 68.6533, 3.74254, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 3, 173.596, 71.678, 13.3575, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 4, 188.311, 86.4007, 16.829, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 5, 216.921, 121.522, 13.6167, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 6, 190.155, 90.6858, 17.334, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 7, 173.998, 72.3586, 13.3698, NULL, 0, 0, 0, 100, 0),
(@WPID+880, 8, 142.47, 66.9583, 4.86477, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 1, 34.4731, 67.0783, -0.96716, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 2, 18.8568, 33.434, 0.513404, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 3, 8.27625, 12.1935, -3.36688, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 4, 22.8894, 38.2457, 0.652063, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 5, 33.8784, 70.2081, -1.25908, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 6, 4.04712, 99.1641, 2.97839, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 7, -4.3458, 128.547, 10.5413, NULL, 0, 0, 0, 100, 0),
(@WPID+890, 8, 5.94824, 97.7592, 2.19971, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 1, -1552.87, -462.513, 69.469, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 2, -1559.73, -453.094, 68.9309, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 3, -1571.22, -445.56, 68.1062, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 4, -1571.89, -451.277, 67.0615, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 5, -1558.92, -476.742, 59.8373, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 6, -1573.17, -446.339, 68.4464, NULL, 0, 0, 0, 100, 0),
(@WPID+1050, 7, -1566.42, -445.995, 67.7643, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 1, -1514.54, -447.915, 70.2823, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 2, -1495.22, -442.945, 69.4469, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 3, -1480.59, -465.892, 69.4469, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 4, -1491.62, -453.084, 69.4469, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 5, -1502.4, -457.219, 69.4345, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 6, -1482.83, -437.001, 70.0186, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 7, -1479.76, -464.368, 69.4469, NULL, 0, 0, 0, 100, 0),
(@WPID+1060, 8, -1495.49, -441.992, 69.4469, NULL, 0, 0, 0, 100, 0),
(@WPID+1140, 1, -1539.52, -460.755, 70.077, NULL, 0, 0, 0, 100, 0),
(@WPID+1140, 2, -1517.66, -448.317, 70.4951, NULL, 0, 0, 0, 100, 0),
(@WPID+1140, 3, -1510.93, -453.055, 69.447, NULL, 0, 0, 0, 100, 0),
(@WPID+1140, 4, -1513.69, -461.901, 69.447, NULL, 0, 0, 0, 100, 0),
(@WPID+1140, 5, -1535.12, -472.623, 69.6797, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 1, -1594.06, -367.967, 69.0143, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 2, -1567.27, -395.809, 65.3724, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 3, -1573.34, -415.208, 71.257, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 4, -1596.75, -443.826, 77.3819, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 5, -1611.53, -440.844, 80.1471, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 6, -1611.88, -422.006, 76.6271, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 7, -1601.56, -400.693, 80.8361, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 8, -1616.2, -435.566, 80.0329, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 9, -1594.53, -443.173, 76.8117, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 10, -1573.21, -415.46, 71.2936, NULL, 0, 0, 0, 100, 0),
(@WPID+1330, 11, -1569.72, -394.342, 65.5518, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 1, -1638.22, -460.302, 51.8857, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 2, -1646.52, -447.43, 49.9786, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 3, -1638.71, -427.875, 49.1378, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 4, -1663.81, -421.352, 45.5899, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 5, -1638.18, -426.447, 48.9697, NULL, 0, 0, 0, 100, 0),
(@WPID+1380, 6, -1645.98, -446.584, 49.8422, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 1, 24.0984, 88.1343, 20.8263, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 2, -1.99808, 80.9053, 19.3438, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 3, -14.1757, 58.9795, 16.3095, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 4, -15.216, 36.8524, 16.8846, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 5, -14.1757, 58.9795, 16.3095, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 6, -2.69029, 79.8757, 19.3488, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 7, 24.0984, 88.1343, 20.8263, NULL, 0, 0, 0, 100, 0),
(@WPID+1390, 8, 42.8103, 103.346, 21.9067, NULL, 0, 0, 0, 100, 0);

/* WOTLK Patrols - Caves */
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+164, @CGUID+165, @CGUID+181, @CGUID+182, @CGUID+190, @CGUID+209, @CGUID+214, @CGUID+215);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES 
(@CGUID+164, @WPID+880, 0, 0, 0, 0, 0, NULL),
(@CGUID+165, @WPID+890, 0, 0, 0, 0, 0, NULL),
(@CGUID+181, @WPID+1050, 0, 0, 0, 0, 0, NULL),
(@CGUID+182, @WPID+1060, 0, 0, 0, 0, 0, NULL),
(@CGUID+190, @WPID+1140, 0, 0, 0, 0, 0, NULL),
(@CGUID+209, @WPID+1330, 0, 0, 0, 0, 0, NULL),
(@CGUID+214, @WPID+1380, 0, 0, 0, 0, 0, NULL),
(@CGUID+215, @WPID+1390, 0, 0, 0, 0, 0, NULL);


/* ORIGINAL VANILLA AV */

/* patrols */
DELETE FROM `creature_formations` WHERE `leaderGUID` IN 
(@CGUID+630, @CGUID+645, @CGUID+647, @CGUID+649, @CGUID+651, @CGUID+653, @CGUID+655, @CGUID+657, @CGUID+659, @CGUID+662, @CGUID+683, @CGUID+684,
 @CGUID+732, @CGUID+734, @CGUID+736, @CGUID+738, @CGUID+740, @CGUID+742, @CGUID+744, @CGUID+745, @CGUID+746, @CGUID+747, @CGUID+748, @CGUID+749,
 @CGUID+751, @CGUID+753, @CGUID+755, @CGUID+757, @CGUID+759, @CGUID+761, @CGUID+763);

INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`, `point_1`, `point_2`) VALUES
-- alliance
(@CGUID+630, @CGUID+630, 0, 0, 515, 0, 0),    
(@CGUID+630, @CGUID+631, 3, 135, 515, 0, 0),
(@CGUID+630, @CGUID+632, 3, 225, 515, 0, 0),
(@CGUID+645, @CGUID+645, 0, 0, 515, 0, 0),    
(@CGUID+645, @CGUID+646, 3, 270, 515, 0, 0),
(@CGUID+647, @CGUID+647, 0, 0, 515, 0, 0),    
(@CGUID+647, @CGUID+648, 3, 270, 515, 0, 0),
(@CGUID+649, @CGUID+649, 0, 0, 515, 0, 0),    
(@CGUID+649, @CGUID+650, 3, 270, 515, 0, 0),
(@CGUID+651, @CGUID+651, 0, 0, 515, 0, 0),    
(@CGUID+651, @CGUID+652, 3, 270, 515, 0, 0),
(@CGUID+653, @CGUID+653, 0, 0, 515, 0, 0),    
(@CGUID+653, @CGUID+654, 3, 270, 515, 0, 0),
(@CGUID+655, @CGUID+655, 0, 0, 515, 0, 0),    
(@CGUID+655, @CGUID+656, 3, 270, 515, 0, 0),
(@CGUID+657, @CGUID+657, 0, 0, 515, 0, 0),    
(@CGUID+657, @CGUID+658, 3, 270, 515, 0, 0),
(@CGUID+659, @CGUID+659, 0, 0, 515, 0, 0),    
(@CGUID+659, @CGUID+660, 3, 270, 515, 0, 0),
(@CGUID+662, @CGUID+662, 0, 0, 515, 0, 0),    
(@CGUID+662, @CGUID+663, 3, 135, 515, 0, 0),
(@CGUID+662, @CGUID+664, 3, 225, 515, 0, 0),
(@CGUID+683, @CGUID+679, 0, 0, 515, 0, 0),    
(@CGUID+683, @CGUID+665, 3, 135, 515, 0, 0),
(@CGUID+683, @CGUID+666, 3, 225, 515, 0, 0),
(@CGUID+684, @CGUID+684, 0, 0, 515, 0, 0),    
(@CGUID+684, @CGUID+667, 3, 135, 515, 0, 0),
(@CGUID+684, @CGUID+668, 3, 225, 515, 0, 0),

-- horde
(@CGUID+732, @CGUID+732, 0, 0, 515, 0, 0),
(@CGUID+732, @CGUID+733, 3, 270, 515, 0, 0),
(@CGUID+734, @CGUID+734, 0, 0, 515, 0, 0),
(@CGUID+734, @CGUID+735, 3, 270, 515, 0, 0),
(@CGUID+736, @CGUID+736, 0, 0, 515, 0, 0),
(@CGUID+736, @CGUID+737, 3, 270, 515, 0, 0),
(@CGUID+738, @CGUID+738, 0, 0, 515, 0, 0),
(@CGUID+738, @CGUID+739, 3, 270, 515, 0, 0),
(@CGUID+740, @CGUID+740, 0, 0, 515, 0, 0),
(@CGUID+740, @CGUID+741, 3, 270, 515, 0, 0),
(@CGUID+742, @CGUID+742, 0, 0, 515, 0, 0),
(@CGUID+742, @CGUID+743, 3, 270, 515, 0, 0),
(@CGUID+744, @CGUID+744, 0, 0, 515, 0, 0),
(@CGUID+744, @CGUID+771, 3, 135, 515, 0, 0),
(@CGUID+744, @CGUID+772, 3, 225, 515, 0, 0),
(@CGUID+745, @CGUID+745, 0, 0, 515, 0, 0),
(@CGUID+745, @CGUID+773, 3, 135, 515, 0, 0),
(@CGUID+745, @CGUID+774, 3, 225, 515, 0, 0),
(@CGUID+746, @CGUID+746, 0, 0, 515, 0, 0),
(@CGUID+746, @CGUID+775, 3, 135, 515, 0, 0),
(@CGUID+746, @CGUID+776, 3, 225, 515, 0, 0),
(@CGUID+747, @CGUID+747, 0, 0, 515, 0, 0),
(@CGUID+747, @CGUID+777, 3, 135, 515, 0, 0),
(@CGUID+747, @CGUID+778, 3, 225, 515, 0, 0),
(@CGUID+748, @CGUID+748, 0, 0, 515, 0, 0),
(@CGUID+748, @CGUID+779, 3, 135, 515, 0, 0),
(@CGUID+748, @CGUID+780, 3, 225, 515, 0, 0),
(@CGUID+749, @CGUID+749, 0, 0, 515, 0, 0),
(@CGUID+749, @CGUID+750, 3, 270, 515, 0, 0),
(@CGUID+751, @CGUID+751, 0, 0, 515, 0, 0),
(@CGUID+751, @CGUID+752, 3, 270, 515, 0, 0),
(@CGUID+753, @CGUID+753, 0, 0, 515, 0, 0),
(@CGUID+753, @CGUID+754, 3, 270, 515, 0, 0),
(@CGUID+755, @CGUID+755, 0, 0, 515, 0, 0),
(@CGUID+755, @CGUID+756, 3, 270, 515, 0, 0),
(@CGUID+757, @CGUID+757, 0, 0, 515, 0, 0),
(@CGUID+757, @CGUID+758, 3, 270, 515, 0, 0),
(@CGUID+759, @CGUID+759, 0, 0, 515, 0, 0),
(@CGUID+759, @CGUID+760, 3, 270, 515, 0, 0),
(@CGUID+761, @CGUID+761, 0, 0, 515, 0, 0),
(@CGUID+761, @CGUID+762, 3, 270, 515, 0, 0),
(@CGUID+763, @CGUID+763, 0, 0, 515, 0, 0),
(@CGUID+763, @CGUID+764, 3, 135, 515, 0, 0),
(@CGUID+763, @CGUID+765, 3, 225, 515, 0, 0);

-- sitting / sleeping
DELETE FROM `creature_addon` WHERE `guid` IN (@CGUID+313, @CGUID+314, @CGUID+315, @CGUID+413, @CGUID+414, @CGUID+415);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
--
(@CGUID+313, 0, 0, 1, 0, 0, 0, NULL),    -- Wing Commander Ichman, sitting
-- (@CGUID+314, 0, 0, 1, 0, 0, 0, NULL), -- Wing Commander Slidore, stands
(@CGUID+315, 0, 0, 1, 0, 0, 0, NULL),    -- Wing Commander Vipore, sitting
(@CGUID+413, 0, 0, 3, 0, 0, 0, NULL),    -- Wing Commander Guse, sleeping
(@CGUID+414, 0, 0, 3, 0, 0, 0, NULL),    -- Wing Commander Jeztor, sleeping
(@CGUID+415, 0, 0, 3, 0, 0, 0, NULL);    -- Wing Commander Mulverick, sleeping

DELETE FROM `creature_addon` WHERE `guid` IN 
(@CGUID+301, @CGUID+307, @CGUID+309, @CGUID+310, @CGUID+312, @CGUID+626, @CGUID+627, @CGUID+628, @CGUID+629, @CGUID+630, @CGUID+645,
 @CGUID+647, @CGUID+649, @CGUID+651, @CGUID+653, @CGUID+655, @CGUID+657, @CGUID+659, @CGUID+661, @CGUID+662, @CGUID+683, @CGUID+684,
 @CGUID+408, @CGUID+409, @CGUID+412, @CGUID+732, @CGUID+734, @CGUID+736, @CGUID+738, @CGUID+740, @CGUID+742, @CGUID+744, @CGUID+745, 
 @CGUID+746, @CGUID+747, @CGUID+748, @CGUID+749, @CGUID+751, @CGUID+753, @CGUID+755, @CGUID+757, @CGUID+759, @CGUID+761, @CGUID+763);

INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES 
-- alliance
(@CGUID+301, @WPID+3010, 14577, 0, 0, 0, 0, NULL),
(@CGUID+307, @WPID+3070, 14577, 0, 0, 0, 0, NULL),
(@CGUID+309, @WPID+3090, 14330, 0, 0, 0, 0, NULL),
(@CGUID+310, @WPID+3100, 14337, 0, 0, 0, 0, NULL),
(@CGUID+312, @WPID+3120, 0, 0, 0, 0, 0, NULL), -- Stormpike Mine Layer
--
(@CGUID+626, @WPID+6260, 0, 0, 0, 0, 0, NULL),
(@CGUID+627, @WPID+6270, 0, 0, 0, 0, 0, NULL),
(@CGUID+628, @WPID+6280, 0, 0, 0, 0, 0, NULL),
(@CGUID+629, @WPID+6290, 0, 0, 0, 0, 0, NULL),
(@CGUID+630, @WPID+6300, 0, 0, 0, 0, 0, NULL),
(@CGUID+645, @WPID+6450, 0, 0, 0, 0, 0, NULL),
(@CGUID+647, @WPID+6470, 0, 0, 0, 0, 0, NULL),
(@CGUID+649, @WPID+6490, 0, 0, 0, 0, 0, NULL),
(@CGUID+651, @WPID+6510, 0, 0, 0, 0, 0, NULL),
(@CGUID+653, @WPID+6530, 0, 0, 0, 0, 0, NULL),
(@CGUID+655, @WPID+6550, 0, 0, 0, 0, 0, NULL),
(@CGUID+657, @WPID+6570, 0, 0, 0, 0, 0, NULL),
(@CGUID+659, @WPID+6590, 0, 0, 0, 0, 0, NULL),
(@CGUID+661, @WPID+6610, 0, 0, 0, 0, 0, NULL),
(@CGUID+662, @WPID+6620, 0, 0, 0, 0, 0, NULL),
(@CGUID+683, @WPID+6830, 0, 0, 0, 0, 0, NULL),
(@CGUID+684, @WPID+6840, 0, 0, 0, 0, 0, NULL),

-- horde
(@CGUID+408, @WPID+4080, 0, 0, 0, 0, 0, NULL), 
(@CGUID+409, @WPID+4090, 0, 0, 0, 0, 0, NULL),
(@CGUID+412, @WPID+4120, 0, 0, 0, 0, 0, NULL), -- Frostwolf Mine Layer
--
(@CGUID+732, @WPID+7320, 0, 0, 0, 0, 0, NULL),
(@CGUID+734, @WPID+7340, 0, 0, 0, 0, 0, NULL),
(@CGUID+736, @WPID+7360, 0, 0, 0, 0, 0, NULL),
(@CGUID+738, @WPID+7380, 0, 0, 0, 0, 0, NULL),
(@CGUID+740, @WPID+7400, 0, 0, 0, 0, 0, NULL),
(@CGUID+742, @WPID+7420, 0, 0, 0, 0, 0, NULL),
(@CGUID+744, @WPID+7440, 0, 0, 0, 0, 0, NULL),
(@CGUID+745, @WPID+7450, 0, 0, 0, 0, 0, NULL),
(@CGUID+746, @WPID+7460, 0, 0, 0, 0, 0, NULL),
(@CGUID+747, @WPID+7470, 0, 0, 0, 0, 0, NULL),
(@CGUID+748, @WPID+7480, 0, 0, 0, 0, 0, NULL),
(@CGUID+749, @WPID+7490, 0, 0, 0, 0, 0, NULL),
(@CGUID+751, @WPID+7510, 0, 0, 0, 0, 0, NULL),
(@CGUID+753, @WPID+7530, 0, 0, 0, 0, 0, NULL),
(@CGUID+755, @WPID+7550, 0, 0, 0, 0, 0, NULL),
(@CGUID+757, @WPID+7570, 0, 0, 0, 0, 0, NULL),
(@CGUID+759, @WPID+7590, 0, 0, 0, 0, 0, NULL),
(@CGUID+761, @WPID+7610, 0, 0, 0, 0, 0, NULL),
(@CGUID+763, @WPID+7630, 0, 0, 0, 0, 0, NULL);

DELETE FROM `waypoint_data` WHERE `id` IN (@WPID+3010, @WPID+3070, @WPID+3090, @WPID+3100, @WPID+3120, @WPID+3150, @WPID+4080, @WPID+4090, @WPID+4120, @WPID+4150);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES 
--
(@WPID+3010, 1, 653.598, -115.267, 49.6462, 0.943236, 0, 0, 0, 100, 0), -- Commander Mortimer
(@WPID+3010, 2, 655.92, -111.943, 50.4109, 0.966798, 0, 0, 0, 100, 0),
(@WPID+3010, 3, 658.039, -109.247, 51.5116, 1.18671, 0, 0, 0, 100, 0),
(@WPID+3010, 4, 659.434, -106.768, 51.5116, 1.13566, 0, 0, 0, 100, 0),
(@WPID+3010, 5, 659.117, -104.174, 51.5723, 1.709, 0, 0, 0, 100, 0),
(@WPID+3010, 6, 657.077, -102.022, 51.5705, 2.32946, 0, 0, 0, 100, 0),
(@WPID+3010, 7, 651.129, -98.3088, 50.4554, 2.48654, 0, 0, 0, 100, 0),
(@WPID+3010, 8, 645.596, -93.765, 48.3277, 2.48261, 0, 0, 0, 100, 0),
(@WPID+3010, 9, 641.269, -93.6833, 45.5799, 3.12271, 0, 0, 0, 100, 0),
(@WPID+3010, 10, 635.295, -97.3645, 41.9962, 3.69605, 0, 0, 0, 100, 0),
(@WPID+3010, 11, 632.675, -97.9809, 41.2076, 3.35833, 0, 0, 0, 100, 0),
(@WPID+3010, 12, 630.823, -96.5563, 41.1572, 2.45905, 0, 0, 0, 100, 0),
(@WPID+3010, 13, 630.968, -92.2804, 41.3355, 1.45767, 0, 0, 0, 100, 0),
(@WPID+3010, 14, 635.823, -77.9076, 41.6328, 1.24954, 0, 0, 0, 100, 0),
(@WPID+3010, 15, 631.714, -71.0497, 41.3858, 2.10562, 0, 0, 0, 100, 0),
(@WPID+3010, 16, 626.777, -68.9103, 40.6343, 2.74964, 0, 0, 0, 100, 0),
(@WPID+3010, 17, 620.386, -71.0641, 39.4183, 3.48399, 0, 0, 0, 100, 0),
(@WPID+3010, 18, 614.252, -74.8627, 38.8792, 3.69605, 0, 0, 0, 100, 0),
(@WPID+3010, 19, 601.899, -89.4435, 38.2791, 4.0102, 0, 0, 0, 100, 0),
(@WPID+3010, 20, 597.366, -90.4418, 38.5567, 3.35832, 0, 0, 0, 100, 0),
(@WPID+3010, 21, 593.928, -88.603, 39.3031, 2.63575, 0, 0, 0, 100, 0),
(@WPID+3010, 22, 591.415, -83.9774, 39.7882, 2.07026, 0, 0, 0, 100, 0),
(@WPID+3010, 23, 589.734, -79.7767, 38.735, 1.95638, 0, 0, 0, 100, 0),
(@WPID+3010, 24, 586.888, -72.7648, 38.0094, 1.95638, 0, 0, 0, 100, 0),
(@WPID+3010, 25, 589.227, -78.4653, 38.2749, 5.08619, 0, 0, 0, 100, 0),
(@WPID+3010, 26, 590.95, -82.8594, 39.7882, 5.08619, 0, 0, 0, 100, 0),
(@WPID+3010, 27, 593.188, -87.0563, 39.4937, 5.18045, 0, 0, 0, 100, 0),
(@WPID+3010, 28, 594.774, -89.0341, 39.141, 5.39643, 0, 0, 0, 100, 0),
(@WPID+3010, 29, 598.965, -90.3969, 38.4637, 5.96977, 0, 0, 0, 100, 0),
(@WPID+3010, 30, 603.177, -88.9739, 38.3761, 0.303122, 0, 0, 0, 100, 0),
(@WPID+3010, 31, 619.188, -70.5451, 39.1902, 0.864683, 0, 0, 0, 100, 0),
(@WPID+3010, 32, 625.071, -67.0078, 40.4487, 0.54267, 0, 0, 0, 100, 0),
(@WPID+3010, 33, 630.169, -68.6016, 41.1686, 5.9737, 0, 0, 0, 100, 0),
(@WPID+3010, 34, 634.199, -73.8156, 41.6552, 5.36895, 0, 0, 0, 100, 0),
(@WPID+3010, 35, 634.678, -81.1657, 41.4716, 4.74849, 0, 0, 0, 100, 0),
(@WPID+3010, 36, 630.754, -93.3805, 41.2966, 4.39899, 0, 0, 0, 100, 0),
(@WPID+3010, 37, 631.152, -96.4372, 41.1902, 4.84274, 0, 0, 0, 100, 0),
(@WPID+3010, 38, 632.354, -97.7148, 41.1954, 5.46712, 0, 0, 0, 100, 0),
(@WPID+3010, 39, 634.928, -97.6527, 41.854, 0.024311, 0, 0, 0, 100, 0),
(@WPID+3010, 40, 639.609, -94.4097, 44.2793, 0.597652, 0, 0, 0, 100, 0),
(@WPID+3010, 41, 644.314, -93.1365, 47.706, 0.259931, 0, 0, 0, 100, 0),
(@WPID+3010, 42, 647.031, -94.2219, 48.9521, 5.90302, 0, 0, 0, 100, 0),
(@WPID+3010, 43, 651.335, -99.0594, 50.4994, 5.43964, 0, 0, 0, 100, 0),
(@WPID+3010, 44, 656.345, -101.926, 51.4952, 5.76557, 0, 0, 0, 100, 0),
(@WPID+3010, 45, 658.221, -104.067, 51.4981, 5.43178, 0, 0, 0, 100, 0),
(@WPID+3010, 46, 658.734, -106.946, 51.5116, 4.84273, 0, 0, 0, 100, 0),
(@WPID+3010, 47, 658.301, -108.967, 51.5116, 4.50109, 0, 0, 0, 100, 0),
(@WPID+3010, 48, 656.943, -111.014, 50.8498, 4.09661, 0, 0, 0, 100, 0),
--
(@WPID+3070, 1, 20.5385, -300.612, 14.0377, 6.13079, 0, 0, 0, 100, 0), -- Lieutenant Stouthandle
(@WPID+3070, 2, 26.436, -300.733, 14.7413, 0.102854, 0, 0, 0, 100, 0),
(@WPID+3070, 3, 32.1915, -293.987, 15.9476, 0.923595, 0, 0, 0, 100, 0),
(@WPID+3070, 4, 31.804, -285.175, 16.3947, 1.61475, 0, 0, 0, 100, 0),
(@WPID+3070, 5, 29.4237, -277.669, 16.2304, 1.87785, 0, 0, 0, 100, 0),
(@WPID+3070, 6, 34.8445, -255.776, 14.6465, 1.32808, 0, 0, 0, 100, 0),
(@WPID+3070, 7, 41.2694, -249.733, 15.0562, 0.754737, 0, 0, 0, 100, 0),
(@WPID+3070, 8, 58.9425, -250.762, 16.5629, 6.22504, 0, 0, 0, 100, 0),
(@WPID+3070, 9, 73.7831, -258.409, 18.8874, 5.58494, 0, 0, 0, 100, 0),
(@WPID+3070, 10, 85.6557, -271.541, 23.6016, 5.21187, 0, 0, 0, 100, 0),
(@WPID+3070, 11, 110.317, -328.334, 38.9906, 5.13725, 0, 0, 0, 100, 0),
(@WPID+3070, 12, 116.778, -343.728, 41.8033, 5.10976, 0, 0, 0, 100, 0),
(@WPID+3070, 13, 123.607, -365.265, 43.1715, 5.01944, 0, 0, 0, 100, 0),
(@WPID+3070, 14, 136.662, -388.05, 42.347, 5.58885, 0, 0, 0, 100, 0),
(@WPID+3070, 15, 157.657, -399.123, 42.6697, 5.8441, 0, 0, 0, 100, 0),
(@WPID+3070, 16, 202.194, -410.218, 42.7412, 5.99333, 0, 0, 0, 100, 0),
(@WPID+3070, 17, 161.392, -400.697, 42.6323, 2.8753, 0, 0, 0, 100, 0),
(@WPID+3070, 18, 131.563, -385.215, 42.243, 2.16844, 0, 0, 0, 100, 0),
(@WPID+3070, 19, 121.143, -362.801, 43.1667, 1.85036, 0, 0, 0, 100, 0),
(@WPID+3070, 20, 113.079, -339.592, 41.0089, 2.08205, 0, 0, 0, 100, 0),
(@WPID+3070, 21, 100.821, -312.777, 34.5025, 1.99958, 0, 0, 0, 100, 0),
(@WPID+3070, 22, 88.6117, -281.703, 26.1741, 1.93675, 0, 0, 0, 100, 0),
(@WPID+3070, 23, 76.1719, -260.515, 19.6805, 2.10168, 0, 0, 0, 100, 0),
(@WPID+3070, 24, 54.2795, -249.877, 16.1304, 2.67502, 0, 0, 0, 100, 0),
(@WPID+3070, 25, 44.4561, -249.575, 15.3614, 3.11091, 0, 0, 0, 100, 0),
(@WPID+3070, 26, 35.2079, -258.275, 14.9212, 4.03768, 0, 0, 0, 100, 0),
(@WPID+3070, 27, 32.2688, -271.755, 16.0664, 4.60317, 0, 0, 0, 100, 0),
(@WPID+3070, 28, 32.9146, -282.572, 16.4945, 4.77203, 0, 0, 0, 100, 0),
(@WPID+3070, 29, 33.3239, -289.426, 16.3506, 4.53641, 0, 0, 0, 100, 0),
(@WPID+3070, 30, 28.9365, -299.266, 15.1679, 4.29294, 0, 0, 0, 100, 0),
--
(@WPID+3090, 1, 189.583, -408.292, 42.8614, 2.91853, 0, 0, 0, 100, 0), -- Lieutenant Lonadin
(@WPID+3090, 2, 157.687, -399.475, 42.6531, 2.86355, 0, 0, 0, 100, 0),
(@WPID+3090, 3, 129.894, -384.79, 42.3888, 2.66328, 0, 0, 0, 100, 0),
(@WPID+3090, 4, 119.976, -379.761, 43.1661, 2.69862, 0, 0, 0, 100, 0),
(@WPID+3090, 5, 113.276, -381.264, 44.3448, 3.36228, 0, 0, 0, 100, 0),
(@WPID+3090, 6, 102.327, -387.751, 45.0957, 3.67644, 0, 0, 0, 100, 0),
(@WPID+3090, 7, 88.0951, -391.596, 45.0622, 3.40548, 0, 0, 0, 100, 0),
(@WPID+3090, 8, 71.4223, -392.457, 45.1981, 3.19342, 0, 0, 0, 100, 0),
(@WPID+3090, 9, 86.1501, -392.036, 45.0769, 6.2761, 0, 0, 0, 100, 0),
(@WPID+3090, 10, 98.7019, -389.585, 45.1009, 0.193194, 0, 0, 0, 100, 0),
(@WPID+3090, 11, 111.698, -382.625, 44.5408, 0.491645, 0, 0, 0, 100, 0),
(@WPID+3090, 12, 125.478, -382.48, 42.7656, 0.059675, 0, 0, 0, 100, 0),
(@WPID+3090, 13, 134.687, -385.911, 42.2517, 5.9266, 0, 0, 0, 100, 0),
(@WPID+3090, 14, 151.279, -396.359, 42.6929, 5.7224, 0, 0, 0, 100, 0),
(@WPID+3090, 15, 163.285, -400.572, 42.6012, 5.90304, 0, 0, 0, 100, 0),
(@WPID+3090, 16, 205.034, -411.723, 42.3597, 6.00907, 0, 0, 0, 100, 0),
--
(@WPID+3100, 1, -46.3275, -475.802, 43.6028, 2.41192, 0, 0, 0, 100, 0), -- Lieutenant Mancuso
(@WPID+3100, 2, -56.8769, -468.587, 38.9622, 2.55722, 0, 0, 0, 100, 0),
(@WPID+3100, 3, -83.7558, -456.185, 24.874, 2.71823, 0, 0, 0, 100, 0),
(@WPID+3100, 4, -98.7495, -438.009, 18.5576, 2.2627, 0, 0, 0, 100, 0),
(@WPID+3100, 5, -97.1748, -403.718, 15.3302, 1.5362, 0, 0, 0, 100, 0),
(@WPID+3100, 6, -88.9565, -388.602, 14.6345, 1.07281, 0, 0, 0, 100, 0),
(@WPID+3100, 7, -67.933, -375.806, 13.8509, 0.487687, 0, 0, 0, 100, 0),
(@WPID+3100, 8, -58.2081, -375.302, 13.2586, 0.051792, 0, 0, 0, 100, 0),
(@WPID+3100, 9, -48.0795, -384.578, 15.9529, 5.54173, 0, 0, 0, 100, 0),
(@WPID+3100, 10, -42.625, -396.119, 21.2069, 5.13724, 0, 0, 0, 100, 0),
(@WPID+3100, 11, -32.8299, -413.053, 33.7497, 5.61633, 0, 0, 0, 100, 0),
(@WPID+3100, 12, -15.5679, -416.134, 43.5023, 0.024298, 0, 0, 0, 100, 0),
(@WPID+3100, 13, -11.9361, -425.266, 45.2877, 4.35185, 0, 0, 0, 100, 0),
(@WPID+3100, 14, -17.6743, -438.845, 46.0131, 4.31258, 0, 0, 0, 100, 0),
(@WPID+3100, 15, -22.5272, -451.138, 46.1764, 4.47359, 0, 0, 0, 100, 0),
(@WPID+3100, 16, -19.6193, -471.596, 45.2994, 4.85451, 0, 0, 0, 100, 0),
(@WPID+3100, 17, -36.4671, -483.451, 44.9608, 3.75102, 0, 0, 0, 100, 0),
--
(@WPID+3120, 1, 243.319, -361.115, 43.2876, 4.76966, 0, 0, 0, 100, 0), -- Stormpike Mine Layer
(@WPID+3120, 2, 240.517, -378.595, 43.2988, 4.32199, 0, 0, 0, 100, 0),
(@WPID+3120, 3, 231.145, -404.482, 41.9975, 4.36518, 0, 0, 0, 100, 0),
(@WPID+3120, 4, 216.078, -415.537, 40.7498, 3.68189, 0, 0, 0, 100, 0),
(@WPID+3120, 5, 197.374, -409.555, 42.9137, 2.83366, 0, 0, 0, 100, 0),
(@WPID+3120, 6, 152.111, -396.642, 42.726, 2.869, 0, 0, 0, 100, 0),
(@WPID+3120, 7, 128.465, -382.543, 42.5277, 2.60982, 0, 0, 0, 100, 0),
(@WPID+3120, 8, 114.669, -382.37, 44.1578, 3.13211, 0, 0, 0, 100, 0),
(@WPID+3120, 9, 95.5556, -389.901, 45.1016, 3.51695, 0, 0, 0, 100, 0),
(@WPID+3120, 10, 30.7679, -392.08, 45.6855, 3.15174, 0, 0, 0, 100, 0),
(@WPID+3120, 11, 2.83746, -413.838, 45.182, 3.60335, 0, 0, 0, 100, 0),
(@WPID+3120, 12, -16.7016, -414.273, 42.8132, 3.22636, 0, 0, 0, 100, 0),
(@WPID+3120, 13, -35.3962, -408.202, 30.4491, 2.82973, 0, 0, 0, 100, 0),
(@WPID+3120, 14, -48.1109, -382.652, 15.3663, 2.03255, 0, 0, 0, 100, 0),
(@WPID+3120, 15, -59.6876, -375.667, 13.313, 2.91612, 0, 0, 0, 100, 0),
(@WPID+3120, 16, -75.4337, -381.099, 14.5858, 3.47376, 0, 0, 0, 100, 0),
(@WPID+3120, 17, -94.8048, -399.109, 14.9731, 4.18454, 0, 0, 0, 100, 0),
(@WPID+3120, 18, -99.9855, -441.043, 19.1836, 4.59295, 0, 0, 0, 100, 0),
(@WPID+3120, 19, -116.763, -477.704, 25.9255, 4.28664, 0, 0, 0, 100, 0),
(@WPID+3120, 20, -102.028, -445.541, 20.3236, 1.19217, 0, 0, 0, 100, 0),
(@WPID+3120, 21, -96.9118, -413.502, 16.3976, 1.41601, 0, 0, 0, 100, 0),
(@WPID+3120, 22, -88.7331, -390.333, 14.6977, 0.858379, 0, 0, 0, 100, 0),
(@WPID+3120, 23, -65.2797, -376.01, 13.647, 6.10877, 0, 0, 0, 100, 0),
(@WPID+3120, 24, -48.3145, -382.622, 15.3311, 5.95169, 0, 0, 0, 100, 0),
(@WPID+3120, 25, -39.2502, -406.533, 27.9585, 5.12309, 0, 0, 0, 100, 0),
(@WPID+3120, 26, -26.3121, -413.598, 37.3786, 5.79068, 0, 0, 0, 100, 0),
(@WPID+3120, 27, -9.65554, -413.722, 44.9439, 6.27762, 0, 0, 0, 100, 0),
(@WPID+3120, 28, 26.4651, -393.77, 45.7248, 0.508871, 0, 0, 0, 100, 0),
(@WPID+3120, 29, 75.5615, -393.094, 45.0916, 6.26977, 0, 0, 0, 100, 0),
(@WPID+3120, 30, 102.53, -387.559, 45.0956, 0.202565, 0, 0, 0, 100, 0),
(@WPID+3120, 31, 124.838, -380.291, 42.7231, 0.233981, 0, 0, 0, 100, 0),
(@WPID+3120, 32, 168.96, -401.78, 42.6898, 5.82995, 0, 0, 0, 100, 0),
(@WPID+3120, 33, 205.047, -411.444, 42.3801, 6.00273, 0, 0, 0, 100, 0),
(@WPID+3120, 34, 225.489, -410.059, 41.3104, 0.752346, 0, 0, 0, 100, 0),
(@WPID+3120, 35, 235.53, -392.045, 43.2851, 1.04294, 0, 0, 0, 100, 0),
--
(@WPID+4080, 1, -492.423, -289.377, 29.7264, 4.04167, 0, 0, 0, 100, 0), -- Lieutenant Grummus
(@WPID+4080, 2, -497.762, -297.945, 31.133, 4.21838, 0, 0, 0, 100, 0),
(@WPID+4080, 3, -507.709, -318.365, 32.2222, 4.19874, 0, 0, 0, 100, 0),
(@WPID+4080, 4, -517.775, -332.822, 33.9402, 4.03774, 0, 0, 0, 100, 0),
(@WPID+4080, 5, -524.759, -338.753, 34.6191, 3.83354, 0, 0, 0, 100, 0),
(@WPID+4080, 6, -536.356, -341.022, 36.4656, 3.33481, 0, 0, 0, 100, 0),
(@WPID+4080, 7, -542.926, -338.895, 37.5296, 2.82823, 0, 0, 0, 100, 0),
(@WPID+4080, 8, -552.972, -329.317, 38.6164, 2.36485, 0, 0, 0, 100, 0),
(@WPID+4080, 9, -564.859, -322.297, 41.2797, 2.61617, 0, 0, 0, 100, 0),
(@WPID+4080, 10, -573.339, -317.897, 44.3184, 2.67115, 0, 0, 0, 100, 0),
(@WPID+4080, 11, -561.319, -323.259, 40.0653, 5.8206, 0, 0, 0, 100, 0),
(@WPID+4080, 12, -540.897, -339.24, 37.2853, 5.60462, 0, 0, 0, 100, 0),
(@WPID+4080, 13, -530.943, -341.172, 35.2994, 6.09157, 0, 0, 0, 100, 0),
(@WPID+4080, 14, -522.682, -338.459, 34.4583, 0.326744, 0, 0, 0, 100, 0),
(@WPID+4080, 15, -514.291, -328.934, 33.4508, 0.927574, 0, 0, 0, 100, 0),
(@WPID+4080, 16, -500.738, -305.568, 31.6295, 1.0336, 0, 0, 0, 100, 0),
--
(@WPID+4090, 1, -600.378, -326.801, 50.9197, 3.92698, 0, 0, 0, 100, 0), -- Lieutenant Murp
(@WPID+4090, 2, -613.256, -342.991, 54.9298, 4.0016, 0, 0, 0, 100, 0),
(@WPID+4090, 3, -620.523, -353.437, 55.7531, 4.11941, 0, 0, 0, 100, 0),
(@WPID+4090, 4, -621.904, -371.97, 57.2472, 4.6417, 0, 0, 0, 100, 0),
(@WPID+4090, 5, -621.205, -384.677, 58.1486, 4.76736, 0, 0, 0, 100, 0),
(@WPID+4090, 6, -627.4, -393.491, 58.9965, 4.09977, 0, 0, 0, 100, 0),
(@WPID+4090, 7, -639.119, -392.29, 59.741, 3.14159, 0, 0, 0, 100, 0),
(@WPID+4090, 8, -665.796, -382.329, 64.3344, 2.78423, 0, 0, 0, 100, 0),
(@WPID+4090, 9, -683.72, -374.236, 65.6192, 2.71747, 0, 0, 0, 100, 0),
(@WPID+4090, 10, -698.138, -365.822, 66.0948, 2.635, 0, 0, 0, 100, 0),
(@WPID+4090, 11, -712.94, -365.531, 66.9841, 3.12195, 0, 0, 0, 100, 0),
(@WPID+4090, 12, -699.356, -364.4, 66.1313, 5.77744, 0, 0, 0, 100, 0),
(@WPID+4090, 13, -684.799, -372.879, 65.6648, 5.75388, 0, 0, 0, 100, 0),
(@WPID+4090, 14, -669.224, -381.4, 64.9247, 5.89133, 0, 0, 0, 100, 0),
(@WPID+4090, 15, -641.773, -392.781, 59.7873, 5.94709, 0, 0, 0, 100, 0),
(@WPID+4090, 16, -630.595, -395.625, 59.1671, 6.05311, 0, 0, 0, 100, 0),
(@WPID+4090, 17, -623.467, -388.467, 58.4642, 0.767384, 0, 0, 0, 100, 0),
(@WPID+4090, 18, -621.422, -378.166, 57.7469, 1.68237, 0, 0, 0, 100, 0),
(@WPID+4090, 19, -621.32, -361.904, 56.4883, 1.56064, 0, 0, 0, 100, 0),
(@WPID+4090, 20, -620.162, -349.406, 55.4305, 1.50566, 0, 0, 0, 100, 0),
(@WPID+4090, 21, -611.07, -341.269, 54.4916, 0.728113, 0, 0, 0, 100, 0),
--
(@WPID+4120, 1, -760.987, -346.56, 67.5161, 1.28253, 0, 0, 0, 100, 0), -- Frostwolf Mine Layer
(@WPID+4120, 2, -732.799, -342.902, 66.6288, 0.084794, 0, 0, 0, 100, 0),
(@WPID+4120, 3, -706.633, -360.408, 66.4734, 5.72787, 0, 0, 0, 100, 0),
(@WPID+4120, 4, -642.497, -392.608, 59.8957, 5.85353, 0, 0, 0, 100, 0),
(@WPID+4120, 5, -631.797, -393.168, 59.3751, 0.285053, 0, 0, 0, 100, 0),
(@WPID+4120, 6, -623.238, -383.8, 58.1419, 0.885882, 0, 0, 0, 100, 0),
(@WPID+4120, 7, -620.619, -352.523, 55.6806, 1.44351, 0, 0, 0, 100, 0),
(@WPID+4120, 8, -606.291, -335.141, 52.5601, 0.791635, 0, 0, 0, 100, 0),
(@WPID+4120, 9, -582.829, -311.384, 47.2668, 0.791635, 0, 0, 0, 100, 0),
(@WPID+4120, 10, -570.742, -289.993, 49.6971, 1.05082, 0, 0, 0, 100, 0),
(@WPID+4120, 11, -548.332, -266.532, 52.6509, 0.799489, 0, 0, 0, 100, 0),
(@WPID+4120, 12, -541.602, -251.335, 55.5104, 1.20004, 0, 0, 0, 100, 0),
(@WPID+4120, 13, -535.678, -234.77, 56.8317, 1.09009, 0, 0, 0, 100, 0),
(@WPID+4120, 14, -512.161, -215.46, 56.6129, 0.697387, 0, 0, 0, 100, 0),
(@WPID+4120, 15, -532.516, -231.918, 56.6339, 3.89003, 0, 0, 0, 100, 0),
(@WPID+4120, 16, -541.667, -253.631, 55.0983, 4.21204, 0, 0, 0, 100, 0),
(@WPID+4120, 17, -557.331, -277.326, 52.1092, 4.00391, 0, 0, 0, 100, 0),
(@WPID+4120, 18, -574.525, -297.602, 48.3976, 4.06674, 0, 0, 0, 100, 0),
(@WPID+4120, 19, -586.499, -315.569, 48.1256, 3.99605, 0, 0, 0, 100, 0),
(@WPID+4120, 20, -609.918, -339.359, 54.1186, 3.92537, 0, 0, 0, 100, 0),
(@WPID+4120, 21, -619.855, -356.318, 55.9771, 4.18455, 0, 0, 0, 100, 0),
(@WPID+4120, 22, -622.363, -384.747, 58.1211, 4.62436, 0, 0, 0, 100, 0),
(@WPID+4120, 23, -630.417, -393.431, 59.226, 3.72901, 0, 0, 0, 100, 0),
(@WPID+4120, 24, -643.069, -391.559, 60.0206, 2.88863, 0, 0, 0, 100, 0),
(@WPID+4120, 25, -699.227, -365.417, 66.1355, 2.68051, 0, 0, 0, 100, 0),
(@WPID+4120, 26, -722.984, -347.954, 66.8624, 2.50772, 0, 0, 0, 100, 0),
(@WPID+4120, 27, -738.698, -342.317, 66.6157, 2.79831, 0, 0, 0, 100, 0);

-- alliance
DELETE FROM `waypoint_data` WHERE `id` IN 
(@WPID+6260, @WPID+6270, @WPID+6280, @WPID+6290, @WPID+6300, @WPID+6450, @WPID+6470, @WPID+6490,
 @WPID+6510, @WPID+6530, @WPID+6550, @WPID+6570, @WPID+6590, @WPID+6610, @WPID+6620, @WPID+6830, @WPID+6840);

INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES 
--
(@WPID+6260, 1, -46.7636, -346.977, 11.2494, 2.83604, 0, 0, 0, 100, 0),
(@WPID+6260, 2, -59.8211, -342.915, 12.237, 2.59649, 0, 0, 0, 100, 0),
(@WPID+6260, 3, -67.3983, -335.169, 12.2755, 2.34517, 0, 0, 0, 100, 0),
(@WPID+6260, 4, -78.2005, -322.439, 11.4544, 2.27448, 0, 0, 0, 100, 0),
(@WPID+6260, 5, -97.4403, -315.078, 8.16012, 2.78499, 0, 0, 0, 100, 0),
(@WPID+6260, 6, -112.9, -295.987, 9.44892, 2.27056, 0, 0, 0, 100, 0),
(@WPID+6260, 7, -96.4934, -314.276, 8.21946, 5.44357, 0, 0, 0, 100, 0),
(@WPID+6260, 8, -78.9382, -323.118, 11.466, 5.81663, 0, 0, 0, 100, 0),
(@WPID+6260, 9, -70.2811, -331.108, 12.0675, 5.53782, 0, 0, 0, 100, 0),
(@WPID+6260, 10, -65.7372, -340.054, 12.4953, 5.21188, 0, 0, 0, 100, 0),
--
(@WPID+6270, 1, 32.1583, -318.632, 16.355, 4.31652, 0, 0, 0, 100, 0),
(@WPID+6270, 2, 26.5072, -324.117, 16.3403, 3.91204, 0, 0, 0, 100, 0),
(@WPID+6270, 3, 15.0941, -327.037, 16.5343, 3.41331, 0, 0, 0, 100, 0),
(@WPID+6270, 4, -1.53531, -337.516, 15.7916, 3.70391, 0, 0, 0, 100, 0),
(@WPID+6270, 5, -14.3181, -346.609, 13.3013, 3.75103, 0, 0, 0, 100, 0),
(@WPID+6270, 6, -35.9742, -347.476, 10.9389, 3.18162, 0, 0, 0, 100, 0),
(@WPID+6270, 7, -19.3576, -346.952, 12.4572, 0.189243, 0, 0, 0, 100, 0),
(@WPID+6270, 8, -9.86973, -344.389, 14.3027, 0.263856, 0, 0, 0, 100, 0),
(@WPID+6270, 9, -0.623362, -337.088, 15.899, 0.668336, 0, 0, 0, 100, 0),
(@WPID+6270, 10, 10.4307, -330.656, 16.561, 0.526964, 0, 0, 0, 100, 0),
(@WPID+6270, 11, 19.7633, -327.576, 16.4025, 0.318833, 0, 0, 0, 100, 0),
--
(@WPID+6280, 1, 28.7862, -276.961, 16.2194, 1.71291, 0, 0, 0, 100, 0),
(@WPID+6280, 2, 34.4915, -261.271, 15.1555, 1.22203, 0, 0, 0, 100, 0),
(@WPID+6280, 3, 36.3605, -248.621, 14.5482, 1.39089, 0, 0, 0, 100, 0),
(@WPID+6280, 4, 33.8766, -245.526, 14.4456, 2.24698, 0, 0, 0, 100, 0),
(@WPID+6280, 5, 25.6324, -242.637, 14.1038, 2.80461, 0, 0, 0, 100, 0),
(@WPID+6280, 6, 11.8985, -242.594, 12.7479, 3.13841, 0, 0, 0, 100, 0),
(@WPID+6280, 7, -9.39151, -238.894, 10.9242, 2.96954, 0, 0, 0, 100, 0),
(@WPID+6280, 8, -29.1638, -230.807, 10.1092, 2.75748, 0, 0, 0, 100, 0),
(@WPID+6280, 9, -50.6449, -233.143, 10.3587, 3.28763, 0, 0, 0, 100, 0),
(@WPID+6280, 10, -78.6132, -247.498, 7.46008, 3.62142, 0, 0, 0, 100, 0),
(@WPID+6280, 11, -111.349, -263.399, 6.48242, 3.5743, 0, 0, 0, 100, 0),
(@WPID+6280, 12, -81.5567, -248.474, 7.05696, 0.401285, 0, 0, 0, 100, 0),
(@WPID+6280, 13, -55.91, -236.015, 9.95494, 0.444483, 0, 0, 0, 100, 0),
(@WPID+6280, 14, -32.8794, -231.039, 10.2213, 0.21279, 0, 0, 0, 100, 0),
(@WPID+6280, 15, -11.2918, -237.57, 10.7781, 5.9894, 0, 0, 0, 100, 0),
(@WPID+6280, 16, 0.048634, -242.468, 11.4999, 5.87552, 0, 0, 0, 100, 0),
(@WPID+6280, 17, 16.7426, -242.652, 13.562, 6.27215, 0, 0, 0, 100, 0),
(@WPID+6280, 18, 24.303, -244.619, 13.9969, 6.02867, 0, 0, 0, 100, 0),
(@WPID+6280, 19, 30.9118, -248.907, 14.0711, 5.70273, 0, 0, 0, 100, 0),
(@WPID+6280, 20, 33.9609, -258.024, 14.7522, 5.03515, 0, 0, 0, 100, 0),
(@WPID+6280, 21, 31.9474, -267.593, 15.6029, 4.505, 0, 0, 0, 100, 0),
--
(@WPID+6290, 1, 79.1591, -262.369, 20.5215, 5.39643, 0, 0, 0, 100, 0),
(@WPID+6290, 2, 98.6842, -305.303, 32.5858, 5.15296, 0, 0, 0, 100, 0),
(@WPID+6290, 3, 112.412, -340.048, 41.0374, 5.0862, 0, 0, 0, 100, 0),
--
(@WPID+6300, 1, 5.20536, -407.547, 45.2333, 0.494748, 0, 0, 0, 100, 0),
(@WPID+6300, 2, 25.7419, -394.059, 45.7291, 0.577215, 0, 0, 0, 100, 0),
(@WPID+6300, 3, 37.4543, -392.298, 45.7727, 0.149174, 0, 0, 0, 100, 0),
(@WPID+6300, 4, 95.4488, -390.479, 45.1071, 0.031364, 0, 0, 0, 100, 0),
(@WPID+6300, 5, 111.326, -380.578, 44.5644, 0.55758, 0, 0, 0, 100, 0),
(@WPID+6300, 6, 120.819, -364.528, 43.18, 1.03667, 0, 0, 0, 100, 0),
(@WPID+6300, 7, 113.058, -343.284, 41.5406, 1.92417, 0, 0, 0, 100, 0),
(@WPID+6300, 8, 88.4113, -284.351, 26.7428, 1.95952, 0, 0, 0, 100, 0),
(@WPID+6300, 9, 78.7077, -262.884, 20.6542, 2.04984, 0, 0, 0, 100, 0),
(@WPID+6300, 10, 56.01, -251.092, 16.4006, 2.66245, 0, 0, 0, 100, 0),
(@WPID+6300, 11, 41.0162, -255.907, 15.4657, 3.47926, 0, 0, 0, 100, 0),
(@WPID+6300, 12, 33.3623, -268.506, 15.7574, 4.16649, 0, 0, 0, 100, 0),
(@WPID+6300, 13, 31.5145, -283.126, 16.4203, 4.58667, 0, 0, 0, 100, 0),
(@WPID+6300, 14, 31.7828, -311.601, 16.3976, 4.72804, 0, 0, 0, 100, 0),
(@WPID+6300, 15, 24.3085, -320.707, 16.4465, 4.02511, 0, 0, 0, 100, 0),
(@WPID+6300, 16, -0.030378, -335.489, 16.0197, 3.68739, 0, 0, 0, 100, 0),
(@WPID+6300, 17, -19.3152, -347.306, 12.4461, 3.22793, 0, 0, 0, 100, 0),
(@WPID+6300, 18, -41.6514, -350.483, 10.974, 3.28291, 0, 0, 0, 100, 0),
(@WPID+6300, 19, -53.9825, -360.189, 12.1179, 3.80913, 0, 0, 0, 100, 0),
(@WPID+6300, 20, -52.8746, -371.917, 12.9935, 4.80658, 0, 0, 0, 100, 0),
(@WPID+6300, 21, -41.6379, -401.191, 24.1564, 5.07754, 0, 0, 0, 100, 0),
(@WPID+6300, 22, -34.2801, -411.574, 32.3753, 5.32887, 0, 0, 0, 100, 0),
(@WPID+6300, 23, -18.9512, -415.192, 41.8438, 6.05143, 0, 0, 0, 100, 0),
(@WPID+6300, 24, -9.15121, -415.933, 44.9818, 6.21244, 0, 0, 0, 100, 0),
(@WPID+6300, 25, -0.912695, -412.784, 45.3174, 0.365146, 0, 0, 0, 100, 0),
--
(@WPID+6450, 1, 236.008, -416.472, 37.4507, 0.145283, 0, 0, 0, 100, 0),
(@WPID+6450, 2, 251.041, -411.602, 32.5689, 0.369121, 0, 0, 0, 100, 0),
(@WPID+6450, 3, 263.747, -401.627, 22.4382, 0.753966, 0, 0, 0, 100, 0),
(@WPID+6450, 4, 274.678, -390.187, 11.2677, 0.844287, 0, 0, 0, 100, 0),
(@WPID+6450, 5, 302.792, -379.418, 0.868529, 0.180625, 0, 0, 0, 100, 0),
(@WPID+6450, 6, 335.143, -381.822, -0.708896, 6.19285, 0, 0, 0, 100, 0),
(@WPID+6450, 7, 371.653, -390.031, -0.279803, 6.07112, 0, 0, 0, 100, 0),
(@WPID+6450, 8, 392.228, -390.277, -1.24386, 6.10645, 0, 0, 0, 100, 0),
(@WPID+6450, 9, 375.076, -394.227, -0.702381, 3.35756, 0, 0, 0, 100, 0),
(@WPID+6450, 10, 335.505, -387.281, -0.596079, 2.97664, 0, 0, 0, 100, 0),
(@WPID+6450, 11, 311.176, -383.427, -0.578008, 2.9845, 0, 0, 0, 100, 0),
(@WPID+6450, 12, 297.4, -384.185, 2.10527, 3.19656, 0, 0, 0, 100, 0),
(@WPID+6450, 13, 283.55, -389.049, 7.2646, 3.4793, 0, 0, 0, 100, 0),
(@WPID+6450, 14, 274.986, -395.584, 13.4362, 3.79346, 0, 0, 0, 100, 0),
(@WPID+6450, 15, 255.11, -414.544, 31.5399, 3.90341, 0, 0, 0, 100, 0),
(@WPID+6450, 16, 243.964, -418.36, 35.3496, 3.47145, 0, 0, 0, 100, 0),
(@WPID+6450, 17, 233.192, -418.444, 38.1518, 3.14943, 0, 0, 0, 100, 0),
--
(@WPID+6470, 1, 695.293, -427.989, 62.8955, 1.6839, 0, 0, 0, 100, 0),
(@WPID+6470, 2, 686.671, -419.641, 64.5673, 2.42611, 0, 0, 0, 100, 0),
(@WPID+6470, 3, 665.416, -409.215, 67.3636, 2.79132, 0, 0, 0, 100, 0),
(@WPID+6470, 4, 648.944, -402.678, 67.8395, 2.70493, 0, 0, 0, 100, 0),
(@WPID+6470, 5, 627.531, -386.105, 67.4121, 2.55177, 0, 0, 0, 100, 0),
(@WPID+6470, 6, 615.831, -385.906, 67.0329, 3.12904, 0, 0, 0, 100, 0),
(@WPID+6470, 7, 583.02, -397.344, 65.1513, 3.42749, 0, 0, 0, 100, 0),
(@WPID+6470, 8, 572.293, -397.984, 62.7781, 3.14868, 0, 0, 0, 100, 0),
(@WPID+6470, 9, 557.663, -397.278, 56.8023, 3.14868, 0, 0, 0, 100, 0),
(@WPID+6470, 10, 572.812, -394.833, 62.8829, 6.28242, 0, 0, 0, 100, 0),
(@WPID+6470, 11, 582.558, -393.851, 65.0922, 0.293757, 0, 0, 0, 100, 0),
(@WPID+6470, 12, 615.105, -382.596, 67.245, 0.06599, 0, 0, 0, 100, 0),
(@WPID+6470, 13, 629.777, -383.653, 67.7421, 5.89365, 0, 0, 0, 100, 0),
(@WPID+6470, 14, 651.844, -400.352, 67.9694, 5.58342, 0, 0, 0, 100, 0),
(@WPID+6470, 15, 666.917, -406.781, 67.3749, 5.87794, 0, 0, 0, 100, 0),
(@WPID+6470, 16, 689.541, -417.807, 64.6398, 5.72479, 0, 0, 0, 100, 0),
(@WPID+6470, 17, 698.654, -428.471, 62.6934, 5.01793, 0, 0, 0, 100, 0),
--
(@WPID+6490, 1, 546.981, -399.578, 52.5969, 3.52958, 0, 0, 0, 100, 0),
(@WPID+6490, 2, 522.017, -412.987, 44.7183, 3.6631, 0, 0, 0, 100, 0),
(@WPID+6490, 3, 494.504, -432.168, 38.2521, 3.65132, 0, 0, 0, 100, 0),
(@WPID+6490, 4, 482.849, -437.499, 36.3618, 3.47068, 0, 0, 0, 100, 0),
(@WPID+6490, 5, 464.313, -439.207, 33.3607, 3.14081, 0, 0, 0, 100, 0),
(@WPID+6490, 6, 456.83, -441.88, 32.6227, 3.50209, 0, 0, 0, 100, 0),
(@WPID+6490, 7, 452.152, -452.556, 35.0823, 4.31105, 0, 0, 0, 100, 0),
(@WPID+6490, 8, 449.892, -477.067, 48.5599, 4.44848, 0, 0, 0, 100, 0),
(@WPID+6490, 9, 440.474, -497.059, 57.9395, 4.2325, 0, 0, 0, 100, 0),
(@WPID+6490, 10, 423.999, -510.521, 67.687, 3.71414, 0, 0, 0, 100, 0),
(@WPID+6490, 11, 428.951, -502.159, 63.1127, 0.819947, 0, 0, 0, 100, 0),
(@WPID+6490, 12, 439.999, -491.38, 55.7093, 0.977026, 0, 0, 0, 100, 0),
(@WPID+6490, 13, 445.505, -478.095, 48.6321, 1.20479, 0, 0, 0, 100, 0),
(@WPID+6490, 14, 446.822, -459.29, 37.9068, 1.59356, 0, 0, 0, 100, 0),
(@WPID+6490, 15, 446.565, -444.825, 32.2545, 1.60927, 0, 0, 0, 100, 0),
(@WPID+6490, 16, 451.346, -437.94, 31.09, 0.977025, 0, 0, 0, 100, 0),
(@WPID+6490, 17, 458.955, -434.742, 31.9488, 0.35656, 0, 0, 0, 100, 0),
(@WPID+6490, 18, 480.254, -433.653, 35.7044, 0.046328, 0, 0, 0, 100, 0),
(@WPID+6490, 19, 495.581, -427.327, 37.9361, 0.494005, 0, 0, 0, 100, 0),
(@WPID+6490, 20, 511.12, -416.555, 41.5611, 0.615742, 0, 0, 0, 100, 0),
(@WPID+6490, 21, 535.288, -401.248, 49.6436, 0.494006, 0, 0, 0, 100, 0),
(@WPID+6490, 22, 549.448, -395.916, 53.6605, 0.289803, 0, 0, 0, 100, 0),
--
(@WPID+6510, 1, 441.348, -435.897, 28.3798, 2.21799, 0, 0, 0, 100, 0),
(@WPID+6510, 2, 435.908, -428.659, 23.7458, 2.48895, 0, 0, 0, 100, 0),
(@WPID+6510, 3, 425.574, -419.113, 15.718, 2.4379, 0, 0, 0, 100, 0),
(@WPID+6510, 4, 414.091, -408.618, 6.93305, 2.36722, 0, 0, 0, 100, 0),
(@WPID+6510, 5, 402.749, -398.314, -0.674377, 2.40649, 0, 0, 0, 100, 0),
(@WPID+6510, 6, 401.984, -392.225, -1.18225, 1.61324, 0, 0, 0, 100, 0),
(@WPID+6510, 7, 407.558, -384.707, -1.24309, 0.926011, 0, 0, 0, 100, 0),
(@WPID+6510, 8, 417.306, -378.694, -1.24309, 0.525463, 0, 0, 0, 100, 0),
(@WPID+6510, 9, 428.234, -375.932, -1.24309, 0.101343, 0, 0, 0, 100, 0),
(@WPID+6510, 10, 438.705, -374.228, -1.24309, 0.17595, 0, 0, 0, 100, 0),
(@WPID+6510, 11, 432.376, -379.611, -1.24309, 3.3843, 0, 0, 0, 100, 0),
(@WPID+6510, 12, 415.298, -385.805, -1.24277, 3.55316, 0, 0, 0, 100, 0),
(@WPID+6510, 13, 410.991, -391.805, -0.950329, 4.13827, 0, 0, 0, 100, 0),
(@WPID+6510, 14, 410.566, -399.045, 1.12363, 4.65271, 0, 0, 0, 100, 0),
(@WPID+6510, 15, 417.144, -406.175, 6.82707, 5.5245, 0, 0, 0, 100, 0),
(@WPID+6510, 16, 425.934, -414.301, 13.766, 5.5402, 0, 0, 0, 100, 0),
(@WPID+6510, 17, 436.876, -423.905, 22.0264, 5.46952, 0, 0, 0, 100, 0),
(@WPID+6510, 18, 446.728, -432.684, 29.1092, 5.61874, 0, 0, 0, 100, 0),
--
(@WPID+6530, 1, 446.037, -377.099, -1.14455, 0.211253, 0, 0, 0, 100, 0),
(@WPID+6530, 2, 461.095, -373.125, -1.06631, 0.28194, 0, 0, 0, 100, 0),
(@WPID+6530, 3, 472.198, -367.227, -1.08681, 0.501853, 0, 0, 0, 100, 0),
(@WPID+6530, 4, 510.472, -330.85, -1.08671, 0.761034, 0, 0, 0, 100, 0),
(@WPID+6530, 5, 522.416, -326.382, -0.447271, 0.360479, 0, 0, 0, 100, 0),
(@WPID+6530, 6, 539.602, -322.837, 4.98358, 0.203399, 0, 0, 0, 100, 0),
(@WPID+6530, 7, 562.38, -327.055, 18.5736, 6.09781, 0, 0, 0, 100, 0),
(@WPID+6530, 8, 576.869, -333.302, 27.3819, 5.87789, 0, 0, 0, 100, 0),
(@WPID+6530, 9, 584.192, -336.485, 30.0242, 5.97606, 0, 0, 0, 100, 0),
(@WPID+6530, 10, 590.045, -333.451, 30.3081, 0.478267, 0, 0, 0, 100, 0),
(@WPID+6530, 11, 579.402, -329.48, 28.4333, 2.82268, 0, 0, 0, 100, 0),
(@WPID+6530, 12, 563.553, -324.313, 19.1384, 2.86194, 0, 0, 0, 100, 0),
(@WPID+6530, 13, 545.48, -319.477, 7.8328, 2.89336, 0, 0, 0, 100, 0),
(@WPID+6530, 14, 531.774, -320.329, 1.8704, 3.19181, 0, 0, 0, 100, 0),
(@WPID+6530, 15, 521.24, -323.363, -0.781273, 3.39994, 0, 0, 0, 100, 0),
(@WPID+6530, 16, 509.846, -329.105, -1.08519, 3.70624, 0, 0, 0, 100, 0),
(@WPID+6530, 17, 489.784, -343.237, -1.20467, 3.79264, 0, 0, 0, 100, 0),
(@WPID+6530, 18, 474.172, -359.514, -1.24387, 3.94972, 0, 0, 0, 100, 0),
(@WPID+6530, 19, 459.614, -369.472, -1.24387, 3.72981, 0, 0, 0, 100, 0),
(@WPID+6530, 20, 434.36, -377.573, -1.24378, 3.47455, 0, 0, 0, 100, 0),
--
(@WPID+6550, 1, 598.371, -339.584, 30.1415, 2.74574, 0, 0, 0, 100, 0),
(@WPID+6550, 2, 582.269, -335.351, 29.7332, 2.85963, 0, 0, 0, 100, 0),
(@WPID+6550, 3, 573.063, -331.262, 25.1874, 2.68684, 0, 0, 0, 100, 0),
(@WPID+6550, 4, 546.609, -324.109, 8.80725, 2.88712, 0, 0, 0, 100, 0),
(@WPID+6550, 5, 527.569, -323.884, 0.745271, 3.22483, 0, 0, 0, 100, 0),
(@WPID+6550, 6, 519.021, -327.119, -0.937101, 3.71963, 0, 0, 0, 100, 0),
(@WPID+6550, 7, 469.505, -369.136, -1.08518, 3.86886, 0, 0, 0, 100, 0),
(@WPID+6550, 8, 462.659, -369.717, -1.24382, 0.584269, 0, 0, 0, 100, 0),
(@WPID+6550, 9, 467.283, -365.108, -1.24324, 0.584266, 0, 0, 0, 100, 0),
(@WPID+6550, 10, 512.874, -326.215, -1.08519, 0.647098, 0, 0, 0, 100, 0),
(@WPID+6550, 11, 524.696, -321.573, -0.075933, 0.116954, 0, 0, 0, 100, 0),
(@WPID+6550, 12, 543.248, -319.846, 6.59712, 0.097319, 0, 0, 0, 100, 0),
(@WPID+6550, 13, 566.097, -325.84, 20.5669, 6.0585, 0, 0, 0, 100, 0),
(@WPID+6550, 14, 576.286, -329.279, 26.7781, 5.95247, 0, 0, 0, 100, 0),
(@WPID+6550, 15, 585.641, -332.491, 30.0189, 5.95247, 0, 0, 0, 100, 0),
(@WPID+6550, 16, 598.259, -334.451, 30.6873, 6.18808, 0, 0, 0, 100, 0),
(@WPID+6550, 17, 607.015, -333.388, 30.68, 0.120882, 0, 0, 0, 100, 0),
(@WPID+6550, 18, 618.372, -325.665, 30.1336, 0.599975, 0, 0, 0, 100, 0),
(@WPID+6550, 19, 626.72, -316.829, 30.1336, 0.863082, 0, 0, 0, 100, 0),
(@WPID+6550, 20, 626.924, -321.784, 30.1336, 4.00075, 0, 0, 0, 100, 0),
(@WPID+6550, 21, 619.182, -329.629, 30.1336, 3.71408, 0, 0, 0, 100, 0),
--
(@WPID+6570, 1, 135.33, -390.12, 42.4416, 5.63839, 0, 0, 0, 100, 0),
(@WPID+6570, 2, 151.849, -399.806, 42.8341, 5.78761, 0, 0, 0, 100, 0),
(@WPID+6570, 3, 165.417, -404.333, 42.7135, 5.98788, 0, 0, 0, 100, 0),
(@WPID+6570, 4, 194.365, -410.642, 43.1386, 6.09391, 0, 0, 0, 100, 0),
(@WPID+6570, 5, 209.901, -415.353, 41.576, 5.874, 0, 0, 0, 100, 0),
(@WPID+6570, 6, 221.318, -420.174, 39.7291, 6.06249, 0, 0, 0, 100, 0),
(@WPID+6570, 7, 215.307, -413.862, 41.0756, 2.51642, 0, 0, 0, 100, 0),
(@WPID+6570, 8, 202.743, -408.402, 42.7691, 2.76775, 0, 0, 0, 100, 0),
(@WPID+6570, 9, 160.386, -399.322, 42.6692, 2.91697, 0, 0, 0, 100, 0),
(@WPID+6570, 10, 141.537, -389.765, 42.4417, 2.66957, 0, 0, 0, 100, 0),
--
(@WPID+6590, 1, 638.272, -48.197, 43.4985, 4.0448, 0, 0, 0, 100, 0),
(@WPID+6590, 2, 635.414, -53.5784, 42.2227, 4.41394, 0, 0, 0, 100, 0),
(@WPID+6590, 3, 636.234, -77.0642, 41.6572, 4.82628, 0, 0, 0, 100, 0),
(@WPID+6590, 4, 629.483, -103.906, 39.8933, 4.47678, 0, 0, 0, 100, 0),
(@WPID+6590, 5, 621.224, -132.126, 33.5438, 4.41788, 0, 0, 0, 100, 0),
(@WPID+6590, 6, 620.318, -124.615, 34.4967, 1.29985, 0, 0, 0, 100, 0),
(@WPID+6590, 7, 628.554, -100.077, 40.5292, 1.22131, 0, 0, 0, 100, 0),
(@WPID+6590, 8, 633.22, -80.7617, 41.4279, 1.31163, 0, 0, 0, 100, 0),
(@WPID+6590, 9, 631.464, -59.898, 41.6683, 1.64542, 0, 0, 0, 100, 0),
(@WPID+6590, 10, 637.172, -44.7301, 43.9809, 1.03674, 0, 0, 0, 100, 0),
--
(@WPID+6610, 1, 57.3195, -391.201, 45.409, 3.12669, 0, 0, 0, 100, 0),
(@WPID+6610, 2, 32.6987, -390.593, 45.631, 3.1424, 0, 0, 0, 100, 0),
(@WPID+6610, 3, 20.3616, -396.627, 45.7014, 3.59401, 0, 0, 0, 100, 0),
(@WPID+6610, 4, 5.79824, -409.907, 45.183, 3.82177, 0, 0, 0, 100, 0),
(@WPID+6610, 5, -7.22464, -416.816, 45.1169, 3.62935, 0, 0, 0, 100, 0),
(@WPID+6610, 6, -18.515, -413.489, 41.6985, 2.89107, 0, 0, 0, 100, 0),
(@WPID+6610, 7, -34.9569, -410.976, 31.7979, 2.83217, 0, 0, 0, 100, 0),
(@WPID+6610, 8, -42.4696, -398.434, 22.4565, 0.978625, 0, 0, 0, 100, 0),
(@WPID+6610, 9, -48.7093, -381.803, 15.0487, 1.92503, 0, 0, 0, 100, 0),
(@WPID+6610, 10, -56.0186, -370.584, 12.9167, 2.16065, 0, 0, 0, 100, 0),
(@WPID+6610, 11, -48.9171, -379.348, 14.374, 5.24334, 0, 0, 0, 100, 0),
(@WPID+6610, 12, -43.6125, -397.592, 21.7293, 5.09019, 0, 0, 0, 100, 0),
(@WPID+6610, 13, -36.3871, -410.248, 30.902, 5.29439, 0, 0, 0, 100, 0),
(@WPID+6610, 14, -19.4529, -415.073, 41.5772, 6.16618, 0, 0, 0, 100, 0),
(@WPID+6610, 15, -11.5931, -415.561, 44.6514, 6.22116, 0, 0, 0, 100, 0),
(@WPID+6610, 16, -3.7182, -415.516, 45.2526, 0.008656, 0, 0, 0, 100, 0),
(@WPID+6610, 17, 8.32221, -407.11, 45.1587, 0.609485, 0, 0, 0, 100, 0),
(@WPID+6610, 18, 22.54, -395.044, 45.7428, 0.703733, 0, 0, 0, 100, 0),
(@WPID+6610, 19, 36.8986, -391.703, 45.7215, 0.228567, 0, 0, 0, 100, 0),
(@WPID+6610, 20, 49.5978, -390.694, 45.4266, 6.26435, 0, 0, 0, 100, 0),
--
(@WPID+6620, 1, 340.517, -386.188, -0.395106, 2.90283, 0, 0, 0, 100, 0),
(@WPID+6620, 2, 322.989, -382.207, -0.963625, 2.9421, 0, 0, 0, 100, 0),
(@WPID+6620, 3, 307.94, -380.615, -0.228239, 3.13845, 0, 0, 0, 100, 0),
(@WPID+6620, 4, 294.483, -382.515, 2.91656, 3.38192, 0, 0, 0, 100, 0),
(@WPID+6620, 5, 283.515, -387.037, 6.7775, 3.60968, 0, 0, 0, 100, 0),
(@WPID+6620, 6, 276.359, -391.664, 11.0354, 3.83352, 0, 0, 0, 100, 0),
(@WPID+6620, 7, 262.579, -404.485, 24.1382, 3.91599, 0, 0, 0, 100, 0),
(@WPID+6620, 8, 253.04, -412.334, 31.7672, 3.61753, 0, 0, 0, 100, 0),
(@WPID+6620, 9, 263.532, -404.875, 23.8061, 0.742971, 0, 0, 0, 100, 0),
(@WPID+6620, 10, 275.346, -392.555, 11.8617, 0.711555, 0, 0, 0, 100, 0),
(@WPID+6620, 11, 282.304, -387.93, 7.39372, 0.483792, 0, 0, 0, 100, 0),
(@WPID+6620, 12, 292.214, -383.473, 3.64736, 0.385617, 0, 0, 0, 100, 0),
(@WPID+6620, 13, 305.128, -380.808, 0.27935, 0.075386, 0, 0, 0, 100, 0),
(@WPID+6620, 14, 318.651, -381.373, -0.926924, 6.174, 0, 0, 0, 100, 0),
(@WPID+6620, 15, 335.106, -384.826, -0.715298, 6.04834, 0, 0, 0, 100, 0),
--
(@WPID+6830, 1, 924.078, -517.077, 93.4786, 3.55862, 0, 0, 0, 100, 0),
(@WPID+6830, 2, 896.483, -512.427, 95.8163, 3.02848, 0, 0, 0, 100, 0),
(@WPID+6830, 3, 885.462, -508.198, 96.8087, 2.74181, 0, 0, 0, 100, 0),
(@WPID+6830, 4, 880.231, -501.736, 96.6349, 2.16847, 0, 0, 0, 100, 0),
(@WPID+6830, 5, 875.57, -495.146, 96.6227, 2.33733, 0, 0, 0, 100, 0),
(@WPID+6830, 6, 869.238, -494.42, 96.5896, 3.29158, 0, 0, 0, 100, 0),
(@WPID+6830, 7, 863.165, -500.14, 96.247, 3.91597, 0, 0, 0, 100, 0),
(@WPID+6830, 8, 848.4, -498.939, 97.4273, 3.07951, 0, 0, 0, 100, 0),
(@WPID+6830, 9, 823.552, -496.637, 100.677, 3.07951, 0, 0, 0, 100, 0),
(@WPID+6830, 10, 788.41, -493.085, 99.3186, 3.08344, 0, 0, 0, 100, 0),
(@WPID+6830, 11, 820.401, -496.844, 100.452, 6.1622, 0, 0, 0, 100, 0),
(@WPID+6830, 12, 834.917, -496.791, 99.3898, 6.03261, 0, 0, 0, 100, 0),
(@WPID+6830, 13, 853.344, -500.679, 96.3702, 6.13471, 0, 0, 0, 100, 0),
(@WPID+6830, 14, 862.132, -501.383, 96.1991, 6.25645, 0, 0, 0, 100, 0),
(@WPID+6830, 15, 872.082, -491.917, 96.5513, 0.008612, 0, 0, 0, 100, 0),
(@WPID+6830, 16, 876.333, -494.382, 96.6103, 5.259, 0, 0, 0, 100, 0),
(@WPID+6830, 17, 882.435, -505.549, 96.6982, 5.2001, 0, 0, 0, 100, 0),
(@WPID+6830, 18, 887.618, -509.816, 96.9295, 5.56923, 0, 0, 0, 100, 0),
(@WPID+6830, 19, 902.971, -513.009, 95.5065, 6.09545, 0, 0, 0, 100, 0),
(@WPID+6830, 20, 925.16, -516.505, 93.4223, 6.12293, 0, 0, 0, 100, 0),
--
(@WPID+6840, 1, 881.26, -504.005, 96.6619, 4.83489, 0, 0, 0, 100, 0),
(@WPID+6840, 2, 883.45, -507.278, 96.6949, 5.2747, 0, 0, 0, 100, 0),
(@WPID+6840, 3, 893.761, -512.437, 95.969, 5.82055, 0, 0, 0, 100, 0),
(@WPID+6840, 4, 905.858, -514.052, 94.9864, 6.15434, 0, 0, 0, 100, 0),
(@WPID+6840, 5, 917.902, -516.409, 93.7597, 6.0758, 0, 0, 0, 100, 0),
(@WPID+6840, 6, 930.781, -515.371, 93.47, 0.212801, 0, 0, 0, 100, 0),
(@WPID+6840, 7, 939.833, -509.473, 94.1087, 0.574084, 0, 0, 0, 100, 0),
(@WPID+6840, 8, 928.518, -516.236, 93.36, 3.14234, 0, 0, 0, 100, 0),
(@WPID+6840, 9, 910.115, -514.252, 94.4318, 2.99311, 0, 0, 0, 100, 0),
(@WPID+6840, 10, 894.8, -511.978, 95.9153, 2.99704, 0, 0, 0, 100, 0),
(@WPID+6840, 11, 884.922, -508.334, 96.7633, 2.79283, 0, 0, 0, 100, 0),
(@WPID+6840, 12, 874.497, -491.59, 96.5516, 2.09383, 0, 0, 0, 100, 0),
(@WPID+6840, 13, 868.343, -494.955, 96.5981, 3.98664, 0, 0, 0, 100, 0),
(@WPID+6840, 14, 859.785, -502.05, 96.1748, 3.75102, 0, 0, 0, 100, 0),
(@WPID+6840, 15, 830.961, -496.25, 100.018, 2.94992, 0, 0, 0, 100, 0),
(@WPID+6840, 16, 815.397, -495.359, 100.093, 3.00489, 0, 0, 0, 100, 0),
(@WPID+6840, 17, 791.329, -493.531, 99.5303, 3.04024, 0, 0, 0, 100, 0),
(@WPID+6840, 18, 814.428, -495.502, 100.102, 6.15826, 0, 0, 0, 100, 0),
(@WPID+6840, 19, 828.763, -495.988, 100.291, 6.05224, 0, 0, 0, 100, 0),
(@WPID+6840, 20, 851.703, -501.047, 96.4382, 6.09543, 0, 0, 0, 100, 0),
(@WPID+6840, 21, 863.634, -501.13, 96.2667, 0.589794, 0, 0, 0, 100, 0),
(@WPID+6840, 22, 869.31, -493.107, 96.5661, 0.955004, 0, 0, 0, 100, 0);

-- horde
DELETE FROM `waypoint_data` WHERE `id` IN 
(@WPID+7320, @WPID+7340, @WPID+7360, @WPID+7380, @WPID+7400, @WPID+7420, @WPID+7440, @WPID+7450, @WPID+7460, @WPID+7470, 
 @WPID+7480, @WPID+7490, @WPID+7510, @WPID+7530, @WPID+7550, @WPID+7570, @WPID+7590, @WPID+7610, @WPID+7630);

INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `move_type`, `action`, `action_chance`, `wpguid`) VALUES 
--
(@WPID+7320, 1, -932.92, -391.729, 49.0348, 3.46048, 0, 0, 0, 100, 0),
(@WPID+7320, 2, -967.582, -400.531, 49.2425, 3.35839, 0, 0, 0, 100, 0),
(@WPID+7320, 3, -1007.45, -400.062, 50.6827, 3.08742, 0, 0, 0, 100, 0),
(@WPID+7320, 4, -1040.8, -390.011, 50.8924, 2.84395, 0, 0, 0, 100, 0),
(@WPID+7320, 5, -1033.12, -386.553, 50.7307, 5.82453, 0, 0, 0, 100, 0),
(@WPID+7320, 6, -1013.1, -393.364, 50.7279, 5.9934, 0, 0, 0, 100, 0),
(@WPID+7320, 7, -1000.57, -395.958, 50.3158, 0.028296, 0, 0, 0, 100, 0),
(@WPID+7320, 8, -967.639, -394.684, 49.2814, 0.040077, 0, 0, 0, 100, 0),
(@WPID+7320, 9, -933.69, -385.933, 49.0852, 0.208932, 0, 0, 0, 100, 0),
--
(@WPID+7340, 1, -716.046, -449.656, 80.2178, 3.78952, 0, 0, 0, 100, 0),
(@WPID+7340, 2, -734.863, -455.842, 72.6432, 3.4518, 0, 0, 0, 100, 0),
(@WPID+7340, 3, -743.467, -456.225, 69.4588, 3.06696, 0, 0, 0, 100, 0),
(@WPID+7340, 4, -753.047, -452.551, 67.6432, 2.35224, 0, 0, 0, 100, 0),
(@WPID+7340, 5, -755.324, -440.998, 66.7669, 1.71214, 0, 0, 0, 100, 0),
(@WPID+7340, 6, -760.275, -434.878, 65.3735, 2.72924, 0, 0, 0, 100, 0),
(@WPID+7340, 7, -775.097, -435.906, 61.7637, 3.3929, 0, 0, 0, 100, 0),
(@WPID+7340, 8, -798.188, -449.143, 56.1297, 3.5971, 0, 0, 0, 100, 0),
(@WPID+7340, 9, -810.713, -449.831, 54.9224, 3.00413, 0, 0, 0, 100, 0),
(@WPID+7340, 10, -818.398, -446.529, 54.753, 2.61144, 0, 0, 0, 100, 0),
(@WPID+7340, 11, -838.611, -409.037, 52.0719, 2.00669, 0, 0, 0, 100, 0),
(@WPID+7340, 12, -849.976, -398, 50.6491, 2.9845, 0, 0, 0, 100, 0),
(@WPID+7340, 13, -876.94, -391.908, 48.6334, 2.90989, 0, 0, 0, 100, 0),
(@WPID+7340, 14, -899.604, -382.012, 48.7024, 2.81564, 0, 0, 0, 100, 0),
(@WPID+7340, 15, -877.12, -391.638, 48.6253, 5.53786, 0, 0, 0, 100, 0),
(@WPID+7340, 16, -850.225, -397.624, 50.5813, 6.02874, 0, 0, 0, 100, 0),
(@WPID+7340, 17, -833.163, -404.936, 51.7338, 5.33759, 0, 0, 0, 100, 0),
(@WPID+7340, 18, -814.011, -443.529, 54.7255, 5.35723, 0, 0, 0, 100, 0),
(@WPID+7340, 19, -809.102, -443.764, 55.1818, 0.126482, 0, 0, 0, 100, 0),
(@WPID+7340, 20, -798.699, -443.255, 56.4804, 0.566305, 0, 0, 0, 100, 0),
(@WPID+7340, 21, -775.403, -430.885, 62.2877, 0.413152, 0, 0, 0, 100, 0),
(@WPID+7340, 22, -758.692, -430.063, 65.1696, 5.85204, 0, 0, 0, 100, 0),
(@WPID+7340, 23, -751.014, -440.206, 66.7374, 5.29441, 0, 0, 0, 100, 0),
(@WPID+7340, 24, -747.488, -450.384, 68.0977, 5.03131, 0, 0, 0, 100, 0),
(@WPID+7340, 25, -742.425, -453.413, 70.0355, 5.95415, 0, 0, 0, 100, 0),
(@WPID+7340, 26, -734.757, -451.986, 73.2104, 0.240375, 0, 0, 0, 100, 0),
--
(@WPID+7360, 1, -1130.96, -350.506, 51.4393, 5.89912, 0, 0, 0, 100, 0),
(@WPID+7360, 2, -1105.75, -362.226, 51.5012, 5.84807, 0, 0, 0, 100, 0),
(@WPID+7360, 3, -1093.98, -362.818, 51.4426, 6.23291, 0, 0, 0, 100, 0),
(@WPID+7360, 4, -1071.54, -360.59, 51.389, 0.098951, 0, 0, 0, 100, 0),
(@WPID+7360, 5, -1059.74, -365.522, 51.4011, 5.88734, 0, 0, 0, 100, 0),
(@WPID+7360, 6, -1044.22, -380.652, 51.1128, 5.51035, 0, 0, 0, 100, 0),
(@WPID+7360, 7, -1020.49, -392.489, 50.7974, 5.82058, 0, 0, 0, 100, 0),
(@WPID+7360, 8, -990.253, -395.923, 50.0151, 6.17008, 0, 0, 0, 100, 0),
(@WPID+7360, 9, -996.667, -400.26, 50.1735, 3.26804, 0, 0, 0, 100, 0),
(@WPID+7360, 10, -1010.37, -399.03, 50.808, 3.05205, 0, 0, 0, 100, 0),
(@WPID+7360, 11, -1036.56, -390.543, 50.7602, 2.82821, 0, 0, 0, 100, 0),
(@WPID+7360, 12, -1050.33, -381.113, 51.2118, 2.52976, 0, 0, 0, 100, 0),
(@WPID+7360, 13, -1062.43, -371.123, 51.7888, 2.45122, 0, 0, 0, 100, 0),
(@WPID+7360, 14, -1074.68, -367.468, 51.389, 2.85178, 0, 0, 0, 100, 0),
(@WPID+7360, 15, -1100.23, -368.793, 51.4816, 3.19342, 0, 0, 0, 100, 0),
(@WPID+7360, 16, -1114.47, -364.97, 51.5018, 2.87927, 0, 0, 0, 100, 0),
(@WPID+7360, 17, -1135.67, -352.563, 51.3206, 2.61223, 0, 0, 0, 100, 0),
--
(@WPID+7380, 1, -1275.12, -366.346, 59.8065, 1.58335, 0, 0, 0, 100, 0),
(@WPID+7380, 2, -1274.17, -358.347, 60.3727, 1.40271, 0, 0, 0, 100, 0),
(@WPID+7380, 3, -1270.23, -352.033, 60.313, 0.786176, 0, 0, 0, 100, 0),
(@WPID+7380, 4, -1251.54, -343.779, 59.1286, 0.29923, 0, 0, 0, 100, 0),
(@WPID+7380, 5, -1243.4, -337.623, 59.4629, 0.70371, 0, 0, 0, 100, 0),
(@WPID+7380, 6, -1233.15, -320.676, 60.9461, 1.01394, 0, 0, 0, 100, 0),
(@WPID+7380, 7, -1212.79, -298.096, 70.383, 0.766542, 0, 0, 0, 100, 0),
(@WPID+7380, 8, -1196.71, -280.144, 72.1277, 0.817593, 0, 0, 0, 100, 0),
(@WPID+7380, 9, -1194.39, -266.221, 72.4747, 1.45769, 0, 0, 0, 100, 0),
(@WPID+7380, 10, -1199.74, -257.249, 72.5956, 2.09386, 0, 0, 0, 100, 0),
(@WPID+7380, 11, -1199.77, -273.261, 72.3818, 4.59928, 0, 0, 0, 100, 0),
(@WPID+7380, 12, -1204.73, -283.857, 72.042, 4.28905, 0, 0, 0, 100, 0),
(@WPID+7380, 13, -1217.95, -298.972, 68.9824, 3.9906, 0, 0, 0, 100, 0),
(@WPID+7380, 14, -1237.3, -320.891, 60.7556, 4.02202, 0, 0, 0, 100, 0),
(@WPID+7380, 15, -1250.46, -338.536, 59.4445, 4.01024, 0, 0, 0, 100, 0),
(@WPID+7380, 16, -1265.18, -344.66, 60.2002, 3.53114, 0, 0, 0, 100, 0),
(@WPID+7380, 17, -1274.96, -352.996, 60.5537, 3.91599, 0, 0, 0, 100, 0),
--
(@WPID+7400, 1, -1329.59, -289.274, 90.8252, 0.050259, 0, 0, 0, 100, 0),
(@WPID+7400, 2, -1311.68, -287.699, 90.6599, 0.089529, 0, 0, 0, 100, 0),
(@WPID+7400, 3, -1293.49, -287.646, 90.406, 6.25098, 0, 0, 0, 100, 0),
(@WPID+7400, 4, -1282.74, -286.943, 87.913, 0.065962, 0, 0, 0, 100, 0),
(@WPID+7400, 5, -1276.32, -284.51, 84.2992, 0.364414, 0, 0, 0, 100, 0),
(@WPID+7400, 6, -1266.17, -279.13, 75.3889, 0.490077, 0, 0, 0, 100, 0),
(@WPID+7400, 7, -1258.56, -271.414, 72.9246, 0.792455, 0, 0, 0, 100, 0),
(@WPID+7400, 8, -1259.4, -278.937, 73.6955, 4.3778, 0, 0, 0, 100, 0),
(@WPID+7400, 9, -1267.17, -286.772, 79.6951, 3.55706, 0, 0, 0, 100, 0),
(@WPID+7400, 10, -1280.27, -291.121, 87.8806, 3.45103, 0, 0, 0, 100, 0),
(@WPID+7400, 11, -1292.95, -292.144, 90.4836, 3.21934, 0, 0, 0, 100, 0),
(@WPID+7400, 12, -1323.37, -292.462, 90.6466, 3.13687, 0, 0, 0, 100, 0),
--
(@WPID+7420, 1, -1073.36, -331.596, 56.0068, 0.196344, 0, 0, 0, 100, 0),
(@WPID+7420, 2, -1062.58, -326.726, 56.7053, 0.428036, 0, 0, 0, 100, 0),
(@WPID+7420, 3, -1040.71, -315.542, 56.9636, 0.459452, 0, 0, 0, 100, 0),
(@WPID+7420, 4, -1023.13, -316.717, 59.0798, 6.21642, 0, 0, 0, 100, 0),
(@WPID+7420, 5, -1007.78, -328.95, 59.8856, 5.74126, 0, 0, 0, 100, 0),
(@WPID+7420, 6, -978.17, -335.878, 60.0623, 6.14966, 0, 0, 0, 100, 0),
(@WPID+7420, 7, -963.075, -324.821, 62.8754, 0.632236, 0, 0, 0, 100, 0),
(@WPID+7420, 8, -966.404, -339.182, 60.7512, 3.18871, 0, 0, 0, 100, 0),
(@WPID+7420, 9, -986.727, -342.068, 58.5618, 3.13766, 0, 0, 0, 100, 0),
(@WPID+7420, 10, -1014.47, -335.638, 59.3974, 2.91382, 0, 0, 0, 100, 0),
(@WPID+7420, 11, -1035.75, -322.513, 58.5864, 2.75988, 0, 0, 0, 100, 0),
(@WPID+7420, 12, -1055.76, -330.688, 57.2387, 3.52957, 0, 0, 0, 100, 0),
--
(@WPID+7440, 1, -833.434, -407.257, 51.8497, 1.84648, 0, 0, 0, 100, 0),
(@WPID+7440, 2, -831.222, -398.956, 52.0172, 1.35168, 0, 0, 0, 100, 0),
(@WPID+7440, 3, -829.049, -384.151, 54.8257, 1.52839, 0, 0, 0, 100, 0),
(@WPID+7440, 4, -831.146, -367.84, 52.1771, 1.7326, 0, 0, 0, 100, 0),
(@WPID+7440, 5, -827.35, -355.562, 50.411, 1.22602, 0, 0, 0, 100, 0),
(@WPID+7440, 6, -819.991, -344.622, 51.2958, 0.833316, 0, 0, 0, 100, 0),
(@WPID+7440, 7, -809.165, -337.01, 55.9715, 0.483814, 0, 0, 0, 100, 0),
(@WPID+7440, 8, -795.097, -339.143, 61.9769, 5.89129, 0, 0, 0, 100, 0),
(@WPID+7440, 9, -782.334, -339.174, 65.3387, 0.197149, 0, 0, 0, 100, 0),
(@WPID+7440, 10, -773.467, -332.986, 65.8544, 0.625191, 0, 0, 0, 100, 0),
(@WPID+7440, 11, -766.807, -330.966, 66.3619, 0.228565, 0, 0, 0, 100, 0),
(@WPID+7440, 12, -749.964, -338.299, 67.5695, 5.8638, 0, 0, 0, 100, 0),
(@WPID+7440, 13, -734.365, -343.109, 66.6712, 6.08371, 0, 0, 0, 100, 0),
(@WPID+7440, 14, -723.054, -348.489, 66.8749, 5.67923, 0, 0, 0, 100, 0),
(@WPID+7440, 15, -716.551, -357.906, 66.7849, 5.30225, 0, 0, 0, 100, 0),
(@WPID+7440, 16, -714.042, -382.911, 67.3269, 4.76425, 0, 0, 0, 100, 0),
(@WPID+7440, 17, -716.436, -399.306, 67.602, 4.52864, 0, 0, 0, 100, 0),
(@WPID+7440, 18, -721.266, -409.38, 67.5992, 4.21841, 0, 0, 0, 100, 0),
(@WPID+7440, 19, -730.824, -417.513, 67.5992, 3.83749, 0, 0, 0, 100, 0),
(@WPID+7440, 20, -747.778, -425.106, 66.6732, 3.54689, 0, 0, 0, 100, 0),
(@WPID+7440, 21, -761.474, -429.678, 64.7253, 3.36232, 0, 0, 0, 100, 0),
(@WPID+7440, 22, -776.744, -433.645, 61.6314, 3.42908, 0, 0, 0, 100, 0),
(@WPID+7440, 23, -784.848, -437.674, 59.3271, 3.67648, 0, 0, 0, 100, 0),
(@WPID+7440, 24, -799.329, -445.895, 56.0643, 3.64507, 0, 0, 0, 100, 0),
(@WPID+7440, 25, -808.007, -447.005, 55.1276, 3.16597, 0, 0, 0, 100, 0),
(@WPID+7440, 26, -814.719, -443.91, 54.6873, 2.64761, 0, 0, 0, 100, 0),
(@WPID+7440, 27, -825.12, -430.281, 52.9153, 2.17637, 0, 0, 0, 100, 0),
(@WPID+7440, 28, -829.563, -416.93, 52.3933, 1.85043, 0, 0, 0, 100, 0),
--
(@WPID+7450, 1, -735.564, -342.938, 66.6645, 6.09469, 0, 0, 0, 100, 0),
(@WPID+7450, 2, -723.357, -346.537, 66.8695, 5.30929, 0, 0, 0, 100, 0),
(@WPID+7450, 3, -717.209, -354.912, 66.7962, 5.08937, 0, 0, 0, 100, 0),
(@WPID+7450, 4, -714.397, -367.388, 67.1846, 4.81841, 0, 0, 0, 100, 0),
(@WPID+7450, 5, -717.586, -404.603, 67.5997, 4.5985, 0, 0, 0, 100, 0),
(@WPID+7450, 6, -733.452, -418.991, 67.5944, 3.71885, 0, 0, 0, 100, 0),
(@WPID+7450, 7, -743.404, -423.533, 66.9605, 0.416246, 0, 0, 0, 100, 0),
(@WPID+7450, 8, -756.154, -428.62, 65.6007, 3.45181, 0, 0, 0, 100, 0),
(@WPID+7450, 9, -743.747, -423.595, 66.9448, 0.436697, 0, 0, 0, 100, 0),
(@WPID+7450, 10, -733.747, -419.035, 67.5817, 0.428843, 0, 0, 0, 100, 0),
(@WPID+7450, 11, -717.918, -404.613, 67.598, 0.970768, 0, 0, 0, 100, 0),
(@WPID+7450, 12, -714.795, -367.451, 67.2178, 1.21424, 0, 0, 0, 100, 0),
(@WPID+7450, 13, -717.544, -354.971, 66.819, 2.10174, 0, 0, 0, 100, 0),
(@WPID+7450, 14, -723.802, -346.52, 66.8624, 2.03106, 0, 0, 0, 100, 0),
--
(@WPID+7460, 1, -1226.52, -310.329, 63.9931, 3.95525, 0, 0, 0, 100, 0),
(@WPID+7460, 2, -1236.03, -321.222, 60.7623, 4.02986, 0, 0, 0, 100, 0),
(@WPID+7460, 3, -1245.06, -335.531, 59.4743, 4.15159, 0, 0, 0, 100, 0),
(@WPID+7460, 4, -1247.83, -346.212, 59.3509, 4.45397, 0, 0, 0, 100, 0),
(@WPID+7460, 5, -1246.04, -357.616, 59.5747, 4.86238, 0, 0, 0, 100, 0),
(@WPID+7460, 6, -1239.99, -365.51, 59.4628, 5.42787, 0, 0, 0, 100, 0),
(@WPID+7460, 7, -1218.73, -366.853, 57.1619, 0.024319, 0, 0, 0, 100, 0),
(@WPID+7460, 8, -1195.1, -366.32, 52.9881, 0.028246, 0, 0, 0, 100, 0),
(@WPID+7460, 9, -1172.98, -356.462, 52.0563, 0.41309, 0, 0, 0, 100, 0),
(@WPID+7460, 10, -1192.66, -364.88, 52.572, 3.51934, 0, 0, 0, 100, 0),
(@WPID+7460, 11, -1208.22, -366.92, 55.1853, 3.27193, 0, 0, 0, 100, 0),
(@WPID+7460, 12, -1230.69, -366.936, 58.3679, 2.94207, 0, 0, 0, 100, 0),
(@WPID+7460, 13, -1239.38, -364.193, 59.5156, 2.83604, 0, 0, 0, 100, 0),
(@WPID+7460, 14, -1246.05, -354.48, 59.5413, 2.17238, 0, 0, 0, 100, 0),
(@WPID+7460, 15, -1245.41, -337.735, 59.3176, 1.53228, 0, 0, 0, 100, 0),
(@WPID+7460, 16, -1235.43, -321.982, 60.693, 1.00606, 0, 0, 0, 100, 0),
(@WPID+7460, 17, -1224.79, -307.909, 65.0414, 0.923593, 0, 0, 0, 100, 0),
(@WPID+7460, 18, -1213.81, -295.475, 70.6107, 0.817564, 0, 0, 0, 100, 0),
(@WPID+7460, 19, -1200.76, -282.239, 72.0258, 0.805784, 0, 0, 0, 100, 0),
(@WPID+7460, 20, -1196.66, -269.065, 72.328, 1.25739, 0, 0, 0, 100, 0),
(@WPID+7460, 21, -1200.64, -257.909, 72.4976, 1.91319, 0, 0, 0, 100, 0),
(@WPID+7460, 22, -1198.36, -262.259, 72.3701, 5.19616, 0, 0, 0, 100, 0),
(@WPID+7460, 23, -1197.27, -275.001, 72.1811, 4.79561, 0, 0, 0, 100, 0),
(@WPID+7460, 24, -1201.51, -282.805, 72.0287, 4.21441, 0, 0, 0, 100, 0),
(@WPID+7460, 25, -1209.5, -292.873, 71.2325, 4.04163, 0, 0, 0, 100, 0),
(@WPID+7460, 26, -1216.01, -298.916, 69.4727, 3.91204, 0, 0, 0, 100, 0),
(@WPID+7460, 27, -1220.58, -304.035, 67.0472, 3.98273, 0, 0, 0, 100, 0),
--
(@WPID+7470, 1, -439.011, -198.944, 30.6439, 6.1583, 0, 0, 0, 100, 0),
(@WPID+7470, 2, -425.992, -198.596, 26.2455, 0.040046, 0, 0, 0, 100, 0),
(@WPID+7470, 3, -432.396, -198.758, 27.6788, 3.23269, 0, 0, 0, 100, 0),
(@WPID+7470, 4, -439.313, -199.669, 30.7693, 3.24447, 0, 0, 0, 100, 0),
(@WPID+7470, 5, -447.903, -197.236, 36.808, 2.76145, 0, 0, 0, 100, 0),
(@WPID+7470, 6, -457.529, -193.363, 44.5581, 2.83606, 0, 0, 0, 100, 0),
(@WPID+7470, 7, -468.239, -196.395, 51.4042, 3.27981, 0, 0, 0, 100, 0),
(@WPID+7470, 8, -476.302, -195.733, 54.7323, 3.00885, 0, 0, 0, 100, 0),
(@WPID+7470, 9, -484.82, -202.813, 57.39, 4.00238, 0, 0, 0, 100, 0),
(@WPID+7470, 10, -495.837, -208.641, 57.4566, 3.4958, 0, 0, 0, 100, 0),
(@WPID+7470, 11, -513.119, -214.595, 56.6407, 0.040049, 0, 0, 0, 100, 0),
(@WPID+7470, 12, -535.742, -232.565, 56.6806, 3.70786, 0, 0, 0, 100, 0),
(@WPID+7470, 13, -540.659, -252.308, 55.6034, 4.399, 0, 0, 0, 100, 0),
(@WPID+7470, 14, -537.336, -231.766, 56.8841, 1.1985, 0, 0, 0, 100, 0),
(@WPID+7470, 15, -516.651, -213.792, 57.0322, 0.365976, 0, 0, 0, 100, 0),
(@WPID+7470, 16, -494.478, -209.787, 57.4775, 0.146064, 0, 0, 0, 100, 0),
(@WPID+7470, 17, -485.081, -202.681, 57.3557, 0.644792, 0, 0, 0, 100, 0),
(@WPID+7470, 18, -475.761, -193.92, 54.7189, 6.24468, 0, 0, 0, 100, 0),
(@WPID+7470, 19, -466.857, -195.945, 50.5781, 6.10331, 0, 0, 0, 100, 0),
(@WPID+7470, 20, -457.246, -194.315, 43.9417, 6.25646, 0, 0, 0, 100, 0),
(@WPID+7470, 21, -449.98, -197.185, 38.265, 5.90696, 0, 0, 0, 100, 0),
--
(@WPID+7480, 1, -548.387, -272.626, 52.361, 4.09662, 0, 0, 0, 100, 0),
(@WPID+7480, 2, -558.362, -279.389, 52.0456, 3.81388, 0, 0, 0, 100, 0),
(@WPID+7480, 3, -570.777, -288.976, 49.8173, 3.78639, 0, 0, 0, 100, 0),
(@WPID+7480, 4, -577.13, -295.094, 48.5639, 3.90813, 0, 0, 0, 100, 0),
(@WPID+7480, 5, -580.182, -306.457, 46.9288, 4.39901, 0, 0, 0, 100, 0),
(@WPID+7480, 6, -580.784, -312.621, 46.694, 5.77738, 0, 0, 0, 100, 0),
(@WPID+7480, 7, -576.017, -318.889, 45.2631, 5.37683, 0, 0, 0, 100, 0),
(@WPID+7480, 8, -564.604, -321.81, 41.1865, 6.03263, 0, 0, 0, 100, 0),
(@WPID+7480, 9, -549.477, -334.371, 38.1386, 5.50641, 0, 0, 0, 100, 0),
(@WPID+7480, 10, -531.817, -343.352, 35.3738, 5.81272, 0, 0, 0, 100, 0),
(@WPID+7480, 11, -524.33, -340.913, 34.6619, 0.314933, 0, 0, 0, 100, 0),
(@WPID+7480, 12, -508.963, -320.465, 32.4, 0.927544, 0, 0, 0, 100, 0),
(@WPID+7480, 13, -494.209, -291.947, 30.2437, 1.08462, 0, 0, 0, 100, 0),
(@WPID+7480, 14, -507.327, -317.993, 32.1865, 4.20657, 0, 0, 0, 100, 0),
(@WPID+7480, 15, -520.229, -336.434, 34.2219, 4.04164, 0, 0, 0, 100, 0),
(@WPID+7480, 16, -530.657, -340.968, 35.2504, 3.46043, 0, 0, 0, 100, 0),
(@WPID+7480, 17, -541.99, -337.752, 37.4352, 2.41193, 0, 0, 0, 100, 0),
(@WPID+7480, 18, -557.391, -327.238, 39.1848, 2.54937, 0, 0, 0, 100, 0),
(@WPID+7480, 19, -568.248, -320.478, 42.5423, 2.58472, 0, 0, 0, 100, 0),
(@WPID+7480, 20, -572.744, -318.495, 44.1203, 2.72609, 0, 0, 0, 100, 0),
(@WPID+7480, 21, -578.382, -312.997, 46.025, 2.36873, 0, 0, 0, 100, 0),
(@WPID+7480, 22, -578.847, -305.198, 46.9504, 1.63046, 0, 0, 0, 100, 0),
(@WPID+7480, 23, -574.423, -293.199, 48.9048, 1.22598, 0, 0, 0, 100, 0),
(@WPID+7480, 24, -564.732, -283.379, 51.4349, 0.794007, 0, 0, 0, 100, 0),
--
(@WPID+7510, 1, -579.696, -315.773, 46.3295, 6.00268, 0, 0, 0, 100, 0),
(@WPID+7510, 2, -562.042, -322.148, 40.2817, 5.80633, 0, 0, 0, 100, 0),
(@WPID+7510, 3, -538.711, -335.026, 37.2335, 5.77885, 0, 0, 0, 100, 0),
(@WPID+7510, 4, -526.172, -337.537, 34.7336, 6.10085, 0, 0, 0, 100, 0),
(@WPID+7510, 5, -520.69, -333.402, 34.2388, 0.646262, 0, 0, 0, 100, 0),
(@WPID+7510, 6, -496.877, -292.596, 30.5682, 1.0586, 0, 0, 0, 100, 0),
(@WPID+7510, 7, -494.324, -298.937, 31.0767, 4.65965, 0, 0, 0, 100, 0),
(@WPID+7510, 8, -504.886, -319.995, 32.5051, 4.2591, 0, 0, 0, 100, 0),
(@WPID+7510, 9, -515.587, -336.163, 33.9362, 3.93316, 0, 0, 0, 100, 0),
(@WPID+7510, 10, -525.243, -341.062, 34.7269, 3.61115, 0, 0, 0, 100, 0),
(@WPID+7510, 11, -539.037, -341.364, 36.9744, 3.16347, 0, 0, 0, 100, 0),
(@WPID+7510, 12, -560.462, -329.251, 39.9927, 2.51866, 0, 0, 0, 100, 0),
(@WPID+7510, 13, -571.05, -322.078, 43.7235, 2.54615, 0, 0, 0, 100, 0),
--
(@WPID+7530, 1, -477.888, -199.471, 55.5433, 3.69678, 0, 0, 0, 100, 0),
(@WPID+7530, 2, -484.912, -204.961, 57.6218, 3.81066, 0, 0, 0, 100, 0),
(@WPID+7530, 3, -506.25, -208.373, 57.2179, 3.30015, 0, 0, 0, 100, 0),
(@WPID+7530, 4, -525.533, -218.125, 57.577, 3.61824, 0, 0, 0, 100, 0),
(@WPID+7530, 5, -538.731, -233.897, 56.8728, 4.03057, 0, 0, 0, 100, 0),
(@WPID+7530, 6, -541.294, -249.437, 55.8954, 4.54894, 0, 0, 0, 100, 0),
(@WPID+7530, 7, -554.429, -270.186, 52.3502, 4.06199, 0, 0, 0, 100, 0),
(@WPID+7530, 8, -575.256, -292.454, 48.9485, 3.95989, 0, 0, 0, 100, 0),
(@WPID+7530, 9, -561.411, -284.252, 52.0092, 0.76489, 0, 0, 0, 100, 0),
(@WPID+7530, 10, -541.943, -260.573, 54.2881, 0.988729, 0, 0, 0, 100, 0),
(@WPID+7530, 11, -532.297, -233.751, 56.604, 1.16544, 0, 0, 0, 100, 0),
(@WPID+7530, 12, -518.55, -218.244, 56.933, 0.863066, 0, 0, 0, 100, 0),
(@WPID+7530, 13, -501.077, -211.559, 57.1473, 0.160135, 0, 0, 0, 100, 0),
(@WPID+7530, 14, -490.662, -208.807, 57.674, 0.25831, 0, 0, 0, 100, 0),
--
(@WPID+7550, 1, -580.346, -302.663, 47.3256, 1.01622, 0, 0, 0, 100, 0),
(@WPID+7550, 2, -568.32, -284.621, 50.7155, 0.855211, 0, 0, 0, 100, 0),
(@WPID+7550, 3, -548.675, -263.924, 52.7588, 0.827721, 0, 0, 0, 100, 0),
(@WPID+7550, 4, -532.607, -230.198, 56.7773, 1.12617, 0, 0, 0, 100, 0),
(@WPID+7550, 5, -510.187, -215.043, 56.7409, 0.521417, 0, 0, 0, 100, 0),
(@WPID+7550, 6, -487.628, -208.027, 57.7591, 0.301506, 0, 0, 0, 100, 0),
(@WPID+7550, 7, -507.158, -209.538, 57.1341, 3.34492, 0, 0, 0, 100, 0),
(@WPID+7550, 8, -518.753, -214.931, 57.2196, 3.5884, 0, 0, 0, 100, 0),
(@WPID+7550, 9, -533.774, -229.122, 56.8981, 3.89863, 0, 0, 0, 100, 0),
(@WPID+7550, 10, -541.906, -250.226, 55.6424, 4.3463, 0, 0, 0, 100, 0),
(@WPID+7550, 11, -556.921, -270.855, 52.3268, 4.0832, 0, 0, 0, 100, 0),
(@WPID+7550, 12, -573.729, -289.323, 49.5004, 3.96539, 0, 0, 0, 100, 0),
--
(@WPID+7570, 1, -705.689, -359.337, 66.4469, 5.77647, 0, 0, 0, 100, 0),
(@WPID+7570, 2, -685.326, -371.171, 65.7148, 5.80788, 0, 0, 0, 100, 0),
(@WPID+7570, 3, -650.808, -386.559, 61.5629, 5.8982, 0, 0, 0, 100, 0),
(@WPID+7570, 4, -626.047, -392.963, 58.8814, 6.03957, 0, 0, 0, 100, 0),
(@WPID+7570, 5, -634.261, -396.177, 59.4011, 2.89798, 0, 0, 0, 100, 0),
(@WPID+7570, 6, -667.594, -384.257, 64.5929, 2.7841, 0, 0, 0, 100, 0),
(@WPID+7570, 7, -686.992, -374.788, 65.6952, 2.64272, 0, 0, 0, 100, 0),
(@WPID+7570, 8, -707.322, -362.887, 66.5359, 2.5956, 0, 0, 0, 100, 0),
--
(@WPID+7590, 1, -626.917, -398.183, 59.0421, 1.32562, 0, 0, 0, 100, 0),
(@WPID+7590, 2, -624.362, -384.625, 58.2024, 1.38452, 0, 0, 0, 100, 0),
(@WPID+7590, 3, -623.853, -355.265, 55.9985, 1.62407, 0, 0, 0, 100, 0),
(@WPID+7590, 4, -613.582, -340.965, 54.6607, 0.76013, 0, 0, 0, 100, 0),
(@WPID+7590, 5, -616.096, -350.401, 55.5463, 4.55361, 0, 0, 0, 100, 0),
(@WPID+7590, 6, -619.386, -363.855, 56.8055, 4.48292, 0, 0, 0, 100, 0),
(@WPID+7590, 7, -623.081, -400.924, 59.2498, 4.57324, 0, 0, 0, 100, 0),
--
(@WPID+7610, 1, -489.341, -283.595, 28.2708, 0.676918, 0, 0, 0, 100, 0),
(@WPID+7610, 2, -473.99, -275.515, 24.8749, 0.484496, 0, 0, 0, 100, 0),
(@WPID+7610, 3, -451.325, -275.544, 21.5313, 0.00933, 0, 0, 0, 100, 0),
(@WPID+7610, 4, -444.399, -270.083, 21.0919, 0.669064, 0, 0, 0, 100, 0),
(@WPID+7610, 5, -442.024, -258.827, 21.454, 1.39556, 0, 0, 0, 100, 0),
(@WPID+7610, 6, -438.628, -245.52, 22.6404, 1.32095, 0, 0, 0, 100, 0),
(@WPID+7610, 7, -426.863, -227.528, 23.4386, 0.998932, 0, 0, 0, 100, 0),
(@WPID+7610, 8, -424.018, -214.469, 24.9939, 1.35629, 0, 0, 0, 100, 0),
(@WPID+7610, 9, -428.945, -205.975, 26.8813, 2.14561, 0, 0, 0, 100, 0),
(@WPID+7610, 10, -430.45, -198.309, 27.0134, 1.76469, 0, 0, 0, 100, 0),
(@WPID+7610, 11, -422.447, -201.184, 26.599, 5.93516, 0, 0, 0, 100, 0),
(@WPID+7610, 12, -419.628, -217.634, 24.4777, 4.87095, 0, 0, 0, 100, 0),
(@WPID+7610, 13, -421.495, -230.401, 22.8892, 4.42721, 0, 0, 0, 100, 0),
(@WPID+7610, 14, -431.756, -247.774, 23.046, 4.1798, 0, 0, 0, 100, 0),
(@WPID+7610, 15, -436.422, -268.809, 20.419, 4.49789, 0, 0, 0, 100, 0),
(@WPID+7610, 16, -443.278, -278.388, 20.8473, 4.08163, 0, 0, 0, 100, 0),
(@WPID+7610, 17, -452.721, -281.1, 21.9572, 3.44153, 0, 0, 0, 100, 0),
(@WPID+7610, 18, -465.51, -281.169, 23.377, 3.147, 0, 0, 0, 100, 0),
(@WPID+7610, 19, -476.149, -281.878, 25.4459, 3.36299, 0, 0, 0, 100, 0),
--
(@WPID+7630, 1, -537.769, -237.547, 56.8771, 0.79866, 0, 0, 0, 100, 0),
(@WPID+7630, 2, -515.907, -215.982, 56.6991, 0.716193, 0, 0, 0, 100, 0),
(@WPID+7630, 3, -502.804, -209.473, 57.0799, 0.378469, 0, 0, 0, 100, 0),
(@WPID+7630, 4, -490.298, -206.796, 57.4268, 0.20961, 0, 0, 0, 100, 0),
(@WPID+7630, 5, -478.228, -196.68, 55.2717, 0.704411, 0, 0, 0, 100, 0),
(@WPID+7630, 6, -470.559, -194.89, 52.9806, 0.229245, 0, 0, 0, 100, 0),
(@WPID+7630, 7, -451.074, -197.478, 39.04, 6.15115, 0, 0, 0, 100, 0),
(@WPID+7630, 8, -430.585, -199.628, 27.1248, 6.17864, 0, 0, 0, 100, 0),
(@WPID+7630, 9, -423.59, -210.334, 25.4901, 5.29114, 0, 0, 0, 100, 0),
(@WPID+7630, 10, -424.818, -227.994, 22.9373, 4.65104, 0, 0, 0, 100, 0),
(@WPID+7630, 11, -443.15, -272.609, 20.6038, 4.3251, 0, 0, 0, 100, 0),
(@WPID+7630, 12, -452.884, -279.245, 21.7472, 3.73998, 0, 0, 0, 100, 0),
(@WPID+7630, 13, -478.38, -279.953, 25.7932, 3.45723, 0, 0, 0, 100, 0),
(@WPID+7630, 14, -490.288, -286.795, 28.9391, 3.66536, 0, 0, 0, 100, 0),
(@WPID+7630, 15, -497.848, -294.558, 30.8571, 3.94025, 0, 0, 0, 100, 0),
(@WPID+7630, 16, -513.378, -329.47, 33.4261, 4.24656, 0, 0, 0, 100, 0),
(@WPID+7630, 17, -521.742, -339.061, 34.408, 3.99523, 0, 0, 0, 100, 0),
(@WPID+7630, 18, -536.457, -339.951, 36.5123, 3.20198, 0, 0, 0, 100, 0),
(@WPID+7630, 19, -558.789, -327.637, 39.4926, 2.64827, 0, 0, 0, 100, 0),
(@WPID+7630, 20, -574.16, -317.126, 44.5936, 2.43621, 0, 0, 0, 100, 0),
(@WPID+7630, 21, -577.012, -307.144, 46.6024, 1.93749, 0, 0, 0, 100, 0),
(@WPID+7630, 22, -571.38, -292.436, 49.32, 1.19528, 0, 0, 0, 100, 0),
(@WPID+7630, 23, -556.252, -275.628, 52.1857, 0.82222, 0, 0, 0, 100, 0),
(@WPID+7630, 24, -539.345, -255.275, 55.6822, 0.881125, 0, 0, 0, 100, 0),
(@WPID+7630, 25, -537.784, -245.572, 57.0883, 1.41127, 0, 0, 0, 100, 0);


/* QUESTS */

DELETE FROM `creature_queststarter` WHERE `id` = 12096 AND `quest` = 7122;
DELETE FROM `creature_queststarter` WHERE `id` = 12097 AND `quest` = 7124;
DELETE FROM `creature_queststarter` WHERE `id` IN (13153, 13154, 13319, 13320, 13377, 13447, 13448, 13597, 13598, 14185, 14186, 14187, 14188);
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES
(12096, 7122), -- Capture a Mine (alliance)
(12097, 7124), -- Capture a Mine (horde)
(13153, 7302), -- Fallen Sky Lords (Commander Mulfort, horde)
(13154, 7281), -- Brotherly Love (Commander Louis Philips, horde)
(13154, 7363), -- The Human Condition
(13154, 7423), -- I've Got A Fever For More Bone Chips (repeatable)
(13319, 7301), -- Fallen Sky Lords (Commander Duffy, alliance)
(13320, 7282), -- Brotherly Love (Commander Karl Philips, alliance)
(13320, 7366), -- The Archbishop's Mercy
(13320, 7426), -- One Man's Love (repeatable)
(13377, 6861), -- Zinfizzlex's Portable Shredder Unit (horde)
(13377, 6862), -- Zinfizzlex's Portable Shredder Unit (alliance)
(13447, 7428), -- Wanted: MORE ORCS! (repeatable)
(13448, 7427), -- Wanted: MORE DWARVES! (repeatable)
(13597, 7368), -- Defusing the Threat (horde)
(13598, 7367), -- Defusing the Threat (alliance)
(14185, 7361), -- Favor amongst the Darkspear
(14185, 7421), -- Darkspear Defense (repeatable)
(14186, 7362), -- Ally of the Tauren
(14186, 7422), -- Tuft it Out (repeatable)
(14187, 7365), -- Staghelm's Requiem
(14187, 7425), -- Staghelm's Mojo Jamboree (repeatable)
(14188, 7364), -- Gnomeregan Bounty
(14188, 7424); -- What the Hoof? (repeatable)

DELETE FROM `gameobject_queststarter` WHERE `quest` IN (7401, 7402);
INSERT INTO `gameobject_queststarter` (`id`, `quest`) VALUES 
(179438, 7401), -- Wanted: Dwarves!
(179437, 7402); -- WANTED: Orcs!

DELETE FROM `creature_questender` WHERE `id` IN (13153, 13154, 13319, 13320, 13377, 13447, 13448, 13597, 13598, 14185, 14186, 14187, 14188);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES
(13153, 7302), -- Fallen Sky Lords (Commander Mulfort, horde)
(13154, 7281), -- Brotherly Love (Commander Louis Philips, horde)
(13154, 7363), -- The Human Condition
(13154, 7423), -- I've Got A Fever For More Bone Chips (repeatable)
(13319, 7301), -- Fallen Sky Lords  (Commander Duffy, alliance)
(13320, 7282), -- Brotherly Love (Commander Karl Philips, alliance)
(13320, 7366), -- The Archbishop's Mercy
(13320, 7426), -- One Man's Love (repeatable)
(13377, 6861), -- Zinfizzlex's Portable Shredder Unit (horde)
(13377, 6862), -- Zinfizzlex's Portable Shredder Unit (alliance)
(13447, 7402), -- WANTED: Orcs!
(13447, 7428), -- Wanted: MORE ORCS! (repeatable)
(13448, 7401), -- Wanted: Dwarves!
(13448, 7427), -- Wanted: MORE DWARVES! (repeatable)
(13597, 7368), -- Defusing the Threat (horde)
(13598, 7367), -- Defusing the Threat (alliance)
(14185, 7361), -- Favor amongst the Darkspear
(14185, 7421), -- Darkspear Defense (repeatable)
(14186, 7362), -- Ally of the Tauren
(14186, 7422), -- Tuft it Out (repeatable)
(14187, 7365), -- Staghelm's Requiem
(14187, 7425), -- Staghelm's Mojo Jamboree (repeatable)
(14188, 7364); -- Gnomeregan Bounty

UPDATE `quest_template_addon` SET `SpecialFlags` = 0 WHERE `ID` IN (7361, 7362, 7363, 7364, 7365, 7366, 7367, 7368, 7401, 7402); -- not repeatable quests
UPDATE `quest_template_addon` SET `SpecialFlags` = 2 WHERE `ID` IN (7301, 7302); -- QUEST_SPECIAL_FLAGS_EXPLORATION_OR_EVENT
UPDATE `quest_template` SET  `AllowableRaces` = 1101 WHERE `ID` = 7402; -- alliance only

UPDATE `quest_template_addon` SET `PrevQuestID` = 7361 WHERE `ID` = 7421; -- Darkspear Defense
UPDATE `quest_template_addon` SET `PrevQuestID` = 7362 WHERE `ID` = 7422; -- Tuft it Out
UPDATE `quest_template_addon` SET `PrevQuestID` = 7363 WHERE `ID` = 7423; -- I've Got A Fever For More Bone Chips
UPDATE `quest_template_addon` SET `PrevQuestID` = 7364 WHERE `ID` = 7424; -- What the Hoof?
UPDATE `quest_template_addon` SET `PrevQuestID` = 7365 WHERE `ID` = 7425; -- Staghelm's Mojo Jamboree
UPDATE `quest_template_addon` SET `PrevQuestID` = 7366 WHERE `ID` = 7426; -- One Man's Love
UPDATE `quest_template_addon` SET `PrevQuestID` = 7401 WHERE `ID` = 7427; -- Wanted: MORE DWARVES!
UPDATE `quest_template_addon` SET `PrevQuestID` = 7402 WHERE `ID` = 7428; -- Wanted: MORE ORCS!

-- restore vanilla AV quests
DELETE FROM `disables` WHERE `sourceType` = 1 AND `entry` IN (7181, 7202, 7381, 7382); -- Korrak quests

DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `SourceEn
Download .txt
gitextract_b9pt4l1b/

├── .editorconfig
├── .gitattributes
├── .gitignore
├── LICENSE
├── README.md
├── conf/
│   ├── conf.sh.dist
│   └── individualProgression.conf.dist
├── data/
│   └── sql/
│       ├── auth/
│       │   └── updates/
│       │       └── .gitkeep
│       ├── characters/
│       │   └── updates/
│       │       └── .gitkeep
│       └── world/
│           ├── base/
│           │   ├── .gitignore
│           │   ├── 00_cleanup.sql
│           │   ├── adjustment_auras.sql
│           │   ├── aq_gate_quest.sql
│           │   ├── aq_war.sql
│           │   ├── aq_war_effort.sql
│           │   ├── av.sql
│           │   ├── av_creatures.sql
│           │   ├── av_gameobjects.sql
│           │   ├── boss_lord_kazzak.sql
│           │   ├── class_trainers.sql
│           │   ├── cs_individualProgression.sql
│           │   ├── dungeon_aq20.sql
│           │   ├── dungeon_aq40.sql
│           │   ├── dungeon_attunements.sql
│           │   ├── dungeon_blackfathom_deeps.sql
│           │   ├── dungeon_blackrock_depths.sql
│           │   ├── dungeon_blackrock_spire.sql
│           │   ├── dungeon_blackwing_lair.sql
│           │   ├── dungeon_deadmines.sql
│           │   ├── dungeon_dire_maul.sql
│           │   ├── dungeon_gnomeregan.sql
│           │   ├── dungeon_karazhan.sql
│           │   ├── dungeon_maraudon.sql
│           │   ├── dungeon_molten_core.sql
│           │   ├── dungeon_onyxia.sql
│           │   ├── dungeon_ragefire_chasm.sql
│           │   ├── dungeon_razorfen_downs.sql
│           │   ├── dungeon_razorfen_kraul.sql
│           │   ├── dungeon_scarlet_monastery.sql
│           │   ├── dungeon_scholomance.sql
│           │   ├── dungeon_shadowfang_keep.sql
│           │   ├── dungeon_ssc.sql
│           │   ├── dungeon_stockade.sql
│           │   ├── dungeon_stratholme.sql
│           │   ├── dungeon_sunken_temple.sql
│           │   ├── dungeon_uldaman.sql
│           │   ├── dungeon_wailing_caverns.sql
│           │   ├── dungeon_zulaman.sql
│           │   ├── dungeon_zulfarrak.sql
│           │   ├── dungeon_zulgurub.sql
│           │   ├── ipp_aware_npcs.sql
│           │   ├── item_enchantment_rates.sql
│           │   ├── mounts_and_riding.sql
│           │   ├── naxx40.sql
│           │   ├── naxx40_archmage_tarsis.sql
│           │   ├── naxx40_creatures.sql
│           │   ├── naxx40_frozen_runes.sql
│           │   ├── naxx40_gameobjects.sql
│           │   ├── naxx40_omarion.sql
│           │   ├── naxx40_quests.sql
│           │   ├── naxx40_spells.sql
│           │   ├── player_levelstats.sql
│           │   ├── player_progression.sql
│           │   ├── player_starting_gear.sql
│           │   ├── player_starting_skillbars.sql
│           │   ├── player_starting_weapon_skills.sql
│           │   ├── professions.sql
│           │   ├── pvp_brackets.sql
│           │   ├── pvp_quests.sql
│           │   ├── pvp_vendors.sql
│           │   ├── quest_missing_diplomat.sql
│           │   ├── quest_the_masquerade.sql
│           │   ├── quest_xp_table.sql
│           │   ├── restore_achievements.sql
│           │   ├── si.sql
│           │   ├── si_creatures.sql
│           │   ├── si_gameobjects.sql
│           │   ├── spell_restorations.sql
│           │   ├── tbc_creatures.sql
│           │   ├── tbc_item_changes.sql
│           │   ├── tbc_loot_fixes.sql
│           │   ├── tbc_raid_hp_restoration.sql
│           │   ├── tbc_reference_loot.sql
│           │   ├── tbc_vendors.sql
│           │   ├── vanilla_creature_reputations.sql
│           │   ├── vanilla_creatures.sql
│           │   ├── vanilla_item_changes.sql
│           │   ├── vanilla_mechanic_immunity.sql
│           │   ├── vanilla_pooled_treasure_chests.sql
│           │   ├── vanilla_pvp_system.sql
│           │   ├── vanilla_quest_levels.sql
│           │   ├── vanilla_quest_reputations.sql
│           │   ├── vanilla_skinning_adjustments.sql
│           │   ├── vanilla_spell_school_immunity.sql
│           │   ├── vanilla_spell_school_resistances.sql
│           │   ├── vanilla_vendors.sql
│           │   ├── vanilla_world_level_adjustments.sql
│           │   ├── vanilla_xp_tables.sql
│           │   ├── warlock_pet_stats.sql
│           │   ├── wotlk_archmage_timear.sql
│           │   ├── wotlk_emblems.sql
│           │   ├── wotlk_vendors.sql
│           │   ├── zone_alterac_mountains.sql
│           │   ├── zone_arathi_highlands.sql
│           │   ├── zone_ashenvale.sql
│           │   ├── zone_azshara.sql
│           │   ├── zone_badlands.sql
│           │   ├── zone_barrens.sql
│           │   ├── zone_blades_edge_mountains.sql
│           │   ├── zone_blasted_lands.sql
│           │   ├── zone_bloodmyst_isle.sql
│           │   ├── zone_burning_steppes.sql
│           │   ├── zone_dalaran.sql
│           │   ├── zone_darkshore.sql
│           │   ├── zone_darnassus.sql
│           │   ├── zone_deadwind_pass.sql
│           │   ├── zone_desolace.sql
│           │   ├── zone_dragonblight.sql
│           │   ├── zone_dun_morogh.sql
│           │   ├── zone_durotar.sql
│           │   ├── zone_duskwood.sql
│           │   ├── zone_dustwallow_marsh.sql
│           │   ├── zone_eastern_plaguelands.sql
│           │   ├── zone_elwynn_forest.sql
│           │   ├── zone_eversong_woods.sql
│           │   ├── zone_felwood.sql
│           │   ├── zone_feralas.sql
│           │   ├── zone_ghostlands.sql
│           │   ├── zone_hellfire_peninsula.sql
│           │   ├── zone_hillsbrad_foothills.sql
│           │   ├── zone_hinterlands.sql
│           │   ├── zone_ironforge.sql
│           │   ├── zone_isle_of_queldanas.sql
│           │   ├── zone_loch_modan.sql
│           │   ├── zone_mulgore.sql
│           │   ├── zone_nagrand.sql
│           │   ├── zone_netherstorm.sql
│           │   ├── zone_orgrimmar.sql
│           │   ├── zone_redridge_mountains.sql
│           │   ├── zone_searing_gorge.sql
│           │   ├── zone_shadowmoon_valley.sql
│           │   ├── zone_shattrath.sql
│           │   ├── zone_silithus.sql
│           │   ├── zone_silvermoon.sql
│           │   ├── zone_silverpine.sql
│           │   ├── zone_stonetalon_mountains.sql
│           │   ├── zone_stormwind.sql
│           │   ├── zone_stranglethorn.sql
│           │   ├── zone_swamp_of_sorrows.sql
│           │   ├── zone_tanaris.sql
│           │   ├── zone_teldrassil.sql
│           │   ├── zone_terokkar_forest.sql
│           │   ├── zone_thousand_needles.sql
│           │   ├── zone_thunder_bluff.sql
│           │   ├── zone_tirisfal_glades.sql
│           │   ├── zone_undercity.sql
│           │   ├── zone_ungoro.sql
│           │   ├── zone_western_plaguelands.sql
│           │   ├── zone_westfall.sql
│           │   ├── zone_wetlands.sql
│           │   ├── zone_winterspring.sql
│           │   └── zone_zangarmarsh.sql
│           └── updates/
│               ├── .gitignore
│               └── .gitkeep
├── include.sh
├── optional/
│   ├── patch-explanations.txt
│   └── sql/
│       └── world/
│           ├── zz_optional_ammo_stack_size.sql
│           ├── zz_optional_aq_quest_nerf.sql
│           ├── zz_optional_av_landmines.sql
│           ├── zz_optional_creature_stats.sql
│           ├── zz_optional_item_stack_sizes.sql
│           ├── zz_optional_limit_spells_to_expansion.sql
│           ├── zz_optional_phasing.sql
│           ├── zz_optional_remove_heirlooms.sql
│           ├── zz_optional_restore_crafting_cd_timers.sql
│           ├── zz_optional_restore_potion_cd.sql
│           ├── zz_optional_restore_rogue_poisons.sql
│           ├── zz_optional_small_group_adjustments.sql
│           ├── zz_optional_spell_damage_and_healing.sql
│           ├── zz_optional_stackable_buff_scrolls.sql
│           ├── zz_optional_tbc_heroic_dungeon_keys_nerf.sql
│           ├── zz_optional_tbc_pvp_prices.sql
│           ├── zz_optional_unobtainable_items.sql
│           ├── zz_optional_vanilla_crafting_requirements.sql
│           ├── zz_optional_vanilla_models.sql
│           ├── zz_optional_vanilla_regen_values.sql
│           ├── zz_optional_vanilla_transports.sql
│           └── zz_optional_wotlk_hp_values_for_tbc_raids.sql
└── src/
    ├── IndividualProgression.cpp
    ├── IndividualProgression.h
    ├── IndividualProgressionAwareness.cpp
    ├── IndividualProgressionBG.cpp
    ├── IndividualProgressionPlayer.cpp
    ├── IndividualProgressionPvP.cpp
    ├── IndividualProgression_loader.cpp
    ├── cs_individualProgression.cpp
    ├── naxx40Scripts/
    │   ├── boss_anubrekhan_40.cpp
    │   ├── boss_faerlina_40.cpp
    │   ├── boss_four_horsemen_40.cpp
    │   ├── boss_gluth_40.cpp
    │   ├── boss_gothik_40.cpp
    │   ├── boss_grobbulus_40.cpp
    │   ├── boss_heigan_40.cpp
    │   ├── boss_kelthuzad_40.cpp
    │   ├── boss_loatheb_40.cpp
    │   ├── boss_maexxna_40.cpp
    │   ├── boss_noth_40.cpp
    │   ├── boss_patchwerk_40.cpp
    │   ├── boss_razuvious_40.cpp
    │   ├── boss_sapphiron_40.cpp
    │   ├── boss_thaddius_40.cpp
    │   ├── custom_creatures_40.cpp
    │   ├── custom_gameobjects_40.cpp
    │   ├── custom_scripts_40.cpp
    │   ├── custom_spells_40.cpp
    │   ├── instance_naxxramas.cpp
    │   ├── naxxramas.h
    │   ├── naxxramas_40.h
    │   └── omarion.cpp
    ├── spellScripts/
    │   └── spellScripts.cpp
    ├── tbcScripts/
    │   ├── caverns_of_time.cpp
    │   ├── instance_karazhan.cpp
    │   ├── isle_of_queldanas.cpp
    │   ├── serpentshrine_cavern.cpp
    │   └── the_eye.cpp
    ├── vanillaScripts/
    │   ├── ProgressionSystem.h
    │   ├── aq_scripts.cpp
    │   ├── aq_we_scripts.cpp
    │   ├── blackrock_spire.h
    │   ├── boss_chromaggus.cpp
    │   ├── boss_drakkisath.cpp
    │   ├── boss_lord_kazzak.cpp
    │   ├── boss_onyxia.cpp
    │   ├── instance_blackrock_depths.cpp
    │   ├── instance_blackrock_spire.cpp
    │   ├── instance_maraudon.cpp
    │   ├── instance_molten_core.cpp
    │   ├── instance_onyxias_lair.cpp
    │   ├── instance_stratholme.cpp
    │   ├── molten_core.h
    │   ├── onyxias_lair.h
    │   ├── quest_jail_break.cpp
    │   └── quest_the_masquerade.cpp
    └── wotlkScripts/
        ├── IppWotlkModdedScripts.cpp
        └── npc_archmage_timear.cpp
Copy disabled (too large) Download .json
Condensed preview — 245 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (10,651K chars).
[
  {
    "path": ".editorconfig",
    "chars": 152,
    "preview": "[*]\ncharset = utf-8\nindent_style = space\nindent_size = 4\ntab_width = 4\ninsert_final_newline = true\ntrim_trailing_whitesp"
  },
  {
    "path": ".gitattributes",
    "chars": 1570,
    "preview": "## AUTO-DETECT\n##   Handle line endings automatically for files detected as\n##   text and leave all files detected as bi"
  },
  {
    "path": ".gitignore",
    "chars": 434,
    "preview": "!.gitignore\n\n#\n#Generic\n#\n\n.directory\n.mailmap\n*.orig\n*.rej\n*.*~\n.hg/\n*.kdev*\n.DS_Store\nCMakeLists.txt.user\n*.bak\n*.patc"
  },
  {
    "path": "LICENSE",
    "chars": 1068,
    "preview": "MIT License\n\nCopyright (c) 2021 AzerothCore\n\nPermission is hereby granted, free of charge, to any person obtaining a cop"
  },
  {
    "path": "README.md",
    "chars": 4185,
    "preview": "# Individual Player Progression\n\n## Azerothcore Module\n\nThis module simulates progress through expansions and expansion "
  },
  {
    "path": "conf/conf.sh.dist",
    "chars": 644,
    "preview": "#!/usr/bin/env bash\n\n## CUSTOM SQL - Important file used by the db_assembler.sh\n## Keep only the required variables (bas"
  },
  {
    "path": "conf/individualProgression.conf.dist",
    "chars": 22204,
    "preview": "#\n# Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerot"
  },
  {
    "path": "data/sql/auth/updates/.gitkeep",
    "chars": 2,
    "preview": "\r\n"
  },
  {
    "path": "data/sql/characters/updates/.gitkeep",
    "chars": 2,
    "preview": "\r\n"
  },
  {
    "path": "data/sql/world/base/.gitignore",
    "chars": 13,
    "preview": "zz_optional*\n"
  },
  {
    "path": "data/sql/world/base/00_cleanup.sql",
    "chars": 7027,
    "preview": "/* Several unused BG NPCs have wrong classes in AC - fix to prevent console warning */\nUPDATE `creature_template` SET `u"
  },
  {
    "path": "data/sql/world/base/adjustment_auras.sql",
    "chars": 9465,
    "preview": "SET @IPPPHASE     := 65536;\nSET @IPPPHASE_II  := 131072;\nSET @IPPPHASE_III := 262144;\nSET @IPPPHASE_IV  := 524288;\nSET @"
  },
  {
    "path": "data/sql/world/base/aq_gate_quest.sql",
    "chars": 16571,
    "preview": "DELETE FROM `gameobject` WHERE `id` IN (176146, 176147, 176148);\nINSERT INTO `gameobject` (`id`, `map`, `position_x`, `p"
  },
  {
    "path": "data/sql/world/base/aq_war.sql",
    "chars": 18801,
    "preview": "SET @IPPPHASE := 65536;\nSET @CGUID    := 650000;\nSET @OGUID    := 650000;\n\n/* smart scripts */\nUPDATE `creature_template"
  },
  {
    "path": "data/sql/world/base/aq_war_effort.sql",
    "chars": 39092,
    "preview": "SET @CGUID    := 650000;\nSET @OGUID    := 650000;\n\n-- Collector Npcs\nDELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+"
  },
  {
    "path": "data/sql/world/base/av.sql",
    "chars": 235273,
    "preview": "SET @CGUID    := 657000;\nSET @WPID     := 6570000;\n\n/* TBC Patrols - Caves */\nDELETE FROM `creature_addon` WHERE `guid` "
  },
  {
    "path": "data/sql/world/base/av_creatures.sql",
    "chars": 296672,
    "preview": "SET @CGUID    := 657000;\n\n/* VANILLA */\n\nDELETE FROM `creature` WHERE `map` = 30 AND `spawnMask` = 1 AND `id1` IN (10986"
  },
  {
    "path": "data/sql/world/base/av_gameobjects.sql",
    "chars": 85204,
    "preview": "SET @OGUID    := 657000;\n\n/* RESOURCES */\nDELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUID+501 AND @OGUID+999;\nINSER"
  },
  {
    "path": "data/sql/world/base/boss_lord_kazzak.sql",
    "chars": 3873,
    "preview": "UPDATE `creature_template` SET `MovementType` = 1, `minlevel` = 63, `maxlevel` = 63, `flags_extra` = 0, `ScriptName` = '"
  },
  {
    "path": "data/sql/world/base/class_trainers.sql",
    "chars": 16944,
    "preview": "/* Restore Aquatic Form as a reward for Aquatic Form quests */\nUPDATE `quest_template` SET `RewardSpell` = 1446 WHERE `I"
  },
  {
    "path": "data/sql/world/base/cs_individualProgression.sql",
    "chars": 692,
    "preview": "DELETE FROM `command` WHERE `name` IN ('ip get', 'ip set', 'ip setbot', 'ip setrep', 'ip tele');\nINSERT INTO `command` ("
  },
  {
    "path": "data/sql/world/base/dungeon_aq20.sql",
    "chars": 34373,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(15318, 15319, 15320, 15323, 1"
  },
  {
    "path": "data/sql/world/base/dungeon_aq40.sql",
    "chars": 1216,
    "preview": "-- smart scripts\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (15718);\nDELETE FROM `smart_script"
  },
  {
    "path": "data/sql/world/base/dungeon_attunements.sql",
    "chars": 2228,
    "preview": "/* Maraudon Portal Requirement Script */\nUPDATE `gameobject_template` SET `ScriptName` = 'go_mara_portal' WHERE `entry` "
  },
  {
    "path": "data/sql/world/base/dungeon_blackfathom_deeps.sql",
    "chars": 17279,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(4798, 4799, 4805, 4807, 4809,"
  },
  {
    "path": "data/sql/world/base/dungeon_blackrock_depths.sql",
    "chars": 114318,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(8889, 8890, 8891, 8892, 8893,"
  },
  {
    "path": "data/sql/world/base/dungeon_blackrock_spire.sql",
    "chars": 76040,
    "preview": "/* ---- Upper Blackrock Spire ---- */\n\n/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `en"
  },
  {
    "path": "data/sql/world/base/dungeon_blackwing_lair.sql",
    "chars": 18553,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(12420, 12457, 12458, 12459, 1"
  },
  {
    "path": "data/sql/world/base/dungeon_deadmines.sql",
    "chars": 37291,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(594, 598 ,619, 622, 623, 624,"
  },
  {
    "path": "data/sql/world/base/dungeon_dire_maul.sql",
    "chars": 98637,
    "preview": "SET @CGUID   := 653000;\nSET @OGUID   := 653000;\nSET @WPID    := 6530000;\n\n-- Dusty Tomes\nDELETE FROM `gameobject` WHERE "
  },
  {
    "path": "data/sql/world/base/dungeon_gnomeregan.sql",
    "chars": 10327,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(6206, 6211, 6212, 6218, 6219,"
  },
  {
    "path": "data/sql/world/base/dungeon_karazhan.sql",
    "chars": 2565,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN (15551);\nDELETE FROM `smart_scr"
  },
  {
    "path": "data/sql/world/base/dungeon_maraudon.sql",
    "chars": 42242,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(11685, 11686, 11687, 11688, 1"
  },
  {
    "path": "data/sql/world/base/dungeon_molten_core.sql",
    "chars": 19258,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(11658, 11659, 11666, 11667, 1"
  },
  {
    "path": "data/sql/world/base/dungeon_onyxia.sql",
    "chars": 44653,
    "preview": "DELETE FROM `creature_template` WHERE `entry` BETWEEN 301000 AND 301003;\nINSERT INTO `creature_template` (`entry`, `name"
  },
  {
    "path": "data/sql/world/base/dungeon_ragefire_chasm.sql",
    "chars": 3873,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(11318, 11319, 11320, 11322, 1"
  },
  {
    "path": "data/sql/world/base/dungeon_razorfen_downs.sql",
    "chars": 12992,
    "preview": "-- smart scripts\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(4076, 7327, 7328, 7329, 7332, 73"
  },
  {
    "path": "data/sql/world/base/dungeon_razorfen_kraul.sql",
    "chars": 7247,
    "preview": "-- smart scripts\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(4422, 4424, 4428, 4436, 4442, 45"
  },
  {
    "path": "data/sql/world/base/dungeon_scarlet_monastery.sql",
    "chars": 40812,
    "preview": "UPDATE `gameobject_template_addon` SET `flags` = 34 WHERE `entry` = 104591; -- Chapel Door\n\n\n-- smart scripts\nUPDATE `cr"
  },
  {
    "path": "data/sql/world/base/dungeon_scholomance.sql",
    "chars": 15453,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(10469, 10470, 10471, 10472, 1"
  },
  {
    "path": "data/sql/world/base/dungeon_shadowfang_keep.sql",
    "chars": 5508,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(2529, 3855, 3859, 3861, 3873,"
  },
  {
    "path": "data/sql/world/base/dungeon_ssc.sql",
    "chars": 4181,
    "preview": "/* Correct quest log text for SSC attunement quest \"The Cudgel of Kar'desh\" */\nUPDATE `quest_template` SET `QuestComplet"
  },
  {
    "path": "data/sql/world/base/dungeon_stockade.sql",
    "chars": 10677,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(1663, 1666, 1696, 1706, 1707,"
  },
  {
    "path": "data/sql/world/base/dungeon_stratholme.sql",
    "chars": 55783,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(10381, 10382, 10383, 10390, 1"
  },
  {
    "path": "data/sql/world/base/dungeon_sunken_temple.sql",
    "chars": 26160,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (8319);\nUPDATE `creature_template` SET"
  },
  {
    "path": "data/sql/world/base/dungeon_uldaman.sql",
    "chars": 23726,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(2748, 2892, 2932, 4844, 4845,"
  },
  {
    "path": "data/sql/world/base/dungeon_wailing_caverns.sql",
    "chars": 14930,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(3630, 3631, 3632, 3633, 3634,"
  },
  {
    "path": "data/sql/world/base/dungeon_zulaman.sql",
    "chars": 3179,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(24043);\nDELETE FROM `smart_sc"
  },
  {
    "path": "data/sql/world/base/dungeon_zulfarrak.sql",
    "chars": 19640,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(5645, 5646, 5647, 5648, 5649,"
  },
  {
    "path": "data/sql/world/base/dungeon_zulgurub.sql",
    "chars": 19453,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(11338, 11339, 11340, 11350, 1"
  },
  {
    "path": "data/sql/world/base/ipp_aware_npcs.sql",
    "chars": 15259,
    "preview": "SET @IPPPHASE     := 65536;  -- this method of phasing is useful for aggressive creatures\nSET @IPPPHASE_II  := 131072;\nS"
  },
  {
    "path": "data/sql/world/base/item_enchantment_rates.sql",
    "chars": 9742,
    "preview": "REPLACE INTO `item_enchantment_template` (`entry`, `ench`, `chance`) VALUES\n(581, 15, 0.1001),\n(581, 24, 0.1001),\n(581, "
  },
  {
    "path": "data/sql/world/base/mounts_and_riding.sql",
    "chars": 27054,
    "preview": "-- Summon Warhorse - Tome of Nobility (Paladin)\nDELETE FROM `creature_queststarter` WHERE `quest` IN (1661, 4485, 4486);"
  },
  {
    "path": "data/sql/world/base/naxx40.sql",
    "chars": 5890,
    "preview": "-- Enable Naxxramas Map (mapID: 533)\nDELETE FROM `disables` WHERE `entry` = 533;\n\n-- Add MapDifficulty DBC Override - ht"
  },
  {
    "path": "data/sql/world/base/naxx40_archmage_tarsis.sql",
    "chars": 8448,
    "preview": "-- Add Archmage Tarsis Kir-Moldir\nUPDATE `creature_template` SET `gossip_menu_id` = 7229, `npcflag` = 1, `unit_flags` = "
  },
  {
    "path": "data/sql/world/base/naxx40_creatures.sql",
    "chars": 446239,
    "preview": "SET @CENTRY    := 351000;  -- creature entry\nSET @GUID      := 361000;  -- creature guid\nSET @WPID      := 3610000; -- w"
  },
  {
    "path": "data/sql/world/base/naxx40_frozen_runes.sql",
    "chars": 34700,
    "preview": "--\n-- Custom GUIDs\n-- `gameobject` [5330300,5330508]\nDELETE FROM `pool_gameobject` WHERE `guid` IN\n(5330334, 5330333, 53"
  },
  {
    "path": "data/sql/world/base/naxx40_gameobjects.sql",
    "chars": 5679,
    "preview": "-- Orb of Naxxramas does not exist in classic\nUPDATE `gameobject` SET `spawnMask` = 3 WHERE `id` IN (202278, 202277);\n\n-"
  },
  {
    "path": "data/sql/world/base/naxx40_omarion.sql",
    "chars": 6929,
    "preview": "-- Handle gossip with cpp script\nUPDATE `creature_template` SET `ScriptName`='npc_omarion_gossip',`gossip_menu_id`=0, `f"
  },
  {
    "path": "data/sql/world/base/naxx40_quests.sql",
    "chars": 37752,
    "preview": "-- Enable T3 turn in Quests\n-- Enable exalted attunement quest (9378)\nDELETE FROM `disables` WHERE `sourceType` = 1 AND "
  },
  {
    "path": "data/sql/world/base/naxx40_spells.sql",
    "chars": 25874,
    "preview": "-- Custom GUIDs\n-- (29213, 'spell_noth_curse_of_the_plaguebringer_aura_40');\n-- (29371, 'spell_heigan_eruption_40');\n-- "
  },
  {
    "path": "data/sql/world/base/player_levelstats.sql",
    "chars": 30026,
    "preview": "/* Stats per level from Vanilla and TBC data. This is already very close to WotLK values, so this is only changed for ac"
  },
  {
    "path": "data/sql/world/base/player_progression.sql",
    "chars": 55022,
    "preview": "/*\n    This add progression tracking quests.\n    These can be used in combination with the 'conditions' database table t"
  },
  {
    "path": "data/sql/world/base/player_starting_gear.sql",
    "chars": 30544,
    "preview": "DELETE FROM `charstartoutfit_dbc` WHERE `ID` BETWEEN 1 AND 346;\nINSERT INTO `charstartoutfit_dbc` (`ID`, `RaceID`, `Clas"
  },
  {
    "path": "data/sql/world/base/player_starting_skillbars.sql",
    "chars": 6234,
    "preview": "DELETE FROM `playercreateinfo_action` WHERE `class` IN (1, 2, 3, 4, 5, 7, 8, 9, 11);\nINSERT INTO `playercreateinfo_actio"
  },
  {
    "path": "data/sql/world/base/player_starting_weapon_skills.sql",
    "chars": 4627,
    "preview": "/* Corrects the starting weapon skills for each race and class to match pre-3.3 */\n\n/* Two-handed swords */\nSET @2HSWORD"
  },
  {
    "path": "data/sql/world/base/professions.sql",
    "chars": 69156,
    "preview": "-- Enchant formulas dropped as items\nDELETE FROM `trainer_spell` WHERE `SpellID` IN (20008, 20012, 20013, 20014, 20016, "
  },
  {
    "path": "data/sql/world/base/pvp_brackets.sql",
    "chars": 3815,
    "preview": "/*\n    Due to significant power progression differences after level 60 and level 70, \n    this will modify PvP brackets "
  },
  {
    "path": "data/sql/world/base/pvp_quests.sql",
    "chars": 28966,
    "preview": "SET @CGUID   := 659000;\n\nSET @HW      := 115350; -- Horde Warbringer - vanilla\nSET @ABG     := 115351; -- Alliance Briga"
  },
  {
    "path": "data/sql/world/base/pvp_vendors.sql",
    "chars": 156767,
    "preview": "-- Orgrimmar\nSET @Stonehide  := 112793;\nSET @Zarg       := 112794;\nSET @Hola       := 112795;\nSET @Bork       := 112796;"
  },
  {
    "path": "data/sql/world/base/quest_missing_diplomat.sql",
    "chars": 5761,
    "preview": "-- Missing Diplomat Quests\n\nUPDATE `quest_template` SET `RewardNextQuest` = 11222 WHERE ID = 11142;\nUPDATE `quest_templa"
  },
  {
    "path": "data/sql/world/base/quest_the_masquerade.sql",
    "chars": 35529,
    "preview": "DELETE FROM `creature_queststarter` WHERE `quest` IN (4182, 4183) AND `id` = 9562;\nDELETE FROM `creature_queststarter` W"
  },
  {
    "path": "data/sql/world/base/quest_xp_table.sql",
    "chars": 77071,
    "preview": "DROP TABLE IF EXISTS `custom_quest_xp`;\nCREATE TABLE IF NOT EXISTS `custom_quest_xp` (\n    `entry` int unsigned NOT NULL"
  },
  {
    "path": "data/sql/world/base/restore_achievements.sql",
    "chars": 955,
    "preview": "/* Glory of the Raider removed rewards */\nDELETE FROM `achievement_reward` WHERE `ID` in (2138, 2137);\nINSERT INTO `achi"
  },
  {
    "path": "data/sql/world/base/si.sql",
    "chars": 72672,
    "preview": "SET @IPPPHASE := 65536;\n\n/* Friendship Bread and Freshly-Squeezed Lemonade */\nDELETE FROM `npc_vendor` WHERE `entry` IN "
  },
  {
    "path": "data/sql/world/base/si_creatures.sql",
    "chars": 214319,
    "preview": "/*-- SCOURGE INVASION - CREATURES --*/\n\nSET @CGUID    := 660000;\nSET @IPPPHASE := 65536;\n\nSET @ARGENT_RECRUITER      := "
  },
  {
    "path": "data/sql/world/base/si_gameobjects.sql",
    "chars": 15760,
    "preview": "/*-- SCOURCE INVASION - GAME OBJECTS --*/\n\nSET @OGUID    := 660000;\n\nDELETE FROM `gameobject` WHERE `guid` BETWEEN @OGUI"
  },
  {
    "path": "data/sql/world/base/spell_restorations.sql",
    "chars": 11677,
    "preview": "/* Restore Detect Magic - situation spell removed in 2.3 when enemy buffs became part of the base UI; restore for flavor"
  },
  {
    "path": "data/sql/world/base/tbc_creatures.sql",
    "chars": 429517,
    "preview": "/* Sets TBC creatures to values extracted from cMangos TBC, which has high quality, pre-nef TBC Content */\n/* These may "
  },
  {
    "path": "data/sql/world/base/tbc_item_changes.sql",
    "chars": 233327,
    "preview": "/*  Simple Pearl Ring  */\nUPDATE `item_template` SET `stat_type1` = 18 WHERE `entry` = 20820;\n\n/*  Wicked Moonstone Ring"
  },
  {
    "path": "data/sql/world/base/tbc_loot_fixes.sql",
    "chars": 199347,
    "preview": "/* Formula, Plans, Schematics */\n\nDELETE FROM `creature_loot_template` WHERE `Reference` = 50501 AND `Entry` BETWEEN 119"
  },
  {
    "path": "data/sql/world/base/tbc_raid_hp_restoration.sql",
    "chars": 44755,
    "preview": "-- In Patch 3.0.2, all creatures in TBC raid instances and TBC world bosses had their max health reduced (generally by 3"
  },
  {
    "path": "data/sql/world/base/tbc_reference_loot.sql",
    "chars": 30161,
    "preview": "DELETE FROM `reference_loot_template` WHERE `Entry` IN (34052, 34093, 36098, 36196, 36197, 36198, 36199, 50501);\nDELETE "
  },
  {
    "path": "data/sql/world/base/tbc_vendors.sql",
    "chars": 10409,
    "preview": "/*  Hide vendor items until the player has completed the progression level for them */\nDELETE FROM `conditions` WHERE `S"
  },
  {
    "path": "data/sql/world/base/vanilla_creature_reputations.sql",
    "chars": 31636,
    "preview": "UPDATE `creature_onkill_reputation` SET `RewOnKillRepValue1` = 25 WHERE `creature_id`=674;\nUPDATE `creature_onkill_reput"
  },
  {
    "path": "data/sql/world/base/vanilla_creatures.sql",
    "chars": 1005449,
    "preview": "/*  Flesh Eater  */\nUPDATE `creature_template` SET `speed_walk` = 0.777776 WHERE `entry` = 3;\n\n/*  Kobold Vermin  */\nUPD"
  },
  {
    "path": "data/sql/world/base/vanilla_item_changes.sql",
    "chars": 857624,
    "preview": "-- Alter AzerothCore table to support Vanilla negative resistance values\nALTER TABLE item_template MODIFY fire_res SMALL"
  },
  {
    "path": "data/sql/world/base/vanilla_mechanic_immunity.sql",
    "chars": 91720,
    "preview": "-- Mechanic Immunities copied from VMangos (2025) \n\n/*\nUPDATE `creature_template` SET `mechanic_immune_mask` = 8405008 W"
  },
  {
    "path": "data/sql/world/base/vanilla_pooled_treasure_chests.sql",
    "chars": 2833,
    "preview": "/*\n    Pooled Treasure Chests\n    This should and likely will get fixed by AzerothCore itself at some point,\n    so that"
  },
  {
    "path": "data/sql/world/base/vanilla_pvp_system.sql",
    "chars": 92396,
    "preview": "/* Working Vanilla PvP rank system in Azerothcore 3.3.5 for Mod-Individual-Progression */\n\n-- Gold prices for new Vanill"
  },
  {
    "path": "data/sql/world/base/vanilla_quest_levels.sql",
    "chars": 54050,
    "preview": "/*  Kobold Camp Cleanup  */\nUPDATE quest_template SET RequiredNpcOrGoCount1 = 10 WHERE ID=7;\n\n/*  Investigate Echo Ridge"
  },
  {
    "path": "data/sql/world/base/vanilla_quest_reputations.sql",
    "chars": 498721,
    "preview": "-- Vanilla Rep Values\nUPDATE quest_template SET RewardFactionOverride1=7500, RewardFactionOverride2=0,RewardFactionOverr"
  },
  {
    "path": "data/sql/world/base/vanilla_skinning_adjustments.sql",
    "chars": 5679,
    "preview": "DELETE FROM `skinning_loot_template` WHERE `entry` IN (684, 768, 1713, 1817, 2680, 2681, 2730, 2923, 2924,\n2925, 2926, 5"
  },
  {
    "path": "data/sql/world/base/vanilla_spell_school_immunity.sql",
    "chars": 2100,
    "preview": "/*\nUPDATE `creature_template` SET `spell_school_immune_mask` = `spell_school_immune_mask`|4 WHERE entry=89;\nUPDATE `crea"
  },
  {
    "path": "data/sql/world/base/vanilla_spell_school_resistances.sql",
    "chars": 280853,
    "preview": "/*  Deathmaw  */\nREPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (0 , 10077, 2"
  },
  {
    "path": "data/sql/world/base/vanilla_vendors.sql",
    "chars": 133455,
    "preview": "/*  Hide vendor items until the player has completed the progression level for them */\nDELETE FROM `conditions` WHERE `S"
  },
  {
    "path": "data/sql/world/base/vanilla_world_level_adjustments.sql",
    "chars": 5230,
    "preview": "/* To make NPCs added later to the original world maps better fit the Vanilla world, this adjusts their levels to fit Va"
  },
  {
    "path": "data/sql/world/base/vanilla_xp_tables.sql",
    "chars": 1119,
    "preview": "REPLACE INTO `player_xp_for_level` (`Level`, `Experience`) VALUES\n(1, 400),\n(2, 900),\n(3, 1400),\n(4, 2100),\n(5, 2800),\n("
  },
  {
    "path": "data/sql/world/base/warlock_pet_stats.sql",
    "chars": 54386,
    "preview": "/* Correct Warlock pet stats for Vanilla levels */\n\n-- Correct stats for Imp.\nUPDATE `pet_levelstats` SET `armor`=0, `st"
  },
  {
    "path": "data/sql/world/base/wotlk_archmage_timear.sql",
    "chars": 10050,
    "preview": "UPDATE `creature_template` SET `ScriptName`='npc_archmage_timear' WHERE `entry`=31439;\n\nDELETE FROM `creature_questender"
  },
  {
    "path": "data/sql/world/base/wotlk_emblems.sql",
    "chars": 153775,
    "preview": "/*\n    source: https://www.wowhead.com/wotlk/guide/wrath-of-the-lich-king-classic-overview\n\t        https://wowpedia.fan"
  },
  {
    "path": "data/sql/world/base/wotlk_vendors.sql",
    "chars": 13020,
    "preview": "/*  Hide vendor items until the player has completed the progression level for them */\nDELETE FROM `conditions` WHERE `S"
  },
  {
    "path": "data/sql/world/base/zone_alterac_mountains.sql",
    "chars": 17727,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (2320, 2407);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_arathi_highlands.sql",
    "chars": 27679,
    "preview": "-- smart scripts\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (2581);\nUPDATE `creature_template` SET `A"
  },
  {
    "path": "data/sql/world/base/zone_ashenvale.sql",
    "chars": 65832,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (3809, 3931);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_azshara.sql",
    "chars": 21295,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (193, 6125);\nUPDATE `creature_template"
  },
  {
    "path": "data/sql/world/base/zone_badlands.sql",
    "chars": 9815,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (2753, 2754);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_barrens.sql",
    "chars": 118753,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (3243, 3383, 3414, 3470, 3472, 3476, 4"
  },
  {
    "path": "data/sql/world/base/zone_blades_edge_mountains.sql",
    "chars": 10310,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN  (19948, 19952, 19957, 19993, 1"
  },
  {
    "path": "data/sql/world/base/zone_blasted_lands.sql",
    "chars": 46788,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (5984, 6011);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_bloodmyst_isle.sql",
    "chars": 254,
    "preview": "-- fix Lord Xiz path ID 0 error (these changes are correct, but sadly this doesn't fix it still)\nUPDATE `creature` SET `"
  },
  {
    "path": "data/sql/world/base/zone_burning_steppes.sql",
    "chars": 15959,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (7055);\nUPDATE `creature_template` SET"
  },
  {
    "path": "data/sql/world/base/zone_dalaran.sql",
    "chars": 4453,
    "preview": "DELETE FROM `creature` WHERE `id1` IN (31863, 31864, 31865, 33921, 33922, 33923, 33925, 33926, 33927, 33936, 33937, 3393"
  },
  {
    "path": "data/sql/world/base/zone_darkshore.sql",
    "chars": 25304,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (2069);\nUPDATE `creature_template` SET"
  },
  {
    "path": "data/sql/world/base/zone_darnassus.sql",
    "chars": 4964,
    "preview": "UPDATE `creature_template` SET `subname` = 'Journeyman Alchemist'     WHERE `entry` = 11041; -- Milla Fairancora <Journe"
  },
  {
    "path": "data/sql/world/base/zone_deadwind_pass.sql",
    "chars": 146031,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(7370, 7371, 7372, 7376, 7379,"
  },
  {
    "path": "data/sql/world/base/zone_desolace.sql",
    "chars": 101189,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(4632, 4634, 4635, 4636, 4637,"
  },
  {
    "path": "data/sql/world/base/zone_dragonblight.sql",
    "chars": 2195,
    "preview": "-- fix Dregmar Runebrand waypoints\nUPDATE `creature_template` SET `MovementType` = 0 WHERE `entry` = 27003;\nUPDATE `crea"
  },
  {
    "path": "data/sql/world/base/zone_dun_morogh.sql",
    "chars": 17069,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(706, 808, 1115, 1116, 1117, 1"
  },
  {
    "path": "data/sql/world/base/zone_durotar.sql",
    "chars": 29823,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (3121, 3195);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_duskwood.sql",
    "chars": 19090,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (213, 521, 898, 923);\nUPDATE `creature"
  },
  {
    "path": "data/sql/world/base/zone_dustwallow_marsh.sql",
    "chars": 49144,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (4382, 4397);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_eastern_plaguelands.sql",
    "chars": 36272,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (8596, 11290);\nUPDATE `creature_templa"
  },
  {
    "path": "data/sql/world/base/zone_elwynn_forest.sql",
    "chars": 25602,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (118, 285, 525, 735);\nUPDATE `creature"
  },
  {
    "path": "data/sql/world/base/zone_eversong_woods.sql",
    "chars": 662,
    "preview": "-- Windows to the Source (Warlock)\nDELETE FROM `creature_questender` WHERE `id`=15283 AND `quest`=8344;\nINSERT INTO `cre"
  },
  {
    "path": "data/sql/world/base/zone_felwood.sql",
    "chars": 28955,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (14340, 14343);\nUPDATE `creature_templ"
  },
  {
    "path": "data/sql/world/base/zone_feralas.sql",
    "chars": 39048,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (5229, 5268);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_ghostlands.sql",
    "chars": 104,
    "preview": "-- fix Eye of Dar'khan worldserver error\nUPDATE `creature` SET `MovementType` = 0 WHERE `guid` = 82897;\n"
  },
  {
    "path": "data/sql/world/base/zone_hellfire_peninsula.sql",
    "chars": 2513,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(16938, 19354);\nDELETE FROM `s"
  },
  {
    "path": "data/sql/world/base/zone_hillsbrad_foothills.sql",
    "chars": 48400,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (2351, 2354, 2356, 2385, 14280);\nUPDAT"
  },
  {
    "path": "data/sql/world/base/zone_hinterlands.sql",
    "chars": 23334,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (2925, 2929);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_ironforge.sql",
    "chars": 4258,
    "preview": "UPDATE `creature_template` SET `subname` = 'Journeyman Alchemist'     WHERE `entry` = 1246;  -- Vosur Brakthel <Journeym"
  },
  {
    "path": "data/sql/world/base/zone_isle_of_queldanas.sql",
    "chars": 59025,
    "preview": "-- https://www.wowhead.com/tbc/guide/isle-of-queldanas-overview-burning-crusade-classic#quests-and-phases\n\n-- disable th"
  },
  {
    "path": "data/sql/world/base/zone_loch_modan.sql",
    "chars": 20026,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (1186, 1188, 1189, 1225);\nUPDATE `crea"
  },
  {
    "path": "data/sql/world/base/zone_mulgore.sql",
    "chars": 26127,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (2959, 3035, 3056, 5787);\nUPDATE `crea"
  },
  {
    "path": "data/sql/world/base/zone_nagrand.sql",
    "chars": 14584,
    "preview": "-- fix The Ring of Blood: The Final Challenge - Mogor was resurrecting with 1% health\nDELETE FROM `smart_scripts` WHERE "
  },
  {
    "path": "data/sql/world/base/zone_netherstorm.sql",
    "chars": 48782,
    "preview": "-- fix quest 10182, 10305, 10306, 10307\nDELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (19543,"
  },
  {
    "path": "data/sql/world/base/zone_orgrimmar.sql",
    "chars": 47212,
    "preview": "UPDATE `creature_template` SET `subname` = 'Expert Blacksmith'        WHERE `entry` = 1383;  -- Snarl <Expert Blacksmith"
  },
  {
    "path": "data/sql/world/base/zone_redridge_mountains.sql",
    "chars": 42051,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(334, 335, 345, 422, 423, 424,"
  },
  {
    "path": "data/sql/world/base/zone_searing_gorge.sql",
    "chars": 16329,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (5857, 8279);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_shadowmoon_valley.sql",
    "chars": 2650,
    "preview": "-- flight masters at Sanctum of the Stars and Altar of Sha'tar only visible if at least friendly with Scryers/Aldor\nDELE"
  },
  {
    "path": "data/sql/world/base/zone_shattrath.sql",
    "chars": 46389,
    "preview": "/* Restore Ruby Shades to Haris Pilton */\nDELETE FROM `npc_vendor` WHERE `entry` = 18756 AND `item` = 38089 AND `Extende"
  },
  {
    "path": "data/sql/world/base/zone_silithus.sql",
    "chars": 61415,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (11721, 11726, 11731);\nUPDATE `creatur"
  },
  {
    "path": "data/sql/world/base/zone_silvermoon.sql",
    "chars": 25912,
    "preview": "-- Restore M'uru\nSET @MURU_GUID := 352043;\nDELETE FROM `creature` WHERE `guid` = @MURU_GUID;\nINSERT INTO `creature` (`gu"
  },
  {
    "path": "data/sql/world/base/zone_silverpine.sql",
    "chars": 29159,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (1766, 1778, 1797, 1923);\nUPDATE `crea"
  },
  {
    "path": "data/sql/world/base/zone_stonetalon_mountains.sql",
    "chars": 33094,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (4067, 11910);\nUPDATE `creature_templa"
  },
  {
    "path": "data/sql/world/base/zone_stormwind.sql",
    "chars": 45037,
    "preview": "UPDATE `creature_template` SET `subname` = 'Journeyman Blacksmith'    WHERE `entry` = 957;   -- Dane Lindgren <Apprentic"
  },
  {
    "path": "data/sql/world/base/zone_stranglethorn.sql",
    "chars": 59480,
    "preview": "-- smart scripts\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (681, 682, 683, 687, 691, 736, 772, 854, "
  },
  {
    "path": "data/sql/world/base/zone_swamp_of_sorrows.sql",
    "chars": 9520,
    "preview": "-- smart scripts\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (767, 1081);\nUPDATE `creature_template` S"
  },
  {
    "path": "data/sql/world/base/zone_tanaris.sql",
    "chars": 23591,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (5490);\nUPDATE `creature_template` SET"
  },
  {
    "path": "data/sql/world/base/zone_teldrassil.sql",
    "chars": 10705,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(2002, 2003, 2004, 2005, 2006,"
  },
  {
    "path": "data/sql/world/base/zone_terokkar_forest.sql",
    "chars": 146881,
    "preview": "-- fix drop Mature Bone Sifter Carcass (didn't drop)\nUPDATE `creature_loot_template` SET `GroupId` = 2 WHERE `Item` = 31"
  },
  {
    "path": "data/sql/world/base/zone_thousand_needles.sql",
    "chars": 28918,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (4124, 4248, 4499, 9377);\nUPDATE `crea"
  },
  {
    "path": "data/sql/world/base/zone_thunder_bluff.sql",
    "chars": 5562,
    "preview": "UPDATE `creature_template` SET `subname` = 'Expert Blacksmith'        WHERE `entry` = 2998;  -- Karn Stonehoof <Expert B"
  },
  {
    "path": "data/sql/world/base/zone_tirisfal_glades.sql",
    "chars": 39232,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(1504, 1505, 1506, 1507, 1522,"
  },
  {
    "path": "data/sql/world/base/zone_undercity.sql",
    "chars": 25344,
    "preview": "UPDATE `creature_template` SET `npcflag` = 81, `subname` = 'Journeyman Leatherworker'     WHERE `entry` = 223;   -- Dan "
  },
  {
    "path": "data/sql/world/base/zone_ungoro.sql",
    "chars": 17780,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (6506, 6560);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_western_plaguelands.sql",
    "chars": 34767,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (1813);\nUPDATE `creature_template` SET"
  },
  {
    "path": "data/sql/world/base/zone_westfall.sql",
    "chars": 21080,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (199, 7051);\nUPDATE `creature_template"
  },
  {
    "path": "data/sql/world/base/zone_wetlands.sql",
    "chars": 40888,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN \n(1007, 1008, 1009, 1010, 1011,"
  },
  {
    "path": "data/sql/world/base/zone_winterspring.sql",
    "chars": 24367,
    "preview": "/* smart scripts */\nUPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (7431, 7455);\nUPDATE `creature_templat"
  },
  {
    "path": "data/sql/world/base/zone_zangarmarsh.sql",
    "chars": 797,
    "preview": "-- Withered Giant - Scout Jyoba's Report\nUPDATE `creature_loot_template` SET `Chance` = 20 WHERE `Item` = 24373 AND `Ent"
  },
  {
    "path": "data/sql/world/updates/.gitignore",
    "chars": 13,
    "preview": "zz_optional*\n"
  },
  {
    "path": "data/sql/world/updates/.gitkeep",
    "chars": 2,
    "preview": "\r\n"
  },
  {
    "path": "include.sh",
    "chars": 280,
    "preview": "#!/usr/bin/env bash\n\n## GETS THE CURRENT MODULE ROOT DIRECTORY\nMOD_SKELETON_ROOT=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" "
  },
  {
    "path": "optional/patch-explanations.txt",
    "chars": 1845,
    "preview": "(please backup first in case you want to undo changes! It is safe to leave backups in the dbc folder with different name"
  },
  {
    "path": "optional/sql/world/zz_optional_ammo_stack_size.sql",
    "chars": 397,
    "preview": "/*\n    In 3.1 all ammo was changed to stack to 1000. This reduced the usefulness of quivers and ammo pouches\n    This SQ"
  },
  {
    "path": "optional/sql/world/zz_optional_aq_quest_nerf.sql",
    "chars": 3217,
    "preview": "/*\n    Optional but suggested changes. The AQ quests were originally designed for a large group of players to farm items"
  },
  {
    "path": "optional/sql/world/zz_optional_av_landmines.sql",
    "chars": 47432,
    "preview": "/*\n    This optional file adds landmines to the vanilla version of Alterac Valley\n    Please note that bots are not awar"
  },
  {
    "path": "optional/sql/world/zz_optional_creature_stats.sql",
    "chars": 3999,
    "preview": "/*\n    The stats for low level creatures are inconsistent with Vmangos, but damage values do actually appear correct.\n  "
  },
  {
    "path": "optional/sql/world/zz_optional_item_stack_sizes.sql",
    "chars": 41158,
    "preview": "/*\n    This will change item stack sizes for Vanilla items to Vanilla stack sizes,\n    and TBC items to TBC stack sizes."
  },
  {
    "path": "optional/sql/world/zz_optional_limit_spells_to_expansion.sql",
    "chars": 5634,
    "preview": "/*\n    This optional file sets the required level to train certain class spells to the expansion they were introduced in"
  },
  {
    "path": "optional/sql/world/zz_optional_phasing.sql",
    "chars": 13715,
    "preview": "/*  \n    This will phase Vanilla/TBC npcs & objects placed in vanilla areas until they were originally added to the game"
  },
  {
    "path": "optional/sql/world/zz_optional_remove_heirlooms.sql",
    "chars": 966,
    "preview": "/*\n    Heirloom items are antithetical to Individual Progression, as they are designed to skip progression and speed thr"
  },
  {
    "path": "optional/sql/world/zz_optional_restore_crafting_cd_timers.sql",
    "chars": 3430,
    "preview": "/* \n    This optional SQL file restores cooldown timers for Vanilla and TBC crafting recipes.\n    This may require a res"
  },
  {
    "path": "optional/sql/world/zz_optional_restore_potion_cd.sql",
    "chars": 976,
    "preview": "/* This will restore potion cooldown time to 2 minutes like it was during vanilla and TBC */\n\n/* classic potions */\nUPDA"
  },
  {
    "path": "optional/sql/world/zz_optional_restore_rogue_poisons.sql",
    "chars": 9875,
    "preview": "/* \n    In WotLK the Rogue Poisons crafting skill was removed and poisons were added to be simply bought from vendors in"
  },
  {
    "path": "optional/sql/world/zz_optional_small_group_adjustments.sql",
    "chars": 3561,
    "preview": "/* These changes are intended to be used in conjunction with autobalance, NPCBots, or other methods that allow players t"
  },
  {
    "path": "optional/sql/world/zz_optional_spell_damage_and_healing.sql",
    "chars": 27246,
    "preview": "/*\n    Patch-V or Patch-S is REQUIRED for this to work!\n    This restores 'Increased healing done' for Vanilla items and"
  },
  {
    "path": "optional/sql/world/zz_optional_stackable_buff_scrolls.sql",
    "chars": 858,
    "preview": "/* \n    These changes remove exclusivity from the buff scrolls, and make them stackable.\n    This restores behavior to v"
  },
  {
    "path": "optional/sql/world/zz_optional_tbc_heroic_dungeon_keys_nerf.sql",
    "chars": 1134,
    "preview": "/* \n    Optional change. Obtaining keys for heroic dungeons in The Burning Crusade is conditional on having correspondin"
  },
  {
    "path": "optional/sql/world/zz_optional_tbc_pvp_prices.sql",
    "chars": 48066,
    "preview": "/*\n    This changes the prices of pvp items to how they were during TBC.\n    Items cost now include marks of honor from "
  },
  {
    "path": "optional/sql/world/zz_optional_unobtainable_items.sql",
    "chars": 1360,
    "preview": "/* \n    These changes add otherwise unobtainable items to appropriate places in the world, with suitable levels of chall"
  },
  {
    "path": "optional/sql/world/zz_optional_vanilla_crafting_requirements.sql",
    "chars": 5360,
    "preview": "/* \n    This will restore specialization requirements for vanilla crafting recipes.\n    This may require a reset of the "
  },
  {
    "path": "optional/sql/world/zz_optional_vanilla_models.sql",
    "chars": 36029,
    "preview": "/*\n    Reverts creatures that had model changes post-Vanilla to their original models.\n    There are a few exceptions du"
  },
  {
    "path": "optional/sql/world/zz_optional_vanilla_regen_values.sql",
    "chars": 198970,
    "preview": "/*\n    This SQL file attempts to restore the health and mana regen values to how they were during vanilla.\n    There is "
  },
  {
    "path": "optional/sql/world/zz_optional_vanilla_transports.sql",
    "chars": 6516,
    "preview": "/*\n   Latest version of Patch-V is required for this to work.\n   Re-route The Bravery to follow the pre-WotLK path to Me"
  },
  {
    "path": "optional/sql/world/zz_optional_wotlk_hp_values_for_tbc_raids.sql",
    "chars": 45142,
    "preview": "-- This will apply the patch 3.0.2 nerfs to the max health of TBC raid creatures\n-- only run this if you want a weaker v"
  },
  {
    "path": "src/IndividualProgression.cpp",
    "chars": 40920,
    "preview": "/*\n    Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/aze"
  },
  {
    "path": "src/IndividualProgression.h",
    "chars": 17682,
    "preview": "#ifndef AZEROTHCORE_INDIVIDUALPROGRESSION_H\n#define AZEROTHCORE_INDIVIDUALPROGRESSION_H\n\n#include \"ScriptMgr.h\"\n#include"
  },
  {
    "path": "src/IndividualProgressionAwareness.cpp",
    "chars": 23702,
    "preview": "#include \"IndividualProgression.h\"\n#include \"WorldState.h\"\n\nclass gobject_ipp_preaq : public GameObjectScript\n{\npublic:\n"
  },
  {
    "path": "src/IndividualProgressionBG.cpp",
    "chars": 5392,
    "preview": "#include \"SharedDefines.h\"\n#include \"Map.h\"\n#include \"Player.h\"\n#include \"AllBattlegroundScript.h\"\n#include \"Battlegroun"
  },
  {
    "path": "src/IndividualProgressionPlayer.cpp",
    "chars": 62614,
    "preview": "#include \"IndividualProgression.h\"\n#include \"naxxramas_40.h\"\n#include \"Spell.h\"\n\nclass IndividualPlayerProgression : pub"
  },
  {
    "path": "src/IndividualProgressionPvP.cpp",
    "chars": 10346,
    "preview": "#include \"IndividualProgression.h\"\n#include \"WorldState.h\"\n\nclass gobject_ipp_pvp_closed : public GameObjectScript\n{\npub"
  },
  {
    "path": "src/IndividualProgression_loader.cpp",
    "chars": 3642,
    "preview": "/*\n * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azer"
  },
  {
    "path": "src/cs_individualProgression.cpp",
    "chars": 16390,
    "preview": "#include \"Player.h\"\n#include \"ScriptMgr.h\"\n#include \"Tokenize.h\"\n#include \"IndividualProgression.h\"\n#include \"naxxramas_"
  },
  {
    "path": "src/naxx40Scripts/boss_anubrekhan_40.cpp",
    "chars": 5208,
    "preview": "/*\n * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information\n *\n * This program is fre"
  },
  {
    "path": "src/naxx40Scripts/boss_faerlina_40.cpp",
    "chars": 6558,
    "preview": "/*\n * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information\n *\n * This program is fre"
  },
  {
    "path": "src/naxx40Scripts/boss_four_horsemen_40.cpp",
    "chars": 13478,
    "preview": "/*\n * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information\n *\n * This program is fre"
  },
  {
    "path": "src/naxx40Scripts/boss_gluth_40.cpp",
    "chars": 10718,
    "preview": "/*\n * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information\n *\n * This program is fre"
  }
]

// ... and 45 more files (download for full content)

About this extraction

This page contains the full source code of the ZhengPeiRu21/mod-individual-progression GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 245 files (10.0 MB), approximately 2.6M tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!