aboutsummaryrefslogtreecommitdiff
path: root/sql/old/3.1.3
diff options
context:
space:
mode:
authorrunningnak3d <runningnak3d@gmail.com>2011-02-02 07:50:21 -0700
committerrunningnak3d <runningnak3d@gmail.com>2011-02-02 07:50:21 -0700
commit0a5d8711e5294c36d40b779187e1718d3365f5fa (patch)
tree66886f94d35e874a6c02c18f8e4c0b6fd702aa10 /sql/old/3.1.3
parent704e0af9c4e656e8aae5f163fce8cced14a39112 (diff)
Misc: Restructuring directory layout to accomodate the fact that we will
be pushing DB content. We will no longer have a seperate DB repo.
Diffstat (limited to 'sql/old/3.1.3')
-rw-r--r--sql/old/3.1.3/03920_characters_309-313_converter.sql63
-rw-r--r--sql/old/3.1.3/03920_world_309-313_converter.sql66
-rw-r--r--sql/old/3.1.3/03927_world_spell_proc_event.sql5
-rw-r--r--sql/old/3.1.3/03943_world_spell_proc_event.sql8
-rw-r--r--sql/old/3.1.3/03947_world_spell_proc_event.sql3
-rw-r--r--sql/old/3.1.3/03951_world_spell_proc_event.sql3
-rw-r--r--sql/old/3.1.3/03952_world_spell_pet_auras.sql5
-rw-r--r--sql/old/3.1.3/03954_world_spell_bonus_data.sql10
-rw-r--r--sql/old/3.1.3/03956_world_spell_proc_event.sql1
-rw-r--r--sql/old/3.1.3/03969_world_spell_proc_event.sql42
-rw-r--r--sql/old/3.1.3/03991_world_spell_proc_event.sql26
-rw-r--r--sql/old/3.1.3/03998_sd2.sql7
-rw-r--r--sql/old/3.1.3/03999_sd2.sql5
-rw-r--r--sql/old/3.1.3/04002_world_spell_proc_event.sql8
-rw-r--r--sql/old/3.1.3/04003_world_script_waypoint.sql28
-rw-r--r--sql/old/3.1.3/04006_sd2.sql10
-rw-r--r--sql/old/3.1.3/04016_world_spell_dk.sql3
-rw-r--r--sql/old/3.1.3/04023_world_spell_proc_event.sql4
-rw-r--r--sql/old/3.1.3/04030_world.sql1
-rw-r--r--sql/old/3.1.3/04031_world_spell_proc_event.sql5
-rw-r--r--sql/old/3.1.3/04032_world_spell_proc_event.sql4
-rw-r--r--sql/old/3.1.3/04043_world_npc_spellclick_spells.sql29
-rw-r--r--sql/old/3.1.3/04045_world_spell_proc_event.sql5
-rw-r--r--sql/old/3.1.3/04063_TC1_1569_world_scripts.sql3
-rw-r--r--sql/old/3.1.3/04066_world_spell_proc_event.sql9
-rw-r--r--sql/old/3.1.3/04081_world.sql15
-rw-r--r--sql/old/3.1.3/04105_8030_01_characters_character_spell.sql7
-rw-r--r--sql/old/3.1.3/04105_8030_02_characters_character_action.sql5
-rw-r--r--sql/old/3.1.3/04105_8030_03_mangos_npc_trainer.sql3
-rw-r--r--sql/old/3.1.3/04115_world_sd2.sql6
-rw-r--r--sql/old/3.1.3/04154_world_script.sql1
-rw-r--r--sql/old/3.1.3/04159_world.sql14
-rw-r--r--sql/old/3.1.3/04174_world_script.sql1
-rw-r--r--sql/old/3.1.3/04176_world.sql2
-rw-r--r--sql/old/3.1.3/04209_characters_TDB.sql1
-rw-r--r--sql/old/3.1.3/04209_world_TDB.sql5
-rw-r--r--sql/old/3.1.3/04211_world.sql2
-rw-r--r--sql/old/3.1.3/04216_world.sql3
-rw-r--r--sql/old/3.1.3/04217_world_spell_proc_event.sql1
-rw-r--r--sql/old/3.1.3/04222_world.sql13
-rw-r--r--sql/old/3.1.3/04225_world.sql9
-rw-r--r--sql/old/3.1.3/04233_world_spell_proc_event.sql1
-rw-r--r--sql/old/3.1.3/04234_world_spell_bonus_data_TDB.sql3
-rw-r--r--sql/old/3.1.3/04246_world_script.sql19
-rw-r--r--sql/old/3.1.3/04258_world_TDB.sql8
-rw-r--r--sql/old/3.1.3/04276_world_TDB.sql14
-rw-r--r--sql/old/3.1.3/04283_world_TDB.sql82
-rw-r--r--sql/old/3.1.3/04292_8072_01_characters_characters.sql10
-rw-r--r--sql/old/3.1.3/04292_8072_02_characters_characters.sql11
-rw-r--r--sql/old/3.1.3/04307_world_TDB.sql4
-rw-r--r--sql/old/3.1.3/04308_world_TDB.sql3
-rw-r--r--sql/old/3.1.3/04320_world_.sql20
-rw-r--r--sql/old/3.1.3/04321_world.sql36
-rw-r--r--sql/old/3.1.3/04346_8098_characters.sql27
-rw-r--r--sql/old/3.1.3/04346_8098_world.sql10
-rw-r--r--sql/old/3.1.3/04351_8104_01_characters.sql7
-rw-r--r--sql/old/3.1.3/04352_spell_bonus_data_full.sql287
-rw-r--r--sql/old/3.1.3/04356_world_spell_proc_event.sql25
-rw-r--r--sql/old/3.1.3/04360_world_spell_proc_event.sql49
-rw-r--r--sql/old/3.1.3/04363_world_trinity_string.sql1
-rw-r--r--sql/old/3.1.3/04367_world_spell_proc_event.sql5
-rw-r--r--sql/old/3.1.3/04371_world_spell_linked_spell.sql5
-rw-r--r--sql/old/3.1.3/04377_world_spell_proc_event.sql5
-rw-r--r--sql/old/3.1.3/04382_8115_world_playercreateinfo_action.sql358
-rw-r--r--sql/old/3.1.3/04392_world.sql3
-rw-r--r--sql/old/3.1.3/04393_world_spell_proc_event.sql8
-rw-r--r--sql/old/3.1.3/04394_world_spell_proc_event.sql12
-rw-r--r--sql/old/3.1.3/04397_world_playercreateinfo_spell_TDB.sql6
-rw-r--r--sql/old/3.1.3/04401_world_spell_proc_event.sql13
-rw-r--r--sql/old/3.1.3/04408_world_spell_proc_event.sql11
-rw-r--r--sql/old/3.1.3/04409_world_spell_proc_event.sql21
-rw-r--r--sql/old/3.1.3/04411_world_spell_bonus_data_TDB.sql3
-rw-r--r--sql/old/3.1.3/04422_world_script.sql1
-rw-r--r--sql/old/3.1.3/04423_world.sql18
-rw-r--r--sql/old/3.1.3/04426_world.sql28
-rw-r--r--sql/old/3.1.3/04428_world_spell_proc_event.sql6
-rw-r--r--sql/old/3.1.3/04429_world_spell_proc_event.sql7
-rw-r--r--sql/old/3.1.3/04431_world_trinity_string.sql4
-rw-r--r--sql/old/3.1.3/04432_world.sql58
-rw-r--r--sql/old/3.1.3/04445_8158_world_playercreateinfo_action.sql453
-rw-r--r--sql/old/3.1.3/04451_world_tmp.sql1
-rw-r--r--sql/old/3.1.3/04464_world_spell_bonus_data_TDB.sql3
-rw-r--r--sql/old/3.1.3/04481_world_script.sql2
-rw-r--r--sql/old/3.1.3/04490_world_spell_proc_event.sql2
-rw-r--r--sql/old/3.1.3/04495_world_script.sql1
-rw-r--r--sql/old/3.1.3/04498_characters_channels.sql14
-rw-r--r--sql/old/3.1.3/04500_world_spell_bonus_data.sql245
-rw-r--r--sql/old/3.1.3/04501_world_spell_bonus_data.sql31
-rw-r--r--sql/old/3.1.3/04509_world_spell_linked_spell.sql1
-rw-r--r--sql/old/3.1.3/04510_world_spell_linked_spell.sql3
-rw-r--r--sql/old/3.1.3/04520_8190_world_creature_template.sql5
-rw-r--r--sql/old/3.1.3/04524_world_spell_elixir.sql25
-rw-r--r--sql/old/3.1.3/04530_world_spell_script_target.sql4
-rw-r--r--sql/old/3.1.3/04536_world_spell_proc_event.sql5
-rw-r--r--sql/old/3.1.3/04539_world_spell_linked_spell.sql3
-rw-r--r--sql/old/3.1.3/04542_8191_world_spell_affect.sql3
-rw-r--r--sql/old/3.1.3/04544_world.sql3
-rw-r--r--sql/old/3.1.3/04547_world_scripts.sql5
-rw-r--r--sql/old/3.1.3/04549_world_script.sql4
-rw-r--r--sql/old/3.1.3/04572_script_texts.sql49
-rw-r--r--sql/old/3.1.3/04572_world_script.sql1
-rw-r--r--sql/old/3.1.3/04577_world_scripts.sql10
-rw-r--r--sql/old/3.1.3/04583_world_command.sql1
-rw-r--r--sql/old/3.1.3/04594_world_scripts.sql3
-rw-r--r--sql/old/3.1.3/04597_world_command.sql4
-rw-r--r--sql/old/3.1.3/04598_world_spell_bonus_data.sql1
-rw-r--r--sql/old/3.1.3/04601_world_spell_proc_event.sql4
-rw-r--r--sql/old/3.1.3/04602_world_spell_bonus_data.sql7
-rw-r--r--sql/old/3.1.3/04603_world_tmp.sql54
-rw-r--r--sql/old/3.1.3/04610_world.sql4
-rw-r--r--sql/old/3.1.3/04610_world_scripts.sql38
-rw-r--r--sql/old/3.1.3/04615_world.sql5
-rw-r--r--sql/old/3.1.3/04643_world_8237_creature_template.sql4
-rw-r--r--sql/old/3.1.3/04649_world_8250_spell_threat.sql3
-rw-r--r--sql/old/3.1.3/04663_world.sql5
-rw-r--r--sql/old/3.1.3/04696_world_spell_proc_event.sql5
-rw-r--r--sql/old/3.1.3/04697_world_spell_proc_event.sql1
-rw-r--r--sql/old/3.1.3/04705_world_trinity_string.sql2
-rw-r--r--sql/old/3.1.3/04725_world_scripts.sql5
-rw-r--r--sql/old/3.1.3/04737_world_TDB.sql16
-rw-r--r--sql/old/3.1.3/04738_world_spell_proc_event.sql2
-rw-r--r--sql/old/3.1.3/04741_world.sql3
-rw-r--r--sql/old/3.1.3/04742_world_spell_bonus_data.sql3
-rw-r--r--sql/old/3.1.3/04742_world_spell_proc_event.sql2
-rw-r--r--sql/old/3.1.3/04745_world_access_requirement.sql46
-rw-r--r--sql/old/3.1.3/04748_world.sql2
-rw-r--r--sql/old/3.1.3/04751_world_scripts.sql1
-rw-r--r--sql/old/3.1.3/04753_world.sql5
-rw-r--r--sql/old/3.1.3/04755_world_scripts.sql1
-rw-r--r--sql/old/3.1.3/04756_world.sql10
-rw-r--r--sql/old/3.1.3/04759_world.sql4
-rw-r--r--sql/old/3.1.3/04761_world.sql4
-rw-r--r--sql/old/3.1.3/04762_8294_01_mangos_playercreateinfo_action.sql54
-rw-r--r--sql/old/3.1.3/04783_world_scripts.sql15
-rw-r--r--sql/old/3.1.3/04787_script_texts.sql23
-rw-r--r--sql/old/3.1.3/04793_world_scripts.sql16
-rw-r--r--sql/old/3.1.3/04795_world_scripts_converter.sql13
-rw-r--r--sql/old/3.1.3/04803_script_texts.sql3
-rw-r--r--sql/old/3.1.3/04806_script_texts.sql1
-rw-r--r--sql/old/3.1.3/04807_script_texts.sql5
-rw-r--r--sql/old/3.1.3/04831_script_texts.sql8
-rw-r--r--sql/old/3.1.3/04836_world_announce.sql15
-rw-r--r--sql/old/3.1.3/04841_world_scripts.sql4
-rw-r--r--sql/old/3.1.3/04854_world_scripts.sql35
-rw-r--r--sql/old/3.1.3/04859_8332_01_realmd_realmcharacters.sql4
-rw-r--r--sql/old/3.1.3/04862_world_linked_spell.sql11
-rw-r--r--sql/old/3.1.3/04868_world_scripts.sql57
-rw-r--r--sql/old/3.1.3/04869_world_command.sql2
-rw-r--r--sql/old/3.1.3/04872_world_scripts.sql11
-rw-r--r--sql/old/3.1.3/04875_world_scripts.sql20
-rw-r--r--sql/old/3.1.3/04877_world_scripts.sql18
-rw-r--r--sql/old/3.1.3/04879_world_script_texts.sql12
-rw-r--r--sql/old/3.1.3/04882_world_scripts.sql2
-rw-r--r--sql/old/3.1.3/04888_world_scripts.sql1
-rw-r--r--sql/old/3.1.3/04892_world_script.sql1
-rw-r--r--sql/old/3.1.3/04906_world_scripts.sql5
-rw-r--r--sql/old/3.1.3/04911_world_scripts.sql5
-rw-r--r--sql/old/3.1.3/04923_world_scripts.sql5
-rw-r--r--sql/old/3.1.3/04927_world_scripts_naxx.sql2
-rw-r--r--sql/old/3.1.3/04938_world.sql3
-rw-r--r--sql/old/3.1.3/04939_world_scripts.sql27
-rw-r--r--sql/old/3.1.3/04944_world.sql50
-rw-r--r--sql/old/3.1.3/04945_mangos_8339_characters.sql23
-rw-r--r--sql/old/3.1.3/04959_world.sql17
-rw-r--r--sql/old/3.1.3/04968_world_8361_spell_bonus_data.sql3
-rw-r--r--sql/old/3.1.3/04972_world_scripts.sql1
-rw-r--r--sql/old/3.1.3/04982_world_spell_area.sql1
-rw-r--r--sql/old/3.1.3/04994_world_script.sql4
-rw-r--r--sql/old/3.1.3/04996_script_texts.sql2
-rw-r--r--sql/old/3.1.3/04999_world_scripts.sql33
-rw-r--r--sql/old/3.1.3/05001_world_scripts.sql112
-rw-r--r--sql/old/3.1.3/05006_world.sql3
-rw-r--r--sql/old/3.1.3/05009_world.sql1
-rw-r--r--sql/old/3.1.3/05009_world_TDB.sql1
-rw-r--r--sql/old/3.1.3/05009_world_scripts.sql16
-rw-r--r--sql/old/3.1.3/05012_world_scripts.sql18
-rw-r--r--sql/old/3.1.3/05015_world_scripts.sql32
-rw-r--r--sql/old/3.1.3/05016_world_scripts.sql7
-rw-r--r--sql/old/3.1.3/05020_world_scripts.sql1
-rw-r--r--sql/old/3.1.3/05021_8364_world_db_version.sql2
-rw-r--r--sql/old/3.1.3/05023_world_scripts.sql5
-rw-r--r--sql/old/3.1.3/05029_world_trinity_string.sql1
-rw-r--r--sql/old/3.1.3/05031_world_scripts_netherspite.sql14
-rw-r--r--sql/old/3.1.3/05036_character_updates_dual_spec.sql59
-rw-r--r--sql/old/3.1.3/05036_world_updates_dual_spec.sql3
-rw-r--r--sql/old/3.1.3/05071_world_scripts.sql3
-rw-r--r--sql/old/3.1.3/05083_world_scripts_dk.sql10
-rw-r--r--sql/old/3.1.3/05092_world_scripts.sql1
-rw-r--r--sql/old/3.1.3/05093_world_spell_proc_event.sql5
-rw-r--r--sql/old/3.1.3/05096_world_scripts.sql12
-rw-r--r--sql/old/3.1.3/05097_character_updates_dual_spec.sql13
-rw-r--r--sql/old/3.1.3/05097_world_scripts.sql69
-rw-r--r--sql/old/3.1.3/05105_world_scripts.sql311
-rw-r--r--sql/old/3.1.3/05111_world_scripts.sql5
-rw-r--r--sql/old/3.1.3/05117_world_npc_option.sql1
-rw-r--r--sql/old/3.1.3/05118_world_scripts.sql17
-rw-r--r--sql/old/3.1.3/05119_world.sql17
-rw-r--r--sql/old/3.1.3/05126_world_spell_proc_event.sql4
-rw-r--r--sql/old/3.1.3/05131_world_scripts_dk.sql47
-rw-r--r--sql/old/3.1.3/05136_world_scripts_dk.sql1
-rw-r--r--sql/old/3.1.3/05144_world_TDB.sql27
-rw-r--r--sql/old/3.1.3/05152_world_scripts_dk.sql19
-rw-r--r--sql/old/3.1.3/05153_world_spell_proc_event.sql3
-rw-r--r--sql/old/3.1.3/05155_world_scripts_dk.sql18
-rw-r--r--sql/old/3.1.3/05159_characters_channels.sql1
-rw-r--r--sql/old/3.1.3/05169_world_spell_linked_spell.sql6
-rw-r--r--sql/old/3.1.3/05175_world_scripts_dk.sql10
-rw-r--r--sql/old/3.1.3/05177_characters.sql8
-rw-r--r--sql/old/3.1.3/05185_world_scripts_dk.sql161
-rw-r--r--sql/old/3.1.3/05188_world_scripts.sql1
-rw-r--r--sql/old/3.1.3/05189_character_updates_dual_spec.sql10
-rw-r--r--sql/old/3.1.3/05216_world_scripts.sql38
-rw-r--r--sql/old/3.1.3/05217_world_scripts.sql3
-rw-r--r--sql/old/3.1.3/05230_world_TDB.sql1
-rw-r--r--sql/old/3.1.3/05230_world_scripts.sql1
-rw-r--r--sql/old/3.1.3/05234_world_scripts.sql4
-rw-r--r--sql/old/3.1.3/05237_world_scripts.sql6
-rw-r--r--sql/old/3.1.3/05246_world_scripts.sql1
-rw-r--r--sql/old/3.1.3/05254_world_scripts.sql1
-rw-r--r--sql/old/3.1.3/05270_world_script_waypoint.sql28
-rw-r--r--sql/old/3.1.3/05270_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05305_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05314_world_script_target.sql6
-rw-r--r--sql/old/3.1.3/05314_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05314_world_spell_linked_spell.sql5
-rw-r--r--sql/old/3.1.3/05321_world_spell_proc_event.sql5
-rw-r--r--sql/old/3.1.3/05330_world_spell_proc_event.sql3
-rw-r--r--sql/old/3.1.3/05332_world_ainame.sql2
-rw-r--r--sql/old/3.1.3/05352_world_spell_elixir.sql13
-rw-r--r--sql/old/3.1.3/05353_characters_character_spell.sql6
-rw-r--r--sql/old/3.1.3/05353_world_spell_threat.sql4
-rw-r--r--sql/old/3.1.3/05354_characters_guild_bank_eventlog.sql24
-rw-r--r--sql/old/3.1.3/05354_characters_guild_eventlog.sql21
-rw-r--r--sql/old/3.1.3/05360_characters_guild.sql18
-rw-r--r--sql/old/3.1.3/05361_world_trinity_string.sql7
-rw-r--r--sql/old/3.1.3/05403_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05403_world_spell_linked_spell.sql6
-rw-r--r--sql/old/3.1.3/05410_world_spell_dbc.sql101
-rw-r--r--sql/old/3.1.3/05416_world_spell_dbc.sql3
-rw-r--r--sql/old/3.1.3/05426_world_spell_learn_spell.sql22
-rw-r--r--sql/old/3.1.3/05435_world_spell_script_target.sql3
-rw-r--r--sql/old/3.1.3/05441_world_spell_bonus_data.sql4
-rw-r--r--sql/old/3.1.3/05445_world_spell_enchant_proc_data.sql36
-rw-r--r--sql/old/3.1.3/05445_world_spell_proc_event.sql4
-rw-r--r--sql/old/3.1.3/05447_world_spell_linked_spell.sql4
-rw-r--r--sql/old/3.1.3/05448_world_spell_script_target.sql4
-rw-r--r--sql/old/3.1.3/05450_world_spell_proc_event.sql5
-rw-r--r--sql/old/3.1.3/05472_world_script_texts.sql5
-rw-r--r--sql/old/3.1.3/05475_world_spell_script_target.sql3
-rw-r--r--sql/old/3.1.3/05524_world_scriptname.sql2
-rw-r--r--sql/old/3.1.3/05524_world_spell_script_target.sql3
-rw-r--r--sql/old/3.1.3/05532_characters_character_account_data.sql17
-rw-r--r--sql/old/3.1.3/05552_world_trinity_string.sql7
-rw-r--r--sql/old/3.1.3/05579_world_trinity_string.sql3
-rw-r--r--sql/old/3.1.3/05582_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05595_world_script_texts.sql21
-rw-r--r--sql/old/3.1.3/05610_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05612_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05613_world_script_texts.sql9
-rw-r--r--sql/old/3.1.3/05613_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05627_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05628_characters_character_spell.sql21
-rw-r--r--sql/old/3.1.3/05628_world_creature_ai_texts.sql4
-rw-r--r--sql/old/3.1.3/05637_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05642_realmd_realmlist.sql2
-rw-r--r--sql/old/3.1.3/05670_realmd_uptime.sql1
-rw-r--r--sql/old/3.1.3/05677_world_spell_proc_event.sql3
-rw-r--r--sql/old/3.1.3/05684_world_script_texts.sql9
-rw-r--r--sql/old/3.1.3/05684_world_script_waypoint.sql22
-rw-r--r--sql/old/3.1.3/05684_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05688_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05696_world_areatrigger_scripts.sql3
-rw-r--r--sql/old/3.1.3/05696_world_creature_addon_waypoint_data.sql15
-rw-r--r--sql/old/3.1.3/05696_world_script_texts.sql5
-rw-r--r--sql/old/3.1.3/05696_world_script_waypoint.sql53
-rw-r--r--sql/old/3.1.3/05696_world_scriptname.sql2
-rw-r--r--sql/old/3.1.3/05696_world_spell_proc_event.sql4
-rw-r--r--sql/old/3.1.3/05698_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05700_characters_game_event_save.sql2
-rw-r--r--sql/old/3.1.3/05700_world_areatrigger_scripts.sql6
-rw-r--r--sql/old/3.1.3/05700_world_script_texts.sql34
-rw-r--r--sql/old/3.1.3/05700_world_scriptname.sql12
-rw-r--r--sql/old/3.1.3/05701_world_scriptname.sql2
-rw-r--r--sql/old/3.1.3/05702_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05713_world_script_texts.sql10
-rw-r--r--sql/old/3.1.3/05713_world_scriptname.sql3
-rw-r--r--sql/old/3.1.3/05714_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05717_world_creature_template.sql4
-rw-r--r--sql/old/3.1.3/05717_world_item_template.sql1
-rw-r--r--sql/old/3.1.3/05724_world_scriptname.sql12
-rw-r--r--sql/old/3.1.3/05727_world_spell_proc_event.sql4
-rw-r--r--sql/old/3.1.3/05736_world_script_texts.sql6
-rw-r--r--sql/old/3.1.3/05736_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05747_world_script_texts.sql9
-rw-r--r--sql/old/3.1.3/05747_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05755_world_scriptname.sql9
-rw-r--r--sql/old/3.1.3/05761_world_scriptname.sql4
-rw-r--r--sql/old/3.1.3/05772_world_scriptname.sql14
-rw-r--r--sql/old/3.1.3/05776_world_command.sql2
-rw-r--r--sql/old/3.1.3/05776_world_trinity_string.sql3
-rw-r--r--sql/old/3.1.3/05795_world_script_texts.sql66
-rw-r--r--sql/old/3.1.3/05795_world_script_waypoint.sql25
-rw-r--r--sql/old/3.1.3/05795_world_scriptname.sql19
-rw-r--r--sql/old/3.1.3/05804_characters_characters.sql4
-rw-r--r--sql/old/3.1.3/05807_world_script_texts.sql10
-rw-r--r--sql/old/3.1.3/05813_world_command.sql8
-rw-r--r--sql/old/3.1.3/05843_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05848_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05860_characters_character_reputation.sql6
-rw-r--r--sql/old/3.1.3/05864_world_scriptname.sql3
-rw-r--r--sql/old/3.1.3/05868_world_scriptname.sql4
-rw-r--r--sql/old/3.1.3/05872_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05897_world_scriptname.sql3
-rw-r--r--sql/old/3.1.3/05900_world_spell_proc_event.sql6
-rw-r--r--sql/old/3.1.3/05905_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05907_world_scriptname.sql2
-rw-r--r--sql/old/3.1.3/05908_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05917_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05920_world_spell_bonus_data.sql8
-rw-r--r--sql/old/3.1.3/05930_world_spell_proc_event.sql1
-rw-r--r--sql/old/3.1.3/05931_world_script_texts.sql55
-rw-r--r--sql/old/3.1.3/05936_world_scriptname.sql11
-rw-r--r--sql/old/3.1.3/05950_world_spell_linked_spell.sql3
-rw-r--r--sql/old/3.1.3/05962_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05966_world_scriptname.sql3
-rw-r--r--sql/old/3.1.3/05970_world_scriptname.sql3
-rw-r--r--sql/old/3.1.3/05971_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05985_world_scriptname.sql2
-rw-r--r--sql/old/3.1.3/05990_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/05994_world_spell_bonus_data.sql4
-rw-r--r--sql/old/3.1.3/05996_world_spell_linked_spell.sql16
-rw-r--r--sql/old/3.1.3/05996_world_spell_proc_event.sql4
-rw-r--r--sql/old/3.1.3/05997_world_scriptname.sql3
-rw-r--r--sql/old/3.1.3/06013_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06022_world_scriptname.sql6
-rw-r--r--sql/old/3.1.3/06030_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06066_world_scriptname.sql2
-rw-r--r--sql/old/3.1.3/06071_world_spell_proc_event.sql6
-rw-r--r--sql/old/3.1.3/06074_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06077_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06078_world_scriptname.sql2
-rw-r--r--sql/old/3.1.3/06079_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06091_world_scriptname.sql7
-rw-r--r--sql/old/3.1.3/06097_world_loot_template.sql14
-rw-r--r--sql/old/3.1.3/06109_world_scriptname.sql2
-rw-r--r--sql/old/3.1.3/06110_world_loot_template.sql1
-rw-r--r--sql/old/3.1.3/06129_world_scriptname.sql2
-rw-r--r--sql/old/3.1.3/06131_world_scriptname.sql4
-rw-r--r--sql/old/3.1.3/06134_world_scriptname.sql3
-rw-r--r--sql/old/3.1.3/06142_world_spell_proc_event.sql6
-rw-r--r--sql/old/3.1.3/06156_characters_character_aura.sql3
-rw-r--r--sql/old/3.1.3/06156_characters_pet_aura.sql3
-rw-r--r--sql/old/3.1.3/06156_world_exploration_basexp.sql2
-rw-r--r--sql/old/3.1.3/06161_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06166_world_trinity_string.sql26
-rw-r--r--sql/old/3.1.3/06171_world_spell_linked_spell.sql5
-rw-r--r--sql/old/3.1.3/06173_world_trinity_string.sql3
-rw-r--r--sql/old/3.1.3/06176_world_ainame.sql1
-rw-r--r--sql/old/3.1.3/06208_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06210_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06213_world_script_waypoint.sql44
-rw-r--r--sql/old/3.1.3/06213_world_scriptname.sql4
-rw-r--r--sql/old/3.1.3/06221_world_scriptname.sql4
-rw-r--r--sql/old/3.1.3/06241_world_quest_template.sql5
-rw-r--r--sql/old/3.1.3/06242_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06246_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06247_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06253_world_spell_linked_spell.sql62
-rw-r--r--sql/old/3.1.3/06275_world_trinity_string.sql1
-rw-r--r--sql/old/3.1.3/06277_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06277_world_spell_target_position.sql5
-rw-r--r--sql/old/3.1.3/06308_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06317_world_scriptname.sql3
-rw-r--r--sql/old/3.1.3/06337_world_spell_bonus_data.sql11
-rw-r--r--sql/old/3.1.3/06357_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06372_world_spell_proc_event.sql2
-rw-r--r--sql/old/3.1.3/06374_world_creature_template.sql2
-rw-r--r--sql/old/3.1.3/06374_world_gameobject_template.sql2
-rw-r--r--sql/old/3.1.3/06381_world_script_texts.sql22
-rw-r--r--sql/old/3.1.3/06381_world_script_waypoint.sql7
-rw-r--r--sql/old/3.1.3/06381_world_scriptname.sql5
-rw-r--r--sql/old/3.1.3/06389_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06397_world_spell_script_target.sql4
-rw-r--r--sql/old/3.1.3/06398_world_script_texts.sql9
-rw-r--r--sql/old/3.1.3/06398_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06405_world_spell_script_target.sql4
-rw-r--r--sql/old/3.1.3/06420_world_script_texts.sql17
-rw-r--r--sql/old/3.1.3/06420_world_script_waypoint.sql40
-rw-r--r--sql/old/3.1.3/06420_world_scriptname.sql4
-rw-r--r--sql/old/3.1.3/06421_world_script_texts.sql4
-rw-r--r--sql/old/3.1.3/06421_world_scriptname.sql2
-rw-r--r--sql/old/3.1.3/06424_world_spell_proc_event.sql2
-rw-r--r--sql/old/3.1.3/06432_world_command.sql1
-rw-r--r--sql/old/3.1.3/06433_world_script_texts.sql4
-rw-r--r--sql/old/3.1.3/06433_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06439_world_spell_linked_spell.sql4
-rw-r--r--sql/old/3.1.3/06445_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06447_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06452_world_spell_script_target.sql4
-rw-r--r--sql/old/3.1.3/06455_world_scriptname.sql1
-rw-r--r--sql/old/3.1.3/06468_realmd_db_version.sql1
-rw-r--r--sql/old/3.1.3/06477_world_script_texts.sql3
-rw-r--r--sql/old/3.1.3/06486_world_item_template.sql11
-rw-r--r--sql/old/3.1.3/06509_characters_character_skills.sql48
-rw-r--r--sql/old/3.1.3/06518_world_spell_proc_event.sql7
-rw-r--r--sql/old/3.1.3/06521_world_command.sql1
-rw-r--r--sql/old/3.1.3/06521_world_mail_level_reward.sql15
-rw-r--r--sql/old/3.1.3/06521_world_quest_mail_loot_template.sql4
-rw-r--r--sql/old/3.1.3/06539_world_spell_proc_event.sql2
-rw-r--r--sql/old/3.1.3/06549_world_spell_proc_event.sql4
410 files changed, 5842 insertions, 0 deletions
diff --git a/sql/old/3.1.3/03920_characters_309-313_converter.sql b/sql/old/3.1.3/03920_characters_309-313_converter.sql
new file mode 100644
index 00000000000..1a711f3a027
--- /dev/null
+++ b/sql/old/3.1.3/03920_characters_309-313_converter.sql
@@ -0,0 +1,63 @@
+CREATE TABLE `character_equipmentsets` (
+ `guid` int(11) NOT NULL default '0',
+ `setguid` bigint(20) NOT NULL auto_increment,
+ `setindex` tinyint(4) NOT NULL default '0',
+ `name` varchar(100) NOT NULL,
+ `iconname` varchar(100) NOT NULL,
+ `item0` int(11) NOT NULL default '0',
+ `item1` int(11) NOT NULL default '0',
+ `item2` int(11) NOT NULL default '0',
+ `item3` int(11) NOT NULL default '0',
+ `item4` int(11) NOT NULL default '0',
+ `item5` int(11) NOT NULL default '0',
+ `item6` int(11) NOT NULL default '0',
+ `item7` int(11) NOT NULL default '0',
+ `item8` int(11) NOT NULL default '0',
+ `item9` int(11) NOT NULL default '0',
+ `item10` int(11) NOT NULL default '0',
+ `item11` int(11) NOT NULL default '0',
+ `item12` int(11) NOT NULL default '0',
+ `item13` int(11) NOT NULL default '0',
+ `item14` int(11) NOT NULL default '0',
+ `item15` int(11) NOT NULL default '0',
+ `item16` int(11) NOT NULL default '0',
+ `item17` int(11) NOT NULL default '0',
+ `item18` int(11) NOT NULL default '0',
+ PRIMARY KEY (`setguid`),
+ UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+UPDATE characters SET data = REPLACE(data,' ',' ');
+UPDATE characters SET data = CONCAT(TRIM(data),' ');
+UPDATE `characters` SET `data` = CONCAT(
+ SUBSTRING_INDEX(`data`, ' ', 257 + 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 1), ' ', -261 + 260 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18 + 1), ' ', -261 - 18 + 260 + 18 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*2 + 1), ' ', -261 - 18*2 + 260 + 18*2 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*3 + 1), ' ', -261 - 18*3 + 260 + 18*3 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*4 + 1), ' ', -261 - 18*4 + 260 + 18*4 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*5 + 1), ' ', -261 - 18*5 + 260 + 18*5 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*6 + 1), ' ', -261 - 18*6 + 260 + 18*6 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*7 + 1), ' ', -261 - 18*7 + 260 + 18*7 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*8 + 1), ' ', -261 - 18*8 + 260 + 18*8 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*9 + 1), ' ', -261 - 18*9 + 260 + 18*9 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*10 + 1), ' ', -261 - 18*10 + 260 + 18*10 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*11 + 1), ' ', -261 - 18*11 + 260 + 18*11 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*12 + 1), ' ', -261 - 18*12 + 260 + 18*12 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*13 + 1), ' ', -261 - 18*13 + 260 + 18*13 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*14 + 1), ' ', -261 - 18*14 + 260 + 18*14 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*15 + 1), ' ', -261 - 18*15 + 260 + 18*15 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*16 + 1), ' ', -261 - 18*16 + 260 + 18*16 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*17 + 1), ' ', -261 - 18*17 + 260 + 18*17 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 261 + 18*18 + 1), ' ', -261 - 18*18 + 260 + 18*18 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 837 + 1), ' ', -837 + 600 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 937 + 1), ' ', -937 + 874 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1007 + 1), ' ', -1007 + 1002 - 1), ' ',
+ '0 0 ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1688 + 1), ' ', -1688 + 1008 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1696 + 1), ' ', -1696 + 1691 - 1), ' ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1700 + 1), ' ', -1700 + 1699 - 1), ' '
+ )
+WHERE length(SUBSTRING_INDEX(data, ' ', 1700)) < length(data) and length(SUBSTRING_INDEX(data, ' ', 1701)) >= length(data);
+UPDATE characters SET data = REPLACE(data,' ',' ');
+UPDATE characters SET data = CONCAT(TRIM(data),' ');
diff --git a/sql/old/3.1.3/03920_world_309-313_converter.sql b/sql/old/3.1.3/03920_world_309-313_converter.sql
new file mode 100644
index 00000000000..695748c3968
--- /dev/null
+++ b/sql/old/3.1.3/03920_world_309-313_converter.sql
@@ -0,0 +1,66 @@
+ALTER TABLE `item_template`
+ DROP COLUMN `dmg_type3`,
+ DROP COLUMN `dmg_max3`,
+ DROP COLUMN `dmg_min3`,
+ DROP COLUMN `dmg_type4`,
+ DROP COLUMN `dmg_max4`,
+ DROP COLUMN `dmg_min4`,
+ DROP COLUMN `dmg_type5`,
+ DROP COLUMN `dmg_max5`,
+ DROP COLUMN `dmg_min5`;
+
+ALTER TABLE `creature_template`
+ ADD COLUMN `unk1` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `heroic_entry`,
+ ADD COLUMN `unk2` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `unk1`,
+ ADD COLUMN `questItem1` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `RacialLeader`,
+ ADD COLUMN `questItem2` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem1`,
+ ADD COLUMN `questItem3` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem2`,
+ ADD COLUMN `questItem4` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem3`,
+ ADD COLUMN `movementId` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem4`;
+
+ALTER TABLE `item_template`
+ ADD COLUMN `HolidayId` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `ItemLimitCategory`;
+
+ALTER TABLE `gameobject_template`
+ ADD COLUMN `unk1` varchar(100) NOT NULL default '' AFTER `castBarCaption`,
+ ADD COLUMN `questItem1` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `size`,
+ ADD COLUMN `questItem2` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem1`,
+ ADD COLUMN `questItem3` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem2`,
+ ADD COLUMN `questItem4` int(11) UNSIGNED DEFAULT '0' NOT NULL AFTER `questItem3`;
+
+DELETE FROM `spell_bonus_data` WHERE `entry` IN (18265);
+
+/* Blackout removed */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (15268, 15269, 15323, 15324, 15325, 15326);
+/* Improved Wing Clip removed */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (19228, 19232, 19233);
+/* Shadow Mastery, not have charges now */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (17794,17797,17798,17799,17800);
+/* Lightning Overload have 3 ranks now, 2 dropped */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (30680,30681);
+/* Unleashed Rage have 3 ranks now, 2 dropped */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (30806,30807,30810,30811);
+/* Concussive Barrage have 2 ranks now, 1 dropped */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (35103);
+/* Demonic Empathy, removed */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (47232,47234,47235);
+/* Rapture have 3 ranks now, 2 dropped */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (47538,47539);
+/* Psychic Horror have 1 rank now, 1 dropped */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (47572);
+/* Sudden Doom have 3 ranks now, 2 dropped */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (49531,49532);
+/* Hunting Party have 3 ranks now, 2 dropped */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (53293,53294);
+/* Righteous Vengeance have 3 ranks now, 2 dropped */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (53383,53384);
+/* Night of the Dead not have charges now */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (55620,55623);
+/* Pandemic have 1 rank, 2 dropped */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (58436,58437);
+/* Improved Holy Concentration, removed */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (47549,47551,47552);
+/* Serendipity, replace by aanother spell ids */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (47555,47556,47557);
+/* T.N.T. non triggring now */
+DELETE FROM `spell_proc_event` WHERE `entry` IN (56333,56336,56337);
diff --git a/sql/old/3.1.3/03927_world_spell_proc_event.sql b/sql/old/3.1.3/03927_world_spell_proc_event.sql
new file mode 100644
index 00000000000..526afb8c48c
--- /dev/null
+++ b/sql/old/3.1.3/03927_world_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (59088, 59089, 58388, 56374);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(59088, 0x00, 4, 0x00000000, 0x00000002, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Improved Spell Reflection
+(59089, 0x00, 4, 0x00000000, 0x00000002, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Improved Spell Reflection
+(56374, 0x00, 3, 0x00000000, 0x00004000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0); -- Glyph of icy veins
diff --git a/sql/old/3.1.3/03943_world_spell_proc_event.sql b/sql/old/3.1.3/03943_world_spell_proc_event.sql
new file mode 100644
index 00000000000..7d4c96caefe
--- /dev/null
+++ b/sql/old/3.1.3/03943_world_spell_proc_event.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (52610);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(52610, 0x00, 7, 0x80000000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0); -- Savage roar
+
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (52610, -52610);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( 52610, 62071, 0, 'Savage Roar'),
+( -52610, -62071, 0, 'Savage Roar');
diff --git a/sql/old/3.1.3/03947_world_spell_proc_event.sql b/sql/old/3.1.3/03947_world_spell_proc_event.sql
new file mode 100644
index 00000000000..6859fc95049
--- /dev/null
+++ b/sql/old/3.1.3/03947_world_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (53397);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(53397, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0); -- Invigoration
diff --git a/sql/old/3.1.3/03951_world_spell_proc_event.sql b/sql/old/3.1.3/03951_world_spell_proc_event.sql
new file mode 100644
index 00000000000..ec0d9d960d7
--- /dev/null
+++ b/sql/old/3.1.3/03951_world_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (53646);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(53646, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0); -- Demonic Pact
diff --git a/sql/old/3.1.3/03952_world_spell_pet_auras.sql b/sql/old/3.1.3/03952_world_spell_pet_auras.sql
new file mode 100644
index 00000000000..ec9083db0a4
--- /dev/null
+++ b/sql/old/3.1.3/03952_world_spell_pet_auras.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_pet_auras` WHERE `spell` IN (18754, 18755, 18756);
+INSERT INTO `spell_pet_auras` VALUES
+(18754,65536,18754),
+(18755,65536,18755),
+(18756,65536,18756);
diff --git a/sql/old/3.1.3/03954_world_spell_bonus_data.sql b/sql/old/3.1.3/03954_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..6e35ce41a4a
--- /dev/null
+++ b/sql/old/3.1.3/03954_world_spell_bonus_data.sql
@@ -0,0 +1,10 @@
+DELETE FROM `spell_bonus_data` WHERE entry IN (31893, 32221, 31898, 32220, 53719, 53718, 53726, 53725);
+INSERT INTO `spell_bonus_data` VALUES
+(31893, 0, 0, 0, "Paladin - Seal of Blood Proc Enemy"),
+(32221, 0, 0, 0, "Paladin - Seal of Blood Proc Self"),
+(31898, 0.25, 0, 0.16, "Paladin - Judgement of Blood Enemy"),
+(32220, 0.0833, 0, 0.0533, "Paladin - Judgement of Blood Self"),
+(53719, 0, 0, 0, "Paladin - Seal of the Martyr Proc Enemy"),
+(53718, 0, 0, 0, "Paladin - Seal of the Martyr Proc Self"),
+(53726, 0.25, 0, 0.16, "Paladin - Judgement of the Martyr Enemy"),
+(53725, 0.0833, 0, 0.0533, "Paladin - Judgement of the Martyr Self");
diff --git a/sql/old/3.1.3/03956_world_spell_proc_event.sql b/sql/old/3.1.3/03956_world_spell_proc_event.sql
new file mode 100644
index 00000000000..a7dcc25e025
--- /dev/null
+++ b/sql/old/3.1.3/03956_world_spell_proc_event.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (49531,49532);
diff --git a/sql/old/3.1.3/03969_world_spell_proc_event.sql b/sql/old/3.1.3/03969_world_spell_proc_event.sql
new file mode 100644
index 00000000000..bca25a6ebe0
--- /dev/null
+++ b/sql/old/3.1.3/03969_world_spell_proc_event.sql
@@ -0,0 +1,42 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (35553, 35552, 35551, 35550, 35541);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(35553, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00800000, 0x00000000, 0, 0, 0), -- Combat Potency
+(35552, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00800000, 0x00000000, 0, 0, 0), -- Combat Potency
+(35551, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00800000, 0x00000000, 0, 0, 0), -- Combat Potency
+(35550, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00800000, 0x00000000, 0, 0, 0), -- Combat Potency
+(35541, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00800000, 0x00000000, 0, 0, 0); -- Combat Potency
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (20375, 50781, 51414, 54695, 54838, 54841, 55747, 57352, 58442, 58444, 58901, 59345, 60061, 60063, 60066, 60221, 60301, 60306, 60317, 60436, 60473, 60482, 60487, 60490, 60519, 60537, 38347, 34320, 33297, 38299, 59630, 61356);
+INSERT INTO `spell_proc_event`(`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(20375, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 7, 0, 1), -- Seal of Command
+(50781, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 6), -- Fate Rune of Primal Energy
+(51414, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Venomous Tome
+(54695, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Death Knights Anguish
+(54838, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Valonforths Remembrance
+(54841, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 3), -- Thunder Capacitor
+(55747, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Horn of Argent Fury
+(57352, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000288AA, 0x00000000, 0, 0, 45), -- Darkmoon Card: Death
+(58442, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 15), -- Airy Pale Ale
+(58444, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 5), -- Worg Tooth Oatmeal Stout
+(58901, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 45), -- Tears of Bitter Anguish
+(59345, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Crusaders Locket
+(60061, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Scarab of the Infinite Cycle
+(60063, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Sundial of the Exiled
+(60066, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Hourglass of the Unraveller
+(60221, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Essence of Gossamer
+(60301, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Meteorite Whetstone
+(60306, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Vestige of Haldor
+(60317, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Signet of Edward the Odd
+(60436, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Grim Toll
+(60473, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Forge Ember
+(60482, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Pendulum of Telluric Currents
+(60487, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 15), -- Extract of Necromantic Power
+(60490, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Embrace of the Spider
+(60519, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Spark of Life
+(60537, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 45), -- Soul of the Dead
+(38347, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 45), -- Sextant of Unstable Currents
+(34320, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 45), -- Shiffars Nexus-Horn
+(33297, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Quagmirrans Eye
+(38299, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 15), -- Fel Reavers Piston
+(59630, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Black Magic
+(61356, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000002A8, 0x00000002, 0, 0, 90); -- Invigorating Earthsiege Diamond
diff --git a/sql/old/3.1.3/03991_world_spell_proc_event.sql b/sql/old/3.1.3/03991_world_spell_proc_event.sql
new file mode 100644
index 00000000000..95f9edf6232
--- /dev/null
+++ b/sql/old/3.1.3/03991_world_spell_proc_event.sql
@@ -0,0 +1,26 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (28716, 31221, 31222, 31223, 31571, 31572, 31871, 31872, 44745, 61257, 59089, 59088, 58426, 57352, 57318, 56374, 56372, 56337, 56336, 56333, 54787, 53375, 53376, 47570, 47569, 47537, 47536, 47535, 63108);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 28716, 0x00, 7, 0x00000010, 0x00000000, 0x00000000, 0x00044000, 0x00000000, 0, 0, 0), -- Rejuvenation
+( 31221, 0x00, 8, 0x00400000, 0x00000000, 0x00000000, 0x00000400, 0x00006001, 0, 0, 0), -- Master of Subtlety (Rank 1)
+( 31222, 0x00, 8, 0x00400000, 0x00000000, 0x00000000, 0x00000400, 0x00006001, 0, 0, 0), -- Master of Subtlety (Rank 2)
+( 31223, 0x00, 8, 0x00400000, 0x00000000, 0x00000000, 0x00000400, 0x00006001, 0, 0, 0), -- Master of Subtlety (Rank 3)
+( 31571, 0x00, 3, 0x00000000, 0x00000022, 0x00000000, 0x00000400, 0x00000000, 0, 0, 0), -- Arcane Potency (Rank 1)
+( 31572, 0x00, 3, 0x00000000, 0x00000022, 0x00000000, 0x00000400, 0x00000000, 0, 0, 0), -- Arcane Potency (Rank 2)
+( 31871, 0x00, 10, 0x00000010, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0, 0, 0), -- Divine Purpose (Rank 1)
+( 31872, 0x00, 10, 0x00000010, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0, 0, 0), -- Divine Purpose (Rank 2)
+( 44745, 0x00, 3, 0x00000000, 0x00000001, 0x00000000, 0x00000400, 0x00002000, 0, 0, 0), -- Shattered Barrier (Rank 1)
+( 59088, 0x00, 4, 0x00000000, 0x00000002, 0x00000000, 0x00000400, 0x00000000, 0, 0, 0), -- Improved Spell Reflection (Rank 1)
+( 59089, 0x00, 4, 0x00000000, 0x00000002, 0x00000000, 0x00000400, 0x00000000, 0, 0, 0), -- Improved Spell Reflection (Rank 2)
+( 58426, 0x00, 8, 0x00400000, 0x00000000, 0x00000000, 0x00000400, 0x00006001, 0, 0, 0), -- Overkill
+( 57352, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Darkmoon Card: Death
+( 56374, 0x00, 3, 0x00000000, 0x00004000, 0x00000000, 0x00000400, 0x00000000, 0, 0, 0), -- Glyph of Icy Veins
+( 56372, 0x00, 3, 0x00000000, 0x00000080, 0x00000000, 0x00000400, 0x00000000, 0, 0, 0), -- Glyph of Ice Block
+( 54787, 0x00, 3, 0x00000000, 0x00000001, 0x00000000, 0x00000400, 0x00002000, 0, 0, 0), -- Shattered Barrier (Rank 2)
+( 53375, 0x00, 10, 0x00000000, 0x00002000, 0x00000000, 0x00000400, 0x00000000, 0, 0, 6), -- Sanctified Wrath (Rank 1)
+( 53376, 0x00, 10, 0x00000000, 0x00002000, 0x00000000, 0x00000400, 0x00000000, 0, 0, 6), -- Sanctified Wrath (Rank 2)
+( 47569, 0x00, 6, 0x00004000, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0, 50, 0), -- Improved Shadowform (Rank 1)
+( 47570, 0x00, 6, 0x00004000, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0, 100, 0), -- Improved Shadowform (Rank 2)
+( 47535, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000400, 0x00002000, 0, 0, 12), -- Rapture (Rank 1)
+( 47536, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000400, 0x00002000, 0, 0, 12), -- Rapture (Rank 2)
+( 47537, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000400, 0x00002000, 0, 0, 12), -- Rapture (Rank 3)
+( 63108, 0x00, 5, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Siphon Life
diff --git a/sql/old/3.1.3/03998_sd2.sql b/sql/old/3.1.3/03998_sd2.sql
new file mode 100644
index 00000000000..6927d6f7a65
--- /dev/null
+++ b/sql/old/3.1.3/03998_sd2.sql
@@ -0,0 +1,7 @@
+DELETE FROM script_texts WHERE entry BETWEEN -1000409 AND -1000407;
+INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
+(-1000407, '%s howls in delight at the sight of his lunch!',0,2,0,0,'kyle EMOTE_SEE_LUNCH'),
+(-1000408, '%s eats his lunch.',0,2,0,0,'kyle EMOTE_EAT_LUNCH'),
+(-1000409, '%s thanks you with a special dance.',0,2,0,0,'kyle EMOTE_DANCE');
+
+UPDATE `creature_template` SET `ScriptName`='npc_kyle_frenzied' WHERE `entry`=23616;
diff --git a/sql/old/3.1.3/03999_sd2.sql b/sql/old/3.1.3/03999_sd2.sql
new file mode 100644
index 00000000000..aefda08bd2e
--- /dev/null
+++ b/sql/old/3.1.3/03999_sd2.sql
@@ -0,0 +1,5 @@
+DELETE FROM script_texts WHERE entry BETWEEN -1000342 AND -1000340;
+INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
+(-1000340, 'We made it! Thanks, $N. I couldn''t have gotten without you.', 0, 0, 0, 0, 'npc_deathstalker_erland - SAY_THANKS'),
+(-1000341, 'It''s good to see you again, Erland. What is your report?', 0, 0, 0, 0, 'npc_deathstalker_erland - SAY_RANE'),
+(-1000342, 'Masses of wolves are to the east, and whoever lived at Malden''s Orchard is gone.', 0, 0, 0, 0, 'npc_deathstalker_erland - SAY_ANSWER');
diff --git a/sql/old/3.1.3/04002_world_spell_proc_event.sql b/sql/old/3.1.3/04002_world_spell_proc_event.sql
new file mode 100644
index 00000000000..d426dc437cb
--- /dev/null
+++ b/sql/old/3.1.3/04002_world_spell_proc_event.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (50880, 50884, 50885, 50886, 50887, 55610);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 50880, 0x00, 15, 0x00000000, 0x04000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Icy Talons
+( 50884, 0x00, 15, 0x00000000, 0x04000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Icy Talons
+( 50885, 0x00, 15, 0x00000000, 0x04000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Icy Talons
+( 50886, 0x00, 15, 0x00000000, 0x04000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Icy Talons
+( 50887, 0x00, 15, 0x00000000, 0x04000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Icy Talons
+( 55610, 0x00, 15, 0x00000000, 0x04000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Improved Icy Talons
diff --git a/sql/old/3.1.3/04003_world_script_waypoint.sql b/sql/old/3.1.3/04003_world_script_waypoint.sql
new file mode 100644
index 00000000000..603115f72c0
--- /dev/null
+++ b/sql/old/3.1.3/04003_world_script_waypoint.sql
@@ -0,0 +1,28 @@
+DELETE FROM script_waypoint WHERE entry=17969;
+INSERT INTO script_waypoint VALUES
+(17969, 0, -930.048950, 5288.080078, 23.848402, 0, ''),
+(17969, 1, -925.677917, 5296.482910, 18.183748, 0, ''),
+(17969, 2, -924.297180, 5299.016113, 17.710915, 0, ''),
+(17969, 3, -928.390076, 5317.022949, 18.208593, 0, ''),
+(17969, 4, -930.620972, 5329.915039, 18.773422, 0, 'SAY_AMBUSH1'),
+(17969, 5, -931.490295, 5357.654785, 18.027155, 0, 'SAY_PROGRESS'),
+(17969, 6, -934.777771, 5369.341797, 22.278048, 0, ''),
+(17969, 7, -934.521851, 5373.407227, 22.834690, 0, ''),
+(17969, 8, -937.008545, 5382.980469, 22.699078, 0, ''),
+(17969, 9, -941.948059, 5404.141602, 22.669743, 0, ''),
+(17969, 10, -931.244263, 5415.846680, 23.063961, 0, 'at crossroad'),
+(17969, 11, -901.497925, 5420.315430, 24.213270, 0, ''),
+(17969, 12, -860.311707, 5415.617676, 23.671139, 0, ''),
+(17969, 13, -777.988953, 5391.982422, 23.001669, 0, ''),
+(17969, 14, -750.362000, 5385.786621, 22.765791, 0, ''),
+(17969, 15, -731.339417, 5382.449707, 22.517065, 0, ''),
+(17969, 16, -681.235901, 5381.377930, 22.050159, 2500, 'end bridge SAY_AMBUSH2'),
+(17969, 17, -637.944458, 5384.338379, 22.205647, 0, 'SAY_END'),
+(17969, 18, -608.954407, 5408.715332, 21.630386, 0, ''),
+(17969, 19, -598.134277, 5413.608398, 21.412275, 0, ''),
+(17969, 20, -571.268982, 5420.771973, 21.184925, 0, ''),
+(17969, 21, -553.099915, 5424.616211, 21.193716, 0, ''),
+(17969, 22, -524.745483, 5443.945313, 20.977013, 0, ''),
+(17969, 23, -502.984985, 5446.283691, 22.149435, 0, ''),
+(17969, 24, -472.463959, 5449.546875, 22.561453, 0, ''),
+(17969, 25, -454.533264, 5461.302246, 22.602837, 30000, 'quest complete');
diff --git a/sql/old/3.1.3/04006_sd2.sql b/sql/old/3.1.3/04006_sd2.sql
new file mode 100644
index 00000000000..cfc72330f07
--- /dev/null
+++ b/sql/old/3.1.3/04006_sd2.sql
@@ -0,0 +1,10 @@
+UPDATE creature_template SET ScriptName='' WHERE entry=466;
+UPDATE script_texts SET content_default='UNUSED', language=0, comment='REUSE ME' WHERE entry=-1000005;
+
+UPDATE `creature_template` SET `ScriptName`='npc_aged_dying_ancient_kodo' WHERE `entry` IN (4700,4701,4702,11627);
+
+DELETE FROM script_texts WHERE entry BETWEEN -1000430 AND -1000428;
+INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
+(-1000428, 'Ah...the wondrous sound of kodos. I love the way they make the ground shake... inspect the beast for me.',0,0,0,0,'kodo round SAY_SMEED_HOME_1'),
+(-1000429, 'Hey, look out with that kodo! You had better inspect that beast before i give you credit!',0,0,0,0,'kodo round SAY_SMEED_HOME_2'),
+(-1000430, 'That kodo sure is a beauty. Wait a minute, where are my bifocals? Perhaps you should inspect the beast for me.',0,0,0,0,'kodo round SAY_SMEED_HOME_3');
diff --git a/sql/old/3.1.3/04016_world_spell_dk.sql b/sql/old/3.1.3/04016_world_spell_dk.sql
new file mode 100644
index 00000000000..18e62cc1d20
--- /dev/null
+++ b/sql/old/3.1.3/04016_world_spell_dk.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_script_target` WHERE entry IN(53110);
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(53110,1,28940);
diff --git a/sql/old/3.1.3/04023_world_spell_proc_event.sql b/sql/old/3.1.3/04023_world_spell_proc_event.sql
new file mode 100644
index 00000000000..4a9c17edfdd
--- /dev/null
+++ b/sql/old/3.1.3/04023_world_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (51521, 51522);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 51521, 0x00, 11, 0x00000000, 0x01000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Improved Stormspike
+( 51522, 0x00, 11, 0x00000000, 0x01000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Improved Stormspike
diff --git a/sql/old/3.1.3/04030_world.sql b/sql/old/3.1.3/04030_world.sql
new file mode 100644
index 00000000000..09041e6123c
--- /dev/null
+++ b/sql/old/3.1.3/04030_world.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_nestlewood_owlkin' WHERE `entry`=16518;
diff --git a/sql/old/3.1.3/04031_world_spell_proc_event.sql b/sql/old/3.1.3/04031_world_spell_proc_event.sql
new file mode 100644
index 00000000000..f887ea24b9e
--- /dev/null
+++ b/sql/old/3.1.3/04031_world_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (51698, 51700, 51701);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 51698, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 1), -- Honor Among Thieves
+( 51700, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 1), -- Honor Among Thieves
+( 51701, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 1); -- Honor Among Thieves
diff --git a/sql/old/3.1.3/04032_world_spell_proc_event.sql b/sql/old/3.1.3/04032_world_spell_proc_event.sql
new file mode 100644
index 00000000000..25c0b56ccdb
--- /dev/null
+++ b/sql/old/3.1.3/04032_world_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (51209, 50334);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+(51209, 55095, 1, 'Hungering cold - frost fever'),
+(50334, 58923, 2, 'Berserk - modify target number aura');
diff --git a/sql/old/3.1.3/04043_world_npc_spellclick_spells.sql b/sql/old/3.1.3/04043_world_npc_spellclick_spells.sql
new file mode 100644
index 00000000000..3b4a0ee7679
--- /dev/null
+++ b/sql/old/3.1.3/04043_world_npc_spellclick_spells.sql
@@ -0,0 +1,29 @@
+ALTER TABLE npc_spellclick_spells
+ DROP COLUMN quest_status,
+ CHANGE COLUMN quest_id quest_start mediumint(8) unsigned NOT NULL COMMENT 'reference to quest_template',
+ ADD COLUMN quest_start_active tinyint(1) unsigned NOT NULL default '0' AFTER quest_start,
+ ADD COLUMN quest_end mediumint(8) unsigned NOT NULL default '0' AFTER quest_start_active;
+
+/* compatibility with old data */
+UPDATE npc_spellclick_spells
+ SET quest_end = quest_start, quest_start_active = 1
+ WHERE quest_start <> 0;
+
+DELETE FROM `npc_spellclick_spells` WHERE `spell_id` IN (54568, 54575, 52263, 52280, 52447);
+INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `quest_start`, `quest_start_active`, `quest_end`, `cast_flags`) VALUES
+(29488, 54568, 12670, 1, 0, 3), -- Taxi to Death's Breath
+(29501, 54575, 12670, 1, 0, 3),
+(28605, 52263, 12680, 1, 12680, 1), -- Stolen Horse
+(28606, 52263, 12680, 1, 12680, 1),
+(28607, 52263, 12680, 1, 12680, 1),
+(28782, 52280, 12687, 1, 12687, 1), -- Unbound Charger
+(28833, 52447, 12701, 1, 12701, 1), -- Scarlet Cannon Master
+(28887, 52447, 12701, 1, 12701, 1);
+
+DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (29912);
+INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `quest_start`, `quest_start_active`, `quest_end`, `cast_flags`) VALUES
+(29912, 55479, 0, 0, 0, 3); -- Obedience Crystal - Force Obedience
+
+DELETE FROM `spell_target_position` WHERE `id`=51852;
+INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES
+(51852, 609, 2361.21, -5660.45, 503.828, 4.49);
diff --git a/sql/old/3.1.3/04045_world_spell_proc_event.sql b/sql/old/3.1.3/04045_world_spell_proc_event.sql
new file mode 100644
index 00000000000..fc1034ec746
--- /dev/null
+++ b/sql/old/3.1.3/04045_world_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (51483,51485,51486);
+INSERT INTO `spell_proc_event` VALUES
+(51483, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0.000000, 0.000000, 0),
+(51485, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0.000000, 0.000000, 0),
+(51486, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00000400, 0x00000000, 0.000000, 0.000000, 0);
diff --git a/sql/old/3.1.3/04063_TC1_1569_world_scripts.sql b/sql/old/3.1.3/04063_TC1_1569_world_scripts.sql
new file mode 100644
index 00000000000..5fc2287a851
--- /dev/null
+++ b/sql/old/3.1.3/04063_TC1_1569_world_scripts.sql
@@ -0,0 +1,3 @@
+-- Razorfen Kraul
+UPDATE `instance_template` SET `script` = 'instance_razorfen_kraul' WHERE `map` = '47' LIMIT 1;
+UPDATE `creature_template` SET `ScriptName` = 'npc_deaths_head_ward_keeper' WHERE `entry` = '4625' LIMIT 1;
diff --git a/sql/old/3.1.3/04066_world_spell_proc_event.sql b/sql/old/3.1.3/04066_world_spell_proc_event.sql
new file mode 100644
index 00000000000..08adad1a28e
--- /dev/null
+++ b/sql/old/3.1.3/04066_world_spell_proc_event.sql
@@ -0,0 +1,9 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (64976,64343, 63158, 63156, 51698, 51700, 51701);
+INSERT INTO `spell_proc_event` VALUES
+( 51698, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 1), -- Honor Among Thieves (Rank 1)
+( 51700, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 1), -- Honor Among Thieves (Rank 2)
+( 51701, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 1), -- Honor Among Thieves (Rank 3)
+( 64976, 0x00, 4, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Juggernaut
+( 64343, 0x00, 3, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Impact
+( 63158, 0x00, 5, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Decimation
+( 63156, 0x00, 5, 0x00000001, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Decimation
diff --git a/sql/old/3.1.3/04081_world.sql b/sql/old/3.1.3/04081_world.sql
new file mode 100644
index 00000000000..7f6528c6eb5
--- /dev/null
+++ b/sql/old/3.1.3/04081_world.sql
@@ -0,0 +1,15 @@
+DELETE FROM `spell_pet_auras` WHERE `spell` IN(56314, 56315, 56316, 56317, 56318);
+INSERT INTO `spell_pet_auras` VALUES
+(56314,0,57447),
+(56315,0,57482),
+(56316,0,57453),
+(56317,0,57457),
+(56318,0,57458);
+
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN(57447, 57482, 57453, 57457, 57458);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+(57447,57485,2,'Kindred Spirits'),
+(57482,57484,2,'Kindred Spirits'),
+(57453,57483,2,'Kindred Spirits'),
+(57457,57482,2,'Kindred Spirits'),
+(57458,57475,2,'Kindred Spirits');
diff --git a/sql/old/3.1.3/04105_8030_01_characters_character_spell.sql b/sql/old/3.1.3/04105_8030_01_characters_character_spell.sql
new file mode 100644
index 00000000000..5d65fce8ff2
--- /dev/null
+++ b/sql/old/3.1.3/04105_8030_01_characters_character_spell.sql
@@ -0,0 +1,7 @@
+-- ALTER TABLE character_db_version CHANGE COLUMN required_7988_07_characters_characters required_8030_01_characters_character_spell bit;
+
+UPDATE IGNORE character_spell
+ SET spell = 64901
+ WHERE spell = 64904;
+
+DELETE FROM character_spell WHERE spell = 64904;
diff --git a/sql/old/3.1.3/04105_8030_02_characters_character_action.sql b/sql/old/3.1.3/04105_8030_02_characters_character_action.sql
new file mode 100644
index 00000000000..5588350efe0
--- /dev/null
+++ b/sql/old/3.1.3/04105_8030_02_characters_character_action.sql
@@ -0,0 +1,5 @@
+-- ALTER TABLE character_db_version CHANGE COLUMN required_8030_01_characters_character_spell required_8030_02_characters_character_action bit;
+
+UPDATE character_action
+ SET action = 64901
+ WHERE action = 64904 AND type = '0';
diff --git a/sql/old/3.1.3/04105_8030_03_mangos_npc_trainer.sql b/sql/old/3.1.3/04105_8030_03_mangos_npc_trainer.sql
new file mode 100644
index 00000000000..2b6f04b25e7
--- /dev/null
+++ b/sql/old/3.1.3/04105_8030_03_mangos_npc_trainer.sql
@@ -0,0 +1,3 @@
+-- ALTER TABLE db_version CHANGE COLUMN required_8021_01_mangos_spell_proc_event required_8030_03_mangos_npc_trainer bit;
+
+DELETE FROM npc_trainer WHERE spell = 64904;
diff --git a/sql/old/3.1.3/04115_world_sd2.sql b/sql/old/3.1.3/04115_world_sd2.sql
new file mode 100644
index 00000000000..ede0c591d57
--- /dev/null
+++ b/sql/old/3.1.3/04115_world_sd2.sql
@@ -0,0 +1,6 @@
+UPDATE creature_template SET ScriptName='' WHERE entry=21845;
+UPDATE creature_template SET ScriptName='boss_leotheras_the_blind_demonform' WHERE entry=21875;
+
+UPDATE script_texts SET content_default='Finally, my banishment ends!' WHERE entry=-1548009;
+UPDATE script_texts SET content_default='Be gone, trifling elf. I am in control now!' WHERE entry=-1548010;
+UPDATE script_texts SET content_default='No... no! What have you done? I am the master! Do you hear me? I am... aaggh! Can\'t... contain him...' WHERE entry=-1548018;
diff --git a/sql/old/3.1.3/04154_world_script.sql b/sql/old/3.1.3/04154_world_script.sql
new file mode 100644
index 00000000000..1372842790b
--- /dev/null
+++ b/sql/old/3.1.3/04154_world_script.sql
@@ -0,0 +1 @@
+UPDATE creature_template SET ScriptName='npc_air_force_bots' WHERE entry IN (2614, 2615, 21974, 21993, 21996, 21997, 21999, 22001, 22002, 22003, 22063, 22065, 22066, 22068, 22069, 22070, 22071, 22078, 22079, 22080, 22086, 22087, 22088, 22090, 22124, 22125, 22126);
diff --git a/sql/old/3.1.3/04159_world.sql b/sql/old/3.1.3/04159_world.sql
new file mode 100644
index 00000000000..00778695c76
--- /dev/null
+++ b/sql/old/3.1.3/04159_world.sql
@@ -0,0 +1,14 @@
+DELETE FROM `trinity_string` WHERE `entry` BETWEEN 5012 AND 5019;
+INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES
+(5012, 'No maps found!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+(5013, '[Continent]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+(5014, '[Instance]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+(5015, '[Battleground]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+(5016, '[Arena]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+(5017, '[Raid reset time: %u]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+(5018, '[Heroic reset time: %u]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+(5019, '[Mountable]', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+
+DELETE FROM `command` WHERE `name` = 'lookup map';
+INSERT INTO `command` (`name`, `security`, `help`) VALUES
+('lookup map', 3, 'Syntax: .lookup map $namepart\r\n\r\nLooks up a map by $namepart, and returns all matches with their map ID''s.');
diff --git a/sql/old/3.1.3/04174_world_script.sql b/sql/old/3.1.3/04174_world_script.sql
new file mode 100644
index 00000000000..3ed520e89ab
--- /dev/null
+++ b/sql/old/3.1.3/04174_world_script.sql
@@ -0,0 +1 @@
+UPDATE `instance_template` SET `script`='instance_blackfathom_deeps' WHERE `map`=48;
diff --git a/sql/old/3.1.3/04176_world.sql b/sql/old/3.1.3/04176_world.sql
new file mode 100644
index 00000000000..8e471e16917
--- /dev/null
+++ b/sql/old/3.1.3/04176_world.sql
@@ -0,0 +1,2 @@
+UPDATE `trinity_string` SET `content_default` = '[Raid reset time: %s]' WHERE `entry` = 5017;
+UPDATE `trinity_string` SET `content_default` = '[Heroic reset time: %s]' WHERE `entry` = 5018;
diff --git a/sql/old/3.1.3/04209_characters_TDB.sql b/sql/old/3.1.3/04209_characters_TDB.sql
new file mode 100644
index 00000000000..a380d2a9e8a
--- /dev/null
+++ b/sql/old/3.1.3/04209_characters_TDB.sql
@@ -0,0 +1 @@
+ALTER TABLE character_pet DROP COLUMN load_flags;
diff --git a/sql/old/3.1.3/04209_world_TDB.sql b/sql/old/3.1.3/04209_world_TDB.sql
new file mode 100644
index 00000000000..6baca035d85
--- /dev/null
+++ b/sql/old/3.1.3/04209_world_TDB.sql
@@ -0,0 +1,5 @@
+DELETE FROM trinity_string WHERE `entry` = 6616;
+DELETE FROM `command` WHERE `name` IN ('reset all','reset talents');
+INSERT INTO `command` VALUES
+('reset all',3,'Syntax: .reset all spells\r\n\r\nSyntax: .reset all talents\r\n\r\nRequest reset spells or talents (including talents for all character\'s pets if any) at next login each existed character.'),
+('reset talents',3,'Syntax: .reset talents [Playername]\r\n Removes all talents of the targeted player or pet or named player. Playername can be name of offline character. With player talents also will be reset talents for all character\'s pets if any.');
diff --git a/sql/old/3.1.3/04211_world.sql b/sql/old/3.1.3/04211_world.sql
new file mode 100644
index 00000000000..59c057bdb10
--- /dev/null
+++ b/sql/old/3.1.3/04211_world.sql
@@ -0,0 +1,2 @@
+ALTER TABLE spell_pet_auras ADD effectId TINYINT( 3 ) UNSIGNED NOT NULL AFTER spell;
+ALTER TABLE spell_pet_auras DROP PRIMARY KEY, ADD PRIMARY KEY(spell,effectId,pet);
diff --git a/sql/old/3.1.3/04216_world.sql b/sql/old/3.1.3/04216_world.sql
new file mode 100644
index 00000000000..e8fba8fbcbd
--- /dev/null
+++ b/sql/old/3.1.3/04216_world.sql
@@ -0,0 +1,3 @@
+DELETE FROM `command` WHERE `name` IN ('modify tp');
+INSERT INTO `command` VALUES
+('modify tp',1,'Syntax: .modify tp #amount\r\n\r\nSte free talent pointes for selected character or character\'s pet. It will be reset to default expected at next levelup/login/quest reward.');
diff --git a/sql/old/3.1.3/04217_world_spell_proc_event.sql b/sql/old/3.1.3/04217_world_spell_proc_event.sql
new file mode 100644
index 00000000000..00df39c15e2
--- /dev/null
+++ b/sql/old/3.1.3/04217_world_spell_proc_event.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (13165 ,14318, 14319, 14320, 14321, 14322, 25296, 27044, 61846, 61847);
diff --git a/sql/old/3.1.3/04222_world.sql b/sql/old/3.1.3/04222_world.sql
new file mode 100644
index 00000000000..88cba6a134b
--- /dev/null
+++ b/sql/old/3.1.3/04222_world.sql
@@ -0,0 +1,13 @@
+DELETE FROM spell_pet_auras where `spell` in (56314,56315,56316, 56317, 56318);
+INSERT INTO spell_pet_auras VALUES
+(56314, 0, 0, 57447),
+(56314, 1, 0, 57485),
+(56315, 0, 0, 57452),
+(56315, 1, 0, 57484),
+(56316, 0, 0, 57453),
+(56316, 1, 0, 57483),
+(56317, 0, 0, 57457),
+(56317, 1, 0, 57482),
+(56318, 0, 0, 57458),
+(56318, 1, 0, 57475);
+DELETE FROM spell_linked_spell where `spell_trigger` in (57447,57482,57453, 57457, 57458);
diff --git a/sql/old/3.1.3/04225_world.sql b/sql/old/3.1.3/04225_world.sql
new file mode 100644
index 00000000000..39aa777c6a9
--- /dev/null
+++ b/sql/old/3.1.3/04225_world.sql
@@ -0,0 +1,9 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (48492, 48494, 48495);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 48492, 0x00, 7, 0x00080000, 0x00000000, 0x00000800, 0x00000400, 0x00000000, 0, 0, 0), -- King of the Jungle (Rank1)
+( 48494, 0x00, 7, 0x00080000, 0x00000000, 0x00000800, 0x00000400, 0x00000000, 0, 0, 0), -- King of the Jungle (Rank2)
+( 48495, 0x00, 7, 0x00080000, 0x00000000, 0x00000800, 0x00000400, 0x00000000, 0, 0, 0); -- King of the Jungle (Rank3)
+
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (-5229);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( -5229, -51185, 0, 'King of the Jungle - remove with enrage');
diff --git a/sql/old/3.1.3/04233_world_spell_proc_event.sql b/sql/old/3.1.3/04233_world_spell_proc_event.sql
new file mode 100644
index 00000000000..52b3f278501
--- /dev/null
+++ b/sql/old/3.1.3/04233_world_spell_proc_event.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (17794 ,17797, 17798, 17799, 17800, 55620, 55623, 58435);
diff --git a/sql/old/3.1.3/04234_world_spell_bonus_data_TDB.sql b/sql/old/3.1.3/04234_world_spell_bonus_data_TDB.sql
new file mode 100644
index 00000000000..5bf95f4ba4f
--- /dev/null
+++ b/sql/old/3.1.3/04234_world_spell_bonus_data_TDB.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_bonus_data` WHERE `entry`='17962';
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `comments`) VALUES
+('17962', '0', '0', '0', 'Warlock - Conflagrate');
diff --git a/sql/old/3.1.3/04246_world_script.sql b/sql/old/3.1.3/04246_world_script.sql
new file mode 100644
index 00000000000..87732154f65
--- /dev/null
+++ b/sql/old/3.1.3/04246_world_script.sql
@@ -0,0 +1,19 @@
+DELETE FROM `script_texts` WHERE `entry` BETWEEN -1609016 AND -1609000;
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1609000, 'You have made a grave error, fiend!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_START_1' ),
+(-1609001, 'I was a soldier of the Light once... Look at what I have become... ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_START_2'),
+(-1609002, 'You are hopelessly outmatched\, $R.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_START_3'),
+(-1609003, 'They brand me unworthy? I will show them unmorthy!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_START_4'),
+(-1609004, 'You will allow me a weapon and armor, yes?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_START_5'),
+(-1609005, 'I will win my freedom and leave this cursed place!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_START_6'),
+(-1609006, 'I will dismantle this festering hellhole!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_START_7'),
+(-1609007, 'There can be only one survivor!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_START_8'),
+(-1609008, 'To battle!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_1'),
+(-1609009, 'Let your fears consume you!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_2'),
+(-1609010, 'HAH! You can barely hold a blade! Yours will be a quick death.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_3'),
+(-1609011, 'And now you die', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_4'),
+(-1609012, 'To battle!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_5'),
+(-1609013, 'There is no hope for our future...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_6'),
+(-1609014, 'Sate your hunger on cold steel\, $R', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_7'),
+(-1609015, 'It ends here!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_8'),
+(-1609016, 'Death is the only cure!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'unworthy_initiate SAY_EVENT_ATTACK_9');
diff --git a/sql/old/3.1.3/04258_world_TDB.sql b/sql/old/3.1.3/04258_world_TDB.sql
new file mode 100644
index 00000000000..d9764e521b7
--- /dev/null
+++ b/sql/old/3.1.3/04258_world_TDB.sql
@@ -0,0 +1,8 @@
+DELETE FROM `trinity_string` WHERE `entry` IN (300, 301);
+INSERT INTO `trinity_string` (`entry`, `content_default`)VALUES
+('300', 'Your chat has been disabled for %u minutes. Reason: %s.'),
+('301', 'You have disabled %s\'s chat for %u minutes. Reason: %s.');
+
+DELETE FROM `command` WHERE `name` = 'mute';
+INSERT INTO `command` (`name`, `security`, `help`) VALUES
+('mute', 1 ,'Syntax: .mute [$playerName] $timeInMinutes [$reason]\r\n\r\nDisible chat messaging for any character from account of character $playerName (or currently selected) at $timeInMinutes minutes. Player can be offline.');
diff --git a/sql/old/3.1.3/04276_world_TDB.sql b/sql/old/3.1.3/04276_world_TDB.sql
new file mode 100644
index 00000000000..ea9df1a069b
--- /dev/null
+++ b/sql/old/3.1.3/04276_world_TDB.sql
@@ -0,0 +1,14 @@
+REPLACE INTO gameobject_template VALUES (178925,1,5651,"Alliance Banner","","","",83,0,1,0,0,0,0,0,1479,196608,180421,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (178943,1,5652,"Horde Banner","","","",84,0,1,0,0,0,0,0,1479,196608,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (178940,1,5653,"Contested Banner","","","",83,0,1,0,0,0,0,0,1479,196608,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (179435,1,5654,"Contested Banner","","","",84,0,1,0,0,0,0,0,1479,196608,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (178365,1,5771,"Alliance Banner","","","",83,0,1,0,0,0,0,0,1479,196608,180100,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (179286,1,5772,"Contested Banner","","","",83,0,1,0,0,0,0,0,1479,196608,180102,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (179287,1,5774,"Contested Banner","","","",84,0,1,0,0,0,0,0,1479,0,180102,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (180418,1,6211,"Snowfall Banner","","","",0,0,1,0,0,0,0,0,1479,196608,180100,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (180100,6,2232,"Alliance Banner Aura","","","",0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (180102,6,266,"Neutral Banner Aura","","","",0,0,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (180101,6,1311,"Horde Banner Aura","","","",0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (180421,6,2232,"Alliance Banner Aura, Large","","","",0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (180423,6,266,"Neutral Banner Aura, Large","","","",0,0,5,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
+REPLACE INTO gameobject_template VALUES (180422,6,1311,"Horde Banner Aura, Large","","","",0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"");
diff --git a/sql/old/3.1.3/04283_world_TDB.sql b/sql/old/3.1.3/04283_world_TDB.sql
new file mode 100644
index 00000000000..f17f0a489f8
--- /dev/null
+++ b/sql/old/3.1.3/04283_world_TDB.sql
@@ -0,0 +1,82 @@
+DELETE FROM pet_levelstats WHERE creature_entry = 26125;
+INSERT INTO `pet_levelstats` (`creature_entry`, `level`, `hp`, `mana`, `armor`, `str`, `agi`, `sta`, `inte`, `spi`) VALUES
+('26125','1','48','80','10','20','16','13','20','8'),
+('26125','2','105','106','67','22','17','14','21','9'),
+('26125','3','162','132','124','24','18','15','22','10'),
+('26125','4','219','158','181','26','19','16','23','11'),
+('26125','5','276','184','238','28','20','17','24','12'),
+('26125','6','333','210','295','30','21','18','25','13'),
+('26125','7','390','236','352','32','22','19','26','14'),
+('26125','8','447','262','409','34','23','20','27','15'),
+('26125','9','504','288','466','36','24','21','28','16'),
+('26125','10','561','314','523','38','25','22','29','17'),
+('26125','11','618','340','580','40','26','23','30','18'),
+('26125','12','675','366','637','42','27','24','31','19'),
+('26125','13','732','392','694','44','28','25','32','20'),
+('26125','14','789','418','751','46','29','26','33','21'),
+('26125','15','846','444','808','48','30','27','34','22'),
+('26125','16','903','470','865','50','31','28','35','23'),
+('26125','17','960','496','922','52','32','29','36','24'),
+('26125','18','1017','522','979','54','33','30','37','25'),
+('26125','19','1074','548','1036','56','34','31','38','26'),
+('26125','20','1131','574','1093','58','35','32','39','27'),
+('26125','21','1188','600','1150','60','36','33','40','28'),
+('26125','22','1245','626','1207','62','37','34','41','29'),
+('26125','23','1302','652','1264','64','38','35','42','30'),
+('26125','24','1359','678','1321','66','39','36','43','31'),
+('26125','25','1416','704','1378','68','40','37','44','32'),
+('26125','26','1473','730','1435','70','41','38','45','33'),
+('26125','27','1530','756','1492','72','42','39','46','34'),
+('26125','28','1587','782','1549','74','43','40','47','35'),
+('26125','29','1644','808','1606','76','44','41','48','36'),
+('26125','30','1701','834','1663','78','45','42','49','37'),
+('26125','31','1758','860','1720','80','46','43','50','38'),
+('26125','32','1815','886','1777','82','47','44','51','39'),
+('26125','33','1872','912','1834','84','48','45','52','40'),
+('26125','34','1929','938','1891','86','49','46','53','41'),
+('26125','35','1986','964','1948','88','50','47','54','42'),
+('26125','36','2043','990','2005','90','51','48','55','43'),
+('26125','37','2100','1016','2062','92','52','49','56','44'),
+('26125','38','2157','1042','2119','94','53','50','57','45'),
+('26125','39','2214','1068','2176','96','54','51','58','46'),
+('26125','40','2271','1094','2233','98','55','52','59','47'),
+('26125','41','2328','1120','2290','100','56','53','60','48'),
+('26125','42','2385','1146','2347','102','57','54','61','49'),
+('26125','43','2442','1172','2404','104','58','55','62','50'),
+('26125','44','2499','1198','2461','106','59','56','63','51'),
+('26125','45','2556','1224','2518','108','60','57','64','52'),
+('26125','46','2613','1250','2575','110','61','58','65','53'),
+('26125','47','2670','1276','2632','112','62','59','66','54'),
+('26125','48','2727','1302','2689','114','63','60','67','55'),
+('26125','49','2784','1328','2746','116','64','61','68','56'),
+('26125','50','2841','1354','2803','118','65','62','69','57'),
+('26125','51','2898','1380','2860','120','66','63','70','58'),
+('26125','52','2955','1406','2917','122','67','64','71','59'),
+('26125','53','3012','1432','2974','124','68','65','72','60'),
+('26125','54','3069','1458','3031','126','69','66','73','61'),
+('26125','55','3126','1484','3088','128','70','67','74','62'),
+('26125','56','3183','1510','3145','130','71','68','75','63'),
+('26125','57','3240','1536','3202','132','72','69','76','64'),
+('26125','58','3297','1562','3259','134','73','70','77','65'),
+('26125','59','3354','1588','3316','136','74','71','78','66'),
+('26125','60','3411','1614','3373','138','75','72','79','67'),
+('26125','61','3468','1640','3430','140','76','73','80','68'),
+('26125','62','3525','1666','3487','142','77','74','81','69'),
+('26125','63','3582','1692','3544','144','78','75','82','70'),
+('26125','64','3639','1718','3601','146','79','76','83','71'),
+('26125','65','3696','1744','3658','148','80','77','84','72'),
+('26125','66','3753','1770','3715','150','81','78','85','73'),
+('26125','67','3810','1796','3772','152','82','79','86','74'),
+('26125','68','3867','1822','3829','154','83','80','87','75'),
+('26125','69','3924','1848','3886','156','84','81','88','76'),
+('26125','70','3981','1874','3943','158','85','82','89','77'),
+('26125','71','4038','1900','4000','160','86','83','90','78'),
+('26125','72','4095','1926','4057','162','87','84','91','79'),
+('26125','73','4152','1952','4114','164','88','85','92','80'),
+('26125','74','4209','1978','4171','166','89','86','93','81'),
+('26125','75','4266','2004','4228','168','90','87','94','82'),
+('26125','76','4323','2030','4285','170','91','88','95','83'),
+('26125','77','4380','2056','4342','172','92','89','96','84'),
+('26125','78','4437','2082','4399','174','93','90','97','85'),
+('26125','79','4494','2108','4456','176','94','91','98','86'),
+('26125','80','4551','2134','4513','178','95','92','99','87');
diff --git a/sql/old/3.1.3/04292_8072_01_characters_characters.sql b/sql/old/3.1.3/04292_8072_01_characters_characters.sql
new file mode 100644
index 00000000000..663fc4840a3
--- /dev/null
+++ b/sql/old/3.1.3/04292_8072_01_characters_characters.sql
@@ -0,0 +1,10 @@
+-- ALTER TABLE character_db_version CHANGE COLUMN required_8030_02_characters_character_action required_8072_01_characters_characters bit;
+
+ALTER TABLE characters
+ADD gender TINYINT UNSIGNED NOT NULL default '0' AFTER class,
+ADD level TINYINT UNSIGNED NOT NULL default '0' AFTER gender,
+ADD xp INT UNSIGNED NOT NULL default '0' AFTER level,
+ADD money INT UNSIGNED NOT NULL default '0' AFTER xp,
+ADD playerBytes INT UNSIGNED NOT NULL default '0' AFTER money,
+ADD playerBytes2 INT UNSIGNED NOT NULL default '0' AFTER playerBytes,
+ADD playerFlags INT UNSIGNED NOT NULL default '0' AFTER playerBytes2;
diff --git a/sql/old/3.1.3/04292_8072_02_characters_characters.sql b/sql/old/3.1.3/04292_8072_02_characters_characters.sql
new file mode 100644
index 00000000000..06fa04c6094
--- /dev/null
+++ b/sql/old/3.1.3/04292_8072_02_characters_characters.sql
@@ -0,0 +1,11 @@
+-- ALTER TABLE character_db_version CHANGE COLUMN required_8072_01_characters_characters required_8072_02_characters_characters bit;
+
+UPDATE characters SET
+gender = (CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 23), ' ', -1) AS UNSIGNED) & 0xFF0000) >> 16,
+level = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 54), ' ', -1) AS UNSIGNED),
+xp = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 609), ' ', -1) AS UNSIGNED),
+money = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 1145), ' ', -1) AS UNSIGNED),
+playerBytes = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 154), ' ', -1) AS UNSIGNED),
+playerBytes2 = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 155), ' ', -1) AS UNSIGNED),
+playerFlags = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 151), ' ', -1) AS UNSIGNED)
+WHERE LENGTH(SUBSTRING_INDEX(data, ' ', 1294)) < LENGTH(data) && LENGTH(data) <= LENGTH(SUBSTRING_INDEX(data, ' ', 1295));
diff --git a/sql/old/3.1.3/04307_world_TDB.sql b/sql/old/3.1.3/04307_world_TDB.sql
new file mode 100644
index 00000000000..93850038a8b
--- /dev/null
+++ b/sql/old/3.1.3/04307_world_TDB.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (16857);
+DELETE FROM `spell_bonus_data` WHERE `entry` IN (60089);
+INSERT INTO `spell_bonus_data` (entry, direct_bonus, dot_bonus, ap_bonus, comments) VALUES
+(60089, 0, 0, 0.05, 'Faerie Fire (feral)');
diff --git a/sql/old/3.1.3/04308_world_TDB.sql b/sql/old/3.1.3/04308_world_TDB.sql
new file mode 100644
index 00000000000..248bdef07c1
--- /dev/null
+++ b/sql/old/3.1.3/04308_world_TDB.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_bonus_data` WHERE `entry` IN (20187);
+INSERT INTO `spell_bonus_data` (entry, direct_bonus, dot_bonus, ap_bonus, comments) VALUES
+(20187, 0.4, 0, 0.25, 'Judgement of Righteousness');
diff --git a/sql/old/3.1.3/04320_world_.sql b/sql/old/3.1.3/04320_world_.sql
new file mode 100644
index 00000000000..a89e44b88b2
--- /dev/null
+++ b/sql/old/3.1.3/04320_world_.sql
@@ -0,0 +1,20 @@
+DELETE FROM `spell_enchant_proc_data` WHERE `entry` IN (703, 704, 705, 706, 2644, 3772, 3773, 323, 324, 325, 623, 624, 625, 2641, 3768, 3769);
+INSERT INTO spell_enchant_proc_data (`entry`, `customChance`, `PPMChance`,`procEx`) VALUES
+ -- Wound Poison
+(703, 0, 21.43,0),
+(704, 0, 21.43,0),
+(705, 0, 21.43,0),
+(706, 0, 21.43,0),
+(2644, 0, 21.43,0),
+(3772, 0, 21.43,0),
+(3773, 0, 21.43,0),
+ -- Instant Poison
+(323, 0, 8.53,0),
+(324, 0, 8.53,0),
+(325, 0, 8.53,0),
+(623, 0, 8.53,0),
+(624, 0, 8.53,0),
+(625, 0, 8.53,0),
+(2641, 0, 8.53,0),
+(3768, 0, 8.53,0),
+(3769, 0, 8.53,0);
diff --git a/sql/old/3.1.3/04321_world.sql b/sql/old/3.1.3/04321_world.sql
new file mode 100644
index 00000000000..33365e7aa43
--- /dev/null
+++ b/sql/old/3.1.3/04321_world.sql
@@ -0,0 +1,36 @@
+DELETE FROM `creature_questrelation` WHERE `quest`=12701;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28377, 12701);
+DELETE FROM `creature_involvedrelation` WHERE `quest`=12701;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28377, 12701);
+DELETE FROM `creature_involvedrelation` WHERE `quest`=12723;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28914, 12723);
+DELETE FROM `creature_questrelation` WHERE `quest`=12724;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28914, 12724);
+DELETE FROM `creature_involvedrelation` WHERE `quest`=12724;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28914, 12724);
+DELETE FROM `creature_questrelation` WHERE `quest`=12725;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28913, 12725);
+DELETE FROM `creature_involvedrelation` WHERE `quest`=12725;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28912, 12725);
+DELETE FROM `creature_questrelation` WHERE `quest`=12727;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28912, 12727);
+DELETE FROM `creature_involvedrelation` WHERE `quest`=12727;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28913, 12727);
+
+DELETE FROM `spell_script_target` WHERE `entry` IN (48714,57806);
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+('48714', '2', '27237'),
+('48714', '2', '27235'),
+('48714', '2', '27234'),
+('48714', '2', '27236'),
+('57806', '2', '31043');
+
+UPDATE `creature_template` SET `ScriptName`='npc_aged_dying_ancient_kodo' WHERE `entry` IN (4700,4701,4702,11627);
+
+DELETE FROM `spell_target_position` WHERE `id`=51852;
+INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES
+(51852, 609, 2361.21, -5660.45, 503.828, 4.49);
+
+DELETE FROM `spell_bonus_data` WHERE `entry` IN (20187);
+INSERT INTO `spell_bonus_data` (entry, direct_bonus, dot_bonus, ap_bonus, comments) VALUES
+(20187, 0.4, 0, 0.25, 'Judgement of Righteousness');
diff --git a/sql/old/3.1.3/04346_8098_characters.sql b/sql/old/3.1.3/04346_8098_characters.sql
new file mode 100644
index 00000000000..11a78566fbb
--- /dev/null
+++ b/sql/old/3.1.3/04346_8098_characters.sql
@@ -0,0 +1,27 @@
+/*ALTER TABLE character_db_version CHANGE COLUMN required_8072_02_characters_characters required_8098_01_characters_character_action bit;*/
+
+ALTER TABLE character_action
+ CHANGE COLUMN action action int(11) unsigned NOT NULL default '0';
+
+UPDATE character_action
+ SET action = action | ( misc << 16 );
+
+ALTER TABLE character_action
+ DROP COLUMN misc;
+
+
+UPDATE character_pet
+ SET abdata = CONCAT(
+ (SUBSTRING(abdata, 1, length(SUBSTRING_INDEX(abdata, ' ', 1))) >> 8),' ',
+ SUBSTRING(abdata, length(SUBSTRING_INDEX(abdata, ' ', 1))+2, length(SUBSTRING_INDEX(abdata, ' ', 2))-length(SUBSTRING_INDEX(abdata, ' ', 1))-1),' ',
+ (SUBSTRING(abdata, length(SUBSTRING_INDEX(abdata, ' ', 2))+2, length(SUBSTRING_INDEX(abdata, ' ', 3))-length(SUBSTRING_INDEX(abdata, ' ', 2))-1) >> 8),' ',
+ SUBSTRING(abdata, length(SUBSTRING_INDEX(abdata, ' ', 3))+2, length(SUBSTRING_INDEX(abdata, ' ', 4))-length(SUBSTRING_INDEX(abdata, ' ', 3))-1),' ',
+ (SUBSTRING(abdata, length(SUBSTRING_INDEX(abdata, ' ', 4))+2, length(SUBSTRING_INDEX(abdata, ' ', 5))-length(SUBSTRING_INDEX(abdata, ' ', 4))-1) >> 8),' ',
+ SUBSTRING(abdata, length(SUBSTRING_INDEX(abdata, ' ', 5))+2, length(SUBSTRING_INDEX(abdata, ' ', 6))-length(SUBSTRING_INDEX(abdata, ' ', 5))-1),' ',
+ (SUBSTRING(abdata, length(SUBSTRING_INDEX(abdata, ' ', 6))+2, length(SUBSTRING_INDEX(abdata, ' ', 7))-length(SUBSTRING_INDEX(abdata, ' ', 6))-1) >> 8),' ',
+ SUBSTRING(abdata, length(SUBSTRING_INDEX(abdata, ' ', 7))+2, length(SUBSTRING_INDEX(abdata, ' ', 8))-length(SUBSTRING_INDEX(abdata, ' ', 7))-1),' '
+ );
+
+
+UPDATE pet_spell
+ SET active = ( active >> 8);
diff --git a/sql/old/3.1.3/04346_8098_world.sql b/sql/old/3.1.3/04346_8098_world.sql
new file mode 100644
index 00000000000..ad81835b433
--- /dev/null
+++ b/sql/old/3.1.3/04346_8098_world.sql
@@ -0,0 +1,10 @@
+-- ALTER TABLE db_version CHANGE COLUMN required_8071_01_mangos_command required_8098_02_mangos_playercreateinfo_action bit;
+
+ALTER TABLE playercreateinfo_action
+ CHANGE COLUMN action action int(11) unsigned NOT NULL default '0';
+
+UPDATE playercreateinfo_action
+ SET action = action | ( misc << 16 );
+
+ALTER TABLE playercreateinfo_action
+ DROP COLUMN misc;
diff --git a/sql/old/3.1.3/04351_8104_01_characters.sql b/sql/old/3.1.3/04351_8104_01_characters.sql
new file mode 100644
index 00000000000..aa5ec776496
--- /dev/null
+++ b/sql/old/3.1.3/04351_8104_01_characters.sql
@@ -0,0 +1,7 @@
+-- ALTER TABLE character_db_version CHANGE COLUMN required_8098_04_characters_pet_spell required_8104_01_characters bit;
+
+ALTER TABLE character_achievement ENGINE=InnoDB DEFAULT CHARSET=utf8;
+ALTER TABLE character_achievement_progress ENGINE=InnoDB DEFAULT CHARSET=utf8;
+ALTER TABLE character_declinedname ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+ALTER TABLE character_pet_declinedname ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+ALTER TABLE guild_eventlog ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT 'Guild Eventlog';
diff --git a/sql/old/3.1.3/04352_spell_bonus_data_full.sql b/sql/old/3.1.3/04352_spell_bonus_data_full.sql
new file mode 100644
index 00000000000..8742309a790
--- /dev/null
+++ b/sql/old/3.1.3/04352_spell_bonus_data_full.sql
@@ -0,0 +1,287 @@
+TRUNCATE TABLE `spell_bonus_data`;
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `comments`) VALUES
+(49941, 0, 0, 0.04, 'Death Knight - Blood Boil'),
+(48721, 0, 0, 0.04, 'Death Knight - Blood Boil'),
+(55078, 0, 0, 0.055, 'Death Knight - Blood Plague'),
+(50444, 0, 0, 0.105, 'Death Knight - Corpse Explosion Triggered'),
+(52212, 0, 0, 0.0475, 'Death Knight - Death and Decay'),
+(47632, 0, 0, 0.15, 'Death Knight - Death Coil'),
+(47633, 0, 0, 0.15, 'Death Knight - Death Coil Heal'),
+(55095, 0, 0, 0.055, 'Death Knight - Frost Fever'),
+(49184, 0, 0, 0.1, 'Death Knight - Howling Blast'),
+(45477, 0, 0, 0.1, 'Death Knight - Icy Touch'),
+(56903, 0, 0, 0, 'Death Knight - Lichflame'),
+(50842, 0, 0, 0.04, 'Death Knight - Pestilence'),
+(50401, 0, 0, 0, 'Death Knight - Razor Frost'),
+(47476, 0, 0, 0.06, 'Death Knight - Strangulate'),
+(50536, 0, 0, 0.013, 'Death Knight - Unholy Blight (Rank1)'),
+(51373, 0, 0, 0.013, 'Death Knight - Unholy Blight (Rank2)'),
+(51374, 0, 0, 0.013, 'Death Knight - Unholy Blight (Rank3)'),
+(51375, 0, 0, 0.013, 'Death Knight - Unholy Blight (Rank4)'),
+(339, 0, 0.1, 0, 'Druid - Entangling Roots'),
+(5185, 1.611, 0, 0, 'Druid - Healing Touch'),
+(42231, 0.12898, 0, 0, 'Druid - Hurricane Triggered'),
+(5570, 0, 0.2, 0, 'Druid - Insect Swarm'),
+(33763, 0.6453, 0.09518, 0, 'Druid - Lifebloom'),
+(8921, 0.1515, 0.13, 0, 'Druid - Moonfire'),
+(50464, 0.67305, 0, 0, 'Druid - Nourish'),
+(8936, 0.539, 0.188, 0, 'Druid - Regrowth'),
+(774, 0, 0.37604, 0, 'Druid - Rejuvenation'),
+(50294, 0.0119, 0, 0, 'Druid - Starfall AOE rank 1'),
+(53188, 0.0119, 0, 0, 'Druid - Starfall AOE rank 2'),
+(53189, 0.0119, 0, 0, 'Druid - Starfall AOE rank 3'),
+(53190, 0.0119, 0, 0, 'Druid - Starfall AOE rank 4'),
+(50288, 0.0458, 0, 0, 'Druid - Starfall rank 1'),
+(53191, 0.0458, 0, 0, 'Druid - Starfall rank 2'),
+(53194, 0.0458, 0, 0, 'Druid - Starfall rank 3'),
+(53195, 0.0458, 0, 0, 'Druid - Starfall rank 4'),
+(2912, 1, 0, 0, 'Druid - Starfire'),
+(18562, 0, 0, 0, 'Druid - Swiftmend'),
+(44203, 0.538, 0, 0, 'Druid - Tranquility Triggered'),
+(61391, 0.193, 0, 0, 'Druid - Typhoon'),
+(48438, 0, 0.11505, 0, 'Druid - Wild Growth'),
+(5176, 0.5714, 0, 0, 'Druid - Wrath'),
+(60089, 0, 0, 0.05, 'Faerie Fire (feral)'),
+(55039, 0, 0, 0, 'Item - Gnomish Lightning Generator'),
+(44425, 0.7143, 0, 0, 'Mage - Arcane Barrage'),
+(30451, 0.7143, 0, 0, 'Mage - Arcane Blast'),
+(1449, 0.2128, 0, 0, 'Mage - Arcane Explosion'),
+(7268, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 1'),
+(38700, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 10'),
+(38703, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 11'),
+(42844, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 12'),
+(42845, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 13'),
+(7269, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 2'),
+(7270, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 3'),
+(8419, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 4'),
+(8418, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 5'),
+(10273, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 6'),
+(10274, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 7'),
+(25346, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 8'),
+(27076, 0.2857, 0, 0, 'Mage - Arcane Missiles Triggered Spell Rank 9'),
+(11113, 0.1936, 0, 0, 'Mage - Blast Wave'),
+(42208, 0.1437, 0, 0, 'Mage - Blizzard Triggered Spell Rank 1'),
+(42209, 0.1437, 0, 0, 'Mage - Blizzard Triggered Spell Rank 2'),
+(42210, 0.1437, 0, 0, 'Mage - Blizzard Triggered Spell Rank 3'),
+(42211, 0.1437, 0, 0, 'Mage - Blizzard Triggered Spell Rank 4'),
+(42212, 0.1437, 0, 0, 'Mage - Blizzard Triggered Spell Rank 5'),
+(42213, 0.1437, 0, 0, 'Mage - Blizzard Triggered Spell Rank 6'),
+(42198, 0.1437, 0, 0, 'Mage - Blizzard Triggered Spell Rank 7'),
+(42937, 0.1437, 0, 0, 'Mage - Blizzard Triggered Spell Rank 8'),
+(42938, 0.1437, 0, 0, 'Mage - Blizzard Triggered Spell Rank 9'),
+(120, 0.214, 0, 0, 'Mage - Cone of Cold'),
+(31661, 0.1936, 0, 0, 'Mage - Dragons Breath'),
+(133, 1, 0, 0, 'Mage - Fire Ball'),
+(2136, 0.4286, 0, 0, 'Mage - Fire Blast'),
+(543, 0.1, 0, 0, 'Mage - Fire Ward'),
+(2120, 0.2357, 0.122, 0, 'Mage - Flamestrike'),
+(116, 0.8143, 0, 0, 'Mage - Frost Bolt'),
+(122, 0.193, 0, 0, 'Mage - Frost Nova'),
+(6143, 0.1, 0, 0, 'Mage - Frost Ward'),
+(44614, 0.8571, 0, 0, 'Mage - Frostfire Bolt'),
+(11426, 0.8053, 0, 0, 'Mage - Ice Barrier'),
+(30455, 0.1429, 0, 0, 'Mage - Ice Lance'),
+(44457, 0.4, 0.2, 0, 'Mage - Living Bomb'),
+(1463, 0.8053, 0, 0, 'Mage - Mana Shield'),
+(34913, 0, 0, 0, 'Mage - Molten Armor Triggered Rank 1'),
+(43043, 0, 0, 0, 'Mage - Molten Armor Triggered Rank 2'),
+(43044, 0, 0, 0, 'Mage - Molten Armor Triggered Rank 3'),
+(11366, 1.15, 0.05, 0, 'Mage - Pyroblast'),
+(2948, 0.4286, 0, 0, 'Mage - Scorch'),
+(31935, 0.07, 0, 0.07, 'Paladin - Avenger Shield'),
+(53742, 0, 0.0176, 0.03, 'Paladin - Blood Corruption'),
+(26573, 0, 0.04, 0.04, 'Paladin - Consecration'),
+(879, 0.15, 0, 0.15, 'Paladin - Exorcism'),
+(19750, 1, 0, 0, 'Paladin - Flash of Light'),
+(53595, 0, 0, 0, 'Paladin - Hammer of the Righteous'),
+(24275, 0.15, 0, 0.15, 'Paladin - Hammer of Wrath'),
+(635, 1.66, 0, 0, 'Paladin - Holy Light'),
+(20925, 0.09, 0, 0.056, 'Paladin - Holy Shield'),
+(25914, 0.81, 0, 0, 'Paladin - Holy Shock Triggered Heal Rank 1'),
+(25913, 0.81, 0, 0, 'Paladin - Holy Shock Triggered Heal Rank 2'),
+(25903, 0.81, 0, 0, 'Paladin - Holy Shock Triggered Heal Rank 3'),
+(27175, 0.81, 0, 0, 'Paladin - Holy Shock Triggered Heal Rank 4'),
+(33074, 0.81, 0, 0, 'Paladin - Holy Shock Triggered Heal Rank 5'),
+(48820, 0.81, 0, 0, 'Paladin - Holy Shock Triggered Heal Rank 6'),
+(48821, 0.81, 0, 0, 'Paladin - Holy Shock Triggered Heal Rank 7'),
+(25912, 0.4286, 0, 0, 'Paladin - Holy Shock Triggered Hurt Rank 1'),
+(25911, 0.4286, 0, 0, 'Paladin - Holy Shock Triggered Hurt Rank 2'),
+(25902, 0.4286, 0, 0, 'Paladin - Holy Shock Triggered Hurt Rank 3'),
+(27176, 0.4286, 0, 0, 'Paladin - Holy Shock Triggered Hurt Rank 4'),
+(33073, 0.4286, 0, 0, 'Paladin - Holy Shock Triggered Hurt Rank 5'),
+(48822, 0.4286, 0, 0, 'Paladin - Holy Shock Triggered Hurt Rank 6'),
+(48823, 0.4286, 0, 0, 'Paladin - Holy Shock Triggered Hurt Rank 7'),
+(31803, 0, 0.0176, 0.03, 'Paladin - Holy Vengeance'),
+(2812, 0.07, 0, 0.07, 'Paladin - Holy Wrath'),
+(31898, 0.25, 0, 0.16, 'Paladin - Judgement of Blood Enemy'),
+(32220, 0.0833, 0, 0.0533, 'Paladin - Judgement of Blood Self'),
+(20467, 0.25, 0, 0.16, 'Paladin - Judgement of Command'),
+(53733, 0, 0, 0, 'Paladin - Judgement of Corruption'),
+(20267, 0.1, 0, 0.1, 'Paladin - Judgement of Light Proc'),
+(20187, 0.4, 0, 0.25, 'Paladin - Judgement of Righteousness'),
+(53726, 0.25, 0, 0.16, 'Paladin - Judgement of the Martyr Enemy'),
+(53725, 0.0833, 0, 0.0533, 'Paladin - Judgement of the Martyr Self'),
+(31804, 0, 0, 0, 'Paladin - Judgement of Vengeance'),
+(58597, 0.75, 0, 0, 'Paladin - Sacred Shield'),
+(53601, 0.75, 0, 0, 'Paladin - Sacred Shield'),
+(31893, 0, 0, 0, 'Paladin - Seal of Blood Proc Enemy'),
+(32221, 0, 0, 0, 'Paladin - Seal of Blood Proc Self'),
+(20424, 0, 0, 0, 'Paladin - Seal of Command Proc'),
+(20167, 0.15, 0, 0.15, 'Paladin - Seal of Light Proc'),
+(25742, 0.07, 0, 0.039, 'Paladin - Seal of Righteousness Dummy Proc'),
+(53719, 0, 0, 0, 'Paladin - Seal of the Martyr Proc Enemy'),
+(53718, 0, 0, 0, 'Paladin - Seal of the Martyr Proc Self'),
+(53600, 0, 0, 0, 'Paladin - Shield of Righteousness'),
+(32546, 0.8068, 0, 0, 'Priest - Binding Heal'),
+(27813, 0, 0, 0, 'Priest - Blessed Recovery Rank 1'),
+(27817, 0, 0, 0, 'Priest - Blessed Recovery Rank 2'),
+(27818, 0, 0, 0, 'Priest - Blessed Recovery Rank 3'),
+(34861, 0.402, 0, 0, 'Priest - Circle of Healing'),
+(19236, 0.8068, 0, 0, 'Priest - Desperate Prayer'),
+(2944, 0, 0.1849, 0, 'Priest - Devouring Plague'),
+(2061, 0.8068, 0, 0, 'Priest - Flash Heal'),
+(2060, 1.6135, 0, 0, 'Priest - Greater Heal'),
+(14914, 0.5711, 0.024, 0, 'Priest - Holy Fire'),
+(15237, 0.1606, 0, 0, 'Priest - Holy Nova Damage'),
+(23455, 0.3035, 0, 0, 'Priest - Holy Nova Heal Rank 1'),
+(23458, 0.3035, 0, 0, 'Priest - Holy Nova Heal Rank 2'),
+(23459, 0.3035, 0, 0, 'Priest - Holy Nova Heal Rank 3'),
+(27803, 0.3035, 0, 0, 'Priest - Holy Nova Heal Rank 4'),
+(27804, 0.3035, 0, 0, 'Priest - Holy Nova Heal Rank 5'),
+(27805, 0.3035, 0, 0, 'Priest - Holy Nova Heal Rank 6'),
+(25329, 0.3035, 0, 0, 'Priest - Holy Nova Heal Rank 7'),
+(8129, 0, 0, 0, 'Priest - Mana Burn'),
+(8092, 0.428, 0, 0, 'Priest - Mind Blast'),
+(15407, 0.257, 0, 0, 'Priest - Mind Flay'),
+(49821, 0.2861, 0, 0, 'Priest - Mind Sear Trigger Rank 1'),
+(53022, 0.2861, 0, 0, 'Priest - Mind Sear Trigger Rank 2'),
+(47757, 1.6135, 0, 0, 'Priest - Penance (Rank 1'),
+(52986, 1.6135, 0, 0, 'Priest - Penance (Rank 2'),
+(52987, 1.6135, 0, 0, 'Priest - Penance (Rank 3'),
+(52988, 1.6135, 0, 0, 'Priest - Penance (Rank 4'),
+(17, 0.8068, 0, 0, 'Priest - Power Word: Shield'),
+(596, 0.8068, 0, 0, 'Priest - Prayer of Healing'),
+(33110, 0.8068, 0, 0, 'Priest - Prayer of Mending Heal Proc'),
+(33619, 0, 0, 0, 'Priest - Reflective Shield'),
+(139, 0, 0.376, 0, 'Priest - Renew'),
+(32379, 0.4296, 0, 0, 'Priest - Shadow Word: Death'),
+(589, 0, 0.1829, 0, 'Priest - Shadow Word: Pain'),
+(34433, 0.65, 0, 0, 'Priest - Shadowfiend'),
+(585, 0.714, 0, 0, 'Priest - Smite'),
+(34914, 0, 0.4, 0, 'Priest - Vampiric Touch'),
+(1064, 1.34, 0, 0, 'Shaman - Chain Heal'),
+(421, 0.57, 0, 0, 'Shaman - Chain Lightning'),
+(974, 0.4762, 0, 0, 'Shaman - Earth Shield'),
+(379, 0, 0, 0, 'Shaman - Earth Shield Triggered'),
+(8042, 0.3858, 0, 0, 'Shaman - Earth Shock'),
+(8443, 0.2142, 0, 0, 'Shaman - Fire Nova Totem Casted by Totem Rank 1'),
+(8504, 0.2142, 0, 0, 'Shaman - Fire Nova Totem Casted by Totem Rank 2'),
+(8505, 0.2142, 0, 0, 'Shaman - Fire Nova Totem Casted by Totem Rank 3'),
+(11310, 0.2142, 0, 0, 'Shaman - Fire Nova Totem Casted by Totem Rank 4'),
+(11311, 0.2142, 0, 0, 'Shaman - Fire Nova Totem Casted by Totem Rank 5'),
+(25538, 0.2142, 0, 0, 'Shaman - Fire Nova Totem Casted by Totem Rank 6'),
+(25539, 0.2142, 0, 0, 'Shaman - Fire Nova Totem Casted by Totem Rank 7'),
+(61651, 0.2142, 0, 0, 'Shaman - Fire Nova Totem Casted by Totem Rank 8'),
+(61660, 0.2142, 0, 0, 'Shaman - Fire Nova Totem Casted by Totem Rank 9'),
+(8050, 0.2142, 0.1, 0, 'Shaman - Flame Shock'),
+(8026, 0.1, 0, 0, 'Shaman - Flametongue Weapon Proc Rank 1'),
+(58788, 0.1, 0, 0, 'Shaman - Flametongue Weapon Proc Rank 10'),
+(8028, 0.1, 0, 0, 'Shaman - Flametongue Weapon Proc Rank 2'),
+(8029, 0.1, 0, 0, 'Shaman - Flametongue Weapon Proc Rank 3'),
+(10445, 0.1, 0, 0, 'Shaman - Flametongue Weapon Proc Rank 4'),
+(16343, 0.1, 0, 0, 'Shaman - Flametongue Weapon Proc Rank 5'),
+(16344, 0.1, 0, 0, 'Shaman - Flametongue Weapon Proc Rank 6'),
+(25488, 0.1, 0, 0, 'Shaman - Flametongue Weapon Proc Rank 7'),
+(58786, 0.1, 0, 0, 'Shaman - Flametongue Weapon Proc Rank 8'),
+(58787, 0.1, 0, 0, 'Shaman - Flametongue Weapon Proc Rank 9'),
+(8056, 0.3858, 0, 0, 'Shaman - Frost Shock'),
+(8034, 0.1, 0, 0, 'Shaman - Frostbrand Attack Rank 1'),
+(8037, 0.1, 0, 0, 'Shaman - Frostbrand Attack Rank 2'),
+(10458, 0.1, 0, 0, 'Shaman - Frostbrand Attack Rank 3'),
+(16352, 0.1, 0, 0, 'Shaman - Frostbrand Attack Rank 4'),
+(16353, 0.1, 0, 0, 'Shaman - Frostbrand Attack Rank 5'),
+(25501, 0.1, 0, 0, 'Shaman - Frostbrand Attack Rank 6'),
+(58797, 0.1, 0, 0, 'Shaman - Frostbrand Attack Rank 7'),
+(58798, 0.1, 0, 0, 'Shaman - Frostbrand Attack Rank 8'),
+(58799, 0.1, 0, 0, 'Shaman - Frostbrand Attack Rank 9'),
+(2645, 0, 0, 0, 'Shaman - Glyph of Ghost Wolf'),
+(52042, 0.045, 0, 0, 'Shaman - Healing Stream Totem Triggered Heal'),
+(331, 1.6106, 0, 0, 'Shaman - Healing Wave'),
+(51505, 0.5714, 0, 0, 'Shaman - Lava Burst'),
+(8004, 0.8082, 0, 0, 'Shaman - Lesser Healing Wave'),
+(403, 0.7143, 0, 0, 'Shaman - Lightning Bolt'),
+(26364, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 1'),
+(49278, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 10'),
+(49279, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 11'),
+(26365, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 2'),
+(26366, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 3'),
+(26367, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 4'),
+(26369, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 5'),
+(26370, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 6'),
+(26363, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 7'),
+(26371, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 8'),
+(26372, 0.33, 0, 0, 'Shaman - Lightning Shield Proc Rank 9'),
+(8188, 0.1, 0, 0, 'Shaman - Magma Totam Passive Rank 1'),
+(10582, 0.1, 0, 0, 'Shaman - Magma Totam Passive Rank 2'),
+(10583, 0.1, 0, 0, 'Shaman - Magma Totam Passive Rank 3'),
+(10584, 0.1, 0, 0, 'Shaman - Magma Totam Passive Rank 4'),
+(25551, 0.1, 0, 0, 'Shaman - Magma Totam Passive Rank 5'),
+(58733, 0.1, 0, 0, 'Shaman - Magma Totam Passive Rank 6'),
+(58736, 0.1, 0, 0, 'Shaman - Magma Totam Passive Rank 7'),
+(61295, 0.4, 0.18, 0, 'Shaman - Riptide'),
+(3606, 0.1667, 0, 0, 'Shaman - Searing Totem Attack Rank 1'),
+(58702, 0.1667, 0, 0, 'Shaman - Searing Totem Attack Rank 10'),
+(6350, 0.1667, 0, 0, 'Shaman - Searing Totem Attack Rank 2'),
+(6351, 0.1667, 0, 0, 'Shaman - Searing Totem Attack Rank 3'),
+(6352, 0.1667, 0, 0, 'Shaman - Searing Totem Attack Rank 4'),
+(10435, 0.1667, 0, 0, 'Shaman - Searing Totem Attack Rank 5'),
+(10436, 0.1667, 0, 0, 'Shaman - Searing Totem Attack Rank 6'),
+(25530, 0.1667, 0, 0, 'Shaman - Searing Totem Attack Rank 7'),
+(58700, 0.1667, 0, 0, 'Shaman - Searing Totem Attack Rank 8'),
+(58701, 0.1667, 0, 0, 'Shaman - Searing Totem Attack Rank 9'),
+(50796, 0.7139, 0, 0, 'Warlock - Chaos Bolt'),
+(17962, 0, 0, 0, 'Warlock - Conflagrate'),
+(172, 0, 0.2, 0, 'Warlock - Corruption'),
+(980, 0, 0.1, 0, 'Warlock - Curse of Agony'),
+(603, 0, 2, 0, 'Warlock - Curse of Doom'),
+(18220, 0.96, 0, 0, 'Warlock - Dark Pact Rank 1'),
+(18937, 0.96, 0, 0, 'Warlock - Dark Pact Rank 2'),
+(18938, 0.96, 0, 0, 'Warlock - Dark Pact Rank 3'),
+(27265, 0.96, 0, 0, 'Warlock - Dark Pact Rank 4'),
+(59092, 0.96, 0, 0, 'Warlock - Dark Pact Rank 5'),
+(6789, 0.214, 0, 0, 'Warlock - Death Coil'),
+(689, 0, 0.143, 0, 'Warlock - Drain Life'),
+(5138, 0, 0, 0, 'Warlock - Drain Mana'),
+(1120, 0, 0.429, 0, 'Warlock - Drain Soul'),
+(28176, 0, 0, 0, 'Warlock - Fel Armor'),
+(18790, 0, 0, 0, 'Warlock - Fel Stamina'),
+(48181, 0.4793, 0, 0, 'Warlock - Haunt'),
+(755, 0, 0.4485, 0, 'Warlock - Health Funnel'),
+(1949, 0, 0.0949, 0, 'Warlock - Hellfire'),
+(5857, 0.145, 0, 0, 'Warlock - Hellfire Effect on Enemy Rank 1'),
+(11681, 0.145, 0, 0, 'Warlock - Hellfire Effect on Enemy Rank 2'),
+(11682, 0.145, 0, 0, 'Warlock - Hellfire Effect on Enemy Rank 3'),
+(27214, 0.145, 0, 0, 'Warlock - Hellfire Effect on Enemy Rank 4'),
+(47822, 0.145, 0, 0, 'Warlock - Hellfire Effect on Enemy Rank 5'),
+(348, 0.2, 0.2, 0, 'Warlock - Immolate'),
+(29722, 0.7139, 0, 0, 'Warlock - Incinerate'),
+(42223, 0.286, 0, 0, 'Warlock - Rain of Fire Triggered Rank 1'),
+(42224, 0.286, 0, 0, 'Warlock - Rain of Fire Triggered Rank 2'),
+(42225, 0.286, 0, 0, 'Warlock - Rain of Fire Triggered Rank 3'),
+(42226, 0.286, 0, 0, 'Warlock - Rain of Fire Triggered Rank 4'),
+(42218, 0.286, 0, 0, 'Warlock - Rain of Fire Triggered Rank 5'),
+(47817, 0.286, 0, 0, 'Warlock - Rain of Fire Triggered Rank 6'),
+(47818, 0.286, 0, 0, 'Warlock - Rain of Fire Triggered Rank 7'),
+(5676, 0.4293, 0, 0, 'Warlock - Searing Pain'),
+(27243, 0.2129, 0.25, 0, 'Warlock - Seed of Corruption'),
+(686, 0.8569, 0, 0, 'Warlock - Shadow Bolt'),
+(6229, 0.3, 0, 0, 'Warlock - Shadow Ward'),
+(17877, 0.4293, 0, 0, 'Warlock - Shadowburn'),
+(47960, 0.1064, 0.0667, 0, 'Warlock - Shadowflame Rank 1'),
+(61291, 0.1064, 0.0667, 0, 'Warlock - Shadowflame Rank 2'),
+(30283, 0.1932, 0, 0, 'Warlock - Shadowfury'),
+(63106, 0, 0, 0, 'Warlock - Siphon Life Triggered'),
+(6353, 1.15, 0, 0, 'Warlock - Soul Fire'),
+(30294, 0, 0, 0, 'Warlock - Soul Leech'),
+(30108, 0, 0.2, 0, 'Warlock - Unstable Affliction'),
+(31117, 1.8, 0, 0, 'Warlock - Unstable Affliction Dispell');
diff --git a/sql/old/3.1.3/04356_world_spell_proc_event.sql b/sql/old/3.1.3/04356_world_spell_proc_event.sql
new file mode 100644
index 00000000000..1cfa00e989e
--- /dev/null
+++ b/sql/old/3.1.3/04356_world_spell_proc_event.sql
@@ -0,0 +1,25 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (28716, 31571, 31572, 55672, 31871, 31872, 33076, 33953, 48110, 48111, 48112, 48113, 33076, 44745, 54787, 47535, 47536, 47537, 51483, 51485, 51486, 56372, 56374, 61356, 41635);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 28716, 0x00, 7, 0x00000010, 0x00000000, 0x00000000, 0x00040000, 0x00000000, 0, 0, 0), -- Rejuvenation
+( 31571, 0x00, 3, 0x00000000, 0x00000022, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Arcane Potency (Rank 1)
+( 31572, 0x00, 3, 0x00000000, 0x00000022, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Arcane Potency (Rank 2)
+( 31871, 0x00, 10, 0x00000010, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Divine Purpose (Rank 1)
+( 31872, 0x00, 10, 0x00000010, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Divine Purpose (Rank 2)
+( 33076, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000A22A8, 0x00000000, 0, 0, 0), -- Prayer of Mending (Rank 1)
+( 33953, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00044000, 0x00000000, 0, 0, 45), -- Essence of Life
+( 48110, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000A22A8, 0x00000000, 0, 0, 0), -- Prayer of Mending (Rank 2)
+( 48111, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000A22A8, 0x00000000, 0, 0, 0), -- Prayer of Mending (Rank 3)
+( 48112, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000A22A8, 0x00000000, 0, 0, 0), -- Prayer of Mending (Rank 2)
+( 48113, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000A22A8, 0x00000000, 0, 0, 0), -- Prayer of Mending (Rank 3)
+( 41635, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000A22A8, 0x00000000, 0, 0, 0), -- Prayer of Mending (Rank 1)
+( 44745, 0x00, 3, 0x00000000, 0x00000001, 0x00000000, 0x00004000, 0x00002000, 0, 0, 0), -- Shattered Barrier (Rank 1)
+( 54787, 0x00, 3, 0x00000000, 0x00000001, 0x00000000, 0x00004000, 0x00002000, 0, 0, 0), -- Shattered Barrier (Rank 2)
+( 47535, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00004000, 0x00002000, 0, 0, 12), -- Rapture (Rank 1)
+( 47536, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00004000, 0x00002000, 0, 0, 12), -- Rapture (Rank 2)
+( 47537, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00004000, 0x00002000, 0, 0, 12), -- Rapture (Rank 3)
+(51483, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0),
+(51485, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0),
+(51486, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0),
+( 56372, 0x00, 3, 0x00000000, 0x00000080, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Glyph of Ice Block
+( 56374, 0x00, 3, 0x00000000, 0x00004000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Glyph of Icy Veins
+( 61356, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 90); -- Invigorating Earthsiege Diamond Passive
diff --git a/sql/old/3.1.3/04360_world_spell_proc_event.sql b/sql/old/3.1.3/04360_world_spell_proc_event.sql
new file mode 100644
index 00000000000..eef5674f6fd
--- /dev/null
+++ b/sql/old/3.1.3/04360_world_spell_proc_event.sql
@@ -0,0 +1,49 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (65013, 46949, 46945, 64415, 60066, 62115, 62114, 62600, 63245, 18096, 18073, 63280, 63310, 63320, 63335, 63730, 63733, 63737, 63737, 64127, 64129, 64568, 64571, 64440, 64714, 64738, 64742, 64752, 64786, 64792, 64824, 64860, 64867, 64882, 64890, 64908, 64912, 64914, 64928, 64938, 64952, 64964, 65002, 65005, 64999, 65007, 65013, 65020, 65025);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 64914, 0x00, 8, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Rogue T8 2P Bonus
+( 64928, 0x00, 11, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Item - Shaman T8 Elemental 4P Bonus
+( 64938, 0x00, 4, 0x00200040, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Item - Warrior T8 Melee 2P Bonus
+( 64952, 0x00, 7, 0x00000000, 0x00000440, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Druid T8 Feral Relic
+( 64964, 0x00, 15, 0x00000000, 0x20000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Death Knight T8 Tank Relic
+( 65002, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Bonus Mana Regen
+( 65005, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Alacrity of the Elements
+( 64999, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 5, 0, 0), -- Meteoric Inspiration
+( 65007, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 5, 0, 0), -- Eye of the Broodmother
+( 65013, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 45), -- Pyrite Infusion
+( 65020, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Mjolnir Runestone
+( 65025, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Dark Matter
+( 46949, 0x00, 4, 0x00000000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Safeguard
+( 46945, 0x00, 4, 0x00000000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Safeguard
+( 64415, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Val'anyr Hammer of Ancient Kings - Equip Effect
+( 60066, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 45), -- Rage of the Unraveller
+( 62115, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Strength of the Titans
+( 62114, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Flow of Knowledge
+( 62600, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Savage Defense
+( 63245, 0x00, 5, 0x00000100, 0x00800000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Pyroclasm
+( 18096, 0x00, 5, 0x00000100, 0x00800000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Pyroclasm
+( 18073, 0x00, 5, 0x00000100, 0x00800000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Pyroclasm
+( 63280, 0x00, 11, 0x20000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Totem of Wrath
+( 63310, 0x00, 5, 0x00000000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Shadowflame
+( 63320, 0x00, 5, 0x00040000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Life Tap
+( 63335, 0x00, 15, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Glyph of Howling Blast
+( 63730, 0x00, 6, 0x00000800, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Serendipity
+( 63733, 0x00, 6, 0x00000800, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Serendipity
+( 63737, 0x00, 6, 0x00000800, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Serendipity
+( 64127, 0x00, 6, 0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Body and Soul
+( 64129, 0x00, 6, 0x00000001, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Body and Soul
+( 64568, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 3), -- Blood Reserve
+( 64571, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 30), -- Blood Draining
+( 64440, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000020, 0, 0, 20), -- Blade Warding
+( 64714, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Flame of the Heavens
+( 64738, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Show of Faith
+( 64742, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 45), -- Pandora's Plea
+( 64752, 0x00, 7, 0x00800000, 0x10000100, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Druid T8 Feral 2P Bonus
+( 64786, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 15), -- Comet's Trail
+( 64792, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 45), -- Blood of the Old God
+( 64824, 0x00, 7, 0x00200000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Druid T8 Balance 4P Bonus
+( 64860, 0x00, 9, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Hunter T8 4P Bonus
+( 64867, 0x00, 3, 0x20000021, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Mage T8 2P Bonus
+( 64882, 0x00, 10, 0x00000000, 0x00100000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Paladin T8 Protection 4P Bonus
+( 64890, 0x00, 10, 0x00000000, 0x00010000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Item - Paladin T8 Holy 2P Bonus
+( 64908, 0x00, 6, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Priest T8 Shadow 4P Bonus
+( 64912, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Item - Priest T8 Healer 4P Bonus
diff --git a/sql/old/3.1.3/04363_world_trinity_string.sql b/sql/old/3.1.3/04363_world_trinity_string.sql
new file mode 100644
index 00000000000..949b337f589
--- /dev/null
+++ b/sql/old/3.1.3/04363_world_trinity_string.sql
@@ -0,0 +1 @@
+UPDATE `trinity_string` SET `content_default` = 'Player%s %s (guid: %u) Account: %s (id: %u) Email: %s GMLevel: %u Last IP: %s Last login: %s Latency: %ums' WHERE `entry` = 548;
diff --git a/sql/old/3.1.3/04367_world_spell_proc_event.sql b/sql/old/3.1.3/04367_world_spell_proc_event.sql
new file mode 100644
index 00000000000..5eeacab4de3
--- /dev/null
+++ b/sql/old/3.1.3/04367_world_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (51483, 51485, 51486);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(51483, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00004000, 0x00000001, 0.000000, 0.000000, 0),
+(51485, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00004000, 0x00000001, 0.000000, 0.000000, 0),
+(51486, 0x00000001, 11, 0x20000000, 0x00000000, 0x00000000, 0x00004000, 0x00000001, 0.000000, 0.000000, 0);
diff --git a/sql/old/3.1.3/04371_world_spell_linked_spell.sql b/sql/old/3.1.3/04371_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..82d64c3f487
--- /dev/null
+++ b/sql/old/3.1.3/04371_world_spell_linked_spell.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (48384, 48395, 48396);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+(48384, 50170, 2, 'Improved Moonkin Form'),
+(48395, 50171, 2, 'Improved Moonkin Form'),
+(48396, 50172, 2, 'Improved Moonkin Form');
diff --git a/sql/old/3.1.3/04377_world_spell_proc_event.sql b/sql/old/3.1.3/04377_world_spell_proc_event.sql
new file mode 100644
index 00000000000..bc006708b82
--- /dev/null
+++ b/sql/old/3.1.3/04377_world_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (53709, 53710, 53711);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(53709, 2, 10, 16384, 0, 0, 0, 0, 0, 0, 0),
+(53710, 2, 10, 16384, 0, 0, 0, 0, 0, 0, 0),
+(53711, 2, 10, 16384, 0, 0, 0, 0, 0, 0, 0);
diff --git a/sql/old/3.1.3/04382_8115_world_playercreateinfo_action.sql b/sql/old/3.1.3/04382_8115_world_playercreateinfo_action.sql
new file mode 100644
index 00000000000..1af313a0626
--- /dev/null
+++ b/sql/old/3.1.3/04382_8115_world_playercreateinfo_action.sql
@@ -0,0 +1,358 @@
+-- ALTER TABLE db_version CHANGE COLUMN required_8112_01_mangos_spell_proc_event required_8115_01_mangos_playercreateinfo_action bit;
+
+TRUNCATE TABLE `playercreateinfo_action`;
+INSERT INTO `playercreateinfo_action` VALUES
+(1,1,1,78,0),
+(1,1,0,6603,0),
+(1,1,11,117,128),
+(1,2,2,635,0),
+(1,2,0,6603,0),
+(1,2,1,21084,0),
+(1,2,10,159,128),
+(1,2,11,2070,128),
+(1,4,1,1752,0),
+(1,4,2,2098,0),
+(1,4,3,2764,0),
+(1,4,0,6603,0),
+(1,4,11,2070,128),
+(1,5,1,585,0),
+(1,5,2,2050,0),
+(1,5,0,6603,0),
+(1,5,10,159,128),
+(1,5,11,2070,128),
+(1,6,0,6603,0),
+(1,6,1,49576,0),
+(1,6,2,45477,0),
+(1,6,3,45462,0),
+(1,6,4,45902,0),
+(1,6,5,47541,0),
+(1,6,11,59752,0),
+(1,8,1,133,0),
+(1,8,2,168,0),
+(1,8,0,6603,0),
+(1,8,10,159,128),
+(1,8,11,2070,128),
+(1,9,1,686,0),
+(1,9,2,687,0),
+(1,9,0,6603,0),
+(1,9,10,159,128),
+(1,9,11,4604,128),
+(2,1,1,78,0),
+(2,1,0,6603,0),
+(2,1,11,117,128),
+(2,3,2,75,0),
+(2,3,1,2973,0),
+(2,3,0,6603,0),
+(2,3,11,117,128),
+(2,3,10,159,128),
+(2,4,10,0,128),
+(2,4,1,1752,0),
+(2,4,2,2098,0),
+(2,4,0,6603,0),
+(2,4,11,117,128),
+(2,6,0,6603,0),
+(2,6,1,49576,0),
+(2,6,2,45477,0),
+(2,6,3,45462,0),
+(2,6,4,45902,0),
+(2,6,5,47541,0),
+(2,6,10,20572,0),
+(2,7,2,331,0),
+(2,7,1,403,0),
+(2,7,0,6603,0),
+(2,7,11,117,128),
+(2,7,10,159,128),
+(2,9,1,686,0),
+(2,9,2,687,0),
+(2,9,0,6603,0),
+(2,9,11,117,128),
+(2,9,10,159,128),
+(3,1,1,78,0),
+(3,1,0,6603,0),
+(3,1,11,117,128),
+(3,2,2,635,0),
+(3,2,0,6603,0),
+(3,2,1,21084,0),
+(3,2,10,159,128),
+(3,2,11,4540,128),
+(3,3,2,75,0),
+(3,3,1,2973,0),
+(3,3,0,6603,0),
+(3,3,11,117,128),
+(3,3,10,159,128),
+(3,4,1,1752,0),
+(3,4,2,2098,0),
+(3,4,3,2764,0),
+(3,4,0,6603,0),
+(3,4,11,4540,128),
+(3,5,1,585,0),
+(3,5,2,2050,0),
+(3,5,0,6603,0),
+(3,5,10,159,128),
+(3,5,11,4540,128),
+(3,6,0,6603,0),
+(3,6,1,49576,0),
+(3,6,2,45477,0),
+(3,6,3,45462,0),
+(3,6,4,45902,0),
+(3,6,5,47541,0),
+(3,6,10,2481,0),
+(4,1,1,78,0),
+(4,1,0,6603,0),
+(4,1,11,117,128),
+(4,3,2,75,0),
+(4,3,1,2973,0),
+(4,3,0,6603,0),
+(4,3,11,117,128),
+(4,3,10,159,128),
+(4,4,1,1752,0),
+(4,4,2,2098,0),
+(4,4,3,2764,0),
+(4,4,0,6603,0),
+(4,4,11,4540,128),
+(4,5,1,585,0),
+(4,5,2,2050,0),
+(4,5,0,6603,0),
+(4,5,10,159,128),
+(4,5,11,2070,128),
+(4,6,0,6603,0),
+(4,6,1,49576,0),
+(4,6,2,45477,0),
+(4,6,3,45462,0),
+(4,6,4,45902,0),
+(4,6,5,47541,0),
+(4,6,10,58984,0),
+(4,6,83,58984,0),
+(4,11,1,5176,0),
+(4,11,2,5185,0),
+(4,11,0,6603,0),
+(4,11,10,159,128),
+(4,11,11,4536,128),
+(5,1,11,4604,128),
+(5,1,0,6603,0),
+(5,1,1,78,0),
+(5,4,11,4604,128),
+(5,4,3,2764,0),
+(5,4,2,2098,0),
+(5,4,1,1752,0),
+(5,4,0,6603,0),
+(5,5,10,159,128),
+(5,5,2,2050,0),
+(5,5,1,585,0),
+(5,5,11,4604,128),
+(5,5,0,6603,0),
+(5,6,0,6603,0),
+(5,6,1,49576,0),
+(5,6,2,45477,0),
+(5,6,3,45462,0),
+(5,6,4,45902,0),
+(5,6,5,47541,0),
+(5,6,10,20577,0),
+(5,8,11,4604,128),
+(5,8,10,159,128),
+(5,8,2,168,0),
+(5,8,1,133,0),
+(5,8,0,6603,0),
+(5,9,1,686,0),
+(5,9,10,159,128),
+(5,9,2,687,0),
+(5,9,11,4604,128),
+(5,9,0,6603,0),
+(6,1,1,78,0),
+(6,1,2,20549,0),
+(6,1,11,4540,128),
+(6,1,0,6603,0),
+(6,3,1,2973,0),
+(6,3,10,159,128),
+(6,3,2,75,0),
+(6,3,3,20549,0),
+(6,3,11,117,128),
+(6,3,0,6603,0),
+(6,6,0,6603,0),
+(6,6,1,49576,0),
+(6,6,2,45477,0),
+(6,6,3,45462,0),
+(6,6,4,45902,0),
+(6,6,5,47541,0),
+(6,6,10,20549,0),
+(6,6,75,20549,0),
+(6,7,1,403,0),
+(6,7,10,159,128),
+(6,7,2,331,0),
+(6,7,3,20549,0),
+(6,7,11,4604,128),
+(6,7,0,6603,0),
+(6,11,1,5176,0),
+(6,11,10,159,128),
+(6,11,2,5185,0),
+(6,11,3,20549,0),
+(6,11,11,4536,128),
+(6,11,0,6603,0),
+(7,1,11,117,128),
+(7,1,1,78,0),
+(7,1,0,6603,0),
+(7,4,11,117,128),
+(7,4,3,2764,0),
+(7,4,1,1752,0),
+(7,4,2,2098,0),
+(7,4,0,6603,0),
+(7,6,0,6603,0),
+(7,6,1,49576,0),
+(7,6,2,45477,0),
+(7,6,3,45462,0),
+(7,6,4,45902,0),
+(7,6,5,47541,0),
+(7,6,10,20589,0),
+(7,6,72,6603,0),
+(7,6,83,117,128),
+(7,6,84,6603,0),
+(7,6,96,6603,0),
+(7,6,108,6603,0),
+(7,8,11,4536,128),
+(7,8,1,133,0),
+(7,8,2,168,0),
+(7,8,10,159,128),
+(7,8,0,6603,0),
+(7,9,11,4604,128),
+(7,9,1,686,0),
+(7,9,2,687,0),
+(7,9,10,159,128),
+(7,9,0,6603,0),
+(8,1,11,117,128),
+(8,1,1,78,0),
+(8,1,3,2764,0),
+(8,1,0,6603,0),
+(8,3,10,159,128),
+(8,3,11,4604,128),
+(8,3,1,2973,0),
+(8,3,2,75,0),
+(8,3,0,6603,0),
+(8,4,1,1752,0),
+(8,4,3,2764,0),
+(8,4,2,2098,0),
+(8,4,11,117,128),
+(8,4,0,6603,0),
+(8,5,1,585,0),
+(8,5,10,159,128),
+(8,5,2,2050,0),
+(8,5,11,4540,128),
+(8,5,0,6603,0),
+(8,6,0,6603,0),
+(8,6,1,49576,0),
+(8,6,2,45477,0),
+(8,6,3,45462,0),
+(8,6,4,45902,0),
+(8,6,5,47541,0),
+(8,6,10,50621,0),
+(8,7,1,403,0),
+(8,7,10,159,128),
+(8,7,2,331,0),
+(8,7,11,117,128),
+(8,7,0,6603,0),
+(8,8,1,133,0),
+(8,8,10,159,128),
+(8,8,2,168,0),
+(8,8,11,117,128),
+(8,8,0,6603,0),
+(10,2,0,6603,0),
+(10,2,1,21084,0),
+(10,2,2,635,0),
+(10,2,3,28734,0),
+(10,2,4,28730,0),
+(10,2,10,159,128),
+(10,2,11,20857,128),
+(10,3,0,6603,0),
+(10,3,1,2973,0),
+(10,3,2,75,0),
+(10,3,3,28734,0),
+(10,3,4,28730,0),
+(10,3,10,159,128),
+(10,3,11,20857,128),
+(10,4,0,6603,0),
+(10,4,1,1752,0),
+(10,4,2,2098,0),
+(10,4,3,2764,0),
+(10,4,4,28734,0),
+(10,4,5,25046,0),
+(10,4,11,20857,128),
+(10,5,0,6603,0),
+(10,5,1,585,0),
+(10,5,2,2050,0),
+(10,5,3,28734,0),
+(10,5,4,28730,0),
+(10,5,10,159,128),
+(10,5,11,20857,128),
+(10,6,0,6603,0),
+(10,6,1,49576,0),
+(10,6,2,45477,0),
+(10,6,3,45462,0),
+(10,6,4,45902,0),
+(10,6,5,47541,0),
+(10,6,6,50613,0),
+(10,8,0,6603,0),
+(10,8,1,133,0),
+(10,8,2,168,0),
+(10,8,3,28734,0),
+(10,8,4,28730,0),
+(10,8,10,159,128),
+(10,8,11,20857,128),
+(10,9,11,20857,128),
+(10,9,10,159,128),
+(10,9,4,28730,0),
+(10,9,3,28734,0),
+(10,9,2,687,0),
+(10,9,1,686,0),
+(10,9,0,6603,0),
+(11,1,0,6603,0),
+(11,1,72,6603,0),
+(11,1,73,78,0),
+(11,1,74,28880,0),
+(11,1,83,4540,128),
+(11,1,84,6603,0),
+(11,1,96,6603,0),
+(11,1,108,6603,0),
+(11,2,0,6603,0),
+(11,2,1,21084,0),
+(11,2,2,635,0),
+(11,2,3,59542,0),
+(11,2,10,159,128),
+(11,2,11,4540,128),
+(11,2,83,4540,128),
+(11,3,0,6603,0),
+(11,3,1,2973,0),
+(11,3,2,75,0),
+(11,3,3,59543,0),
+(11,3,10,159,128),
+(11,3,11,4540,128),
+(11,3,72,6603,0),
+(11,3,73,2973,0),
+(11,3,74,75,0),
+(11,3,82,159,128),
+(11,3,83,4540,128),
+(11,5,0,6603,0),
+(11,5,1,585,0),
+(11,5,2,2050,0),
+(11,5,3,59544,0),
+(11,5,10,159,128),
+(11,5,11,4540,128),
+(11,5,83,4540,128),
+(11,6,0,6603,0),
+(11,6,1,49576,0),
+(11,6,2,45477,0),
+(11,6,3,45462,0),
+(11,6,4,45902,0),
+(11,6,5,47541,0),
+(11,6,6,59545,0),
+(11,7,0,6603,0),
+(11,7,1,403,0),
+(11,7,2,331,0),
+(11,7,3,59547,0),
+(11,7,10,159,128),
+(11,7,11,4540,128),
+(11,8,0,6603,0),
+(11,8,1,133,0),
+(11,8,2,168,0),
+(11,8,3,59548,0),
+(11,8,10,159,128),
+(11,8,11,4540,128),
+(11,8,83,4540,128);
diff --git a/sql/old/3.1.3/04392_world.sql b/sql/old/3.1.3/04392_world.sql
new file mode 100644
index 00000000000..e8a5bbdb562
--- /dev/null
+++ b/sql/old/3.1.3/04392_world.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (20594);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( 20594, 65116, 2, 'Stoneform');
diff --git a/sql/old/3.1.3/04393_world_spell_proc_event.sql b/sql/old/3.1.3/04393_world_spell_proc_event.sql
new file mode 100644
index 00000000000..9d2fb7d776a
--- /dev/null
+++ b/sql/old/3.1.3/04393_world_spell_proc_event.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (57470, 57472, 18119, 18120, 35100, 35102);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 57470, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Renewed Hope
+( 57472, 0x00, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Renewed Hope
+( 35100, 0x00, 9, 0x00001000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0, 0, 0), -- Concussive Barrage
+( 35102, 0x00, 9, 0x00001000, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0, 0, 0), -- Concussive Barrage
+( 18119, 0x00, 5, 0x00000000, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Aftermath
+( 18120, 0x00, 5, 0x00000000, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Aftermath
diff --git a/sql/old/3.1.3/04394_world_spell_proc_event.sql b/sql/old/3.1.3/04394_world_spell_proc_event.sql
new file mode 100644
index 00000000000..babd3782fea
--- /dev/null
+++ b/sql/old/3.1.3/04394_world_spell_proc_event.sql
@@ -0,0 +1,12 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (13165, 14318, 14319, 14320, 14321, 14322, 25296, 27044, 61846, 61847);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 13165, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0, 0, 0), -- Aspect of the Hawk
+( 14318, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0, 0, 0), -- Aspect of the Hawk
+( 14319, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0, 0, 0), -- Aspect of the Hawk
+( 14320, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0, 0, 0), -- Aspect of the Hawk
+( 14321, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0, 0, 0), -- Aspect of the Hawk
+( 14322, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0, 0, 0), -- Aspect of the Hawk
+( 25296, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0, 0, 0), -- Aspect of the Hawk
+( 27044, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0, 0, 0), -- Aspect of the Hawk
+( 61846, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0, 0, 0), -- Aspect of the Dragonhawk
+( 61847, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000040, 0x00000000, 0, 0, 0); -- Aspect of the Dragonhawk
diff --git a/sql/old/3.1.3/04397_world_playercreateinfo_spell_TDB.sql b/sql/old/3.1.3/04397_world_playercreateinfo_spell_TDB.sql
new file mode 100644
index 00000000000..5bc5689bbf1
--- /dev/null
+++ b/sql/old/3.1.3/04397_world_playercreateinfo_spell_TDB.sql
@@ -0,0 +1,6 @@
+DELETE FROM `playercreateinfo_spell` WHERE `spell` = 60091;
+INSERT INTO `playercreateinfo_spell` (`race`, `class`, `Spell`, `Note`) VALUES
+(1, 2, 60091, 'Judgement Anti-Parry/Dodge Passive'),
+(3, 2, 60091, 'Judgement Anti-Parry/Dodge Passive'),
+(10, 2, 60091, 'Judgement Anti-Parry/Dodge Passive'),
+(11, 2, 60091, 'Judgement Anti-Parry/Dodge Passive');
diff --git a/sql/old/3.1.3/04401_world_spell_proc_event.sql b/sql/old/3.1.3/04401_world_spell_proc_event.sql
new file mode 100644
index 00000000000..c2f993e6eb2
--- /dev/null
+++ b/sql/old/3.1.3/04401_world_spell_proc_event.sql
@@ -0,0 +1,13 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (49223, 49599,49188 , 56822, 59057, 55666, 55667, 55668, 55669, 55670, 58616);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 49223, 0x00, 15, 0x00000011, 0x08020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Dirge
+( 49599, 0x00, 15, 0x00000011, 0x08020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Dirge
+( 49188, 0x00, 15, 0x00000000, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Rime
+( 56822, 0x00, 15, 0x00000000, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Rime
+( 59057, 0x00, 15, 0x00000000, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Rime
+( 55666, 0x00, 15, 0x00000001, 0x08000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Desecration
+( 55667, 0x00, 15, 0x00000001, 0x08000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Desecration
+( 55668, 0x00, 15, 0x00000001, 0x08000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Desecration
+( 55669, 0x00, 15, 0x00000001, 0x08000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Desecration
+( 55670, 0x00, 15, 0x00000001, 0x08000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Desecration
+( 58616, 0x00, 15, 0x01000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Glyph of Heart Strike
diff --git a/sql/old/3.1.3/04408_world_spell_proc_event.sql b/sql/old/3.1.3/04408_world_spell_proc_event.sql
new file mode 100644
index 00000000000..108c983e196
--- /dev/null
+++ b/sql/old/3.1.3/04408_world_spell_proc_event.sql
@@ -0,0 +1,11 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (16164, 49149, 50115, 49217, 49654, 49655, 49137, 49657, 58620);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 16164, 0x00, 11, 0x901000C3, 0x00001000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Elemental Focus
+( 49149, 0x00, 15, 0x00000006, 0x00020002, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Chill of the Grave
+( 50115, 0x00, 15, 0x00000006, 0x00020002, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Chill of the Grave
+( 49217, 0x00, 15, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0, 0, 1), -- Wandering Plague
+( 49654, 0x00, 15, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0, 0, 1), -- Wandering Plague
+( 49655, 0x00, 15, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0, 0, 1), -- Wandering Plague
+( 49137, 0x00, 15, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Endless Winter
+( 49657, 0x00, 15, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Endless Winter
+( 58620, 0x00, 15, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Glyph of Chains of Ice
diff --git a/sql/old/3.1.3/04409_world_spell_proc_event.sql b/sql/old/3.1.3/04409_world_spell_proc_event.sql
new file mode 100644
index 00000000000..76184c6b0c0
--- /dev/null
+++ b/sql/old/3.1.3/04409_world_spell_proc_event.sql
@@ -0,0 +1,21 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (31876, 31877, 31878, 34258, 34262, 37195, 40470, 48835, 53380, 53381, 53382, 53486, 53488, 53671, 53673, 54151, 54154, 54155, 63310);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 31876, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Wise (Rank 1)
+( 31877, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Wise (Rank 2)
+( 31878, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Wise (Rank 3)
+( 34258, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Justice
+( 34262, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Mercy
+( 37195, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgement Group Heal
+( 40470, 0x00, 10, 0xC0800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Paladin Tier 6 Trinket
+( 48835, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Justice
+( 53380, 0x00, 10, 0x00800000, 0x00020000, 0x00000000, 0x00000000, 0x00040002, 0, 0, 0), -- Righteous Vengeance (Rank 1)
+( 53381, 0x00, 10, 0x00800000, 0x00020000, 0x00000000, 0x00000000, 0x00040002, 0, 0, 0), -- Righteous Vengeance (Rank 2)
+( 53382, 0x00, 10, 0x00800000, 0x00020000, 0x00000000, 0x00000000, 0x00040002, 0, 0, 0), -- Righteous Vengeance (Rank 3)
+( 53486, 0x00, 10, 0x00800000, 0x00028000, 0x00000000, 0x00000000, 0x00040002, 0, 0, 0), -- The Art of War (Rank 1)
+( 53488, 0x00, 10, 0x00800000, 0x00028000, 0x00000000, 0x00000000, 0x00040002, 0, 0, 0), -- The Art of War (Rank 2)
+( 53671, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Pure (Rank 1)
+( 53673, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Pure (Rank 2)
+( 54151, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Pure (Rank 3)
+( 54154, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Pure (Rank 4)
+( 63310, 0x00, 5, 0x00000000, 0x00010000, 0x00000000, 0x00010000, 0x00000000, 0, 0, 0), -- Glyph of Shadowflame
+( 54155, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0); -- Judgements of the Pure (Rank 5)
diff --git a/sql/old/3.1.3/04411_world_spell_bonus_data_TDB.sql b/sql/old/3.1.3/04411_world_spell_bonus_data_TDB.sql
new file mode 100644
index 00000000000..35c2ad55576
--- /dev/null
+++ b/sql/old/3.1.3/04411_world_spell_bonus_data_TDB.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_bonus_data` WHERE `entry` IN (54158);
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `comments`) VALUES
+(54158, 0.25, 0, 0.16, 'Paladin - Jugdement (Seal of Light, Seal of Wisdom, Seal of Justice)');
diff --git a/sql/old/3.1.3/04422_world_script.sql b/sql/old/3.1.3/04422_world_script.sql
new file mode 100644
index 00000000000..99f8591dd04
--- /dev/null
+++ b/sql/old/3.1.3/04422_world_script.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_dark_rider_of_acherus' WHERE `entry` =28654;
diff --git a/sql/old/3.1.3/04423_world.sql b/sql/old/3.1.3/04423_world.sql
new file mode 100644
index 00000000000..638d0d3c9d9
--- /dev/null
+++ b/sql/old/3.1.3/04423_world.sql
@@ -0,0 +1,18 @@
+UPDATE `creature_template` SET `ScriptName`='EventAI', `modelid_A` = 16925,`modelid_H` = 16925, `minmana` = 1000000,`maxmana` = 1000000, `unit_flags` = 33554434 WHERE `entry` IN(29998, 33753, 33752, 33751, 33750);
+DELETE FROM `creature_ai_scripts` WHERE `creature_id` IN (29998, 33753, 33752, 33751, 33750);
+INSERT INTO `creature_ai_scripts` VALUES
+-- Desecration
+( 2999801, 29998, 11, 0, 100, 0, 0, 0, 0, 0, 11, 55741, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Desecration'),
+( 2999800, 29998, 1, 0, 100, 0, 1, 1, 0, 0, 11, 55671, 0, 2, 11, 55710, 0, 2, 0, 0, 0, 0, 'Desecration'),
+-- Desecration
+( 3375301, 33753, 11, 0, 100, 0, 0, 0, 0, 0, 11, 55741, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Desecration'),
+( 3375300, 33753, 1, 0, 100, 0, 1, 1, 0, 0, 11, 63584, 0, 2, 11, 63580, 0, 2, 0, 0, 0, 0, 'Desecration'),
+-- Desecration
+( 3375201, 33752, 11, 0, 100, 0, 0, 0, 0, 0, 11, 55741, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Desecration'),
+( 3375200, 33752, 1, 0, 100, 0, 1, 1, 0, 0, 11, 63585, 0, 2, 11, 63581, 0, 2, 0, 0, 0, 0, 'Desecration'),
+-- Desecration
+( 3375101, 33751, 11, 0, 100, 0, 0, 0, 0, 0, 11, 55741, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Desecration'),
+( 3375100, 33751, 1, 0, 100, 0, 1, 1, 0, 0, 11, 63586, 0, 2, 11, 63582, 0, 2, 0, 0, 0, 0, 'Desecration'),
+-- Desecration
+( 3375001, 33750, 11, 0, 100, 0, 0, 0, 0, 0, 11, 55741, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Desecration'),
+( 3375000, 33750, 1, 0, 100, 0, 1, 1, 0, 0, 11, 63587, 0, 2, 11, 63583, 0, 2, 0, 0, 0, 0, 'Desecration');
diff --git a/sql/old/3.1.3/04426_world.sql b/sql/old/3.1.3/04426_world.sql
new file mode 100644
index 00000000000..0db361d93bf
--- /dev/null
+++ b/sql/old/3.1.3/04426_world.sql
@@ -0,0 +1,28 @@
+DELETE FROM `creature_questrelation` WHERE `quest` = 12754;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28914, 12754);
+DELETE FROM `creature_involvedrelation` WHERE `quest` = 12754;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28914, 12754);
+DELETE FROM `creature_questrelation` WHERE `quest` = 12757;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28914, 12757);
+DELETE FROM `creature_questrelation` WHERE `quest` = 12754;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28914, 12754);
+DELETE FROM `creature_involvedrelation` WHERE `quest` = 12754;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28914, 12754);
+DELETE FROM `creature_questrelation` WHERE `quest` = 12755;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28914, 12755);
+DELETE FROM `creature_involvedrelation` WHERE `quest` = 12756;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28914, 12756);
+DELETE FROM `creature_questrelation` WHERE `quest` = 12757;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28914, 12757);
+DELETE FROM `creature_involvedrelation` WHERE `quest` = 12800;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (31082, 12800);
+DELETE FROM `creature_questrelation` WHERE `quest` = 12801;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (31082, 12801);
+DELETE FROM `creature_involvedrelation` WHERE `quest` = 12801;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (29173, 12801);
+UPDATE `quest_template` SET `PrevQuestId`=13166 WHERE `entry`=13188;
+UPDATE `quest_template` SET `PrevQuestId`=13166 WHERE `entry`=13189;
+
+UPDATE `creature` SET `phaseMask`=128 WHERE `id` IN (31082,29173,29199,29204,29200);
+-- Citizen of New Avalon
+UPDATE creature_template SET unit_flags = 537166336, dynamicflags = 0 WHERE entry = 28942;
diff --git a/sql/old/3.1.3/04428_world_spell_proc_event.sql b/sql/old/3.1.3/04428_world_spell_proc_event.sql
new file mode 100644
index 00000000000..bedb7cabe28
--- /dev/null
+++ b/sql/old/3.1.3/04428_world_spell_proc_event.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (56342, 56343, 56344, 59725);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 59725, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000800, 0, 0, 0), -- Improved Spell Reflection
+( 56342, 0x00, 9, 0x00000018, 0x08000000, 0x00020000, 0x00000000, 0x00000000, 0, 0, 0), -- Lock and Load
+( 56343, 0x00, 9, 0x00000018, 0x08000000, 0x00020000, 0x00000000, 0x00000000, 0, 0, 0), -- Lock and Load
+( 56344, 0x00, 9, 0x00000018, 0x08000000, 0x00020000, 0x00000000, 0x00000000, 0, 0, 0); -- Lock and Load
diff --git a/sql/old/3.1.3/04429_world_spell_proc_event.sql b/sql/old/3.1.3/04429_world_spell_proc_event.sql
new file mode 100644
index 00000000000..b67c802610f
--- /dev/null
+++ b/sql/old/3.1.3/04429_world_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (20210, 20212, 20213, 20214, 20215);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 20210, 0x00, 10, 0xC0000000, 0x00010000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Illumination (Rank 1)
+( 20212, 0x00, 10, 0xC0000000, 0x00010000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Illumination (Rank 2)
+( 20213, 0x00, 10, 0xC0000000, 0x00010000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Illumination (Rank 3)
+( 20214, 0x00, 10, 0xC0000000, 0x00010000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Illumination (Rank 4)
+( 20215, 0x00, 10, 0xC0000000, 0x00010000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0); -- Illumination (Rank 5)
diff --git a/sql/old/3.1.3/04431_world_trinity_string.sql b/sql/old/3.1.3/04431_world_trinity_string.sql
new file mode 100644
index 00000000000..564f465dc69
--- /dev/null
+++ b/sql/old/3.1.3/04431_world_trinity_string.sql
@@ -0,0 +1,4 @@
+UPDATE `trinity_string` SET `content_default` = 'Active connections: %u (max: %u) Queued connections: %u (max: %u)' WHERE `entry` = 12;
+
+DELETE FROM `trinity_string` WHERE `entry` = 60;
+INSERT INTO `trinity_string` (`entry`, `content_default`) VALUES (60, 'Online players: %u (max: %u)');
diff --git a/sql/old/3.1.3/04432_world.sql b/sql/old/3.1.3/04432_world.sql
new file mode 100644
index 00000000000..895ffbb503a
--- /dev/null
+++ b/sql/old/3.1.3/04432_world.sql
@@ -0,0 +1,58 @@
+UPDATE `creature_template` SET `ScriptName` = 'npc_a_special_surprise' WHERE `entry` IN (29032, 29061, 29065, 29067, 29068, 29070, 29074, 29072, 29073, 29071);
+
+DELETE FROM `script_texts` WHERE `entry` BETWEEN -1609078 AND -1609025;
+INSERT INTO `script_texts` (`entry`, `content_default`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1609025,'Come to finish the job, have you?',0,0,0,1,'special_surprise SAY_EXEC_START_1'),
+(-1609026,'Come to finish the job, have ye?',0,0,0,1,'special_surprise SAY_EXEC_START_2'),
+(-1609027,'Come ta finish da job, mon?',0,0,0,1,'special_surprise SAY_EXEC_START_3'),
+(-1609028,'You\'ll look me in the eyes when...',0,0,0,25,'special_surprise SAY_EXEC_PROG_1'),
+(-1609029,'Well this son o\' Ironforge would like...',0,0,0,25,'special_surprise SAY_EXEC_PROG_2'),
+(-1609030,'Ironic, isn\'t it? To be killed...',0,0,0,25,'special_surprise SAY_EXEC_PROG_3'),
+(-1609031,'If you\'d allow me just one...',0,0,0,25,'special_surprise SAY_EXEC_PROG_4'),
+(-1609032,'I\'d like to stand for...',0,0,0,25,'special_surprise SAY_EXEC_PROG_5'),
+(-1609033,'I want to die like an orc...',0,0,0,25,'special_surprise SAY_EXEC_PROG_6'),
+(-1609034,'Dis troll gonna stand for da...',0,0,0,25,'special_surprise SAY_EXEC_PROG_7'),
+(-1609035,'$N?',0,0,0,1,'special_surprise SAY_EXEC_NAME_1'),
+(-1609036,'$N? Mon?',0,0,0,1,'special_surprise SAY_EXEC_NAME_2'),
+(-1609037,'$N, I\'d recognize that face anywhere... What... What have they done to you, $N?',0,0,0,1,'special_surprise SAY_EXEC_RECOG_1'),
+(-1609038,'$N, I\'d recognize those face tentacles anywhere... What... What have they done to you, $N?',0,0,0,1,'special_surprise SAY_EXEC_RECOG_2'),
+(-1609039,'$N, I\'d recognize that face anywhere... What... What have they done to ye, $Glad:lass;?',0,0,0,1,'special_surprise SAY_EXEC_RECOG_3'),
+(-1609040,'$N, I\'d recognize that decay anywhere... What... What have they done to you, $N?',0,0,0,1,'special_surprise SAY_EXEC_RECOG_4'),
+(-1609041,'$N, I\'d recognize those horns anywhere... What have they done to you, $N?',0,0,0,1,'special_surprise SAY_EXEC_RECOG_5'),
+(-1609042,'$N, I\'d recognize dem tusks anywhere... What... What have dey done ta you, mon?',0,0,0,1,'special_surprise SAY_EXEC_RECOG_6'),
+(-1609043,'You don\'t remember me, do you? Blasted Scourge... They\'ve tried to drain you of everything that made you a righteous force of reckoning. Every last ounce of good... Everything that made you a draenei!',0,0,0,1,'special_surprise SAY_EXEC_NOREM_1'),
+(-1609044,'Ye don\'t remember me, do ye? Blasted Scourge... They\'ve tried to drain ye o\' everything that made ye a righteous force o\' reckoning. Every last ounce o\' good... Everything that made you a $Gson:daughter; of Ironforge!',0,0,0,1,'special_surprise SAY_EXEC_NOREM_2'),
+(-1609045,'You don\'t remember me, do you? We were humans once - long, long ago - until Lordaeron fell to the Scourge. Your transformation to a Scourge zombie came shortly after my own. Not long after that, our minds were freed by the Dark Lady.',0,0,0,1,'special_surprise SAY_EXEC_NOREM_3'),
+(-1609046,'You don\'t remember me, do you? Blasted Scourge... They\'ve tried to drain you of everything that made you a pint-sized force of reckoning. Every last ounce of good... Everything that made you a gnome!',0,0,0,1,'special_surprise SAY_EXEC_NOREM_4'),
+(-1609047,'You don\'t remember me, do you? Blasted Scourge...They\'ve tried to drain of everything that made you a righteous force of reckoning. Every last ounce of good...Everything that made you a human!',0,0,0,1,'special_surprise SAY_EXEC_NOREM_5'),
+(-1609048,'You don\'t remember me? When you were a child your mother would leave you in my care while she served at the Temple of the Moon. I held you in my arms and fed you with honey and sheep\'s milk to calm you until she would return. You were my little angel. Blasted Scourge... What have they done to you, $N?',0,0,0,1,'special_surprise SAY_EXEC_NOREM_6'),
+(-1609049,'You don\'t recognize me, do you? Blasted Scourge... They\'ve tried to drain you of everything that made you a righteous force of reckoning. Every last ounce of good... Everything that made you an orc!',0,0,0,1,'special_surprise SAY_EXEC_NOREM_7'),
+(-1609050,'You don\'t remember me, do you? Blasted Scourge... They\'ve tried to drain you of everything that made you a righteous force of reckoning. Every last ounce of good... Everything that made you a tauren!',0,0,0,1,'special_surprise SAY_EXEC_NOREM_8'),
+(-1609051,'You don\'t remember me, mon? Damn da Scourge! Dey gone ta drain you of everytin dat made ya a mojo masta. Every last ounce of good... Everytin\' dat made ya a troll hero, mon!',0,0,0,1,'special_surprise SAY_EXEC_NOREM_9'),
+(-1609052,'A pact was made, $Gbrother:sister;! We vowed vengeance against the Lich King! For what he had done to us! We battled the Scourge as Forsaken, pushing them back into the plaguelands and freeing Tirisfal! You and I were champions of the Forsaken!',0,0,0,1,'special_surprise SAY_EXEC_THINK_1'),
+(-1609053,'You must remember the splendor of life, $Gbrother:sister;. You were a champion of the Kaldorei once! This isn\'t you!',0,0,0,1,'special_surprise SAY_EXEC_THINK_2'),
+(-1609054,'Think, $N. Think back. Try and remember the majestic halls of Silvermoon City, where you were born. Remember the splendor of life, $Gbrother:sister;. You were a champion of the sin\'dorei once! This isn\'t you.',0,0,0,6,'special_surprise SAY_EXEC_THINK_3'),
+(-1609055,'Think, $N. Think back. Try and remember the proud mountains of Argus, where you were born. Remember the splendor of life, $Gbrother:sister;. You were a champion of the draenei once! This isn\'t you.',0,0,0,6,'special_surprise SAY_EXEC_THINK_4'),
+(-1609056,'Think, $N. Think back. Try and remember the snow capped mountains o\' Dun Morogh! Ye were born there, $Glad:lass;. Remember the splendor o\' life, $N! Ye were a champion o\' the dwarves once! This isn\'t ye!',0,0,0,6,'special_surprise SAY_EXEC_THINK_5'),
+(-1609057,'Think, $N. Think back. Try and remember Gnomeregan before those damned troggs! Remember the feel of an [arclight spanner] $Gbrother:sister;. You were a champion of gnome-kind once! This isn\'t you.',0,0,0,6,'special_surprise SAY_EXEC_THINK_6'),
+(-1609058,'Think, $N. Think back. Try and remember the hills and valleys of Elwynn, where you were born. Remember the splendor of life, $Gbrother:sister;. You were a champion of the Alliance once! This isn\'t you.',0,0,0,6,'special_surprise SAY_EXEC_THINK_7'),
+(-1609059,'Think, $N. Think back. Try and remember Durotar, $Gbrother:sister;! Remember the sacrifices our heroes made so that we could be free of the blood curse. Harken back to the Valley of Trials, where we were reborn into a world without demonic influence. We found the splendor of life, $N. Together! This isn\'t you. You were a champion of the Horde once!',0,0,0,6,'special_surprise SAY_EXEC_THINK_8'),
+(-1609060,'Think, $N. Think back. Try and remember the rolling plains of Mulgore, where you were born. Remember the splendor of life, $Gbrother:sister;. You were a champion of the tauren once! This isn\'t you.',0,0,0,6,'special_surprise SAY_EXEC_THINK_9'),
+(-1609061,'TINK $N. Tink back, mon! We be Darkspear, mon! Bruddas and sistas! Remember when we fought the Zalazane and done took he head and freed da Echo Isles? MON! TINK! You was a champion of da Darkspear trolls!',0,0,0,6,'special_surprise SAY_EXEC_THINK_10'),
+(-1609062,'Listen to me, $N. You must fight against the Lich King\'s control. He is a monster that wants to see this world - our world - in ruin. Don\'t let him use you to accomplish his goals. You were once a hero and you can be again. Fight, damn you! Fight his control!',0,0,0,5,'special_surprise SAY_EXEC_LISTEN_1'),
+(-1609063,'Listen to me, $N Ye must fight against the Lich King\'s control. He\'s a monster that wants to see this world - our world - in ruin. Don\'t let him use ye to accomplish his goals. Ye were once a hero and ye can be again. Fight, damn ye! Fight his control!',0,0,0,5,'special_surprise SAY_EXEC_LISTEN_2'),
+(-1609064,'Listen to me, $N. You must fight against the Lich King\'s control. He is a monster that wants to see this world - our world - in ruin. Don\'t let him use you to accomplish his goals AGAIN. You were once a hero and you can be again. Fight, damn you! Fight his control!',0,0,0,5,'special_surprise SAY_EXEC_LISTEN_3'),
+(-1609065,'Listen ta me, $Gbrudda:sista;. You must fight against da Lich King\'s control. He be a monstar dat want ta see dis world - our world - be ruined. Don\'t let he use you ta accomplish he goals. You be a hero once and you be a hero again! Fight it, mon! Fight he control!',0,0,0,5,'special_surprise SAY_EXEC_LISTEN_4'),
+(-1609066,'What\'s going on in there? What\'s taking so long, $N?',0,1,0,0,'special_surprise SAY_PLAGUEFIST'),
+(-1609067,'There... There\'s no more time for me. I\'m done for. Finish me off, $N. Do it or they\'ll kill us both. $N... Remember Silvermoon. This world is worth saving!',0,0,0,18,'special_surprise SAY_EXEC_TIME_1'),
+(-1609068,'There... There\'s no more time for me. I\'m done for. Finish me off, $N. Do it or they\'ll kill us both. $N... Remember Argus. Don\'t let that happen to this world.',0,0,0,18,'special_surprise SAY_EXEC_TIME_2'),
+(-1609069,'There... There\'s no more time for me. I\'m done for. Finish me off, $N. Do it or they\'ll kill us both $N... For KHAAAAAAAAZZZ MODAAAAAANNNNNN!!!',0,0,0,18,'special_surprise SAY_EXEC_TIME_3'),
+(-1609070,'There... There\'s no more time for me. I\'m done for. Finish me off, $N. Do it or they\'ll kill us both. $N... Remember Tirisfal! This world is worth saving!',0,0,0,18,'special_surprise SAY_EXEC_TIME_4'),
+(-1609071,'There... There\'s no more time for me. I\'m done for. Finish me off, $N. Do it or they\'ll kill us both. $N... Remember Gnomeregan! This world is worth saving.',0,0,0,18,'special_surprise SAY_EXEC_TIME_5'),
+(-1609072,'There... There\'s no more time for me. I\'m done for. FInish me off, $N. Do it or they\'ll kill us both. $N...Remember Elwynn. This world is worth saving.',0,0,0,18,'special_surprise SAY_EXEC_TIME_6'),
+(-1609073,'There... There\'s no more time for me. I\'m done for. Finish me off, $N. Do it or they\'ll kill us both. $N... Remember Teldrassil, our beloved home. This world is worth saving.',0,0,0,18,'special_surprise SAY_EXEC_TIME_7'),
+(-1609074,'There... There\'s no more time for me. I\'m done for. Finish me off, $N. Do it or they\'ll kill us both. $N... For the Horde! This world is worth saving.',0,0,0,18,'special_surprise SAY_EXEC_TIME_8'),
+(-1609075,'There... There\'s no more time for me. I\'m done for. Finish me off, $N. Do it or they\'ll kill us both. $N... Remember Mulgore. This world is worth saving.',0,0,0,18,'special_surprise SAY_EXEC_TIME_9'),
+(-1609076,'Der... Der\'s no more time for me. I be done for. Finish me off $N. Do it or they\'ll kill us both. $N... Remember Sen\'jin Village, mon! Dis world be worth saving!',0,0,0,18,'special_surprise SAY_EXEC_TIME_10'),
+(-1609077,'Do it, $N! Put me out of my misery!',0,0,0,1,'special_surprise SAY_EXEC_WAITING'),
+(-1609078,'dies from his wounds.',0,2,0,0,'special_surprise EMOTE_DIES');
diff --git a/sql/old/3.1.3/04445_8158_world_playercreateinfo_action.sql b/sql/old/3.1.3/04445_8158_world_playercreateinfo_action.sql
new file mode 100644
index 00000000000..c4c1eb98d06
--- /dev/null
+++ b/sql/old/3.1.3/04445_8158_world_playercreateinfo_action.sql
@@ -0,0 +1,453 @@
+-- ALTER TABLE db_version CHANGE COLUMN required_8140_01_mangos_spell_proc_event required_8158_01_mangos_playercreateinfo_action bit;
+
+DROP TABLE IF EXISTS `playercreateinfo_action`;
+CREATE TABLE `playercreateinfo_action` (
+ `race` tinyint(3) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `button` smallint(5) unsigned NOT NULL default '0',
+ `action` int(11) unsigned NOT NULL default '0',
+ `type` smallint(5) unsigned NOT NULL default '0',
+ KEY `playercreateinfo_race_class_index` (`race`,`class`),
+ PRIMARY KEY (`race`,`class`,`button`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+INSERT INTO `playercreateinfo_action` VALUES
+(1,1,0,6603,0),
+(1,1,11,117,128),
+(1,1,72,6603,0),
+(1,1,73,78,0),
+(1,1,82,59752,0),
+(1,1,83,117,128),
+(1,1,84,6603,0),
+(1,1,96,6603,0),
+(1,1,108,6603,0),
+(1,2,0,6603,0),
+(1,2,1,20154,0),
+(1,2,2,635,0),
+(1,2,9,59752,0),
+(1,2,10,159,128),
+(1,2,11,2070,128),
+(1,4,0,6603,0),
+(1,4,1,1752,0),
+(1,4,2,2098,0),
+(1,4,3,2764,0),
+(1,4,10,59752,0),
+(1,4,11,2070,128),
+(1,5,0,6603,0),
+(1,5,1,585,0),
+(1,5,2,2050,0),
+(1,5,9,59752,0),
+(1,5,10,159,128),
+(1,5,11,2070,128),
+(1,6,0,6603,0),
+(1,6,1,49576,0),
+(1,6,2,45477,0),
+(1,6,3,45462,0),
+(1,6,4,45902,0),
+(1,6,5,47541,0),
+(1,6,11,59752,0),
+(1,8,0,6603,0),
+(1,8,1,133,0),
+(1,8,2,168,0),
+(1,8,9,59752,0),
+(1,8,10,159,128),
+(1,8,11,2070,128),
+(1,9,0,6603,0),
+(1,9,1,686,0),
+(1,9,2,687,0),
+(1,9,9,59752,0),
+(1,9,10,159,128),
+(1,9,11,4604,128),
+(2,1,0,6603,0),
+(2,1,72,6603,0),
+(2,1,73,78,0),
+(2,1,74,20572,0),
+(2,1,83,117,128),
+(2,1,84,6603,0),
+(2,1,96,6603,0),
+(2,1,108,6603,0),
+(2,3,0,6603,0),
+(2,3,1,2973,0),
+(2,3,2,75,0),
+(2,3,4,20572,0),
+(2,3,10,159,128),
+(2,3,11,117,128),
+(2,4,0,6603,0),
+(2,4,1,1752,0),
+(2,4,2,2098,0),
+(2,4,3,2764,0),
+(2,4,4,20572,0),
+(2,4,11,117,128),
+(2,6,0,6603,0),
+(2,6,1,49576,0),
+(2,6,2,45477,0),
+(2,6,3,45462,0),
+(2,6,4,45902,0),
+(2,6,5,47541,0),
+(2,6,10,20572,0),
+(2,7,0,6603,0),
+(2,7,1,403,0),
+(2,7,2,331,0),
+(2,7,3,33697,0),
+(2,7,10,159,128),
+(2,7,11,117,128),
+(2,9,0,6603,0),
+(2,9,1,686,0),
+(2,9,2,687,0),
+(2,9,3,33702,0),
+(2,9,10,159,128),
+(2,9,11,117,128),
+(3,1,0,6603,0),
+(3,1,1,78,0),
+(3,1,11,117,128),
+(3,1,72,6603,0),
+(3,1,73,78,0),
+(3,1,74,20594,0),
+(3,1,75,2481,0),
+(3,1,83,117,128),
+(3,1,84,6603,0),
+(3,1,96,6603,0),
+(3,1,108,6603,0),
+(3,2,0,6603,0),
+(3,2,1,20154,0),
+(3,2,2,635,0),
+(3,2,3,20594,0),
+(3,2,4,2481,0),
+(3,2,10,159,128),
+(3,2,11,4540,128),
+(3,3,0,6603,0),
+(3,3,1,2973,0),
+(3,3,2,75,0),
+(3,3,3,20594,0),
+(3,3,4,2481,0),
+(3,3,10,159,128),
+(3,3,11,117,128),
+(3,3,75,20594,0),
+(3,3,76,2481,0),
+(3,4,0,6603,0),
+(3,4,1,1752,0),
+(3,4,2,2098,0),
+(3,4,3,2764,0),
+(3,4,4,20594,0),
+(3,4,5,2481,0),
+(3,4,11,4540,128),
+(3,5,0,6603,0),
+(3,5,1,585,0),
+(3,5,2,2050,0),
+(3,5,3,20594,0),
+(3,5,4,2481,0),
+(3,5,10,159,128),
+(3,5,11,4540,128),
+(3,6,0,6603,0),
+(3,6,1,49576,0),
+(3,6,2,45477,0),
+(3,6,3,45462,0),
+(3,6,4,45902,0),
+(3,6,5,47541,0),
+(3,6,10,2481,0),
+(4,1,72,6603,0),
+(4,1,73,6603,0),
+(4,1,74,78,0),
+(4,1,83,58984,0),
+(4,1,84,117,128),
+(4,1,85,6603,0),
+(4,1,97,6603,0),
+(4,1,109,6603,0),
+(4,3,0,6603,0),
+(4,3,1,2973,0),
+(4,3,2,75,0),
+(4,3,3,58984,0),
+(4,3,10,159,128),
+(4,3,11,117,128),
+(4,4,0,6603,0),
+(4,4,1,1752,0),
+(4,4,2,2098,0),
+(4,4,3,2764,0),
+(4,4,4,58984,0),
+(4,4,11,4540,128),
+(4,5,0,6603,0),
+(4,5,1,585,0),
+(4,5,2,2050,0),
+(4,5,3,58984,0),
+(4,5,10,159,128),
+(4,5,11,2070,128),
+(4,6,0,6603,0),
+(4,6,1,49576,0),
+(4,6,2,45477,0),
+(4,6,3,45462,0),
+(4,6,4,45902,0),
+(4,6,5,47541,0),
+(4,6,10,58984,0),
+(4,6,83,58984,0),
+(4,11,0,6603,0),
+(4,11,1,5176,0),
+(4,11,2,5185,0),
+(4,11,3,58984,0),
+(4,11,10,159,128),
+(4,11,11,4536,128),
+(5,1,0,6603,0),
+(5,1,72,6603,0),
+(5,1,73,78,0),
+(5,1,74,20577,0),
+(5,1,83,4604,128),
+(5,1,84,6603,0),
+(5,1,96,6603,0),
+(5,1,108,6603,0),
+(5,4,0,6603,0),
+(5,4,1,1752,0),
+(5,4,2,2098,0),
+(5,4,3,2764,0),
+(5,4,4,20577,0),
+(5,4,11,4604,128),
+(5,5,0,6603,0),
+(5,5,1,585,0),
+(5,5,2,2050,0),
+(5,5,3,20577,0),
+(5,5,10,159,128),
+(5,5,11,4604,128),
+(5,6,0,6603,0),
+(5,6,1,49576,0),
+(5,6,2,45477,0),
+(5,6,3,45462,0),
+(5,6,4,45902,0),
+(5,6,5,47541,0),
+(5,6,10,20577,0),
+(5,8,0,6603,0),
+(5,8,1,133,0),
+(5,8,2,168,0),
+(5,8,3,20577,0),
+(5,8,10,159,128),
+(5,8,11,4604,128),
+(5,9,0,6603,0),
+(5,9,1,686,0),
+(5,9,2,687,0),
+(5,9,3,20577,0),
+(5,9,10,159,128),
+(5,9,11,4604,128),
+(6,1,0,6603,0),
+(6,1,1,78,0),
+(6,1,3,20549,0),
+(6,1,72,6603,0),
+(6,1,73,78,0),
+(6,1,74,20549,0),
+(6,1,83,4540,128),
+(6,1,84,6603,0),
+(6,1,96,6603,0),
+(6,1,108,6603,0),
+(6,3,0,6603,0),
+(6,3,1,2973,0),
+(6,3,2,75,0),
+(6,3,3,20549,0),
+(6,3,10,159,128),
+(6,3,11,117,128),
+(6,3,76,20549,0),
+(6,6,0,6603,0),
+(6,6,1,49576,0),
+(6,6,2,45477,0),
+(6,6,3,45462,0),
+(6,6,4,45902,0),
+(6,6,5,47541,0),
+(6,6,10,20549,0),
+(6,6,75,20549,0),
+(6,7,0,6603,0),
+(6,7,1,403,0),
+(6,7,2,331,0),
+(6,7,3,20549,0),
+(6,7,10,159,128),
+(6,7,11,4604,128),
+(6,7,76,20549,0),
+(6,11,0,6603,0),
+(6,11,1,5176,0),
+(6,11,2,5185,0),
+(6,11,3,20549,0),
+(6,11,10,159,128),
+(6,11,11,4536,128),
+(6,11,73,6603,0),
+(6,11,76,20549,0),
+(6,11,85,6603,0),
+(6,11,97,6603,0),
+(6,11,109,6603,0),
+(7,1,0,6603,0),
+(7,1,1,78,0),
+(7,1,10,20589,0),
+(7,1,11,117,128),
+(7,1,72,6603,0),
+(7,1,73,78,0),
+(7,1,82,20589,0),
+(7,1,83,117,128),
+(7,1,84,6603,0),
+(7,1,96,6603,0),
+(7,1,108,6603,0),
+(7,4,0,6603,0),
+(7,4,1,1752,0),
+(7,4,2,2098,0),
+(7,4,3,2764,0),
+(7,4,10,20589,0),
+(7,4,11,117,128),
+(7,6,0,6603,0),
+(7,6,1,49576,0),
+(7,6,2,45477,0),
+(7,6,3,45462,0),
+(7,6,4,45902,0),
+(7,6,5,47541,0),
+(7,6,10,20589,0),
+(7,6,11,117,128),
+(7,6,72,6603,0),
+(7,6,83,117,128),
+(7,6,84,6603,0),
+(7,6,96,6603,0),
+(7,6,108,6603,0),
+(7,8,0,6603,0),
+(7,8,1,133,0),
+(7,8,2,168,0),
+(7,8,9,20589,0),
+(7,8,10,159,128),
+(7,8,11,4536,128),
+(7,9,0,6603,0),
+(7,9,1,686,0),
+(7,9,2,687,0),
+(7,9,9,20589,0),
+(7,9,10,159,128),
+(7,9,11,4604,128),
+(8,1,0,6603,0),
+(8,1,72,6603,0),
+(8,1,73,78,0),
+(8,1,74,2764,0),
+(8,1,75,26296,0),
+(8,1,83,117,128),
+(8,1,84,6603,0),
+(8,1,96,6603,0),
+(8,1,108,6603,0),
+(8,3,0,6603,0),
+(8,3,1,2973,0),
+(8,3,2,75,0),
+(8,3,10,159,128),
+(8,3,11,4604,128),
+(8,3,76,20554,0),
+(8,4,0,6603,0),
+(8,4,1,1752,0),
+(8,4,2,2098,0),
+(8,4,3,2764,0),
+(8,4,11,117,128),
+(8,4,76,20554,0),
+(8,5,0,6603,0),
+(8,5,1,585,0),
+(8,5,2,2050,0),
+(8,5,10,159,128),
+(8,5,11,4540,128),
+(8,5,76,20554,0),
+(8,6,0,6603,0),
+(8,6,1,49576,0),
+(8,6,2,45477,0),
+(8,6,3,45462,0),
+(8,6,4,45902,0),
+(8,6,5,47541,0),
+(8,6,10,50621,0),
+(8,7,0,6603,0),
+(8,7,1,403,0),
+(8,7,2,331,0),
+(8,7,10,159,128),
+(8,7,11,117,128),
+(8,7,76,20554,0),
+(8,8,0,6603,0),
+(8,8,1,133,0),
+(8,8,2,168,0),
+(8,8,10,159,128),
+(8,8,11,117,128),
+(8,8,76,20554,0),
+(10,2,0,6603,0),
+(10,2,1,21084,0),
+(10,2,2,635,0),
+(10,2,3,28730,0),
+(10,2,10,159,128),
+(10,2,11,20857,128),
+(10,3,0,6603,0),
+(10,3,1,2973,0),
+(10,3,2,75,0),
+(10,3,3,28730,0),
+(10,3,10,159,128),
+(10,3,11,20857,128),
+(10,4,0,6603,0),
+(10,4,1,1752,0),
+(10,4,2,2098,0),
+(10,4,3,2764,0),
+(10,4,4,25046,0),
+(10,4,11,20857,128),
+(10,5,0,6603,0),
+(10,5,1,585,0),
+(10,5,2,2050,0),
+(10,5,3,28730,0),
+(10,5,10,159,128),
+(10,5,11,20857,128),
+(10,6,0,6603,0),
+(10,6,1,49576,0),
+(10,6,2,45477,0),
+(10,6,3,45462,0),
+(10,6,4,45902,0),
+(10,6,5,47541,0),
+(10,6,6,50613,0),
+(10,8,0,6603,0),
+(10,8,1,133,0),
+(10,8,2,168,0),
+(10,8,3,28730,0),
+(10,8,10,159,128),
+(10,8,11,20857,128),
+(10,9,0,6603,0),
+(10,9,1,686,0),
+(10,9,2,687,0),
+(10,9,3,28730,0),
+(10,9,10,159,128),
+(10,9,11,20857,128),
+(11,1,0,6603,0),
+(11,1,72,6603,0),
+(11,1,73,78,0),
+(11,1,74,28880,0),
+(11,1,83,4540,128),
+(11,1,84,6603,0),
+(11,1,96,6603,0),
+(11,1,108,6603,0),
+(11,2,0,6603,0),
+(11,2,1,21084,0),
+(11,2,2,635,0),
+(11,2,3,59542,0),
+(11,2,10,159,128),
+(11,2,11,4540,128),
+(11,2,83,4540,128),
+(11,3,0,6603,0),
+(11,3,1,2973,0),
+(11,3,2,75,0),
+(11,3,3,59543,0),
+(11,3,10,159,128),
+(11,3,11,4540,128),
+(11,3,72,6603,0),
+(11,3,73,2973,0),
+(11,3,74,75,0),
+(11,3,82,159,128),
+(11,3,83,4540,128),
+(11,5,0,6603,0),
+(11,5,1,585,0),
+(11,5,2,2050,0),
+(11,5,3,59544,0),
+(11,5,10,159,128),
+(11,5,11,4540,128),
+(11,5,83,4540,128),
+(11,6,0,6603,0),
+(11,6,1,49576,0),
+(11,6,2,45477,0),
+(11,6,3,45462,0),
+(11,6,4,45902,0),
+(11,6,5,47541,0),
+(11,6,6,59545,0),
+(11,7,0,6603,0),
+(11,7,1,403,0),
+(11,7,2,331,0),
+(11,7,3,59547,0),
+(11,7,10,159,128),
+(11,7,11,4540,128),
+(11,8,0,6603,0),
+(11,8,1,133,0),
+(11,8,2,168,0),
+(11,8,3,59548,0),
+(11,8,10,159,128),
+(11,8,11,4540,128),
+(11,8,83,4540,128);
diff --git a/sql/old/3.1.3/04451_world_tmp.sql b/sql/old/3.1.3/04451_world_tmp.sql
new file mode 100644
index 00000000000..30f12539d75
--- /dev/null
+++ b/sql/old/3.1.3/04451_world_tmp.sql
@@ -0,0 +1 @@
+UPDATE creature_template SET `VehicleId`=200, spell1=52264, spell2=52268 WHERE `entry` IN (28605, 28606, 28607);
diff --git a/sql/old/3.1.3/04464_world_spell_bonus_data_TDB.sql b/sql/old/3.1.3/04464_world_spell_bonus_data_TDB.sql
new file mode 100644
index 00000000000..9d7bacd90be
--- /dev/null
+++ b/sql/old/3.1.3/04464_world_spell_bonus_data_TDB.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_bonus_data` WHERE `entry` = '58621';
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `comments`) VALUES
+(58621, 0, 0, 0.08, 'Death Knight - Glyph of Chains of Ice');
diff --git a/sql/old/3.1.3/04481_world_script.sql b/sql/old/3.1.3/04481_world_script.sql
new file mode 100644
index 00000000000..a3ba626538b
--- /dev/null
+++ b/sql/old/3.1.3/04481_world_script.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `ScriptName`='npc_valkyr_battle_maiden' WHERE (`entry`='28534');
+INSERT iGNORE INTO `spell_proc_event` VALUES ( 51915, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0, 100, 600);
diff --git a/sql/old/3.1.3/04490_world_spell_proc_event.sql b/sql/old/3.1.3/04490_world_spell_proc_event.sql
new file mode 100644
index 00000000000..6dfeccb6a3e
--- /dev/null
+++ b/sql/old/3.1.3/04490_world_spell_proc_event.sql
@@ -0,0 +1,2 @@
+DELETE FROM `spell_proc_event` WHERE `entry` =51915;
+INSERT IGNORE INTO `spell_proc_event` VALUES ( 51915, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x01000000, 0x00000000, 0, 100, 600);
diff --git a/sql/old/3.1.3/04495_world_script.sql b/sql/old/3.1.3/04495_world_script.sql
new file mode 100644
index 00000000000..d552cbb731f
--- /dev/null
+++ b/sql/old/3.1.3/04495_world_script.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_mojo' WHERE `entry`='24480';
diff --git a/sql/old/3.1.3/04498_characters_channels.sql b/sql/old/3.1.3/04498_characters_channels.sql
new file mode 100644
index 00000000000..7f5490ddf79
--- /dev/null
+++ b/sql/old/3.1.3/04498_characters_channels.sql
@@ -0,0 +1,14 @@
+-- ----------------------------
+-- Table structure for channels
+-- ----------------------------
+DROP TABLE IF EXISTS `channels`;
+CREATE TABLE `channels` (
+ `m_name` text NOT NULL,
+ `m_team` int(10) unsigned NOT NULL,
+ `m_ownerGUID` int(11) unsigned NOT NULL default '0',
+ `m_announce` tinyint(1) unsigned NOT NULL default '0',
+ `m_moderate` tinyint(1) unsigned NOT NULL default '0',
+ `m_password` text,
+ `BannedList` longtext,
+ PRIMARY KEY (`m_name`(10),`m_team`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Channel System';
diff --git a/sql/old/3.1.3/04500_world_spell_bonus_data.sql b/sql/old/3.1.3/04500_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..0668193b3f0
--- /dev/null
+++ b/sql/old/3.1.3/04500_world_spell_bonus_data.sql
@@ -0,0 +1,245 @@
+DROP TABLE IF EXISTS `spell_bonus_data`;
+CREATE TABLE `spell_bonus_data` (
+ `entry` smallint(5) unsigned NOT NULL,
+ `direct_bonus` float NOT NULL default '0',
+ `dot_bonus` float NOT NULL default '0',
+ `ap_bonus` float NOT NULL default '0',
+ `ap_dot_bonus` float NOT NULL default '0',
+ `comments` varchar(255) default NULL,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
+(49941, -1, -1, 0.04, -1, 'Death Knight - Blood Boil'),
+(48721, -1, -1, 0.04, -1, 'Death Knight - Blood Boil'),
+(55078, -1, -1, -1, 0.055, 'Death Knight - Blood Plague'),
+(50444, -1, -1, 0.105, -1, 'Death Knight - Corpse Explosion Triggered'),
+(52212, -1, -1, 0.0475, -1, 'Death Knight - Death and Decay'),
+(47632, -1, -1, 0.15, -1, 'Death Knight - Death Coil'),
+(47633, -1, -1, 0.15, -1, 'Death Knight - Death Coil Heal'),
+(55095, -1, -1, -1, 0.055, 'Death Knight - Frost Fever'),
+(49184, -1, -1, 0.1, -1, 'Death Knight - Howling Blast'),
+(45477, -1, -1, 0.1, -1, 'Death Knight - Icy Touch'),
+(56903, 0, 0, 0, 0, 'Death Knight - Lichflame'),
+(50842, -1, -1, 0.04, -1, 'Death Knight - Pestilence'),
+(50401, 0, 0, 0, 0, 'Death Knight - Razor Frost'),
+(47476, -1, -1, 0.06, -1, 'Death Knight - Strangulate'),
+(50536, -1, -1, 0.013, -1, 'Death Knight - Unholy Blight (Rank1)'),
+(339, -1, 0.1, -1, -1, 'Druid - Entangling Roots'),
+(5185, 1.611, -1, -1, -1, 'Druid - Healing Touch'),
+(42231, 0.12898, -1, -1, -1, 'Druid - Hurricane Triggered'),
+(5570, -1, 0.2, -1, -1, 'Druid - Insect Swarm'),
+(33763, 0.6453, 0.09518, -1, -1, 'Druid - Lifebloom'),
+(8921, 0.1515, 0.13, -1, -1, 'Druid - Moonfire'),
+(50464, 0.67305, -1, -1, -1, 'Druid - Nourish'),
+(8936, 0.539, 0.188, -1, -1, 'Druid - Regrowth'),
+(774, -1, 0.37604, -1, -1, 'Druid - Rejuvenation'),
+(50294, 0.0119, -1, -1, -1, 'Druid - Starfall AOE rank 1'),
+(53188, 0.0119, -1, -1, -1, 'Druid - Starfall AOE rank 2'),
+(53189, 0.0119, -1, -1, -1, 'Druid - Starfall AOE rank 3'),
+(53190, 0.0119, -1, -1, -1, 'Druid - Starfall AOE rank 4'),
+(50288, 0.0458, -1, -1, -1, 'Druid - Starfall rank 1'),
+(53191, 0.0458, -1, -1, -1, 'Druid - Starfall rank 2'),
+(53194, 0.0458, -1, -1, -1, 'Druid - Starfall rank 3'),
+(53195, 0.0458, -1, -1, -1, 'Druid - Starfall rank 4'),
+(2912, 1, -1, -1, -1, 'Druid - Starfire'),
+(18562, 0, 0, 0, 0, 'Druid - Swiftmend'),
+(44203, 0.538, -1, -1, -1, 'Druid - Tranquility Triggered'),
+(61391, 0.193, -1, -1, -1, 'Druid - Typhoon'),
+(48438, -1, 0.11505, -1, -1, 'Druid - Wild Growth'),
+(5176, 0.5714, -1, -1, -1, 'Druid - Wrath'),
+(55039, 0, 0, 0, 0, 'Item - Gnomish Lightning Generator'),
+(44425, 0.7143, -1, -1, -1, 'Mage - Arcane Barrage'),
+(30451, 0.7143, -1, -1, -1, 'Mage - Arcane Blast'),
+(1449, 0.2128, -1, -1, -1, 'Mage - Arcane Explosion'),
+(7268, 0.2857, -1, -1, -1, 'Mage - Arcane Missiles Triggered Spell Rank 1'),
+(7269, 0.2857, -1, -1, -1, 'Mage - Arcane Missiles Triggered Spell Rank 2'),
+(11113, 0.1936, -1, -1, -1, 'Mage - Blast Wave'),
+(42208, 0.1437, -1, -1, -1, 'Mage - Blizzard Triggered Spell'),
+(120, 0.214, -1, -1, -1, 'Mage - Cone of Cold'),
+(31661, 0.1936, -1, -1, -1, 'Mage - Dragons Breath'),
+(133, 1, -1, -1, -1, 'Mage - Fire Ball'),
+(2136, 0.4286, -1, -1, -1, 'Mage - Fire Blast'),
+(543, 0.1, -1, -1, -1, 'Mage - Fire Ward'),
+(2120, 0.2357, 0.122, -1, -1, 'Mage - Flamestrike'),
+(116, 0.8143, -1, -1, -1, 'Mage - Frost Bolt'),
+(122, 0.193, -1, -1, -1, 'Mage - Frost Nova'),
+(6143, 0.1, -1, -1, -1, 'Mage - Frost Ward'),
+(44614, 0.8571, -1, -1, -1, 'Mage - Frostfire Bolt'),
+(11426, 0.8053, -1, -1, -1, 'Mage - Ice Barrier'),
+(30455, 0.1429, -1, -1, -1, 'Mage - Ice Lance'),
+(44457, 0.4, 0.2, -1, -1, 'Mage - Living Bomb'),
+(1463, 0.8053, -1, -1, -1, 'Mage - Mana Shield'),
+(34913, 0, 0, 0, 0, 'Mage - Molten Armor Triggered Rank 1'),
+(11366, 1.15, 0.05, -1, -1, 'Mage - Pyroblast'),
+(2948, 0.4286, -1, -1, -1, 'Mage - Scorch'),
+(31935, 0.07, -1, 0.07, -1, 'Paladin - Avenger Shield'),
+(53742, -1, 0.0176, -1, 0.03, 'Paladin - Blood Corruption'),
+(26573, -1, 0.04, -1, 0.04, 'Paladin - Consecration'),
+(879, 0.15, -1, 0.15, -1, 'Paladin - Exorcism'),
+(19750, 1, -1, -1, -1, 'Paladin - Flash of Light'),
+(53595, 0, 0, 0, 0, 'Paladin - Hammer of the Righteous'),
+(24275, 0.15, -1, 0.15, -1, 'Paladin - Hammer of Wrath'),
+(635, 1.66, -1, -1, -1, 'Paladin - Holy Light'),
+(20925, 0.09, -1, 0.056, -1, 'Paladin - Holy Shield'),
+(25914, 0.81, -1, -1, -1, 'Paladin - Holy Shock Triggered Heal Rank 1'),
+(25912, 0.4286, -1, -1, -1, 'Paladin - Holy Shock Triggered Hurt Rank 1'),
+(31803, -1, 0.0176, -1, 0.03, 'Paladin - Holy Vengeance'),
+(2812, 0.07, -1, 0.07, -1, 'Paladin - Holy Wrath'),
+(31898, 0.25, -1, 0.16, -1, 'Paladin - Judgement of Blood Enemy'),
+(32220, 0.0833, -1, 0.0533, -1, 'Paladin - Judgement of Blood Self'),
+(20467, 0.25, -1, 0.16, -1, 'Paladin - Judgement of Command'),
+(53733, 0, 0, 0, 0, 'Paladin - Judgement of Corruption'),
+(20267, 0.1, -1, 0.1, -1, 'Paladin - Judgement of Light Proc'),
+(20187, 0.4, -1, 0.25, -1, 'Paladin - Judgement of Righteousness'),
+(53726, 0.25, -1, 0.16, -1, 'Paladin - Judgement of the Martyr Enemy'),
+(53725, 0.0833, -1, 0.0533, -1, 'Paladin - Judgement of the Martyr Self'),
+(31804, 0, 0, 0, 0, 'Paladin - Judgement of Vengeance'),
+(58597, 0.75, -1, -1, -1, 'Paladin - Sacred Shield'),
+(53601, 0.75, -1, -1, -1, 'Paladin - Sacred Shield'),
+(31893, 0, 0, 0, 0, 'Paladin - Seal of Blood Proc Enemy'),
+(32221, 0, 0, 0, 0, 'Paladin - Seal of Blood Proc Self'),
+(20424, 0, 0, 0, 0, 'Paladin - Seal of Command Proc'),
+(20167, 0.15, -1, 0.15, -1, 'Paladin - Seal of Light Proc'),
+(25742, 0.07, -1, 0.039, -1, 'Paladin - Seal of Righteousness Dummy Proc'),
+(53719, 0, 0, 0, 0, 'Paladin - Seal of the Martyr Proc Enemy'),
+(53718, 0, 0, 0, 0, 'Paladin - Seal of the Martyr Proc Self'),
+(53600, 0, 0, 0, 0, 'Paladin - Shield of Righteousness'),
+(32546, 0.8068, -1, -1, -1, 'Priest - Binding Heal'),
+(27813, 0, 0, 0, 0, 'Priest - Blessed Recovery Rank 1'),
+(34861, 0.402, -1, -1, -1, 'Priest - Circle of Healing'),
+(19236, 0.8068, -1, -1, -1, 'Priest - Desperate Prayer'),
+(2944, -1, 0.1849, -1, -1, 'Priest - Devouring Plague'),
+(2061, 0.8068, -1, -1, -1, 'Priest - Flash Heal'),
+(2060, 1.6135, -1, -1, -1, 'Priest - Greater Heal'),
+(14914, 0.5711, 0.024, -1, -1, 'Priest - Holy Fire'),
+(15237, 0.1606, -1, -1, -1, 'Priest - Holy Nova Damage'),
+(23455, 0.3035, -1, -1, -1, 'Priest - Holy Nova Heal Rank 1'),
+(8129, 0, 0, 0, 0, 'Priest - Mana Burn'),
+(8092, 0.428, -1, -1, -1, 'Priest - Mind Blast'),
+(15407, 0.257, -1, -1, -1, 'Priest - Mind Flay'),
+(49821, 0.2861, -1, -1, -1, 'Priest - Mind Sear Trigger Rank 1'),
+(47757, 1.6135, -1, -1, -1, 'Priest - Penance (Rank 1'),
+(52986, 1.6135, -1, -1, -1, 'Priest - Penance (Rank 2'),
+(52987, 1.6135, -1, -1, -1, 'Priest - Penance (Rank 3'),
+(52988, 1.6135, -1, -1, -1, 'Priest - Penance (Rank 4'),
+(17, 0.8068, -1, -1, -1, 'Priest - Power Word: Shield'),
+(596, 0.8068, -1, -1, -1, 'Priest - Prayer of Healing'),
+(33110, 0.8068, -1, -1, -1, 'Priest - Prayer of Mending Heal Proc'),
+(33619, 0, 0, 0, 0, 'Priest - Reflective Shield'),
+(139, -1, 0.376, -1, -1, 'Priest - Renew'),
+(32379, 0.4296, -1, -1, -1, 'Priest - Shadow Word: Death'),
+(589, -1, 0.1829, -1, -1, 'Priest - Shadow Word: Pain'),
+(34433, 0.65, -1, -1, -1, 'Priest - Shadowfiend'),
+(585, 0.714, -1, -1, -1, 'Priest - Smite'),
+(34914, -1, 0.4, -1, -1, 'Priest - Vampiric Touch'),
+(1064, 1.34, -1, -1, -1, 'Shaman - Chain Heal'),
+(421, 0.57, -1, -1, -1, 'Shaman - Chain Lightning'),
+(974, 0.4762, -1, -1, -1, 'Shaman - Earth Shield'),
+(379, 0, 0, 0, 0, 'Shaman - Earth Shield Triggered'),
+(8042, 0.3858, -1, -1, -1, 'Shaman - Earth Shock'),
+(8443, 0.2142, -1, -1, -1, 'Shaman - Fire Nova Totem Casted by Totem Rank 1'),
+(8504, 0.2142, -1, -1, -1, 'Shaman - Fire Nova Totem Casted by Totem Rank 2'),
+(8505, 0.2142, -1, -1, -1, 'Shaman - Fire Nova Totem Casted by Totem Rank 3'),
+(11310, 0.2142, -1, -1, -1, 'Shaman - Fire Nova Totem Casted by Totem Rank 4'),
+(11311, 0.2142, -1, -1, -1, 'Shaman - Fire Nova Totem Casted by Totem Rank 5'),
+(25538, 0.2142, -1, -1, -1, 'Shaman - Fire Nova Totem Casted by Totem Rank 6'),
+(25539, 0.2142, -1, -1, -1, 'Shaman - Fire Nova Totem Casted by Totem Rank 7'),
+(61651, 0.2142, -1, -1, -1, 'Shaman - Fire Nova Totem Casted by Totem Rank 8'),
+(61660, 0.2142, -1, -1, -1, 'Shaman - Fire Nova Totem Casted by Totem Rank 9'),
+(8050, 0.2142, 0.1, -1, -1, 'Shaman - Flame Shock'),
+(8026, 0.1, -1, -1, -1, 'Shaman - Flametongue Weapon Proc Rank 1'),
+(58788, 0.1, -1, -1, -1, 'Shaman - Flametongue Weapon Proc Rank 10'),
+(8028, 0.1, -1, -1, -1, 'Shaman - Flametongue Weapon Proc Rank 2'),
+(8029, 0.1, -1, -1, -1, 'Shaman - Flametongue Weapon Proc Rank 3'),
+(10445, 0.1, -1, -1, -1, 'Shaman - Flametongue Weapon Proc Rank 4'),
+(16343, 0.1, -1, -1, -1, 'Shaman - Flametongue Weapon Proc Rank 5'),
+(16344, 0.1, -1, -1, -1, 'Shaman - Flametongue Weapon Proc Rank 6'),
+(25488, 0.1, -1, -1, -1, 'Shaman - Flametongue Weapon Proc Rank 7'),
+(58786, 0.1, -1, -1, -1, 'Shaman - Flametongue Weapon Proc Rank 8'),
+(58787, 0.1, -1, -1, -1, 'Shaman - Flametongue Weapon Proc Rank 9'),
+(8056, 0.3858, -1, -1, -1, 'Shaman - Frost Shock'),
+(8034, 0.1, -1, -1, -1, 'Shaman - Frostbrand Attack Rank 1'),
+(8037, 0.1, -1, -1, -1, 'Shaman - Frostbrand Attack Rank 2'),
+(10458, 0.1, -1, -1, -1, 'Shaman - Frostbrand Attack Rank 3'),
+(16352, 0.1, -1, -1, -1, 'Shaman - Frostbrand Attack Rank 4'),
+(16353, 0.1, -1, -1, -1, 'Shaman - Frostbrand Attack Rank 5'),
+(25501, 0.1, -1, -1, -1, 'Shaman - Frostbrand Attack Rank 6'),
+(58797, 0.1, -1, -1, -1, 'Shaman - Frostbrand Attack Rank 7'),
+(58798, 0.1, -1, -1, -1, 'Shaman - Frostbrand Attack Rank 8'),
+(58799, 0.1, -1, -1, -1, 'Shaman - Frostbrand Attack Rank 9'),
+(2645, 0, 0, 0, 0, 'Shaman - Glyph of Ghost Wolf'),
+(52042, 0.045, -1, -1, -1, 'Shaman - Healing Stream Totem Triggered Heal'),
+(331, 1.6106, -1, -1, -1, 'Shaman - Healing Wave'),
+(51505, 0.5714, -1, -1, -1, 'Shaman - Lava Burst'),
+(8004, 0.8082, -1, -1, -1, 'Shaman - Lesser Healing Wave'),
+(403, 0.7143, -1, -1, -1, 'Shaman - Lightning Bolt'),
+(26364, 0.33, -1, -1, -1, 'Shaman - Lightning Shield Proc Rank 1'),
+(8188, 0.1, -1, -1, -1, 'Shaman - Magma Totam Passive Rank 1'),
+(10582, 0.1, -1, -1, -1, 'Shaman - Magma Totam Passive Rank 2'),
+(10583, 0.1, -1, -1, -1, 'Shaman - Magma Totam Passive Rank 3'),
+(10584, 0.1, -1, -1, -1, 'Shaman - Magma Totam Passive Rank 4'),
+(25551, 0.1, -1, -1, -1, 'Shaman - Magma Totam Passive Rank 5'),
+(58733, 0.1, -1, -1, -1, 'Shaman - Magma Totam Passive Rank 6'),
+(58736, 0.1, -1, -1, -1, 'Shaman - Magma Totam Passive Rank 7'),
+(61295, 0.4, 0.18, -1, -1, 'Shaman - Riptide'),
+(3606, 0.1667, -1, -1, -1, 'Shaman - Searing Totem Attack Rank 1'),
+(58702, 0.1667, -1, -1, -1, 'Shaman - Searing Totem Attack Rank 10'),
+(6350, 0.1667, -1, -1, -1, 'Shaman - Searing Totem Attack Rank 2'),
+(6351, 0.1667, -1, -1, -1, 'Shaman - Searing Totem Attack Rank 3'),
+(6352, 0.1667, -1, -1, -1, 'Shaman - Searing Totem Attack Rank 4'),
+(10435, 0.1667, -1, -1, -1, 'Shaman - Searing Totem Attack Rank 5'),
+(10436, 0.1667, -1, -1, -1, 'Shaman - Searing Totem Attack Rank 6'),
+(25530, 0.1667, -1, -1, -1, 'Shaman - Searing Totem Attack Rank 7'),
+(58700, 0.1667, -1, -1, -1, 'Shaman - Searing Totem Attack Rank 8'),
+(58701, 0.1667, -1, -1, -1, 'Shaman - Searing Totem Attack Rank 9'),
+(50796, 0.7139, -1, -1, -1, 'Warlock - Chaos Bolt'),
+(17962, 0, 0, 0, 0, 'Warlock - Conflagrate'),
+(172, -1, 0.2, -1, -1, 'Warlock - Corruption'),
+(980, -1, 0.1, -1, -1, 'Warlock - Curse of Agony'),
+(603, -1, 2, -1, -1, 'Warlock - Curse of Doom'),
+(18220, 0.96, -1, -1, -1, 'Warlock - Dark Pact Rank 1'),
+(6789, 0.214, -1, -1, -1, 'Warlock - Death Coil'),
+(689, -1, 0.143, -1, -1, 'Warlock - Drain Life'),
+(5138, 0, 0, 0, 0, 'Warlock - Drain Mana'),
+(1120, -1, 0.429, -1, -1, 'Warlock - Drain Soul'),
+(28176, 0, 0, 0, 0, 'Warlock - Fel Armor'),
+(18790, 0, 0, 0, 0, 'Warlock - Fel Stamina'),
+(48181, 0.4793, -1, -1, -1, 'Warlock - Haunt'),
+(755, -1, 0.4485, -1, -1, 'Warlock - Health Funnel'),
+(1949, -1, 0.0949, -1, -1, 'Warlock - Hellfire'),
+(5857, 0.145, -1, -1, -1, 'Warlock - Hellfire Effect on Enemy Rank 1'),
+(348, 0.2, 0.2, -1, -1, 'Warlock - Immolate'),
+(29722, 0.7139, -1, -1, -1, 'Warlock - Incinerate'),
+(42223, 0.286, -1, -1, -1, 'Warlock - Rain of Fire Triggered Rank 1'),
+(5676, 0.4293, -1, -1, -1, 'Warlock - Searing Pain'),
+(27243, 0.2129, 0.25, -1, -1, 'Warlock - Seed of Corruption'),
+(686, 0.8569, -1, -1, -1, 'Warlock - Shadow Bolt'),
+(6229, 0.3, -1, -1, -1, 'Warlock - Shadow Ward'),
+(17877, 0.4293, -1, -1, -1, 'Warlock - Shadowburn'),
+(47960, 0.1064, 0.0667, -1, -1, 'Warlock - Shadowflame Rank 1'),
+(61291, 0.1064, 0.0667, -1, -1, 'Warlock - Shadowflame Rank 2'),
+(30283, 0.1932, -1, -1, -1, 'Warlock - Shadowfury'),
+(63106, 0, 0, 0, 0, 'Warlock - Siphon Life Triggered'),
+(6353, 1.15, -1, -1, -1, 'Warlock - Soul Fire'),
+(30294, 0, 0, 0, 0, 'Warlock - Soul Leech'),
+(30108, -1, 0.2, -1, -1, 'Warlock - Unstable Affliction'),
+(31117, 1.8, -1, -1, -1, 'Warlock - Unstable Affliction Dispell'),
+(54158, 0.25, -1, 0.16, -1, 'Paladin - Jugdement (Seal of Light, Seal of Wisdom, Seal of Justice)'),
+(60089, -1, -1, 0.05, -1, 'Faerie Fire (feral)'),
+(58621, -1, -1, 0.08, -1, 'Death Knight - Glyph of Chains of Ice'),
+(13797, -1, -1, -1, 0.02, 'Hunter - Immolation Trap($RAP*0.1 / number of ticks)'),
+(3674, -1, -1, -1, 0.02, 'Hunter - Black Arrow($RAP*0.1 / number of ticks)'),
+(1978, -1, -1, -1, 0.04, 'Hunter - Serpent Sting($RAP*0.2 / number of ticks)'),
+(703, -1, -1, -1, 0.02, 'Rogue - Garrote'),
+(2818, -1, -1, -1, 0.03, 'Rogue - Deadly Poison Rank 1($AP*0.12 / number of ticks)'),
+(2819, -1, -1, -1, 0.03, 'Rogue - Deadly Poison Rank 2($AP*0.12 / number of ticks)'),
+(11353, -1, -1, -1, 0.03, 'Rogue - Deadly Poison Rank 3($AP*0.12 / number of ticks)'),
+(11354, -1, -1, -1, 0.03, 'Rogue - Deadly Poison Rank 4($AP*0.12 / number of ticks)'),
+(25349, -1, -1, -1, 0.03, 'Rogue - Deadly Poison Rank 5($AP*0.12 / number of ticks)'),
+(26968, -1, -1, -1, 0.03, 'Rogue - Deadly Poison Rank 6($AP*0.12 / number of ticks)'),
+(27187, -1, -1, -1, 0.03, 'Rogue - Deadly Poison Rank 7($AP*0.12 / number of ticks)'),
+(57969, -1, -1, -1, 0.03, 'Rogue - Deadly Poison Rank 8($AP*0.12 / number of ticks)'),
+(57970, -1, -1, -1, 0.03, 'Rogue - Deadly Poison Rank 9($AP*0.12 / number of ticks)'),
+(48628, -1, -1, -1, 0.15, 'Druid - Lock Jaw'),
+(1822, -1, -1, 0.01, 0.06, 'Druid - Rake ($AP*0.18 / number of ticks)'),
+(33745, -1, -1, -1, 0.01, 'Druid - Lacerate($AP*0.05 / number of ticks)');
diff --git a/sql/old/3.1.3/04501_world_spell_bonus_data.sql b/sql/old/3.1.3/04501_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..337b293e62e
--- /dev/null
+++ b/sql/old/3.1.3/04501_world_spell_bonus_data.sql
@@ -0,0 +1,31 @@
+DELETE FROM `spell_bonus_data` where `entry` IN(6572, 57755, 6343, 50256, 1776, 8680, 8685, 8689, 11335, 11336, 11337, 26890, 57964, 57965, 13218, 13222
+, 13223, 13224, 27189, 57974, 57975, 1495, 19306, 3044, 56641, 13812, 20253, 61491);
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
+(6572, -1, -1, 0.207, -1, 'Warrior - Revenge'),
+(57755, -1, -1, 0.5, -1, 'Warrior - Heroic Throw'),
+(6343, -1, -1, 0.12, -1, 'Warrior - Thunder Clap'),
+(50256, -1, -1, 0.08, -1, 'Druid - Swipe'),
+(1776, -1, -1, 0.21, -1, 'Rogue - Gouge'),
+(8680, -1, -1, 0.1, -1, 'Rogue - Instant Poison Rank 1'),
+(8685, -1, -1, 0.1, -1, 'Rogue - Instant Poison Rank 2'),
+(8689, -1, -1, 0.1, -1, 'Rogue - Instant Poison Rank 3'),
+(11335, -1, -1, 0.1, -1, 'Rogue - Instant Poison Rank 4'),
+(11336, -1, -1, 0.1, -1, 'Rogue - Instant Poison Rank 5'),
+(11337, -1, -1, 0.1, -1, 'Rogue - Instant Poison Rank 6'),
+(26890, -1, -1, 0.1, -1, 'Rogue - Instant Poison Rank 7'),
+(57964, -1, -1, 0.1, -1, 'Rogue - Instant Poison Rank 8'),
+(57965, -1, -1, 0.1, -1, 'Rogue - Instant Poison Rank 9'),
+(13218, -1, -1, 0.04, -1, 'Rogue - Wound Poison Rank 1'),
+(13222, -1, -1, 0.04, -1, 'Rogue - Wound Poison Rank 2'),
+(13223, -1, -1, 0.04, -1, 'Rogue - Wound Poison Rank 3'),
+(13224, -1, -1, 0.04, -1, 'Rogue - Wound Poison Rank 4'),
+(27189, -1, -1, 0.04, -1, 'Rogue - Wound Poison Rank 5'),
+(57974, -1, -1, 0.04, -1, 'Rogue - Wound Poison Rank 6'),
+(57975, -1, -1, 0.04, -1, 'Rogue - Wound Poison Rank 7'),
+(1495, -1, -1, 0.2, -1, 'Hunter - Mongoose Bite'),
+(19306, -1, -1, 0.2, -1, 'Hunter - Counterattack'),
+(3044, -1, -1, 0.15, -1, 'Hunter - Arcane Shot'),
+(56641, -1, -1, 0.1, -1, 'Hunter - Steady Shot'),
+(13812, -1, -1, 0.1, -1, 'Hunter - Explosive Trap Effect'),
+(20253, -1, -1, 0.12, -1, 'Warrior - Intercept'),
+(61491, -1, -1, 0.12, -1, 'Warrior - Intercept');
diff --git a/sql/old/3.1.3/04509_world_spell_linked_spell.sql b/sql/old/3.1.3/04509_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..d672b2a564a
--- /dev/null
+++ b/sql/old/3.1.3/04509_world_spell_linked_spell.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (48265, 49772, 48263);
diff --git a/sql/old/3.1.3/04510_world_spell_linked_spell.sql b/sql/old/3.1.3/04510_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..76266d3af5e
--- /dev/null
+++ b/sql/old/3.1.3/04510_world_spell_linked_spell.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (20594);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( 20594, 65116, 0, 'Stoneform');
diff --git a/sql/old/3.1.3/04520_8190_world_creature_template.sql b/sql/old/3.1.3/04520_8190_world_creature_template.sql
new file mode 100644
index 00000000000..7be3a6e49fa
--- /dev/null
+++ b/sql/old/3.1.3/04520_8190_world_creature_template.sql
@@ -0,0 +1,5 @@
+-- ALTER TABLE db_version CHANGE COLUMN required_8158_01_mangos_playercreateinfo_action required_8190_01_mangos_creature_template bit;
+
+ALTER TABLE `creature_template`
+ CHANGE COLUMN `unk1` `KillCredit1` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `unk2` `KillCredit2` int(11) unsigned NOT NULL default '0';
diff --git a/sql/old/3.1.3/04524_world_spell_elixir.sql b/sql/old/3.1.3/04524_world_spell_elixir.sql
new file mode 100644
index 00000000000..66d609840ff
--- /dev/null
+++ b/sql/old/3.1.3/04524_world_spell_elixir.sql
@@ -0,0 +1,25 @@
+DELETE FROM `spell_elixir` WHERE `entry` IN
+(54452, 60340, 60345, 60341, 60344, 60346, 54494, 53748, 53749, 53746, 60343, 53751, 53764, 60347, 53763, 53747, 53760, 54212, 53758, 53755, 53752, 62380);
+INSERT INTO `spell_elixir` (`entry`, `mask`) VALUES
+(54452, 0x1),
+(60340, 0x1),
+(60345, 0x1),
+(60341, 0x1),
+(60344, 0x1),
+(60346, 0x1),
+(54494, 0x1),
+(53748, 0x1),
+(53749, 0x1),
+(53746, 0x1),
+(60343, 0x2),
+(53751, 0x2),
+(53764, 0x2),
+(60347, 0x2),
+(53763, 0x2),
+(53747, 0x2),
+(53760, 0x3),
+(54212, 0x3),
+(53758, 0x3),
+(53755, 0x3),
+(53752, 0x3),
+(62380, 0x3);
diff --git a/sql/old/3.1.3/04530_world_spell_script_target.sql b/sql/old/3.1.3/04530_world_spell_script_target.sql
new file mode 100644
index 00000000000..f1bf84d509a
--- /dev/null
+++ b/sql/old/3.1.3/04530_world_spell_script_target.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_script_target` WHERE `entry` IN (58836);
+INSERT INTO `spell_script_target` VALUES (58836, 1, 31216);
+UPDATE `creature_template` SET `ScriptName`='npc_mirror_image' WHERE `entry`=31216;
+UPDATE `creature_template` SET `spell1`=59638, `spell2` = 59637 WHERE `entry`=31216;
diff --git a/sql/old/3.1.3/04536_world_spell_proc_event.sql b/sql/old/3.1.3/04536_world_spell_proc_event.sql
new file mode 100644
index 00000000000..875313c3e85
--- /dev/null
+++ b/sql/old/3.1.3/04536_world_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (53234, 53237, 53238);
+INSERT INTO `spell_proc_event` VALUES
+(53234, 0x00, 9, 0x00020000, 0x00000001, 0x00000001, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), -- Piercing Shots (Rank 1)
+(53237, 0x00, 9, 0x00020000, 0x00000001, 0x00000001, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), -- Piercing Shots (Rank 2)
+(53238, 0x00, 9, 0x00020000, 0x00000001, 0x00000001, 0x00000000, 0x00000002, 0.000000, 0.000000, 0); -- Piercing Shots (Rank 3)
diff --git a/sql/old/3.1.3/04539_world_spell_linked_spell.sql b/sql/old/3.1.3/04539_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..1be5970f4ab
--- /dev/null
+++ b/sql/old/3.1.3/04539_world_spell_linked_spell.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (49039);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( 49039, 50397, 2, 'Lichborne - shapeshift');
diff --git a/sql/old/3.1.3/04542_8191_world_spell_affect.sql b/sql/old/3.1.3/04542_8191_world_spell_affect.sql
new file mode 100644
index 00000000000..74e28a00b59
--- /dev/null
+++ b/sql/old/3.1.3/04542_8191_world_spell_affect.sql
@@ -0,0 +1,3 @@
+-- ALTER TABLE db_version CHANGE COLUMN required_8190_01_mangos_creature_template required_8191_01_mangos_spell_affect bit;
+
+DROP TABLE IF EXISTS `spell_affect`;
diff --git a/sql/old/3.1.3/04544_world.sql b/sql/old/3.1.3/04544_world.sql
new file mode 100644
index 00000000000..90f7e193f15
--- /dev/null
+++ b/sql/old/3.1.3/04544_world.sql
@@ -0,0 +1,3 @@
+UPDATE `creature_template` SET `ScriptName`='npc_sinkhole_kill_credit' WHERE (`entry`='26248') or (`entry`='26249');
+UPDATE `item_template` SET `ScriptName`='item_incendiary_explosives' WHERE (`entry`='35704');
+UPDATE `creature_template` SET `flags_extra`='2' WHERE (`entry`='26250');
diff --git a/sql/old/3.1.3/04547_world_scripts.sql b/sql/old/3.1.3/04547_world_scripts.sql
new file mode 100644
index 00000000000..82f682e482e
--- /dev/null
+++ b/sql/old/3.1.3/04547_world_scripts.sql
@@ -0,0 +1,5 @@
+UPDATE `creature_template` SET `ScriptName`='npc_captured_rageclaw' WHERE (`entry`='29686');
+UPDATE `creature_template` SET `ScriptName`='npc_drakuru_shackles' WHERE (`entry`='29700');
+
+DELETE FROM `spell_script_target` WHERE `entry` IN (55083,55223,59951,59952);
+INSERT INTO `spell_script_target` VALUES (55083, 1, 29700),(55223, 1, 29686),(59951, 1, 29686),(59952, 1, 29686);
diff --git a/sql/old/3.1.3/04549_world_script.sql b/sql/old/3.1.3/04549_world_script.sql
new file mode 100644
index 00000000000..b020a560cec
--- /dev/null
+++ b/sql/old/3.1.3/04549_world_script.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template` SET `ScriptName`='npc_khunok_the_behemoth' WHERE (`entry`='25862');
+
+-- DB CONTENT --
+UPDATE `quest_template` SET `SrcSpell`='46232' WHERE (`entry`='11878');
diff --git a/sql/old/3.1.3/04572_script_texts.sql b/sql/old/3.1.3/04572_script_texts.sql
new file mode 100644
index 00000000000..d9c4a644c92
--- /dev/null
+++ b/sql/old/3.1.3/04572_script_texts.sql
@@ -0,0 +1,49 @@
+DELETE FROM script_texts WHERE entry BETWEEN -1615042 AND -1615000;
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1615000,'I fear nothing! Least of all you!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14111,1,0,0,'shadron SAY_SHADRON_AGGRO'),
+(-1615001,'You are insignificant!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14112,1,0,0,'shadron SAY_SHADRON_SLAY_1'),
+(-1615002,'Such mediocre resistance!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14113,1,0,0,'shadron SAY_SHADRON_SLAY_2'),
+(-1615003,'We...are superior! How could this...be...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14118,1,0,0,'shadron SAY_SHADRON_DEATH'),
+(-1615004,'You are easily bested! ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14114,1,0,0,'shadron SAY_SHADRON_BREATH'),
+(-1615005,'I will take pity on you Sartharion, just this once.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14117,1,0,0,'shadron SAY_SHADRON_RESPOND'),
+(-1615006,'Father tought me well!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14115,1,0,0,'shadron SAY_SHADRON_SPECIAL_1'),
+(-1615007,'On your knees!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14116,1,0,0,'shadron SAY_SHADRON_SPECIAL_2'),
+(-1615008,'A Shadron Disciple appears in the Twilight!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,5,0,0,'shadron WHISPER_SHADRON_DICIPLE'),
+
+(-1615009,'You have no place here. Your place is among the departed.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14122,1,0,0,'tenebron SAY_TENEBRON_AGGRO'),
+(-1615010,'No contest.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14123,1,0,0,'tenebron SAY_TENEBRON_SLAY_1'),
+(-1615011,'Typical... Just as I was having fun.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14124,1,0,0,'tenebron SAY_TENEBRON_SLAY_2'),
+(-1615012,'I should not... have held back...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 14129,1,0,0,'tenebron SAY_TENEBRON_DEATH'),
+(-1615013,'To darkness I condemn you...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14125,1,0,0,'tenebron SAY_TENEBRON_BREATH'),
+(-1615014,'It is amusing to watch you struggle. Very well, witness how it is done.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14128,1,0,0,'tenebron SAY_TENEBRON_RESPOND'),
+(-1615015,'Arrogant little creatures! To challenge powers you do not yet understand...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14126,1,0,0,'tenebron SAY_TENEBRON_SPECIAL_1'),
+(-1615016,'I am no mere dragon! You will find I am much, much, more...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14127,1,0,0,'tenebron SAY_TENEBRON_SPECIAL_2'),
+(-1615017,'%s begins to hatch eggs in the twilight!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,5,0,0,'tenebron WHISPER_HATCH_EGGS'),
+
+(-1615018,'It is my charge to watch over these eggs. I will see you burn before any harm comes to them!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14093,1,0,0,'sartharion SAY_SARTHARION_AGGRO'),
+(-1615019,'This pathetic siege ends NOW!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14103,1,0,0,'sartharion SAY_SARTHARION_BERSERK'),
+(-1615020,'Burn, you miserable wretches!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14098, 1,0,0,'sartharion SAY_SARTHARION_BREATH'),
+(-1615021,'Shadron! Come to me, all is at risk!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14105,1,0,0,'sartharion SARTHARION_CALL_SHADRON'),
+(-1615022,'Tenebron! The eggs are yours to protect as well!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14106,1,0,0,'sartharion SAY_SARTHARION_CALL_TENEBRON'),
+(-1615023,'Vesperon! The clutch is in danger! Assist me!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14104,1,0,0,'sartharion SAY_SARTHARION_CALL_VESPERON'),
+(-1615024,'Such is the price... of failure...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14107,1,0,0,'sartharion SAY_SARTHARION_DEATH'),
+(-1615025,'Such flammable little insects....', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14099,1,0,0,'sartharion SAY_SARTHARION_SPECIAL_1'),
+(-1615026,'Your charred bones will litter the floor!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14100,1,0,0,'sartharion SAY_SARTHARION_SPECIAL_2'),
+(-1615027,'How much heat can you take?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14101,1,0,0,'sartharion SAY_SARTHARION_SPECIAL_3'),
+(-1615028,'All will be reduced to ash!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14102,1,0,0,'sartharion SAY_SARTHARION_SPECIAL_4'),
+(-1615029,'You will make a fine meal for the hatchlings.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14094,1,0,0,'sartharion SAY_SARTHARION_SLAY_1'),
+(-1615030,'You are the grave disadvantage.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14096,1,0,0,'sartharion SAY_SARTHARION_SLAY_2'),
+(-1615031,'This is why we call you lesser beeings.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14097,1,0,0,'sartharion SAY_SARTHARION_SLAY_3'),
+(-1615032,'The lava surrounding %s churns!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,5,0,0,'sartharion WHISPER_LAVA_CHURN'),
+
+(-1615033,'You pose no threat, lesser beings...give me your worst!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14133,1,0,0,'vesperon SAY_VESPERON_AGGRO'),
+(-1615034,'The least you could do is put up a fight...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14134,1,0,0,'vesperon SAY_VESPERON_SLAY_1'),
+(-1615035,'Was that the best you can do?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14135,1,0,0,'vesperon SAY_VESPERON_SLAY_2'),
+(-1615036,'I still have some...fight..in...me...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 14140,1,0,0,'vesperon SAY_VESPERON_DEATH'),
+(-1615037,'I will pick my teeth with your bones!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14136,1,0,0,'vesperon SAY_VESPERON_BREATH'),
+(-1615038,'Father was right about you, Sartharion...You are a weakling!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14139,1,0,0,'vesperon SAY_VESPERON_RESPOND'),
+(-1615039,'Aren\'t you tricky...I have a few tricks of my own...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14137,1,0,0,'vesperon SAY_VESPERON_SPECIAL_1'),
+(-1615040,'Unlike, I have many talents.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14138,1,0,0,'vesperon SAY_VESPERON_SPECIAL_2'),
+(-1615041,'A Vesperon Disciple appears in the Twilight!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,5,0,0,'shadron WHISPER_VESPERON_DICIPLE'),
+
+(-1615042,'%s begins to open a Twilight Portal!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,5,0,0,'sartharion drake WHISPER_OPEN_PORTAL');
diff --git a/sql/old/3.1.3/04572_world_script.sql b/sql/old/3.1.3/04572_world_script.sql
new file mode 100644
index 00000000000..f34a407ab17
--- /dev/null
+++ b/sql/old/3.1.3/04572_world_script.sql
@@ -0,0 +1 @@
+UPDATE instance_template SET script='instance_obsidian_sanctum' WHERE map=615;
diff --git a/sql/old/3.1.3/04577_world_scripts.sql b/sql/old/3.1.3/04577_world_scripts.sql
new file mode 100644
index 00000000000..930ebec424a
--- /dev/null
+++ b/sql/old/3.1.3/04577_world_scripts.sql
@@ -0,0 +1,10 @@
+UPDATE creature_template SET ScriptName='boss_sartharion' WHERE entry=28860;
+UPDATE creature_template SET ScriptName='mob_vesperon' WHERE entry=30449;
+UPDATE creature_template SET ScriptName='mob_shadron' WHERE entry=30451;
+UPDATE creature_template SET ScriptName='mob_tenebron' WHERE entry=30452;
+UPDATE creature_template SET ScriptName='mob_twilight_eggs' WHERE entry=30882;
+UPDATE creature_template SET ScriptName='mob_twilight_whelp' WHERE entry IN (30890, 31214);
+UPDATE creature_template SET ScriptName='mob_acolyte_of_shadron' WHERE entry=31218;
+UPDATE creature_template SET ScriptName='mob_acolyte_of_vesperon' WHERE entry=31219;
+
+UPDATE gameobject_template SET ScriptName='go_resonite_cask' WHERE entry=178145;
diff --git a/sql/old/3.1.3/04583_world_command.sql b/sql/old/3.1.3/04583_world_command.sql
new file mode 100644
index 00000000000..6c5bc49f013
--- /dev/null
+++ b/sql/old/3.1.3/04583_world_command.sql
@@ -0,0 +1 @@
+DELETE FROM `command` WHERE `name` = 'reload spell_affect';
diff --git a/sql/old/3.1.3/04594_world_scripts.sql b/sql/old/3.1.3/04594_world_scripts.sql
new file mode 100644
index 00000000000..ebdcb7f761f
--- /dev/null
+++ b/sql/old/3.1.3/04594_world_scripts.sql
@@ -0,0 +1,3 @@
+UPDATE `item_template` SET `ScriptName`='item_dart_gun' WHERE `entry`=44222;
+
+UPDATE `creature_template` SET `ScriptName`='npc_kalecgos' WHERE `entry` IN (24844, 24848);
diff --git a/sql/old/3.1.3/04597_world_command.sql b/sql/old/3.1.3/04597_world_command.sql
new file mode 100644
index 00000000000..374cbb2c632
--- /dev/null
+++ b/sql/old/3.1.3/04597_world_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` IN ('reload creature_linked_respawn', 'npc setlink');
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('reload creature_linked_respawn',2,'Syntax: .reload creature_linked_respawn\r\nReload creature_linked_respawn table.'),
+('npc setlink',2,'Syntax: .npc setlink $creatureGUID\r\n\r\nLinks respawn of selected creature to the condition that $creatureGUID defined is alive.');
diff --git a/sql/old/3.1.3/04598_world_spell_bonus_data.sql b/sql/old/3.1.3/04598_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..0127e88b5a7
--- /dev/null
+++ b/sql/old/3.1.3/04598_world_spell_bonus_data.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_bonus_data` WHERE `entry` = 53600;
diff --git a/sql/old/3.1.3/04601_world_spell_proc_event.sql b/sql/old/3.1.3/04601_world_spell_proc_event.sql
new file mode 100644
index 00000000000..0bae1d9c8d7
--- /dev/null
+++ b/sql/old/3.1.3/04601_world_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN(47569, 47570);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 47569, 0x00, 6, 0x00004000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0, 50, 0), -- Improved Shadowform (Rank 1)
+( 47570, 0x00, 6, 0x00004000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0, 100, 0); -- Improved Shadowform (Rank 2)
diff --git a/sql/old/3.1.3/04602_world_spell_bonus_data.sql b/sql/old/3.1.3/04602_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..c10cd0a9df0
--- /dev/null
+++ b/sql/old/3.1.3/04602_world_spell_bonus_data.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_bonus_data` WHERE `entry`=779;
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
+('779', '-1', '-1', '0.063', '-1', 'Druid - Swipe (Bear)');
+
+DELETE FROM `spell_bonus_data` WHERE `entry`=50256;
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
+(50256, -1, -1, 0.08, -1, 'Pet Skills - Bear (Swipe)');
diff --git a/sql/old/3.1.3/04603_world_tmp.sql b/sql/old/3.1.3/04603_world_tmp.sql
new file mode 100644
index 00000000000..6a98804447f
--- /dev/null
+++ b/sql/old/3.1.3/04603_world_tmp.sql
@@ -0,0 +1,54 @@
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=11898;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=11899;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=149045;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=149046;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=164871;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=175080;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176080;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176081;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176082;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176083;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176084;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176085;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176086;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176231;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176244;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176310;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=176495;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=177233;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=181056;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=181646;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=183169;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=183177;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=183202;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=183203;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=183407;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=183490;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=183788;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=184330;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=20649;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=20650;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=20651;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=20652;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=20653;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=20654;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=20655;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=20656;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=20657;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=20808;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=210335;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=210336;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=210349;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=211023;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=211024;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=211050;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=211051;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=211052;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=211053;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=4170;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=4171;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=47296;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=47297;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=80022;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=80023;
+UPDATE `gameobject_template` SET `flags`=40 WHERE `entry`=85556;
diff --git a/sql/old/3.1.3/04610_world.sql b/sql/old/3.1.3/04610_world.sql
new file mode 100644
index 00000000000..ba05803139d
--- /dev/null
+++ b/sql/old/3.1.3/04610_world.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_bonus_data` where `entry` IN(62124, 64382);
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
+(62124, 0.085, -1, -1, -1, 'Paladin - Hand of Reckoning'),
+(64382, -1, -1, 0.5, -1, 'Warrior - Shattering Throw');
diff --git a/sql/old/3.1.3/04610_world_scripts.sql b/sql/old/3.1.3/04610_world_scripts.sql
new file mode 100644
index 00000000000..3ea0c27181b
--- /dev/null
+++ b/sql/old/3.1.3/04610_world_scripts.sql
@@ -0,0 +1,38 @@
+UPDATE `creature_template` SET `ScriptName`='npc_injured_rainspeaker_oracle' WHERE `entry`=28217;
+
+DELETE FROM `script_waypoint` WHERE `entry` = 28217;
+INSERT INTO `script_waypoint` VALUES
+(28217, 0, 5399.96,4509.07,-131.053, 0, ''),
+(28217, 1, 5396.95,4514.84,-131.791, 0, ''),
+(28217, 2, 5395.16,4524.06,-132.335, 0, ''),
+(28217, 3, 5400.15,4526.84,-136.058, 0, ''),
+(28217, 4, 5403.53,4527.2,-138.907, 0, ''),
+(28217, 5, 5406.51,4527.47,-141.983, 0, ''),
+(28217, 6, 5409.16,4526.37,-143.902, 0, ''),
+(28217, 7, 5412.04,4523.05,-143.998, 0, ''),
+(28217, 8, 5415.23,4521.19,-143.961, 0, ''),
+(28217, 9, 5417.74,4519.74,-144.292, 0, ''),
+(28217, 10, 5421.77,4519.79,-145.36, 0, ''),
+(28217, 11, 5426.75,4520.53,-147.931, 0, ''),
+(28217, 12, 5429.06,4521.82,-148.919, 0, ''),
+(28217, 13, 5436.52,4534.63,-149.618, 0, ''),
+(28217, 14, 5441.52,4542.23,-149.367, 0, ''),
+(28217, 15, 5449.06,4553.47,-149.187, 0, ''),
+(28217, 16, 5453.5,4565.61,-147.526, 0, ''),
+(28217, 17, 5455.04,4578.6,-147.147, 0, ''),
+(28217, 18, 5462.32,4591.69,-147.738,0, ''),
+(28217, 19, 5470.04,4603.04,-146.044,0, ''),
+(28217, 20, 5475.93,4608.86,-143.152, 0, ''),
+(28217, 21, 5484.48,4613.78,-139.19, 0, ''),
+(28217, 22, 5489.03,4616.56,-137.796, 0, ''),
+(28217, 23, 5497.92,4629.89,-135.556, 0, ''),
+(28217, 24, 5514.48,4638.82,-136.19, 0, ''),
+(28217, 25, 5570,4654.5,-134.947, 0, ''),
+(28217, 26, 5578.32,4653.29,-136.896, 0, ''),
+(28217, 27, 5596.56,4642.26,-136.593, 0, ''),
+(28217, 28, 5634.02,4600.35,-137.291,2000,'');
+
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1571000, 'You save me! We thank you. We going to go back to village now. You come too... you can stay with us! Puppy-men kind of mean anyway. ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'npc_injured_rainspeaker_oracle SAY_END_IRO'),
+(-1571001, 'Let me know when you ready to go, okay?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'npc_injured_rainspeaker_oracle SAY_QUEST_ACCEPT_IRO '),
+(-1571002, 'Home time!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'npc_injured_rainspeaker_oracle SAY_START_IRO');
diff --git a/sql/old/3.1.3/04615_world.sql b/sql/old/3.1.3/04615_world.sql
new file mode 100644
index 00000000000..8b5ad1ac379
--- /dev/null
+++ b/sql/old/3.1.3/04615_world.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN(47585, 64382);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( 47585, 60069, 2, 'Dispersion (transform/regen)'),
+( 64382, 64380, 0, 'Shattering Throw'),
+( 47585, 63230, 2, 'Dispersion (immunity)');
diff --git a/sql/old/3.1.3/04643_world_8237_creature_template.sql b/sql/old/3.1.3/04643_world_8237_creature_template.sql
new file mode 100644
index 00000000000..d2ac804df6f
--- /dev/null
+++ b/sql/old/3.1.3/04643_world_8237_creature_template.sql
@@ -0,0 +1,4 @@
+-- ALTER TABLE db_version CHANGE COLUMN required_8227_01_mangos_spell_proc_event required_8237_01_mangos_creature_template bit;
+
+UPDATE creature_template
+ SET mindmg = ROUND(mindmg + attackpower), maxdmg=ROUND(maxdmg+attackpower);
diff --git a/sql/old/3.1.3/04649_world_8250_spell_threat.sql b/sql/old/3.1.3/04649_world_8250_spell_threat.sql
new file mode 100644
index 00000000000..e71aa25ca9c
--- /dev/null
+++ b/sql/old/3.1.3/04649_world_8250_spell_threat.sql
@@ -0,0 +1,3 @@
+-- ALTER TABLE db_version CHANGE COLUMN required_8249_02_mangos_spell_chain required_8250_01_mangos_spell_threat bit;
+
+DELETE FROM `spell_threat` WHERE `entry` IN (778,9749,9907,14274,15629,15630,15631,15632,17390,17391,17392,26993,27011);
diff --git a/sql/old/3.1.3/04663_world.sql b/sql/old/3.1.3/04663_world.sql
new file mode 100644
index 00000000000..7f63011bb5c
--- /dev/null
+++ b/sql/old/3.1.3/04663_world.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` = 50453;
+INSERT INTO `spell_proc_event` (`entry`, `procFlags`, `CustomChance`) VALUES ('50453', '0x00000004', '100');
+
+DELETE FROM `creature_template_addon` WHERE `entry` = 28017;
+INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES ('28017', '50453 0');
diff --git a/sql/old/3.1.3/04696_world_spell_proc_event.sql b/sql/old/3.1.3/04696_world_spell_proc_event.sql
new file mode 100644
index 00000000000..2fa4a8bf52d
--- /dev/null
+++ b/sql/old/3.1.3/04696_world_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (56636,56637,56638);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 56636, 0x00, 4, 0x00000020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 6), -- Taste for Blood (Rank 1)
+( 56637, 0x00, 4, 0x00000020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 6), -- Taste for Blood (Rank 2)
+( 56638, 0x00, 4, 0x00000020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 6); -- Taste for Blood (Rank 3)
diff --git a/sql/old/3.1.3/04697_world_spell_proc_event.sql b/sql/old/3.1.3/04697_world_spell_proc_event.sql
new file mode 100644
index 00000000000..d5945488b36
--- /dev/null
+++ b/sql/old/3.1.3/04697_world_spell_proc_event.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_proc_event` WHERE `entry` = 50453;
diff --git a/sql/old/3.1.3/04705_world_trinity_string.sql b/sql/old/3.1.3/04705_world_trinity_string.sql
new file mode 100644
index 00000000000..d16ac64b90c
--- /dev/null
+++ b/sql/old/3.1.3/04705_world_trinity_string.sql
@@ -0,0 +1,2 @@
+DELETE FROM `trinity_string` WHERE `entry` = 6616;
+INSERT INTO `trinity_string` (`entry`,`content_default`) VALUES ('6616','Silence is ON for %s');
diff --git a/sql/old/3.1.3/04725_world_scripts.sql b/sql/old/3.1.3/04725_world_scripts.sql
new file mode 100644
index 00000000000..92af3218a59
--- /dev/null
+++ b/sql/old/3.1.3/04725_world_scripts.sql
@@ -0,0 +1,5 @@
+UPDATE `creature_template` SET `minlevel`='80' WHERE (`entry`='22207');
+UPDATE `creature_template` SET `maxlevel`='80' WHERE (`entry`='22207');
+UPDATE `creature_template` SET `faction_A`='14' WHERE (`entry`='22207');
+UPDATE `creature_template` SET `faction_H`='14' WHERE (`entry`='22207');
+UPDATE `creature_template` SET `flags_extra`='128' WHERE (`entry`='22207');
diff --git a/sql/old/3.1.3/04737_world_TDB.sql b/sql/old/3.1.3/04737_world_TDB.sql
new file mode 100644
index 00000000000..df24155cb04
--- /dev/null
+++ b/sql/old/3.1.3/04737_world_TDB.sql
@@ -0,0 +1,16 @@
+REPLACE INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `faction`, `flags`, `size`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `ScriptName`) VALUES
+(178365, 1, 5771, 'Alliance Banner', '', '', '', 83, 0, 1, 0, 0, 0, 0, 0, 1479, 196608, 180100, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(178925, 1, 5651, 'Alliance Banner', '', '', '', 83, 0, 1, 0, 0, 0, 0, 0, 1479, 196608, 180421, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(178940, 1, 5653, 'Contested Banner', '', '', '', 83, 0, 1, 0, 0, 0, 0, 0, 1479, 196608, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(178943, 1, 5652, 'Horde Banner', '', '', '', 84, 0, 1, 0, 0, 0, 0, 0, 1479, 196608, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(179286, 1, 5772, 'Contested Banner', '', '', '', 83, 0, 1, 0, 0, 0, 0, 0, 1479, 196608, 180102, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(179287, 1, 5774, 'Contested Banner', '', '', '', 84, 0, 1, 0, 0, 0, 0, 0, 1479, 0, 180102, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(179435, 1, 5654, 'Contested Banner', '', '', '', 84, 0, 1, 0, 0, 0, 0, 0, 1479, 196608, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(180100, 6, 2232, 'Alliance Banner Aura', '', '', '', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(180101, 6, 1311, 'Horde Banner Aura', '', '', '', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(180102, 6, 266, 'Neutral Banner Aura', '', '', '', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(180418, 1, 6211, 'Snowfall Banner', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 1479, 196608, 180100, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(180421, 6, 2232, 'Alliance Banner Aura, Large', '', '', '', 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(180422, 6, 1311, 'Horde Banner Aura, Large', '', '', '', 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(180423, 6, 266, 'Neutral Banner Aura, Large', '', '', '', 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ''),
+(180424, 0, 3751, 'Alterac Valley Gate', '', '', '', 100, 0, 3.5, 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, '');
diff --git a/sql/old/3.1.3/04738_world_spell_proc_event.sql b/sql/old/3.1.3/04738_world_spell_proc_event.sql
new file mode 100644
index 00000000000..27107a19ef5
--- /dev/null
+++ b/sql/old/3.1.3/04738_world_spell_proc_event.sql
@@ -0,0 +1,2 @@
+DELETE FROM `spell_proc_event` WHERE (`entry`='56375');
+INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`procFlags`) VALUES ('56375','0','3',0x01000000,0x00010000);
diff --git a/sql/old/3.1.3/04741_world.sql b/sql/old/3.1.3/04741_world.sql
new file mode 100644
index 00000000000..8b2a77b619e
--- /dev/null
+++ b/sql/old/3.1.3/04741_world.sql
@@ -0,0 +1,3 @@
+DELETE FROM `trinity_string` where `entry` IN(1333);
+INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES
+(1333, 'The Battle for Alterac Valley begins in 2 minutes.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
diff --git a/sql/old/3.1.3/04742_world_spell_bonus_data.sql b/sql/old/3.1.3/04742_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..e80a0b07086
--- /dev/null
+++ b/sql/old/3.1.3/04742_world_spell_bonus_data.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_bonus_data` WHERE `entry`=42243;
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
+(42243, -1, -1, 0.07, -1, 'Hunter - Volley');
diff --git a/sql/old/3.1.3/04742_world_spell_proc_event.sql b/sql/old/3.1.3/04742_world_spell_proc_event.sql
new file mode 100644
index 00000000000..e4a3bcd6d17
--- /dev/null
+++ b/sql/old/3.1.3/04742_world_spell_proc_event.sql
@@ -0,0 +1,2 @@
+DELETE FROM `spell_proc_event` WHERE (`entry`='64928');
+INSERT INTO `spell_proc_event` (`entry`, `SpellFamilyName`, `SpellFamilyMask0`, `procEx`) VALUES (64928, 11, 0x00000001, 0x00000002);
diff --git a/sql/old/3.1.3/04745_world_access_requirement.sql b/sql/old/3.1.3/04745_world_access_requirement.sql
new file mode 100644
index 00000000000..4dbb66a8bb1
--- /dev/null
+++ b/sql/old/3.1.3/04745_world_access_requirement.sql
@@ -0,0 +1,46 @@
+-- BC Dungeons --
+UPDATE `access_requirement` SET `heroic_level_min` = 70 WHERE `id` IN
+(
+ 4404, -- Auchenai Crypts --
+ 4405, -- Mana-Tombs --
+ 4406, -- Sethekk Halls --
+ 4407, -- Shadow Labyrinth --
+ 4321, -- Old Hillsbrad Foothills --
+ 4320, -- The Black Morass --
+ 4365, -- The Slave Pens --
+ 4364, -- The Steamvault --
+ 4363, -- The Underbog --
+ 4150, -- Hellfire Ramparts --
+ 4152, -- The Blood Furnace --
+ 4151, -- The Shattered Halls --
+ 4887, -- Magisters' Terrace --
+ 4468, -- The Arcatraz --
+ 4467, -- The Botanica --
+ 4469 -- The Mechanar --
+);
+
+-- WOTLK Dungeons --
+UPDATE `access_requirement` SET `heroic_level_min` = 80 WHERE `id` IN
+(
+ 5215, -- Ahn'kahet: The Old Kingdom --
+ 5117, -- Azjol-Nerub --
+ 5150, -- The Culling of Stratholme --
+ 4998, -- Drak'Tharon Keep --
+ 5206, -- Gundrak --
+ 4983, -- The Nexus --
+ 5246, -- The Oculus --
+ 5209, -- The Violet Hold --
+ 5093, -- Halls of Lightning --
+ 5010, -- Halls of Stone --
+ 4745, -- Utgarde Keep --
+ 4747 -- Utgarde Pinnacle --
+);
+
+-- WOTLK Raids --
+UPDATE `access_requirement` SET `heroic_level_min` = 80 WHERE `id` IN
+(
+ 4156, -- Naxxramas --
+ 5290, -- The Eye of Eternity --
+ 5243, -- The Obsidian Sanctum --
+ 5379 -- Ulduar --
+);
diff --git a/sql/old/3.1.3/04748_world.sql b/sql/old/3.1.3/04748_world.sql
new file mode 100644
index 00000000000..00834293554
--- /dev/null
+++ b/sql/old/3.1.3/04748_world.sql
@@ -0,0 +1,2 @@
+UPDATE `item_template` SET `ScriptName`='item_mysterious_egg' WHERE `entry` IN(39878);
+UPDATE `item_template` SET `ScriptName`='item_disgusting_jar' WHERE `entry` IN(44717);
diff --git a/sql/old/3.1.3/04751_world_scripts.sql b/sql/old/3.1.3/04751_world_scripts.sql
new file mode 100644
index 00000000000..5bedf2df1c4
--- /dev/null
+++ b/sql/old/3.1.3/04751_world_scripts.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_training_dummy', `flags_extra`='262144', `mechanic_immune_mask`='0', `faction_A`='7', `faction_H`='7' WHERE `entry` IN (17578, 24792, 32543, 32546, 32542, 32545, 30527, 31143, 31144, 31146, 32541, 32666, 32667);
diff --git a/sql/old/3.1.3/04753_world.sql b/sql/old/3.1.3/04753_world.sql
new file mode 100644
index 00000000000..059a6427b9b
--- /dev/null
+++ b/sql/old/3.1.3/04753_world.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_script_target` WHERE `entry` IN (58836, 48743, 50524, 50515);
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(58836, 3, 31216),
+(50524, 3, 27829),
+(50515, 3, 27829);
diff --git a/sql/old/3.1.3/04755_world_scripts.sql b/sql/old/3.1.3/04755_world_scripts.sql
new file mode 100644
index 00000000000..74e50ef8eef
--- /dev/null
+++ b/sql/old/3.1.3/04755_world_scripts.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName`='go_shrine_of_the_birds' WHERE `entry` IN (185547,185553,185551);
diff --git a/sql/old/3.1.3/04756_world.sql b/sql/old/3.1.3/04756_world.sql
new file mode 100644
index 00000000000..abde52f0a9e
--- /dev/null
+++ b/sql/old/3.1.3/04756_world.sql
@@ -0,0 +1,10 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN(54639, 54638, 54637, 61433, 61434, 49467, 50033, 50034);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 54639, 0x00, 15, 0x00400000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Blood of the north
+( 54638, 0x00, 15, 0x00400000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Blood of the north
+( 54637, 0x00, 15, 0x00400000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Blood of the north
+( 61433, 0x00, 15, 0x00400000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Blood of the north
+( 61434, 0x00, 15, 0x00400000, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Blood of the north
+( 49467, 0x00, 15, 0x00000010, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Death Rune Mastery
+( 50033, 0x00, 15, 0x00000010, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Death Rune Mastery
+( 50034, 0x00, 15, 0x00000010, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Death Rune Mastery
diff --git a/sql/old/3.1.3/04759_world.sql b/sql/old/3.1.3/04759_world.sql
new file mode 100644
index 00000000000..fa1170f9c42
--- /dev/null
+++ b/sql/old/3.1.3/04759_world.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN(58872, 58874);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 58872, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0, 0, 0), -- Damage Shield (Rank 1)
+( 58874, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0, 0, 0); -- Damage Shield (Rank 2)
diff --git a/sql/old/3.1.3/04761_world.sql b/sql/old/3.1.3/04761_world.sql
new file mode 100644
index 00000000000..563258f6c8d
--- /dev/null
+++ b/sql/old/3.1.3/04761_world.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_script_target` WHERE `entry` IN (52173, 60243);
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(52173, 3, 28267),
+(60243, 3, 11236);
diff --git a/sql/old/3.1.3/04762_8294_01_mangos_playercreateinfo_action.sql b/sql/old/3.1.3/04762_8294_01_mangos_playercreateinfo_action.sql
new file mode 100644
index 00000000000..8a600ddbbe1
--- /dev/null
+++ b/sql/old/3.1.3/04762_8294_01_mangos_playercreateinfo_action.sql
@@ -0,0 +1,54 @@
+-- ALTER TABLE db_version CHANGE COLUMN required_8254_01_mangos_spell_proc_event required_8294_01_mangos_playercreateinfo_action bit;
+
+-- Remove Double attack icons for Night Elf Warrior
+DELETE FROM playercreateinfo_action WHERE race=4 AND class=1 AND button=73;
+-- Move Heroic Strike to correct location for Night Elf Warrior
+DELETE FROM playercreateinfo_action WHERE race=4 AND class=1 AND button=74;
+INSERT INTO playercreateinfo_action VALUES (4,1,73,78,0);
+-- Moved Shadowmeld to correct location for Night Elf Warrior
+DELETE FROM playercreateinfo_action WHERE race=4 AND class=1 AND button IN (82,83);
+INSERT INTO playercreateinfo_action VALUES (4,1,82,58984,0);
+-- Add correct Tough Jerky location for Night elf Warrior
+DELETE FROM playercreateinfo_action WHERE race=4 AND class=1 AND button=84;
+INSERT INTO playercreateinfo_action VALUES (4,1,83,117,128);
+
+-- Moved Shadowmeld to correct location for Night Elf Druid
+DELETE FROM playercreateinfo_action WHERE race=4 AND class=11 AND button IN (3,9);
+INSERT INTO playercreateinfo_action VALUES (4,11,9,58984,0);
+
+-- Moved Shadowmeld to correct location for Night Elf Rogue
+DELETE FROM playercreateinfo_action WHERE race=4 AND class=4 AND button IN (4,10);
+INSERT INTO playercreateinfo_action VALUES (4,4,10,58984,0);
+-- Add Shadowmeld For Night Elf Rogue Shadow form bar
+DELETE FROM playercreateinfo_action WHERE race=4 AND class=4 AND button = 82;
+INSERT INTO playercreateinfo_action VALUES (4,4,82,58984,0);
+
+-- Replace Tough Jerky for Gnome Death Knight Action Bar
+DELETE FROM playercreateinfo_action WHERE race=7 AND class=6 AND button IN (11,83);
+INSERT INTO playercreateinfo_action VALUES
+(7,6,11,41751,128),
+(7,6,83,41751,128);
+
+-- Moved Gift of Naaru to correct location for Draenei Death Knight
+DELETE FROM playercreateinfo_action WHERE race=11 AND class=6 AND button IN (6,10);
+INSERT INTO playercreateinfo_action VALUES (11,6,10,59545,0);
+-- Add Black Mushroom to Draenei Death Knight Action Bar
+DELETE FROM playercreateinfo_action WHERE race=11 AND class=6 AND button IN (11);
+INSERT INTO playercreateinfo_action VALUES
+(11,6,11,41751,128);
+
+-- Moved Blood Fury to correct action bar location for Orc Hunter
+DELETE FROM playercreateinfo_action WHERE race=2 AND class=3 AND button IN (4,9);
+INSERT INTO playercreateinfo_action VALUES (2,3,9,20572,0);
+
+-- Moved Berserking to correct action bar location for Non-Heroic Troll classes
+DELETE FROM playercreateinfo_action WHERE race=8 AND class IN (3,5,7,8) AND button IN (3,76);
+INSERT INTO playercreateinfo_action VALUES
+(8,3,3,20554,0),
+(8,5,3,20554,0),
+(8,7,3,20554,0),
+(8,8,3,20554,0);
+
+-- Updated and moved Berserking skill for Troll Rogue
+DELETE FROM playercreateinfo_action WHERE race=8 AND class=4 AND button IN (4,76);
+INSERT INTO playercreateinfo_action VALUES (8,4,4,26297,0);
diff --git a/sql/old/3.1.3/04783_world_scripts.sql b/sql/old/3.1.3/04783_world_scripts.sql
new file mode 100644
index 00000000000..e2103469595
--- /dev/null
+++ b/sql/old/3.1.3/04783_world_scripts.sql
@@ -0,0 +1,15 @@
+UPDATE creature_template set ScriptName = 'boss_bjarngrim' where entry =28586;
+UPDATE creature_template set ScriptName = 'mob_stormforged_lieutenant' where entry =29240;
+DELETE FROM script_texts where entry IN (-1602001,-1602000,-1602002,-1602003,-1602004,-1602005,-1602006,-1602007,-1602008,-1602009,-1602010);
+INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
+(-1602000,'I am the greatest of my father\'s sons! Your end has come!',14149,1,0,0,'bjarngrim SAY_AGGRO'),
+(-1602001,'So ends your curse!',14153,1,0,0,'bjarngrim SAY_SLAY_1'),
+(-1602002,'Flesh... is... weak!',14154,1,0,0,'bjarngrim SAY_SLAY_2'),
+(-1602003,'...',14155,1,0,0,'bjarngrim SAY_SLAY_3'),
+(-1602004,'How can it be...? Flesh is not... stronger!',14156,1,0,0,'bjarngrim SAY_DEATH'),
+(-1602005,'Defend yourself, for all the good it will do!',14151,1,0,0,'bjarngrim SAY_BATTLE_STANCE'),
+(-1602006,'%s switches to Battle Stance!',0,3,0,0,'bjarngrim EMOTE_BATTLE_STANCE'),
+(-1602007,'GRAAAAAH! Behold the fury of iron and steel!',14152,1,0,0,'bjarngrim SAY_BERSEKER_STANCE'),
+(-1602008,'%s switches to Berserker Stance!',0,3,0,0,'bjarngrim EMOTE_BERSEKER_STANCE'),
+(-1602009,'Give me your worst!',14150,1,0,0,'bjarngrim SAY_DEFENSIVE_STANCE'),
+(-1602010,'%s switches to Defensive Stance!',0,3,0,0,'bjarngrim EMOTE_DEFENSIVE_STANCE');
diff --git a/sql/old/3.1.3/04787_script_texts.sql b/sql/old/3.1.3/04787_script_texts.sql
new file mode 100644
index 00000000000..3c879a44bbb
--- /dev/null
+++ b/sql/old/3.1.3/04787_script_texts.sql
@@ -0,0 +1,23 @@
+UPDATE `script_texts` SET `entry`=`entry`+20 WHERE `entry` IN(-1574001,-1574002,-1574003,-1574004);
+UPDATE `script_texts` SET `entry`=-1574001 WHERE `entry`=-1574023;
+UPDATE `script_texts` SET `entry`=-1574002 WHERE `entry`=-1574024;
+UPDATE `script_texts` SET `entry`=-1574003 WHERE `entry`=-1574021;
+UPDATE `script_texts` SET `entry`=-1574004 WHERE `entry`=-1574022;
+
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1574005,'I\'ll paint my face with your blood!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13207,1,0,0,'ingvar SAY_AGGRO_FIRST'),
+(-1574006,'I return! A second chance to carve out your skull!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13209,1,0,0,'ingvar SAY_AGGRO_SECOND'),
+(-1574007,'My life for the... death god!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13213,1,0,0,'ingvar SAY_DEATH_FIRST'),
+(-1574008,'No! I can do... better! I can...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13211,1,0,0,'ingvar SAY_DEATH_SECOND'),
+(-1574009,'Mjul orm agn gjor!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13212,1,0,0,'ingvar SAY_KILL_FIRST'),
+(-1574010,'I am a warrior born!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13214,1,0,0,'ingvar SAY_KILL_SECOND'),
+(-1574011,'Dalronn! See if you can muster the nerve to join my attack!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13229,1,0,0,'skarvald YELL_SKARVALD_AGGRO'),
+(-1574012,'Not... over... yet.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13230,1,0,0,'skarvald YELL_SKARVALD_DAL_DIED'),
+(-1574013,'A warrior\'s death.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13231,1,0,0,'skarvald YELL_SKARVALD_SKA_DIEDFIRST'),
+(-1574014,'???', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13232,1,0,0,'skarvald YELL_SKARVALD_KILL'),
+(-1574015,'Pagh! What sort of necromancer lets death stop him? I knew you were worthless!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13233,1,0,0,'skarvald YELL_SKARVALD_DAL_DIEDFIRST'),
+(-1574016,'By all means, don\'t assess the situation, you halfwit! Just jump into the fray!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13199,1,0,0,'dalronn YELL_DALRONN_AGGRO'),
+(-1574017,'See... you... soon.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13200,1,0,0,'dalronn YELL_DALRONN_SKA_DIED'),
+(-1574018,'There\'s no... greater... glory.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13201,1,0,0,'dalronn YELL_DALRONN_DAL_DIEDFIRST'),
+(-1574019,'You may serve me yet.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13202,1,0,0,'dalronn YELL_DALRONN_KILL'),
+(-1574020,'Skarvald, you incompetent slug! Return and make yourself useful!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13203,1,0,0,'dalronn YELL_DALRONN_SKA_DIEDFIRST');
diff --git a/sql/old/3.1.3/04793_world_scripts.sql b/sql/old/3.1.3/04793_world_scripts.sql
new file mode 100644
index 00000000000..8968f61919f
--- /dev/null
+++ b/sql/old/3.1.3/04793_world_scripts.sql
@@ -0,0 +1,16 @@
+UPDATE item_template SET ScriptName='' WHERE entry=34368;
+UPDATE item_template SET ScriptName='' WHERE entry=31129;
+UPDATE item_template SET ScriptName='' WHERE entry=44222;
+UPDATE item_template SET ScriptName='' WHERE entry=22473;
+UPDATE item_template SET ScriptName='' WHERE entry IN (9606,9618,9619,9620,9621);
+UPDATE item_template SET ScriptName='' WHERE entry=30656;
+UPDATE item_template SET ScriptName='' WHERE entry=34255;
+UPDATE item_template SET ScriptName='' WHERE entry=32825;
+UPDATE item_template SET ScriptName='' WHERE entry=32321;
+UPDATE item_template SET ScriptName='' WHERE entry IN (15908,15911,15913,15914,15915,15916,15917,15919,15920,15921,15922,15923,23697,23702,23703,23896,23897,23898);
+UPDATE item_template SET ScriptName='' WHERE entry=8149;
+UPDATE item_template SET ScriptName='' WHERE entry=30259;
+UPDATE item_template SET ScriptName='' WHERE entry=10699;
+UPDATE item_template SET ScriptName='' WHERE entry=31463;
+UPDATE item_template SET ScriptName='' WHERE entry=22962;
+UPDATE item_template SET ScriptName='' WHERE entry=28132;
diff --git a/sql/old/3.1.3/04795_world_scripts_converter.sql b/sql/old/3.1.3/04795_world_scripts_converter.sql
new file mode 100644
index 00000000000..ab0ea355659
--- /dev/null
+++ b/sql/old/3.1.3/04795_world_scripts_converter.sql
@@ -0,0 +1,13 @@
+INSERT INTO creature_template (entry, spell1, spell2, spell3, spell4, spell5, spell6, spell7, spell8) VALUES
+(29987, 55645, 0, 0, 0, 0, 0, 0, 27892), # Unrelenting Trainee (H)
+(29985, 27825, 0, 0, 0, 0, 0, 0, 27928), # Unrelenting Death Knight (H)
+(29986, 55638, 55608, 0, 0, 0, 0, 0, 27935) # Unrelenting Rider (H)
+ON DUPLICATE KEY UPDATE
+spell1 = VALUES(spell1),
+spell2 = VALUES(spell2),
+spell3 = VALUES(spell3),
+spell4 = VALUES(spell4),
+spell5 = VALUES(spell5),
+spell6 = VALUES(spell6),
+spell7 = VALUES(spell7),
+spell8 = VALUES(spell8);
diff --git a/sql/old/3.1.3/04803_script_texts.sql b/sql/old/3.1.3/04803_script_texts.sql
new file mode 100644
index 00000000000..a91fa99c22b
--- /dev/null
+++ b/sql/old/3.1.3/04803_script_texts.sql
@@ -0,0 +1,3 @@
+DELETE FROM script_texts WHERE entry=-1000431;
+INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
+(-1000431,'Okay, okay... gimme a minute to rest now. You gone and beat me up good.',0,0,14,1,'calvin SAY_COMPLETE');
diff --git a/sql/old/3.1.3/04806_script_texts.sql b/sql/old/3.1.3/04806_script_texts.sql
new file mode 100644
index 00000000000..1a3875c40cd
--- /dev/null
+++ b/sql/old/3.1.3/04806_script_texts.sql
@@ -0,0 +1 @@
+UPDATE script_texts SET language=1, emote=14 WHERE entry=-1000431;
diff --git a/sql/old/3.1.3/04807_script_texts.sql b/sql/old/3.1.3/04807_script_texts.sql
new file mode 100644
index 00000000000..573c44b2fed
--- /dev/null
+++ b/sql/old/3.1.3/04807_script_texts.sql
@@ -0,0 +1,5 @@
+DELETE FROM script_texts WHERE entry IN(-1590000,-1590001,-1590002);
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1590000, 'Emalon the Storm Watcher overcharges a Tempest Minion!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 3, 0, 0, 'emalon EMOTE_OVERCHARGE_TEMPEST_MINION'),
+(-1590001, 'A Tempest Minion appears to defend Emalon!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 3, 0, 0, 'emalon EMOTE_MINION_RESPAWN'),
+(-1590002, 'Archavon the Stone Watcher goes into a berserker rage!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 2, 0, 0, 'archavon EMOTE_BERSERK');
diff --git a/sql/old/3.1.3/04831_script_texts.sql b/sql/old/3.1.3/04831_script_texts.sql
new file mode 100644
index 00000000000..5df8d3fd426
--- /dev/null
+++ b/sql/old/3.1.3/04831_script_texts.sql
@@ -0,0 +1,8 @@
+DELETE FROM script_texts WHERE entry IN(-1609017,-1609018,-1609019,-1609020,-1609021,-1609022);
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1609017,'No potions!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'dk_initiate SAY_DUEL_A'),
+(-1609018,'Remember this day, $n, for it is the day that you will be thoroughly owned.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'dk_initiate SAY_DUEL_B'),
+(-1609019,'I\'m going to tear your heart out, cupcake!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'dk_initiate SAY_DUEL_C'),
+(-1609020,'Don\'t make me laugh.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'dk_initiate SAY_DUEL_D'),
+(-1609021,'Here come the tears...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'dk_initiate SAY_DUEL_E'),
+(-1609022,'You have challenged death itself!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'dk_initiate SAY_DUEL_F');
diff --git a/sql/old/3.1.3/04836_world_announce.sql b/sql/old/3.1.3/04836_world_announce.sql
new file mode 100644
index 00000000000..1e8920baa7c
--- /dev/null
+++ b/sql/old/3.1.3/04836_world_announce.sql
@@ -0,0 +1,15 @@
+DROP TABLE IF EXISTS `autobroadcast`;
+CREATE TABLE `autobroadcast` (
+`id` int(11) NOT NULL AUTO_INCREMENT,
+`text` longtext NOT NULL,
+PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+DELETE FROM `trinity_string` WHERE `entry` = 11000;
+INSERT INTO `trinity_string` (entry, content_default, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8)
+VALUES (11000, '|cffffff00[|c00077766Autobroadcast|cffffff00]: |cFFF222FF%s|r', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+
+-- optional examples
+-- insert into `autobroadcast` (`id`, `text`) values('1','All Battlegrounds and Arena's work on this server.');
+-- insert into `autobroadcast` (`id`, `text`) values('2','This server has 2 realms, The other realm is a PVP instant level 70 realm. Try it!');
+-- insert into `autobroadcast` (`id`, `text`) values('3','The Auction House on this server is always full, because we use an AH Bot.');
diff --git a/sql/old/3.1.3/04841_world_scripts.sql b/sql/old/3.1.3/04841_world_scripts.sql
new file mode 100644
index 00000000000..543e18a259a
--- /dev/null
+++ b/sql/old/3.1.3/04841_world_scripts.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template` SET `ScriptName`='mob_archavon_warder' WHERE `entry`=32353;
+UPDATE `creature_template` SET `ScriptName`='boss_emalon' WHERE `entry`=33993;
+UPDATE `creature_template` SET `ScriptName`='mob_tempest_minion' WHERE `entry`=33998;
+UPDATE `instance_template` SET `script`='instance_archavon' WHERE `map`=624;
diff --git a/sql/old/3.1.3/04854_world_scripts.sql b/sql/old/3.1.3/04854_world_scripts.sql
new file mode 100644
index 00000000000..369d68d4551
--- /dev/null
+++ b/sql/old/3.1.3/04854_world_scripts.sql
@@ -0,0 +1,35 @@
+UPDATE creature_template SET scriptname = "boss_flame_leviathan" WHERE entry = 33113;
+UPDATE creature_template SET scriptname = "boss_flame_leviathan_turret" WHERE entry = 33139;
+UPDATE creature_template SET scriptname = "boss_flame_leviathan_seat" WHERE entry = 33114;
+UPDATE creature_template SET scriptname = "boss_flame_leviathan_defense_turret" WHERE entry = 33142;
+UPDATE creature_template SET scriptname = "boss_flame_leviathan_overload_device" WHERE entry = 33143;
+UPDATE creature_template SET scriptname = "boss_razorscale" WHERE entry = 33186;
+
+INSERT INTO creature_template (entry, vehicleid) VALUES
+(33113, 340), # Flame Leviathan
+(33114, 341) # Flame Leviathan Seat
+ON DUPLICATE KEY UPDATE
+vehicleid = VALUES(vehicleid);
+
+UPDATE creature_template SET flags_extra = 128 WHERE entry IN (33114);
+
+INSERT INTO creature_template (entry, spell1, spell2, spell3, spell4, spell5, spell6, vehicleid) VALUES
+(33062, 62974, 62286, 62299, 64660, 0, 0, 335), # Salvaged Chopper
+(33109, 62306, 62490, 62308, 62324, 0, 0, 338), # Salvaged Demolisher
+(33167, 62634, 64979, 62479, 62471, 0, 62428, 345), # Salvaged Demolisher Mechanic Seat
+(33060, 62345, 62522, 62346, 0, 0, 0, 336), # Salvaged Siege Engine
+(33067, 62358, 62359, 64677, 0, 0, 0, 337) # Salvaged Siege Turret
+ON DUPLICATE KEY UPDATE
+spell1 = VALUES(spell1),
+spell2 = VALUES(spell2),
+spell3 = VALUES(spell3),
+spell4 = VALUES(spell4),
+spell5 = VALUES(spell5),
+spell6 = VALUES(spell6),
+vehicleid = VALUES(vehicleid);
+
+DELETE FROM `spell_script_target` WHERE `entry` IN (62374,62399);
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(62374, 1, 33060), # Pursued
+(62374, 1, 33109),
+(62399, 1, 33139); # Overload Circuit
diff --git a/sql/old/3.1.3/04859_8332_01_realmd_realmcharacters.sql b/sql/old/3.1.3/04859_8332_01_realmd_realmcharacters.sql
new file mode 100644
index 00000000000..c7adb23d890
--- /dev/null
+++ b/sql/old/3.1.3/04859_8332_01_realmd_realmcharacters.sql
@@ -0,0 +1,4 @@
+-- ALTER TABLE realmd_db_version CHANGE COLUMN required_7938_01_realmd_account required_8332_01_realmd_realmcharacters bit;
+
+ALTER TABLE realmcharacters
+ ADD KEY (acctid);
diff --git a/sql/old/3.1.3/04862_world_linked_spell.sql b/sql/old/3.1.3/04862_world_linked_spell.sql
new file mode 100644
index 00000000000..a892d0a8490
--- /dev/null
+++ b/sql/old/3.1.3/04862_world_linked_spell.sql
@@ -0,0 +1,11 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (19574,34471);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`)
+VALUES
+( 19574, 24395, 2, 'Beast Within'),
+( 19574, 24396, 2, 'Beast Within'),
+( 19574, 24397, 2, 'Beast Within'),
+( 19574, 26592, 2, 'Beast Within'),
+( 34471, 24395, 2, 'Beast Within'),
+( 34471, 24396, 2, 'Beast Within'),
+( 34471, 24397, 2, 'Beast Within'),
+( 34471, 26592, 2, 'Beast Within');
diff --git a/sql/old/3.1.3/04868_world_scripts.sql b/sql/old/3.1.3/04868_world_scripts.sql
new file mode 100644
index 00000000000..660d34ee7f4
--- /dev/null
+++ b/sql/old/3.1.3/04868_world_scripts.sql
@@ -0,0 +1,57 @@
+INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
+(-1043000,'At last! Naralex can be awakened! Come aid me, brave adventurers!',0,1,0,0,'Disciple SAY_AT_LAST'),
+(-1043001,'I must make the necessary preparations before the awakening ritual can begin. You must protect me!',0,0,0,0,'Disciple SAY_MAKE_PREPARATIONS'),
+(-1043002,'These caverns were once a temple of promise for regrowth in the Barrens. Now, they are the halls of nightmares.',0,0,0,0,'Disciple SAY_TEMPLE_OF_PROMISE'),
+(-1043003,'Come. We must continue. There is much to be done before we can pull Naralex from his nightmare.',0,0,0,0,'Disciple SAY_MUST_CONTINUE'),
+(-1043004,'Within this circle of fire I must cast the spell to banish the spirits of the slain Fanglords.',0,0,0,0,'Disciple SAY_BANISH_THE_SPIRITS'),
+(-1043005,'The caverns have been purified. To Naralex\'s chamber we go!',0,0,0,0,'Disciple SAY_CAVERNS_PURIFIED'),
+(-1043006,'Beyond this corridor, Naralex lies in fitful sleep. Let us go awaken him before it is too late.',0,0,0,0,'Disciple SAY_BEYOND_THIS_CORRIDOR'),
+(-1043007,'Protect me brave souls as I delve into this Emerald Dream to rescue Naralex and put an end to this corruption!',0,0,0,0,'Disciple SAY_EMERALD_DREAM'),
+(-1043008,'%s begins to perform the awakening ritual on Naralex.',0,2,0,0,'Disciple EMOTE_AWAKENING_RITUAL'),
+(-1043009,'%s tosses fitfully in troubled sleep.',0,2,0,0,'Naralex EMOTE_TROUBLED_SLEEP'),
+(-1043010,'%s writhes in agony. The Disciple seems to be breaking through.',0,2,0,0,'Naralex EMOTE_WRITHE_IN_AGONY'),
+(-1043011,'%s dreams up a horrendous vision. Something stirs beneath the murky waters.',0,2,0,0,'Naralex EMOTE_HORRENDOUS_VISION'),
+(-1043012,'This Mutanus the Devourer is a minion from Naralex\'s nightmare no doubt!',0,0,0,0,'Disciple SAY_MUTANUS_THE_DEVOURER'),
+(-1043013,'I AM AWAKE, AT LAST!',0,1,0,0,'Naralex SAY_I_AM_AWAKE'),
+(-1043014,'At last! Naralex awakes from the nightmare.',0,0,0,0,'Disciple SAY_NARALEX_AWAKES'),
+(-1043015,'Ah, to be pulled from the dreaded nightmare! I thank you, my loyal Disciple, along with your brave companions.',0,0,0,0,'Naralex SAY_THANK_YOU'),
+(-1043016,'We must go and gather with the other Disciples. There is much work to be done before I can make another attempt to restore the Barrens. Farewell, brave souls!',0,0,0,0,'Naralex SAY_FAREWELL'),
+(-1043017,'Attacked! Help get this $N off of me!',0,0,0,0,'Disciple SAY_ATTACKED');
+
+INSERT INTO creature_ai_scripts (creature_id,event_type,event_chance,event_flags,action1_type,action1_param1,action1_param2,comment) VALUES
+(3669,6,100,6,34,1,3,'Lord Cobrahn - Set Inst Data on Death'),
+(3670,6,100,6,34,2,3,'Lord Pythas - Set Inst Data on Death'),
+(3671,6,100,6,34,3,3,'Lady Anacondra - Set Inst Data on Death'),
+(3673,6,100,6,34,4,3,'Lord Serpentis - Set Inst Data on Death'),
+(3654,6,100,6,34,9,3,'Mutanus the Devourer - Set Inst Data on Death');
+
+DELETE FROM script_waypoint WHERE entry=3678;
+INSERT INTO script_waypoint VALUES
+(3678, 0, -120.864, 132.825, -79.2972, 5000, 'TYPE_NARALEX_EVENT'),
+(3678, 1, -109.944, 155.417, -80.4659, 0, ''),
+(3678, 2, -106.104, 198.456, -80.5970, 0, ''),
+(3678, 3, -110.246, 214.763, -85.6669, 0, ''),
+(3678, 4, -105.609, 236.184, -92.1732, 0, 'TYPE_NARALEX_PART1'),
+(3678, 5, -93.5297, 227.956, -90.7522, 0, ''),
+(3678, 6, -85.3155, 226.976, -93.1286, 0, ''),
+(3678, 7, -62.1510, 206.673, -93.5510, 0, ''),
+(3678, 8, -45.0534, 205.580, -96.2435, 0, ''),
+(3678, 9, -31.1235, 234.225, -94.0841, 0, ''),
+(3678, 10, -49.2158, 269.141, -92.8442, 0, ''),
+(3678, 11, -54.1220, 274.717, -92.8442, 31000, 'TYPE_NARALEX_PART2'),
+(3678, 12, -58.9650, 282.274, -92.5380, 0, ''),
+(3678, 13, -38.3566, 306.239, -90.0192, 0, ''),
+(3678, 14, -28.8928, 312.842, -89.2155, 0, ''),
+(3678, 15, -1.58198, 296.127, -85.5984, 0, ''),
+(3678, 16, 9.89992, 272.008, -85.7759, 0, ''),
+(3678, 17, 26.8162, 259.218, -87.3938, 0, ''),
+(3678, 18, 49.1166, 227.259, -88.3379, 0, ''),
+(3678, 19, 54.4171, 209.316, -90.0000, 1500, 'SAY_BEYOND_THIS_CORRIDOR'),
+(3678, 20, 71.0380, 205.404, -93.0422, 0, ''),
+(3678, 21, 81.5941, 212.832, -93.0154, 0, ''),
+(3678, 22, 94.3376, 236.933, -95.8261, 0, ''),
+(3678, 23, 114.619, 235.908, -96.0495, 0, ''),
+(3678, 24, 114.777, 237.155, -96.0304, 2500, 'NARALEX_EVENT_FINISHED');
+
+UPDATE creature_template SET ScriptName = 'npc_disciple_of_naralex' WHERE entry = 3678;
+UPDATE instance_template SET script = 'instance_wailing_caverns' WHERE map = 43;
diff --git a/sql/old/3.1.3/04869_world_command.sql b/sql/old/3.1.3/04869_world_command.sql
new file mode 100644
index 00000000000..1c219fa27eb
--- /dev/null
+++ b/sql/old/3.1.3/04869_world_command.sql
@@ -0,0 +1,2 @@
+DELETE FROM `command` WHERE `name` = 'reload autobroadcast';
+INSERT INTO `command` (`name`, `security`, `help`) VALUES ('reload autobroadcast', 3, 'Syntax: .reload autobroadcast\nReload autobroadcast table.');
diff --git a/sql/old/3.1.3/04872_world_scripts.sql b/sql/old/3.1.3/04872_world_scripts.sql
new file mode 100644
index 00000000000..0b264f2b8b7
--- /dev/null
+++ b/sql/old/3.1.3/04872_world_scripts.sql
@@ -0,0 +1,11 @@
+UPDATE `creature_template` SET `ScriptName` = 'npc_skywing' WHERE `entry` = 22424;
+
+replace into `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) values('22424','0','-3605.719971','4175.580078','-0.031817','0','START_SKYWING');
+replace into `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) values('22424','1','-3602.311279','4253.213867','0.562436','0','');
+replace into `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) values('22424','2','-3529.151367','4263.524414','-7.871151','0','');
+replace into `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) values('22424','3','-3448.130371','4257.990723','-11.626289','0','');
+replace into `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) values('22424','4','-3377.783936','4209.064941','-9.476727','0','');
+replace into `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) values('22424','5','-3378.211426','4154.628418','0.366330','0','');
+replace into `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) values('22424','6','-3376.920166','4085.501709','14.178538','0','');
+replace into `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) values('22424','7','-3399.274658','4055.948975','18.603474','0','');
+replace into `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) values('22424','8','-3432.678223','4054.069824','29.588032','10000','');
diff --git a/sql/old/3.1.3/04875_world_scripts.sql b/sql/old/3.1.3/04875_world_scripts.sql
new file mode 100644
index 00000000000..be29dea8c3d
--- /dev/null
+++ b/sql/old/3.1.3/04875_world_scripts.sql
@@ -0,0 +1,20 @@
+UPDATE `creature_template` SET `ScriptName` = 'npc_lightwell' WHERE `entry` IN (31883, 31893, 31894, 31895, 31896, 31897);
+
+REPLACE INTO `npc_spellclick_spells` (npc_entry, spell_id, quest_start, quest_start_active, quest_end, cast_flags, quest_status) VALUES
+(31883, 60123, 0, 0, 0, 2, 0),
+(31893, 60123, 0, 0, 0, 2, 0),
+(31894, 60123, 0, 0, 0, 2, 0),
+(31895, 60123, 0, 0, 0, 2, 0),
+(31896, 60123, 0, 0, 0, 2, 0),
+(31897, 60123, 0, 0, 0, 2, 0);
+
+REPLACE INTO `spell_bonus_data` (entry, direct_bonus, dot_bonus, ap_bonus, ap_dot_bonus, comments) VALUES
+(7001, -1, 0.3333, -1, -1, 'Priest - Lightwell Renew Rank 1'),
+(27873, -1, 0.3333, -1, -1, 'Priest - Lightwell Renew Rank 2'),
+(27874, -1, 0.3333, -1, -1, 'Priest - Lightwell Renew Rank 3'),
+(28276, -1, 0.3333, -1, -1, 'Priest - Lightwell Renew Rank 4'),
+(48084, -1, 0.3333, -1, -1, 'Priest - Lightwell Renew Rank 5'),
+(48085, -1, 0.3333, -1, -1, 'Priest - Lightwell Renew Rank 6');
+
+REPLACE INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+(-59907, 7, 0, 'Lightwell Charges - Suicide');
diff --git a/sql/old/3.1.3/04877_world_scripts.sql b/sql/old/3.1.3/04877_world_scripts.sql
new file mode 100644
index 00000000000..ed53e97cdbc
--- /dev/null
+++ b/sql/old/3.1.3/04877_world_scripts.sql
@@ -0,0 +1,18 @@
+DELETE FROM `script_texts` WHERE `entry` IN (-1602018,-1602019,-1602020,-1602021,-1602022,-1602023,-1602024,-1602025,-1602026,-1602027,-1602028,-1602029,-1602030,-1602031);
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1602018,'What hope is there for you? None!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14162,1,0,0,'loken SAY_AGGRO0'),
+(-1602019,'I have witnessed the rise and fall of empires. The birth and extinction of entire species. Over countless millennia the foolishness of mortals has remained beyond a constant. Your presence here confirms this.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14160,1,0,0,'loken SAY_INTRO_1'),
+(-1602020,'My master has shown me the future, and you have no place in it. Azeroth will be reborn in darkness. Yogg-Saron shall be released! The Pantheon shall fall!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14162,1,0,0,'loken SAY_INTRO_2'),
+(-1602021,'Only mortal...', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14166,1,0,0,'loken SAY_SLAY_1'),
+(-1602022,'I... am... FOREVER!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14167,1,0,0,'loken SAY_SLAY_2'),
+(-1602023,'What little time you had, you wasted!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14168,1,0,0,'loken SAY_SLAY_3'),
+(-1602024,'My death... heralds the end of this world.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14172,1,0,0,'loken SAY_DEATH'),
+(-1602025,'You cannot hide from fate!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14163,1,0,0,'loken SAY_NOVA_1'),
+(-1602026,'Come closer. I will make it quick.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14164,1,0,0,'loken SAY_NOVA_2'),
+(-1602027,'Your flesh cannot hold out for long.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14165,1,0,0,'loken SAY_NOVA_3'),
+(-1602028,'You stare blindly into the abyss!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14169,1,0,0,'loken SAY_75HEALTH'),
+(-1602029,'Your ignorance is profound. Can you not see where this path leads?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14170,1,0,0,'loken SAY_50HEALTH'),
+(-1602030,'You cross the precipice of oblivion!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14171,1,0,0,'loken SAY_25HEALTH'),
+(-1602031,'%s begins to cast Lightning Nova!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,3,0,0,'loken EMOTE_NOVA');
+
+UPDATE `creature_template` SET `ScriptName`='boss_loken' WHERE `entry`=28923;
diff --git a/sql/old/3.1.3/04879_world_script_texts.sql b/sql/old/3.1.3/04879_world_script_texts.sql
new file mode 100644
index 00000000000..e300e3c1bf9
--- /dev/null
+++ b/sql/old/3.1.3/04879_world_script_texts.sql
@@ -0,0 +1,12 @@
+UPDATE script_texts SET entry=-1609080 WHERE entry=-1609017;
+UPDATE script_texts SET entry=-1609081 WHERE entry=-1609018;
+UPDATE script_texts SET entry=-1609082 WHERE entry=-1609019;
+UPDATE script_texts SET entry=-1609083 WHERE entry=-1609020;
+UPDATE script_texts SET entry=-1609084 WHERE entry=-1609021;
+UPDATE script_texts SET entry=-1609085 WHERE entry=-1609022;
+
+DELETE FROM script_texts WHERE entry IN (-1609086,-1609087,-1609088);
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1609086,'The Lich King will see his true champion on this day!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'dk_initiate SAY_DUEL_G'),
+(-1609087,'You\'re going down!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'dk_initiate SAY_DUEL_H'),
+(-1609088,'You don\'t stand a chance, $n', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'dk_initiate SAY_DUEL_I');
diff --git a/sql/old/3.1.3/04882_world_scripts.sql b/sql/old/3.1.3/04882_world_scripts.sql
new file mode 100644
index 00000000000..60e8dc8d96b
--- /dev/null
+++ b/sql/old/3.1.3/04882_world_scripts.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `ScriptName`='npc_slim' WHERE `entry`=19679;
+UPDATE `creature_template` SET `ScriptName`='npc_taxi' WHERE `entry` = 23704;
diff --git a/sql/old/3.1.3/04888_world_scripts.sql b/sql/old/3.1.3/04888_world_scripts.sql
new file mode 100644
index 00000000000..dc932bd47fe
--- /dev/null
+++ b/sql/old/3.1.3/04888_world_scripts.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName` = 'npc_skywing' WHERE `entry` = 22424;
diff --git a/sql/old/3.1.3/04892_world_script.sql b/sql/old/3.1.3/04892_world_script.sql
new file mode 100644
index 00000000000..2c950099530
--- /dev/null
+++ b/sql/old/3.1.3/04892_world_script.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName` = 'containment_sphere' WHERE `entry` IN (188527, 188528, 188526);
diff --git a/sql/old/3.1.3/04906_world_scripts.sql b/sql/old/3.1.3/04906_world_scripts.sql
new file mode 100644
index 00000000000..89370b3ce5e
--- /dev/null
+++ b/sql/old/3.1.3/04906_world_scripts.sql
@@ -0,0 +1,5 @@
+UPDATE `creature_template` SET `ScriptName` = 'boss_auriaya' WHERE `entry` = 33515;
+UPDATE `creature_template` SET `scriptname`='boss_razorscale' WHERE `entry`=33186;
+UPDATE `creature_template` SET `scriptname`='boss_flame_leviathan' WHERE `entry`=33113;
+UPDATE `creature_template` SET `scriptname`='boss_xt002' WHERE `entry`=33293;
+UPDATE `creature_template` SET `scriptname`='boss_ignis' WHERE `entry`=33118;
diff --git a/sql/old/3.1.3/04911_world_scripts.sql b/sql/old/3.1.3/04911_world_scripts.sql
new file mode 100644
index 00000000000..89370b3ce5e
--- /dev/null
+++ b/sql/old/3.1.3/04911_world_scripts.sql
@@ -0,0 +1,5 @@
+UPDATE `creature_template` SET `ScriptName` = 'boss_auriaya' WHERE `entry` = 33515;
+UPDATE `creature_template` SET `scriptname`='boss_razorscale' WHERE `entry`=33186;
+UPDATE `creature_template` SET `scriptname`='boss_flame_leviathan' WHERE `entry`=33113;
+UPDATE `creature_template` SET `scriptname`='boss_xt002' WHERE `entry`=33293;
+UPDATE `creature_template` SET `scriptname`='boss_ignis' WHERE `entry`=33118;
diff --git a/sql/old/3.1.3/04923_world_scripts.sql b/sql/old/3.1.3/04923_world_scripts.sql
new file mode 100644
index 00000000000..6e7f6fbbdc0
--- /dev/null
+++ b/sql/old/3.1.3/04923_world_scripts.sql
@@ -0,0 +1,5 @@
+UPDATE `creature_template` SET `ScriptName` = 'npc_skywing' WHERE entry=22424;
+UPDATE `creature_template` SET `ScriptName` = 'boss_flame_leviathan_turret' WHERE entry=33139;
+UPDATE `creature_template` SET `ScriptName` = 'boss_flame_leviathan_seat' WHERE entry=33114;
+UPDATE `creature_template` SET `ScriptName` = 'boss_flame_leviathan_defense_turret' WHERE entry=33142;
+UPDATE `creature_template` SET `ScriptName` = 'boss_flame_leviathan_overload_device' WHERE entry=33143;
diff --git a/sql/old/3.1.3/04927_world_scripts_naxx.sql b/sql/old/3.1.3/04927_world_scripts_naxx.sql
new file mode 100644
index 00000000000..c827e8ef0b3
--- /dev/null
+++ b/sql/old/3.1.3/04927_world_scripts_naxx.sql
@@ -0,0 +1,2 @@
+DELETE FROM areatrigger_scripts WHERE entry = 4156;
+INSERT INTO areatrigger_scripts VALUES (4156, 'at_naxxramas_frostwyrm_wing');
diff --git a/sql/old/3.1.3/04938_world.sql b/sql/old/3.1.3/04938_world.sql
new file mode 100644
index 00000000000..a76e3b41b6e
--- /dev/null
+++ b/sql/old/3.1.3/04938_world.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_bonus_data` WHERE `entry` IN(53352);
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
+(53352, -1, -1, 0.14, -1, 'Hunter - Explosive Shot (triggered)');
diff --git a/sql/old/3.1.3/04939_world_scripts.sql b/sql/old/3.1.3/04939_world_scripts.sql
new file mode 100644
index 00000000000..8d832e6afe2
--- /dev/null
+++ b/sql/old/3.1.3/04939_world_scripts.sql
@@ -0,0 +1,27 @@
+DELETE FROM `script_texts` WHERE `entry` between -1602042 AND -1602032;
+DELETE FROM `script_texts` WHERE `entry` between -1602017 AND -1602011;
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1602011,'You wish to confront the master? You must weather the storm!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14453,1,0,0,'ionar SAY_AGGRO'),
+(-1602012,'Shocking ... I know!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14456,1,0,0,'ionar SAY_SLAY_1'),
+(-1602013,'You atempt the unpossible.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14457,1,0,0,'ionar SAY_SLAY_2'),
+(-1602014,'Your spark of light is ... extinguish.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14458,1,0,0,'ionar SAY_SLAY_3'),
+(-1602015,'Master... you have guests.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14459,1,0,0,'ionar SAY_DEATH'),
+(-1602016,'The slightest spark shall be your undoing.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14454,1,0,0,'ionar SAY_SPLIT_1'),
+(-1602017,'No one is safe!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,14455,1,0,0,'ionar SAY_SPLIT_2'),
+(-1602032,'It is you who have destroyed my children? You... shall... pay!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13960,1,0,0,'volkhan SAY_AGGRO'),
+(-1602033,'The armies of iron will conquer all!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13965, 1,0,0,'volkhan SAY_SLAY_1'),
+(-1602034,'Ha, pathetic!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13966,1,0,0,'volkhan SAY_SLAY_2'),
+(-1602035,'You have cost me too much work!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13967,1,0,0,'volkhan SAY_SLAY_3'),
+(-1602036,'The master was right... to be concerned.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13968,1,0,0,'volkhan SAY_DEATH'),
+(-1602037,'I will crush you beneath my boots!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13963,1,0,0,'volkhan SAY_STOMP_1'),
+(-1602038,'All my work... undone!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13964,1,0,0,'volkhan SAY_STOMP_2'),
+(-1602039,'Life from the lifelessness... death for you.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13961,1,0,0,'volkhan SAY_FORGE_1'),
+(-1602040,'Nothing is wasted in the process. You will see....', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,13962,1,0,0,'volkhan SAY_FORGE_2'),
+(-1602041,'runs to his anvil!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,3,0,0,'volkhan EMOTE_TO_ANVIL'),
+(-1602042,'prepares to shatter his Brittle Golems!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,3,0,0,'volkhan EMOTE_SHATTER');
+
+UPDATE creature_template SET ScriptName='boss_volkhan' WHERE entry=28587;
+UPDATE creature_template SET ScriptName='mob_molten_golem' WHERE entry=28695;
+UPDATE creature_template SET ScriptName='npc_volkhan_anvil' WHERE entry=28823;
+UPDATE creature_template SET ScriptName='boss_ionar' WHERE entry=28546;
+UPDATE creature_template SET ScriptName='mob_spark_of_ionar' WHERE entry=28926;
diff --git a/sql/old/3.1.3/04944_world.sql b/sql/old/3.1.3/04944_world.sql
new file mode 100644
index 00000000000..cc1c26f20d6
--- /dev/null
+++ b/sql/old/3.1.3/04944_world.sql
@@ -0,0 +1,50 @@
+DELETE FROM script_waypoint WHERE entry=11856;
+INSERT INTO script_waypoint VALUES
+(11856, 0, 113.91, -350.13, 4.55, 0, ''),
+(11856, 1, 109.54, -350.08, 3.74, 0, ''),
+(11856, 2, 106.95, -353.40, 3.60, 0, ''),
+(11856, 3, 100.28, -338.89, 2.97, 0, ''),
+(11856, 4, 110.11, -320.26, 3.47, 0, ''),
+(11856, 5, 109.78, -287.80, 5.30, 0, ''),
+(11856, 6, 105.02, -269.71, 4.71, 0, ''),
+(11856, 7, 86.71, -251.81, 5.34, 0, ''),
+(11856, 8, 64.10, -246.38, 5.91, 0, ''),
+(11856, 9, -2.55, -243.58, 6.3, 0, ''),
+(11856, 10, -27.78, -267.53, -1.08, 0, ''),
+(11856, 11, -31.27, -283.54, -4.36, 0, ''),
+(11856, 12, -28.96, -322.44, -9.19, 0, ''),
+(11856, 13, -35.63, -360.03, -16.59, 0, ''),
+(11856, 14, -58.30, -412.26, -30.60, 0, ''),
+(11856, 15, -58.88, -474.17, -44.54, 0, ''),
+(11856, 16, -45.92, -496.57, -46.26, 5000, 'AMBUSH'),
+(11856, 17, -40.25, -510.07, -46.05, 0, ''),
+(11856, 18, -38.88, -520.72, -46.06, 5000, 'END');
+
+DELETE FROM script_waypoint WHERE entry=28912;
+INSERT INTO script_waypoint VALUES
+(28912, 0, 1653.518, -6038.374, 127.585, 0, 'Jump off'),
+(28912, 1, 1653.978, -6034.614, 127.585, 5000, 'To Box'),
+(28912, 2, 1653.854, -6034.726, 127.585, 500, 'Equip'),
+(28912, 3, 1652.297, -6035.671, 127.585, 3000, 'Recover'),
+(28912, 4, 1639.762, -6046.343, 127.948, 0, 'Escape'),
+(28912, 5, 1640.963, -6028.119, 134.740, 0, ''),
+(28912, 6, 1625.805, -6029.197, 134.740, 0, ''),
+(28912, 7, 1626.845, -6015.085, 134.740, 0, ''),
+(28912, 8, 1649.150, -6016.975, 133.240, 0, ''),
+(28912, 9, 1653.063, -5974.844, 132.652, 5000, 'Mount'),
+(28912, 10, 1654.747, -5926.424, 121.191, 0, 'Disappear');
+
+UPDATE creature_template SET ScriptName='npc_koltira_deathweaver' WHERE entry=28912;
+
+DELETE FROM `script_texts` WHERE `entry` between -1609098 AND -1609089;
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1609089, 'I\'ll need to get my runeblade and armor... Just need a little more time.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,399,'koltira SAY_BREAKOUT1'),
+(-1609090, 'I\'m still weak, but I think I can get an anti-magic barrier up. Stay inside it or you\'ll be destroyed by their spells.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'koltira SAY_BREAKOUT2'),
+(-1609091, 'Maintaining this barrier will require all of my concentration. Kill them all!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,16,'koltira SAY_BREAKOUT3'),
+(-1609092, 'There are more coming. Defend yourself! Don\'t fall out of the anti-magic field! They\'ll tear you apart without its protection!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'koltira SAY_BREAKOUT4'),
+(-1609093, 'I can\'t keep barrier up much longer... Where is that coward?', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'koltira SAY_BREAKOUT5'),
+(-1609094, 'The High Inquisitor comes! Be ready, death knight! Do not let him draw you out of the protective bounds of my anti-magic field! Kill him and take his head!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'koltira SAY_BREAKOUT6'),
+(-1609095, 'Stay in the anti-magic field! Make them come to you!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'koltira SAY_BREAKOUT7'),
+(-1609096, 'The death of the High Inquisitor of New Avalon will not go unnoticed. You need to get out of here at once! Go, before more of them show up. I\'ll be fine on my own.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'koltira SAY_BREAKOUT8'),
+(-1609097, 'I\'ll draw their fire, you make your escape behind me.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,0,0,0,'koltira SAY_BREAKOUT9'),
+(-1609098, 'Your High Inquisitor is nothing more than a pile of meat, Crusaders! There are none beyond the grasp of the Scourge!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,0,1,0,0,'koltira SAY_BREAKOUT10');
diff --git a/sql/old/3.1.3/04945_mangos_8339_characters.sql b/sql/old/3.1.3/04945_mangos_8339_characters.sql
new file mode 100644
index 00000000000..e21c6d3771c
--- /dev/null
+++ b/sql/old/3.1.3/04945_mangos_8339_characters.sql
@@ -0,0 +1,23 @@
+ALTER TABLE characters DROP COLUMN bgid;
+ALTER TABLE characters DROP COLUMN bgteam;
+ALTER TABLE characters DROP COLUMN bgmap;
+ALTER TABLE characters DROP COLUMN bgx;
+ALTER TABLE characters DROP COLUMN bgy;
+ALTER TABLE characters DROP COLUMN bgz;
+ALTER TABLE characters DROP COLUMN bgo;
+
+DROP TABLE IF EXISTS `character_battleground_data`;
+CREATE TABLE `character_battleground_data` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `instance_id` int(11) unsigned NOT NULL default '0',
+ `team` int(11) unsigned NOT NULL default '0',
+ `join_x` float NOT NULL default '0',
+ `join_y` float NOT NULL default '0',
+ `join_z` float NOT NULL default '0',
+ `join_o` float NOT NULL default '0',
+ `join_map` int(11) NOT NULL default '0',
+ `taxi_start` int(11) NOT NULL default '0',
+ `taxi_end` int(11) NOT NULL default '0',
+ `mount_spell` int(11) NOT NULL default '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
diff --git a/sql/old/3.1.3/04959_world.sql b/sql/old/3.1.3/04959_world.sql
new file mode 100644
index 00000000000..cfcebe70db6
--- /dev/null
+++ b/sql/old/3.1.3/04959_world.sql
@@ -0,0 +1,17 @@
+UPDATE creature_template SET ScriptName='' WHERE entry=13936;
+
+DELETE FROM areatrigger_scripts WHERE entry=3066;
+INSERT INTO areatrigger_scripts VALUES (3066,'at_ravenholdt');
+
+DELETE FROM script_waypoint WHERE entry=16812;
+INSERT INTO script_waypoint VALUES
+(16812, 0, -10868.260, -1779.836, 90.476, 2500, 'Open door, begin walking'),
+(16812, 1, -10875.585, -1779.581, 90.478, 0, ''),
+(16812, 2, -10887.447, -1779.258, 90.476, 0, ''),
+(16812, 3, -10894.592, -1780.668, 90.476, 0, ''),
+(16812, 4, -10895.015, -1782.036, 90.476, 2500, 'Begin Speech after this'),
+(16812, 5, -10894.592, -1780.668, 90.476, 0, 'Resume walking (back to spawn point now) after speech'),
+(16812, 6, -10887.447, -1779.258, 90.476, 0, ''),
+(16812, 7, -10875.585, -1779.581, 90.478, 0, ''),
+(16812, 8, -10868.260, -1779.836, 90.476, 5000, 'close door'),
+(16812, 9, -10866.799, -1780.958, 90.470, 2000, 'Summon mobs, open curtains');
diff --git a/sql/old/3.1.3/04968_world_8361_spell_bonus_data.sql b/sql/old/3.1.3/04968_world_8361_spell_bonus_data.sql
new file mode 100644
index 00000000000..da386bc870d
--- /dev/null
+++ b/sql/old/3.1.3/04968_world_8361_spell_bonus_data.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_bonus_data` WHERE `entry`=40293;
+INSERT INTO `spell_bonus_data` VALUES
+(40293, 0, 0, 0, 0, 'Item - Siphon Essence');
diff --git a/sql/old/3.1.3/04972_world_scripts.sql b/sql/old/3.1.3/04972_world_scripts.sql
new file mode 100644
index 00000000000..db07cfd2b2d
--- /dev/null
+++ b/sql/old/3.1.3/04972_world_scripts.sql
@@ -0,0 +1 @@
+UPDATE gameobject_template SET ScriptName='go_gong_of_bethekk' WHERE entry=180526;
diff --git a/sql/old/3.1.3/04982_world_spell_area.sql b/sql/old/3.1.3/04982_world_spell_area.sql
new file mode 100644
index 00000000000..4b0a8be2dd8
--- /dev/null
+++ b/sql/old/3.1.3/04982_world_spell_area.sql
@@ -0,0 +1 @@
+update spell_area set gender=2 where spell in (33836,50426,46023,52693);
diff --git a/sql/old/3.1.3/04994_world_script.sql b/sql/old/3.1.3/04994_world_script.sql
new file mode 100644
index 00000000000..6b13eddc650
--- /dev/null
+++ b/sql/old/3.1.3/04994_world_script.sql
@@ -0,0 +1,4 @@
+/* Oculus: "Just for the logic, shouldn't be necessary": */
+DELETE FROM `creature_ai_scripts` WHERE `creature_id`=23035 AND `comment` LIKE 'Anzu%Death';
+INSERT INTO `creature_ai_scripts` (`creature_id`,`event_type`,`event_chance`,`event_flags`,`action1_type`,`action1_param1`,`action1_param2`,`comment`) VALUES
+(23035,6,100,6,34,2,3,'Anzu - Set Inst Data on Death');
diff --git a/sql/old/3.1.3/04996_script_texts.sql b/sql/old/3.1.3/04996_script_texts.sql
new file mode 100644
index 00000000000..a5a192f807f
--- /dev/null
+++ b/sql/old/3.1.3/04996_script_texts.sql
@@ -0,0 +1,2 @@
+DELETE FROM `npc_text` WHERE id IN (30000,30001);
+INSERT INTO `npc_text` (`ID`, `text0_0`, `text0_1`, `lang0`, `prob0`, `em0_0`, `em0_1`, `em0_2`, `em0_3`, `em0_4`, `em0_5`, `text1_0`, `text1_1`, `lang1`, `prob1`, `em1_0`, `em1_1`, `em1_2`, `em1_3`, `em1_4`, `em1_5`, `text2_0`, `text2_1`, `lang2`, `prob2`, `em2_0`, `em2_1`, `em2_2`, `em2_3`, `em2_4`, `em2_5`, `text3_0`, `text3_1`, `lang3`, `prob3`, `em3_0`, `em3_1`, `em3_2`, `em3_3`, `em3_4`, `em3_5`, `text4_0`, `text4_1`, `lang4`, `prob4`, `em4_0`, `em4_1`, `em4_2`, `em4_3`, `em4_4`, `em4_5`, `text5_0`, `text5_1`, `lang5`, `prob5`, `em5_0`, `em5_1`, `em5_2`, `em5_3`, `em5_4`, `em5_5`, `text6_0`, `text6_1`, `lang6`, `prob6`, `em6_0`, `em6_1`, `em6_2`, `em6_3`, `em6_4`, `em6_5`, `text7_0`, `text7_1`, `lang7`, `prob7`, `em7_0`, `em7_1`, `em7_2`, `em7_3`, `em7_4`, `em7_5`) VALUES ('30000', 'Here you will find the Inscription Trainer.', 'Here you will find the Inscription Trainer.', '0', '1', '0', '0', '0', '0', '0', '0', 'So you want to be a Inscriber? Well here you will find the trainer.', 'So you want to be a Inscriber? Well here you will find the trainer.', '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0'), ('30001', 'So you are looking for a Inscription Trainer? Well you can\'t find the trainer out here, better head to the nearest city.\r\n', 'So you are looking for a Inscription Trainer? Well you can\'t find the trainer out here, better head to the nearest city.\r\n', '0', '0', '0', '0', '0', '0', '0', '0', 'So you want to be a Inscriber? Well you can\'t find the trainer out here, better head to the nearest city.', 'So you want to be a Inscriber? Well you can\'t find the trainer out here, better head to the nearest city.', '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0');
diff --git a/sql/old/3.1.3/04999_world_scripts.sql b/sql/old/3.1.3/04999_world_scripts.sql
new file mode 100644
index 00000000000..b9875326bd3
--- /dev/null
+++ b/sql/old/3.1.3/04999_world_scripts.sql
@@ -0,0 +1,33 @@
+DELETE FROM script_waypoint WHERE entry=10427;
+INSERT INTO script_waypoint VALUES
+(10427, 0, -5185.463, -1185.927, 45.951, 0, ''),
+(10427, 1, -5184.880, -1154.210, 45.035, 0, ''),
+(10427, 2, -5175.880, -1126.526, 43.701, 0, ''),
+(10427, 3, -5138.651, -1111.874, 44.024, 0, ''),
+(10427, 4, -5134.728, -1104.796, 47.365, 0, ''),
+(10427, 5, -5129.681, -1097.878, 49.449, 2500, ''),
+(10427, 6, -5125.303, -1080.572, 47.033, 0, ''),
+(10427, 7, -5146.668, -1053.694, 28.415, 0, ''),
+(10427, 8, -5147.463, -1027.539, 13.818, 0, ''),
+(10427, 9, -5139.238, -1018.889, 8.220, 0, ''),
+(10427, 10, -5121.168, -1013.126, -0.619, 0, ''),
+(10427, 11, -5091.919, -1014.205, -4.902, 0, ''),
+(10427, 12, -5069.240, -994.299, -4.631, 0, ''),
+(10427, 13, -5059.975, -944.112, -5.377, 0, ''),
+(10427, 14, -5013.546, -906.184, -5.490, 0, ''),
+(10427, 15, -4992.461, -920.983, -4.980, 5000, 'SAY_WYVERN'),
+(10427, 16, -4976.355, -1002.997, -5.380, 0, ''),
+(10427, 17, -4958.478, -1033.185, -5.433, 0, ''),
+(10427, 18, -4953.353, -1052.211, -10.836, 0, ''),
+(10427, 19, -4937.447, -1056.351, -22.139, 0, ''),
+(10427, 20, -4908.455, -1050.433, -33.458, 0, ''),
+(10427, 21, -4905.530, -1056.885, -33.722, 0, ''),
+(10427, 22, -4920.830, -1073.284, -45.515, 0, ''),
+(10427, 23, -4933.368, -1082.700, -50.186, 0, ''),
+(10427, 24, -4935.313, -1092.353, -52.785, 0, ''),
+(10427, 25, -4929.553, -1101.268, -50.637, 0, ''),
+(10427, 26, -4920.679, -1100.028, -51.944, 10000, 'SAY_COMPLETE'),
+(10427, 27, -4920.679, -1100.028, -51.944, 0, 'quest complete');
+
+UPDATE `creature_template` SET `ScriptName`='npc_paoka_swiftmountain' WHERE `entry`=10427;
+UPDATE `creature_template` SET `ScriptName`='npc_lakota_windsong' WHERE `entry`=10646;
diff --git a/sql/old/3.1.3/05001_world_scripts.sql b/sql/old/3.1.3/05001_world_scripts.sql
new file mode 100644
index 00000000000..37a4a8620ac
--- /dev/null
+++ b/sql/old/3.1.3/05001_world_scripts.sql
@@ -0,0 +1,112 @@
+UPDATE creature_template SET ScriptName='npc_gilthares' WHERE entry=3465;
+
+DELETE FROM script_waypoint WHERE entry=3465;
+INSERT INTO script_waypoint VALUES
+(3465, 0, -2095.840820, -3650.001221, 61.716, 0, ''),
+(3465, 1, -2100.193604, -3613.949219, 61.604, 0, ''),
+(3465, 2, -2098.549561, -3601.557129, 59.154, 0, ''),
+(3465, 3, -2093.796387, -3595.234375, 56.658, 0, ''),
+(3465, 4, -2072.575928, -3578.827637, 48.844, 0, ''),
+(3465, 5, -2023.858398, -3568.146240, 24.636, 0, ''),
+(3465, 6, -2013.576416, -3571.499756, 22.203, 0, ''),
+(3465, 7, -2009.813721, -3580.547852, 21.791, 0, ''),
+(3465, 8, -2015.296021, -3597.387695, 21.760, 0, ''),
+(3465, 9, -2020.677368, -3610.296143, 21.759, 0, ''),
+(3465, 10, -2019.990845, -3640.155273, 21.759, 0, ''),
+(3465, 11, -2016.110596, -3664.133301, 21.758, 0, ''),
+(3465, 12, -1999.397095, -3679.435059, 21.316, 0, ''),
+(3465, 13, -1987.455811, -3688.309326, 18.495, 0, ''),
+(3465, 14, -1973.966553, -3687.666748, 14.996, 0, ''),
+(3465, 15, -1949.163940, -3678.054932, 11.293, 0, ''),
+(3465, 16, -1934.091187, -3682.859619, 9.897, 30000, 'SAY_GIL_AT_LAST'),
+(3465, 17, -1935.383911, -3682.322021, 10.029, 1500, 'SAY_GIL_PROCEED'),
+(3465, 18, -1879.039185, -3699.498047, 6.582, 7500, 'SAY_GIL_FREEBOOTERS'),
+(3465, 19, -1852.728149, -3703.778809, 6.875, 0, ''),
+(3465, 20, -1812.989990, -3718.500732, 10.572, 0, ''),
+(3465, 21, -1788.171265, -3722.867188, 9.663, 0, ''),
+(3465, 22, -1767.206665, -3739.923096, 10.082, 0, ''),
+(3465, 23, -1750.194580, -3747.392090, 10.390, 0, ''),
+(3465, 24, -1729.335571, -3776.665527, 11.779, 0, ''),
+(3465, 25, -1715.997925, -3802.404541, 12.618, 0, ''),
+(3465, 26, -1690.711548, -3829.262451, 13.905, 0, ''),
+(3465, 27, -1674.700684, -3842.398682, 13.872, 0, ''),
+(3465, 28, -1632.726318, -3846.109619, 14.401, 0, ''),
+(3465, 29, -1592.734497, -3842.225342, 14.981, 0, ''),
+(3465, 30, -1561.614746, -3839.320801, 19.118, 0, ''),
+(3465, 31, -1544.567627, -3834.393311, 18.761, 0, ''),
+(3465, 32, -1512.514404, -3831.715820, 22.914, 0, ''),
+(3465, 33, -1486.889771, -3836.639893, 23.964, 0, ''),
+(3465, 34, -1434.193604, -3852.702881, 18.843, 0, ''),
+(3465, 35, -1405.794678, -3854.488037, 17.276, 0, ''),
+(3465, 36, -1366.592041, -3852.383789, 19.273, 0, ''),
+(3465, 37, -1337.360962, -3837.827148, 17.352, 2000, 'SAY_GIL_ALMOST'),
+(3465, 38, -1299.744507, -3810.691406, 20.801, 0, ''),
+(3465, 39, -1277.144409, -3782.785156, 25.918, 0, ''),
+(3465, 40, -1263.686768, -3781.251953, 26.447, 0, ''),
+(3465, 41, -1243.674438, -3786.328125, 25.281, 0, ''),
+(3465, 42, -1221.875488, -3784.124512, 24.051, 0, ''),
+(3465, 43, -1204.011230, -3775.943848, 24.437, 0, ''),
+(3465, 44, -1181.706787, -3768.934082, 23.368, 0, ''),
+(3465, 45, -1156.913818, -3751.559326, 21.074, 0, ''),
+(3465, 46, -1138.830688, -3741.809326, 17.843, 0, ''),
+(3465, 47, -1080.101196, -3738.780029, 19.805, 0, 'SAY_GIL_SWEET'),
+(3465, 48, -1069.065186, -3735.006348, 19.302, 0, ''),
+(3465, 49, -1061.941040, -3724.062256, 21.086, 0, ''),
+(3465, 50, -1053.593262, -3697.608643, 27.320, 0, ''),
+(3465, 51, -1044.110474, -3690.133301, 24.856, 0, ''),
+(3465, 52, -1040.260986, -3690.739014, 25.342, 0, ''),
+(3465, 53, -1028.146606, -3688.718750, 23.843, 7500, 'SAY_GIL_FREED');
+
+DELETE FROM script_waypoint WHERE entry=21027;
+INSERT INTO script_waypoint VALUES
+(21027, 0, -2714.697266, 1326.879395, 34.306953, 0, ''),
+(21027, 1, -2666.364990, 1348.222656, 34.445557, 0, ''),
+(21027, 2, -2693.789307, 1336.964966, 34.445557, 0, ''),
+(21027, 3, -2715.495361, 1328.054443, 34.106014, 0, ''),
+(21027, 4, -2742.530762, 1314.138550, 33.606144, 0, ''),
+(21027, 5, -2745.077148, 1311.108765, 33.630898, 0, ''),
+(21027, 6, -2749.855225, 1302.737915, 33.475632, 0, ''),
+(21027, 7, -2753.639648, 1294.059448, 33.314930, 0, ''),
+(21027, 8, -2756.796387, 1285.122192, 33.391262, 0, ''),
+(21027, 9, -2750.042969, 1273.661987, 33.188259, 0, ''),
+(21027, 10, -2740.378418, 1258.846680, 33.212521, 0, ''),
+(21027, 11, -2733.629395, 1248.259766, 33.640598, 0, ''),
+(21027, 12, -2727.212646, 1238.606445, 33.520847, 0, ''),
+(21027, 13, -2726.377197, 1237.264526, 33.461823, 3000, 'SAY_WIL_PROGRESS1'),
+(21027, 14, -2746.383301, 1266.390625, 33.191952, 2000, ''),
+(21027, 15, -2746.383301, 1266.390625, 33.191952, 4000, 'SAY_WIL_FIND_EXIT'),
+(21027, 16, -2758.927734, 1285.134155, 33.341728, 0, ''),
+(21027, 17, -2761.845703, 1292.313599, 33.209042, 0, ''),
+(21027, 18, -2758.871826, 1300.677612, 33.285332, 0, ''),
+(21027, 19, -2753.928955, 1307.755859, 33.452457, 0, ''),
+(21027, 20, -2738.612061, 1316.191284, 33.482975, 0, ''),
+(21027, 21, -2727.897461, 1320.013916, 33.381111, 0, ''),
+(21027, 22, -2709.458740, 1315.739990, 33.301838, 0, ''),
+(21027, 23, -2704.658936, 1301.620361, 32.463303, 0, ''),
+(21027, 24, -2704.120117, 1298.922607, 32.768162, 0, ''),
+(21027, 25, -2691.798340, 1292.846436, 33.852642, 0, ''),
+(21027, 26, -2682.879639, 1288.853882, 32.995399, 0, ''),
+(21027, 27, -2661.869141, 1279.682495, 26.686783, 0, ''),
+(21027, 28, -2648.943604, 1270.272827, 24.147522, 0, ''),
+(21027, 29, -2642.506836, 1262.938721, 23.512444, 0, ''),
+(21027, 30, -2636.984863, 1252.429077, 20.418257, 0, ''),
+(21027, 31, -2648.113037, 1224.984863, 8.691818, 0, ''),
+(21027, 32, -2658.393311, 1200.136719, 5.492243, 0, ''),
+(21027, 33, -2668.504395, 1190.450562, 3.127407, 0, ''),
+(21027, 34, -2685.930420, 1174.360840, 5.163924, 0, ''),
+(21027, 35, -2701.613770, 1160.026367, 5.611311, 0, ''),
+(21027, 36, -2714.659668, 1149.980347, 4.342373, 0, ''),
+(21027, 37, -2721.443359, 1145.002808, 1.913474, 0, ''),
+(21027, 38, -2733.962158, 1143.436279, 2.620415, 0, ''),
+(21027, 39, -2757.876709, 1146.937500, 6.184002, 2000, 'SAY_WIL_JUST_AHEAD'),
+(21027, 40, -2772.300537, 1166.052734, 6.331811, 0, ''),
+(21027, 41, -2790.265381, 1189.941650, 5.207958, 0, ''),
+(21027, 42, -2805.448975, 1208.663940, 5.557623, 0, ''),
+(21027, 43, -2820.617676, 1225.870239, 6.266103, 0, ''),
+(21027, 44, -2831.926758, 1237.725830, 5.808506, 0, ''),
+(21027, 45, -2842.578369, 1252.869629, 6.807481, 0, ''),
+(21027, 46, -2846.344971, 1258.727295, 7.386168, 0, ''),
+(21027, 47, -2847.556396, 1266.771729, 8.208790, 0, ''),
+(21027, 48, -2841.654541, 1285.809204, 7.933223, 0, ''),
+(21027, 49, -2841.754883, 1289.832520, 6.990304, 0, ''),
+(21027, 50, -2871.398438, 1302.348145, 6.807335, 7500, 'SAY_WIL_END');
diff --git a/sql/old/3.1.3/05006_world.sql b/sql/old/3.1.3/05006_world.sql
new file mode 100644
index 00000000000..e33ed3c7555
--- /dev/null
+++ b/sql/old/3.1.3/05006_world.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (57352);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(57352, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00051154, 0x00000000, 0, 0, 45); -- Darkmoon Card: Death
diff --git a/sql/old/3.1.3/05009_world.sql b/sql/old/3.1.3/05009_world.sql
new file mode 100644
index 00000000000..0ce32dd2e64
--- /dev/null
+++ b/sql/old/3.1.3/05009_world.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_ebon_gargoyle' WHERE `entry`=27829;
diff --git a/sql/old/3.1.3/05009_world_TDB.sql b/sql/old/3.1.3/05009_world_TDB.sql
new file mode 100644
index 00000000000..01d5af66154
--- /dev/null
+++ b/sql/old/3.1.3/05009_world_TDB.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `spell1`=51963 WHERE `entry`=27829;
diff --git a/sql/old/3.1.3/05009_world_scripts.sql b/sql/old/3.1.3/05009_world_scripts.sql
new file mode 100644
index 00000000000..732614d4ad9
--- /dev/null
+++ b/sql/old/3.1.3/05009_world_scripts.sql
@@ -0,0 +1,16 @@
+UPDATE `creature_template` SET `ScriptName`='npc_akuno' WHERE `entry`=22377;
+
+DELETE FROM `script_waypoint` WHERE `entry`=22377;
+INSERT INTO `script_waypoint` VALUES
+(22377, 0, -2766.31, 5429.65, -34.53, 0, ''),
+(22377, 1, -2769.35, 5416.25, -34.53, 0, ''),
+(22377, 2, -2780.07, 5416.06, -34.53, 1000, ''),
+(22377, 3, -2812.56, 5415.20, -34.53, 1000, ''),
+(22377, 4, -2816.95, 5415.02, -34.52, 0, ''),
+(22377, 5, -2827.86, 5414.56, -28.29, 0, ''),
+(22377, 6, -2878.32, 5414.11, -28.26, 0, ''),
+(22377, 7, -2893.17, 5413.15, -18.59, 0, ''),
+(22377, 8, -2896.36, 5409.65, -18.59, 0, ''),
+(22377, 9, -2896.50, 5396.76, -8.77, 0, ''),
+(22377, 10, -2896.67, 5366.20, -9.59, 0, ''),
+(22377, 11, -2888.23, 5330.39, -11.19, 2000, '');
diff --git a/sql/old/3.1.3/05012_world_scripts.sql b/sql/old/3.1.3/05012_world_scripts.sql
new file mode 100644
index 00000000000..fa3b6e7a860
--- /dev/null
+++ b/sql/old/3.1.3/05012_world_scripts.sql
@@ -0,0 +1,18 @@
+DELETE FROM script_waypoint WHERE entry=18731;
+INSERT INTO script_waypoint VALUES
+(18731, 0, -157.366, 2.177, 8.073, 0, ''),
+(18731, 1, -172.266, -18.280, 8.073, 0, ''),
+(18731, 2, -171.051, -38.748, 8.073, 0, ''),
+(18731, 3, -170.718, -59.436, 8.073, 0, ''),
+(18731, 4, -156.659, -72.118, 8.073, 0, ''),
+(18731, 5, -142.292, -59.423, 8.073, 0, ''),
+(18731, 6, -141.779, -38.972, 8.073, 0, ''),
+(18731, 7, -142.922, -18.950, 8.073, 0, ''),
+(18731, 8, -157.366, 2.177, 8.073, 0, '');
+
+DELETE FROM script_waypoint WHERE entry=2768 AND pointid IN (0, 18);
+INSERT INTO script_waypoint VALUES
+(2768, 0, -2077.73, -2091.17, 9.49, 0, ''),
+(2768, 18, -2077.73, -2091.17, 9.49, 0, '');
+
+UPDATE creature_template SET ScriptName='npc_tooga' WHERE entry=5955;
diff --git a/sql/old/3.1.3/05015_world_scripts.sql b/sql/old/3.1.3/05015_world_scripts.sql
new file mode 100644
index 00000000000..db817c5634e
--- /dev/null
+++ b/sql/old/3.1.3/05015_world_scripts.sql
@@ -0,0 +1,32 @@
+UPDATE gameobject_template SET ScriptName='go_shadowforge_brazier' WHERE entry IN (174744, 174745);
+
+UPDATE creature_template SET ScriptName='' WHERE entry IN (9034, 9035, 9036, 9038, 9040);
+
+UPDATE creature_template SET ScriptName='npc_rinji' WHERE entry=7780;
+
+DELETE FROM script_waypoint WHERE entry=7780;
+INSERT INTO script_waypoint VALUES
+(7780, 0, 261.058868, -2757.876221, 122.553, 0, ''),
+(7780, 1, 259.812195, -2758.249023, 122.555, 0, 'SAY_RIN_FREE'),
+(7780, 2, 253.823441, -2758.619141, 122.562, 0, ''),
+(7780, 3, 241.394791, -2769.754883, 123.309, 0, ''),
+(7780, 4, 218.915588, -2783.397461, 123.355, 0, ''),
+(7780, 5, 209.088196, -2789.676270, 122.001, 0, ''),
+(7780, 6, 204.453568, -2792.205811, 120.620, 0, ''),
+(7780, 7, 182.012604, -2809.995361, 113.887, 0, 'summon'),
+(7780, 8, 164.411591, -2825.162842, 107.779, 0, ''),
+(7780, 9, 149.727600, -2833.704346, 106.224, 0, ''),
+(7780, 10, 142.448074, -2838.807373, 109.665, 0, ''),
+(7780, 11, 133.274963, -2845.135254, 112.606, 0, ''),
+(7780, 12, 111.247459, -2861.065674, 116.305, 0, ''),
+(7780, 13, 96.104073, -2874.886230, 114.397, 0, 'summon'),
+(7780, 14, 73.369942, -2881.184570, 117.666, 0, ''),
+(7780, 15, 58.579178, -2889.151611, 116.253, 0, ''),
+(7780, 16, 33.214249, -2906.343994, 115.083, 0, ''),
+(7780, 17, 19.586519, -2908.712402, 117.276, 7500, 'SAY_RIN_COMPLETE'),
+(7780, 18, 10.282522, -2911.607422, 118.394, 0, ''),
+(7780, 19, -37.580383, -2942.730225, 117.145, 0, ''),
+(7780, 20, -68.599411, -2953.694824, 116.685, 0, ''),
+(7780, 21, -102.054253, -2956.965576, 116.677, 0, ''),
+(7780, 22, -135.993637, -2955.743652, 115.788, 0, ''),
+(7780, 23, -171.561600, -2951.417480, 115.451, 0, '');
diff --git a/sql/old/3.1.3/05016_world_scripts.sql b/sql/old/3.1.3/05016_world_scripts.sql
new file mode 100644
index 00000000000..c3b928cbd07
--- /dev/null
+++ b/sql/old/3.1.3/05016_world_scripts.sql
@@ -0,0 +1,7 @@
+UPDATE creature_template SET ScriptName='npc_kanati' WHERE entry=10638;
+
+DELETE FROM script_waypoint WHERE entry=10638;
+INSERT INTO script_waypoint VALUES
+(10638, 0, -4903.521973, -1368.339844, -52.611, 5000, 'SAY_KAN_START'),
+(10638, 1, -4906.004395, -1367.048096, -52.611, 0, '');
+
diff --git a/sql/old/3.1.3/05020_world_scripts.sql b/sql/old/3.1.3/05020_world_scripts.sql
new file mode 100644
index 00000000000..6ce3fe82f5a
--- /dev/null
+++ b/sql/old/3.1.3/05020_world_scripts.sql
@@ -0,0 +1 @@
+UPDATE creature_template SET ScriptName='npc_private_hendel' WHERE entry=4966;
diff --git a/sql/old/3.1.3/05021_8364_world_db_version.sql b/sql/old/3.1.3/05021_8364_world_db_version.sql
new file mode 100644
index 00000000000..b7d432320f1
--- /dev/null
+++ b/sql/old/3.1.3/05021_8364_world_db_version.sql
@@ -0,0 +1,2 @@
+ALTER TABLE version
+ ADD COLUMN cache_id int(10) default '0' AFTER script_version;
diff --git a/sql/old/3.1.3/05023_world_scripts.sql b/sql/old/3.1.3/05023_world_scripts.sql
new file mode 100644
index 00000000000..e753174d850
--- /dev/null
+++ b/sql/old/3.1.3/05023_world_scripts.sql
@@ -0,0 +1,5 @@
+UPDATE creature_template SET ScriptName='npc_orsonn_and_kodian' WHERE entry IN (27274, 27275);
+
+UPDATE creature_template SET ScriptName='npc_fizzcrank_fullthrottle' WHERE entry=25590;
+
+UPDATE creature_template SET ScriptName='npc_arete' WHERE entry=29344;
diff --git a/sql/old/3.1.3/05029_world_trinity_string.sql b/sql/old/3.1.3/05029_world_trinity_string.sql
new file mode 100644
index 00000000000..65817b00172
--- /dev/null
+++ b/sql/old/3.1.3/05029_world_trinity_string.sql
@@ -0,0 +1 @@
+UPDATE `trinity_string` SET `content_default` = 'Race: %s Class: %s Played time: %s Level: %u Money: %ug%us%uc' WHERE `entry` = 549;
diff --git a/sql/old/3.1.3/05031_world_scripts_netherspite.sql b/sql/old/3.1.3/05031_world_scripts_netherspite.sql
new file mode 100644
index 00000000000..c98bedc6a88
--- /dev/null
+++ b/sql/old/3.1.3/05031_world_scripts_netherspite.sql
@@ -0,0 +1,14 @@
+UPDATE `creature_template` SET `ScriptName`='boss_netherspite', `RegenHealth` = '1' WHERE `entry`='15689';
+UPDATE `creature_template` SET `faction_A` = '35', `faction_H` = '35', `modelid_A`='11686', `modelid_H`='11686', `unit_flags` = '33554496', `ScriptName` = '' WHERE `entry` IN ('17367','17368','17369');
+UPDATE `creature_template` SET `minlevel` = '70', `maxlevel` = '70',`flags_extra`= '2', `speed`= '0.0001', `faction_A` = '16', `faction_H` = '16', `ScriptName` = 'mob_eventai' WHERE `entry` = '16697';
+DELETE FROM `creature_ai_scripts` WHERE `creature_id` = '16697';
+INSERT INTO `creature_ai_scripts`
+(`id`,`creature_id`,`event_type`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action1_type`,`action1_param1`,`action1_param2`,`action1_param3`,`comment`) VALUES
+('1669701', '16697', '0', '100', '3', '3000', '3000', '3000', '3000', '11', '46264', '0', '2','Void Zone - Cast Void Zone Effect'),
+('1669702', '16697', '1', '100', '3', '3000', '3000', '3000', '3000', '11', '46264', '0', '2','Void Zone - Cast Void Zone Effect');
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN ('-30421','-30422','-30423','38637','38638','38639');
+INSERT INTO `spell_linked_spell`(`spell_trigger`,`spell_effect`,`type`,`comment`) VALUES
+('-30421','38637','0','Netherspite\'s Perseverence'),
+('-30422','38638','0','Netherspite\'s Serenity'),
+('-30423','38639','0','Netherspite\'s Dominance');
+UPDATE `script_texts` SET `type` = '3' WHERE `entry` IN ('-1532089','-1532090');
diff --git a/sql/old/3.1.3/05036_character_updates_dual_spec.sql b/sql/old/3.1.3/05036_character_updates_dual_spec.sql
new file mode 100644
index 00000000000..545420407fe
--- /dev/null
+++ b/sql/old/3.1.3/05036_character_updates_dual_spec.sql
@@ -0,0 +1,59 @@
+
+START TRANSACTION; /* Transaction is used due to the destructive nature of these queries, if anything fails the transaction should abort, and the updates should be applied manually. */
+
+CREATE TABLE `character_glyphs` (
+ `guid` int(11) unsigned NOT NULL,
+ `spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `glyph1` int(11) unsigned NOT NULL DEFAULT '0',
+ `glyph2` int(11) unsigned DEFAULT '0',
+ `glyph3` int(11) unsigned DEFAULT '0',
+ `glyph4` int(11) unsigned DEFAULT '0',
+ `glyph5` int(11) unsigned DEFAULT '0',
+ `glyph6` int(11) unsigned DEFAULT '0',
+ PRIMARY KEY (`guid`,`spec`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+-- Get glyphs from correct field in data blob and insert into character_glyphs as spec = 0
+INSERT INTO `character_glyphs`
+SELECT `guid`, 0,
+(CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1288), ' ', -1) AS UNSIGNED)) AS `glyph1`,
+(CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1289), ' ', -1) AS UNSIGNED)) AS `glyph2`,
+(CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1290), ' ', -1) AS UNSIGNED)) AS `glyph3`,
+(CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1291), ' ', -1) AS UNSIGNED)) AS `glyph4`,
+(CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1292), ' ', -1) AS UNSIGNED)) AS `glyph5`,
+(CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', 1293), ' ', -1) AS UNSIGNED)) AS `glyph6`
+FROM `characters`;
+
+CREATE TABLE `character_talent` (
+ `guid` int(11) unsigned NOT NULL,
+ `spell` int(11) unsigned NOT NULL,
+ `spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`guid`,`spell`,`spec`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+/* Drethek - This should be all talents without major rank of learned spells: */
+DELETE FROM `character_spell` WHERE `spell` IN (724,974,1329,5570,5923,5924,5925,5926,5952,9452,9453,9799,10060,11069,11070,11071,11078,11080,11083,11094,11095,11100,11103,11108,11113,11115,11119,11120,11124,11129,11151,11160,11170,11175,11180,11185,11189,11190,11207,11210,11213,11222,11232,11237,11242,11247,11252,11255,11366,11367,11368,11426,11958,12042,12043,12163,12281,12282,12284,12285,12286,12287,12289,12290,12292,12294,12295,12296,12297,12298,12299,12300,12301,12308,12311,12312,12313,12317,12318,12319,12320,12321,12322,12323,12324,12328,12329,12330,12338,12339,12340,12341,12349,12350,12351,12353,12357,12358,12378,12398,12399,12400,12463,12464,12467,12469,12472,12473,12487,12488,12489,12490,12496,12497,12500,12501,12502,12503,12518,12519,12569,12571,12574,12575,12576,12577,12592,12598,12605,12606,12658,12663,12664,12665,12666,12668,12672,12676,12677,12697,12700,12701,12702,12703,12704,12711,12712,12724,12725,12726,12727,12750,12751,12752,12753,12761,12762,12763,12764,12781,12783,12784,12785,12797,12799,12803,12804,12809,12810,12811,12812,12813,12814,12815,12818,12834,12835,12839,12840,12846,12847,12848,12849,12852,12853,12855,12856,12857,12858,12860,12861,12862,12867,12872,12873,12876,12877,12878,12879,12950,12952,12953,12958,12959,12960,12963,12971,12972,12973,12974,12975,12982,12983,12999,13000,13001,13002,13043,13045,13046,13047,13048,13705,13706,13709,13712,13713,13715,13732,13733,13741,13742,13743,13750,13754,13788,13789,13792,13793,13800,13801,13802,13803,13804,13805,13806,13807,13832,13843,13844,13845,13848,13849,13851,13852,13853,13854,13863,13865,13866,13867,13872,13875,13877,13958,13960,13961,13962,13963,13964,13970,13971,13975,13976,13979,13980,13981,13983,14057,14062,14063,14066,14070,14071,14072,14076,14079,14080,14082,14083,14094,14113,14114,14115,14116,14117,14128,14132,14135,14136,14137,14138,14139,14140,14141,14142,14144,14148,14156,14158,14159,14160,14161,14162,14163,14164,14165,14166,14168,14169,14171,14172,14173,14174,14175,14176,14177,14179,14183,14185,14186,14190,14193,14194,14195,14251,14278,14520,14521,14522,14523,14531,14747,14748,14749,14750,14751,14767,14768,14769,14770,14771,14772,14774,14776,14777,14780,14781,14784,14785,14788,14789,14790,14791,14889,14892,14898,14901,14908,14909,14910,14911,14912,14913,14983,15008,15009,15010,15011,15012,15013,15014,15017,15018,15020,15028,15029,15030,15031,15047,15058,15059,15060,15257,15259,15260,15270,15272,15273,15274,15275,15286,15307,15308,15309,15310,15311,15312,15313,15314,15316,15317,15318,15320,15327,15328,15331,15332,15335,15336,15337,15338,15349,15354,15355,15356,15362,15363,15392,15407,15448,15473,15487,16035,16038,16039,16040,16041,16043,16086,16089,16105,16106,16107,16108,16109,16110,16111,16112,16113,16114,16115,16116,16130,16160,16161,16164,16166,16173,16176,16178,16179,16180,16181,16182,16184,16187,16188,16190,16194,16196,16198,16205,16206,16209,16210,16211,16212,16213,16214,16215,16216,16217,16218,16219,16220,16221,16222,16223,16224,16225,16226,16227,16228,16229,16230,16232,16235,16240,16252,16254,16255,16256,16258,16259,16261,16262,16266,16268,16271,16272,16281,16282,16283,16284,16287,16290,16293,16295,16302,16303,16304,16305,16306,16307,16308,16309,16462,16463,16464,16465,16466,16487,16489,16492,16493,16494,16511,16513,16514,16515,16538,16539,16540,16541,16542,16544,16578,16579,16580,16581,16582,16757,16758,16763,16765,16766,16769,16770,16814,16815,16816,16817,16818,16819,16820,16821,16822,16833,16834,16835,16836,16839,16840,16845,16846,16847,16850,16858,16859,16860,16861,16862,16864,16880,16896,16897,16899,16909,16910,16911,16912,16913,16923,16924,16929,16930,16931,16934,16935,16936,16937,16938,16940,16941,16942,16943,16944,16947,16948,16949,16966,16968,16972,16974,16975,16998,16999,17002,17003,17004,17005,17006,17007,17050,17051,17056,17058,17059,17060,17061,17063,17065,17066,17069,17070,17071,17072,17073,17074,17075,17076,17077,17078,17104,17106,17107,17108,17111,17112,17113,17116,17118,17119,17120,17123,17124,17191,17322,17323,17364,17485,17486,17487,17488,17489,17778,17779,17780,17783,17784,17785,17788,17789,17790,17791,17792,17793,17796,17801,17802,17803,17804,17805,17810,17811,17812,17813,17814,17815,17833,17834,17877,17917,17918,17927,17929,17930,17954,17955,17956,17957,17958,17959,17962,18073,18094,18095,18096,18119,18120,18126,18127,18130,18135,18136,18174,18175,18176,18179,18180,18182,18183,18213,18218,18219,18220,18223,18271,18272,18273,18274,18275,18288,18372,18427,18428,18429,18459,18460,18462,18463,18464,18530,18531,18533,18534,18535,18551,18552,18553,18554,18555,18562,18692,18693,18694,18695,18696,18697,18698,18699,18703,18704,18705,18706,18707,18708,18709,18710,18731,18743,18744,18754,18755,18756,18767,18768,18769,18770,18771,18772,18773,18827,18829,19028,19159,19160,19168,19180,19181,19184,19236,19255,19256,19257,19258,19259,19286,19287,19290,19294,19295,19297,19298,19306,19370,19371,19373,19376,19386,19387,19388,19407,19412,19416,19417,19418,19419,19420,19421,19422,19423,19426,19427,19429,19430,19431,19434,19454,19455,19456,19461,19462,19464,19465,19466,19485,19487,19488,19489,19490,19498,19499,19500,19503,19506,19507,19508,19509,19549,19550,19551,19552,19553,19554,19555,19556,19559,19560,19572,19573,19574,19575,19577,19578,19583,19584,19585,19586,19587,19590,19592,19598,19599,19600,19601,19602,19609,19610,19612,19616,19617,19618,19619,19620,19621,19622,19623,19624,19625,20042,20045,20049,20056,20057,20060,20061,20062,20063,20064,20066,20096,20097,20098,20099,20100,20101,20102,20103,20104,20105,20111,20112,20113,20117,20118,20119,20120,20121,20127,20130,20135,20138,20139,20140,20143,20144,20145,20146,20147,20174,20175,20177,20179,20180,20181,20182,20196,20197,20198,20205,20206,20207,20208,20209,20210,20212,20213,20214,20215,20216,20224,20225,20234,20235,20237,20238,20239,20243,20244,20245,20254,20255,20256,20257,20258,20259,20260,20261,20262,20263,20264,20265,20266,20330,20331,20332,20335,20336,20337,20359,20360,20361,20375,20468,20469,20470,20473,20487,20488,20496,20500,20501,20502,20503,20504,20505,20711,20895,20911,20925,23584,23585,23586,23587,23588,23695,23785,23822,23823,23824,23825,23881,23989,24283,24296,24297,24443,24691,24858,24866,24894,24943,24944,24945,24946,24968,24969,24970,24971,24972,25829,25836,25956,25957,25988,26016,26022,26023,27789,27790,27811,27815,27816,27839,27840,27900,27901,27902,27903,27904,28332,28574,28592,28593,28996,28997,28998,28999,29000,29062,29064,29065,29074,29075,29076,29079,29080,29082,29084,29086,29140,29143,29144,29179,29180,29187,29189,29191,29192,29193,29202,29205,29206,29438,29439,29440,29441,29444,29447,29590,29591,29592,29593,29594,29598,29599,29623,29721,29723,29724,29725,29759,29760,29761,29762,29763,29776,29787,29790,29792,29801,29834,29836,29838,29859,29888,29889,30054,30057,30060,30061,30062,30063,30064,30108,30143,30144,30145,30146,30160,30242,30245,30246,30247,30248,30283,30288,30289,30290,30291,30292,30293,30295,30296,30299,30301,30302,30319,30320,30321,30326,30664,30665,30666,30672,30673,30674,30675,30678,30679,30706,30798,30802,30808,30809,30812,30813,30814,30816,30818,30819,30823,30864,30865,30866,30867,30868,30869,30872,30873,30881,30883,30884,30885,30886,30892,30893,30894,30895,30902,30903,30904,30905,30906,30919,30920,31122,31123,31124,31126,31130,31131,31208,31209,31211,31212,31213,31216,31217,31218,31219,31220,31221,31222,31223,31226,31227,31228,31229,31230,31244,31245,31380,31382,31383,31569,31570,31571,31572,31574,31575,31579,31582,31583,31584,31585,31586,31587,31588,31589,31638,31639,31640,31641,31642,31656,31657,31658,31661,31667,31668,31669,31670,31672,31674,31675,31676,31677,31678,31679,31680,31682,31683,31687,31785,31821,31822,31823,31825,31826,31828,31829,31830,31833,31835,31836,31837,31838,31839,31840,31841,31842,31844,31845,31848,31849,31850,31851,31852,31858,31859,31860,31866,31867,31868,31869,31871,31872,31876,31877,31878,31879,31880,31881,31935,32043,32381,32382,32383,32385,32387,32392,32393,32394,32477,32483,32484,32601,33142,33145,33146,33150,33154,33158,33159,33160,33161,33162,33167,33171,33172,33186,33190,33191,33192,33193,33201,33202,33206,33213,33214,33215,33221,33222,33223,33224,33225,33371,33589,33590,33591,33592,33596,33597,33599,33600,33601,33602,33603,33604,33605,33606,33607,33776,33831,33851,33852,33853,33855,33856,33859,33866,33867,33872,33873,33879,33880,33881,33882,33883,33886,33887,33888,33889,33890,33917,33956,33957,34151,34152,34153,34293,34295,34296,34297,34300,34453,34454,34455,34459,34460,34462,34464,34465,34466,34467,34468,34469,34470,34475,34476,34482,34483,34484,34485,34486,34487,34488,34489,34490,34491,34492,34493,34494,34496,34497,34498,34499,34500,34502,34503,34506,34507,34508,34692,34753,34838,34839,34859,34860,34861,34908,34909,34910,34914,34935,34938,34939,34948,34949,34950,34954,35029,35030,35100,35102,35104,35110,35111,35363,35364,35395,35396,35397,35446,35448,35449,35541,35550,35551,35552,35553,35578,35581,35691,35692,35693,36554,37116,37117,43338,44378,44379,44394,44395,44396,44397,44398,44399,44400,44402,44403,44404,44425,44442,44443,44445,44446,44448,44449,44457,44469,44470,44471,44472,44543,44545,44546,44548,44549,44557,44560,44561,44566,44567,44568,44570,44571,44572,44745,45234,45243,45244,46854,46855,46859,46860,46865,46866,46867,46908,46909,46910,46911,46913,46914,46915,46917,46924,46945,46949,46951,46952,46953,46968,47193,47195,47196,47197,47198,47199,47200,47201,47202,47203,47204,47205,47220,47221,47223,47230,47231,47236,47237,47238,47239,47240,47245,47246,47247,47258,47259,47260,47266,47267,47268,47269,47270,47294,47295,47296,47507,47508,47509,47511,47515,47516,47517,47535,47536,47537,47540,47558,47559,47560,47562,47564,47565,47566,47567,47569,47570,47573,47577,47578,47580,47581,47582,47585,47586,47587,47588,47788,48181,48384,48389,48392,48393,48395,48396,48409,48410,48411,48412,48432,48433,48434,48438,48483,48484,48485,48488,48489,48491,48492,48494,48495,48496,48499,48500,48505,48506,48510,48511,48514,48516,48521,48525,48532,48535,48536,48537,48539,48544,48545,48962,48963,48965,48977,48978,48979,48982,48985,48987,48988,48997,49004,49005,49006,49013,49015,49016,49018,49023,49024,49027,49028,49032,49036,49039,49042,49137,49140,49143,49145,49146,49149,49158,49175,49182,49184,49186,49188,49189,49194,49200,49202,49203,49206,49208,49217,49219,49220,49222,49223,49224,49226,49377,49390,49391,49392,49393,49394,49395,49455,49467,49471,49477,49478,49479,49480,49483,49488,49489,49490,49491,49495,49497,49500,49501,49503,49504,49508,49509,49526,49529,49530,49533,49534,49538,49542,49543,49562,49564,49565,49567,49568,49571,49572,49588,49589,49599,49610,49611,49627,49628,49631,49632,49633,49635,49636,49638,49654,49655,49657,49661,49662,49663,49664,49786,49787,49788,49789,49790,49791,49796,50029,50031,50033,50034,50040,50041,50043,50115,50117,50118,50119,50120,50121,50127,50128,50129,50130,50137,50138,50147,50149,50150,50151,50152,50154,50187,50190,50191,50334,50365,50371,50384,50385,50391,50392,50516,50685,50686,50687,50720,50796,50880,50884,50885,50886,50887,51052,51099,51108,51109,51123,51127,51128,51129,51130,51160,51161,51166,51167,51179,51180,51181,51182,51183,51267,51268,51269,51271,51456,51459,51462,51463,51464,51465,51466,51468,51470,51472,51473,51474,51478,51479,51480,51481,51482,51483,51485,51486,51490,51521,51522,51523,51524,51525,51526,51527,51528,51529,51530,51531,51532,51533,51554,51555,51556,51557,51558,51560,51561,51562,51563,51564,51565,51566,51625,51626,51627,51628,51629,51632,51633,51634,51635,51636,51662,51664,51665,51667,51668,51669,51672,51674,51679,51682,51685,51686,51687,51688,51689,51690,51692,51696,51698,51700,51701,51708,51709,51710,51711,51712,51713,51745,51746,51881,51883,51884,51885,51886,52143,52456,52783,52785,52786,52787,52788,52795,52797,52798,52799,52800,52802,52803,53137,53138,53209,53215,53216,53217,53221,53222,53224,53228,53232,53234,53237,53238,53241,53243,53244,53245,53246,53252,53253,53256,53259,53260,53262,53263,53264,53265,53270,53290,53291,53292,53295,53296,53297,53298,53299,53301,53302,53303,53304,53375,53376,53379,53380,53381,53382,53385,53484,53486,53488,53501,53502,53503,53519,53527,53530,53551,53552,53553,53556,53557,53563,53569,53576,53583,53585,53590,53591,53592,53595,53620,53621,53622,53648,53660,53661,53671,53673,53695,53696,53709,53710,53711,53754,53759,54037,54038,54117,54118,54151,54154,54155,54347,54348,54349,54354,54486,54488,54489,54490,54637,54638,54639,54646,54658,54659,54734,54747,54749,54787,55050,55061,55062,55090,55091,55092,55094,55107,55108,55129,55130,55131,55132,55133,55136,55198,55225,55226,55233,55236,55237,55339,55340,55610,55620,55623,55666,55667,56314,56315,56316,56317,56318,56333,56336,56337,56339,56340,56341,56342,56343,56344,56611,56612,56613,56614,56636,56637,56638,56822,56834,56835,56924,56927,56929,56930,56931,56932,57470,57472,57499,57810,57811,57812,57813,57814,57849,57850,57851,57865,57873,57876,57877,57878,57880,57881,58410,58413,58414,58415,58422,58423,58424,58425,58426,58435,58872,58874,59057,59088,59089,59672,59738,59739,59740,59741,60103,60184,60185,60187,60188,60970,61154,61155,61156,61157,61158,61216,61221,61222,61295,61329,61330,61331,61336,61345,61346,62097,62098,62099,62100,62101,62905,62908,63108,63117,63121,63123,63156,63158,63245,63349,63350,63351,63370,63372,63373,63374,63410,63411,63457,63458,63503,63504,63505,63506,63534,63542,63543,63560,63574,63625,63626,63627,63646,63647,63648,63649,63650,63730,63733,63737,64044,64127,64129,64205,64353,64357,64976,65139,65661,66191,66192,66799,66814,66815,66816,66817);
+
+/* XTElite1 - Talents that teach an initial skill, and you learn higher ranks from a trainer. Here's a cleanup query that will remove all those: */
+DELETE FROM `character_spell` WHERE `spell` IN (12505,12522,12523,12524,12525,12526,13018,13019,13020,13021,13031,13032,13033,16979,17311,17312,17313,17314,17347,17348,18807,18809,18867,18868,18869,18870,18871,18937,18938,19238,19240,19241,19242,19243,20900,20901,20902,20903,20904,20909,20910,21551,21552,21553,24132,24133,24974,24975,24976,24977,25248,25387,25437,26864,27013,27065,27067,27068,27132,27133,27134,27263,27265,27870,27871,28275,30016,30022,30330,30404,30405,30413,30414,30546,32593,32594,33041,33042,33043,33405,33876,33878,33933,33938,33982,33983,33986,33987,34411,34412,34413,34863,34864,34865,34866,34916,34917,42890,42891,42944,42945,42949,42950,43038,43039,44780,44781,47485,47486,47497,47498,47826,47827,47841,47843,47846,47847,48086,48087,48088,48089,48155,48156,48159,48160,48172,48173,48468,48563,48564,48565,48566,48660,48663,48666,48998,48999,49011,49012,49049,49050,49283,49284,49376,53005,53006,53007,53199,53200,53201,53223,53225,53226,53227,53248,53249,53251,55359,55360,57720,57721,57722,59092,59156,59158,59159,59161,59163,59164,59170,59171,59172,60051,60052,60053,61299,61300,61301,61384);
+
+/* Machiavelli & Nonox - Some missed talents: */
+DELETE FROM `character_spell` WHERE `spell` IN (3674,5420,9800,19263,20927,20928,20929,20930,24905,27174,27179,31904,32699,32700,33072,33891,34123,48359,48824,48825,48826,48827,48951,48952,50170,50171,50172,50306,50536,51373,51374,51375,51376,51378,51379,52881,53640,55265,55270,55271,57019,57224,62795,63668,63669,63670,63671,63672,64299,65139);
+
+ALTER TABLE `characters` ADD `speccount` tinyint(3) unsigned NOT NULL default 1 AFTER `arena_pending_points`;
+ALTER TABLE `characters` ADD `activespec` tinyint(3) unsigned NOT NULL default 0 AFTER `speccount`;
+
+ALTER TABLE `character_action` RENAME `character_action_old`;
+CREATE TABLE `character_action` (
+ `guid` int(11) unsigned NOT NULL default '0',
+ `spec` tinyint(3) unsigned NOT NULL default '0',
+ `button` tinyint(3) unsigned NOT NULL default '0',
+ `action` int(11) unsigned NOT NULL default '0',
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spec`,`button`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+INSERT INTO `character_action` (`guid`,`button`,`action`,`type`) SELECT `guid`,`button`,`action`,`type` FROM `character_action_old`;
+DROP TABLE `character_action_old`;
+
+
+COMMIT;
diff --git a/sql/old/3.1.3/05036_world_updates_dual_spec.sql b/sql/old/3.1.3/05036_world_updates_dual_spec.sql
new file mode 100644
index 00000000000..3aab06fae6b
--- /dev/null
+++ b/sql/old/3.1.3/05036_world_updates_dual_spec.sql
@@ -0,0 +1,3 @@
+
+UPDATE `npc_option` SET `id`=52,`action`=19 WHERE `id`=51 AND `action`=18 AND `option_text`='UNIT_NPC_FLAG_OUTDOORPVP';
+INSERT INTO `npc_option` (`id`, `gossip_id`, `npcflag`, `icon`, `action`, `box_money`, `coded`, `option_text`, `box_text`) values('51','0','16','2','18','10000000','0','Purchase a Dual Talent Specialization.','Are you sure you wish to purchase a Dual Talent Specialization?');
diff --git a/sql/old/3.1.3/05071_world_scripts.sql b/sql/old/3.1.3/05071_world_scripts.sql
new file mode 100644
index 00000000000..dc085cf884e
--- /dev/null
+++ b/sql/old/3.1.3/05071_world_scripts.sql
@@ -0,0 +1,3 @@
+UPDATE script_texts SET comment='core rager EMOTE_LOWHP' WHERE entry=-1409002;
+
+UPDATE creature_template SET ScriptName='npc_naladu' WHERE entry=19361;
diff --git a/sql/old/3.1.3/05083_world_scripts_dk.sql b/sql/old/3.1.3/05083_world_scripts_dk.sql
new file mode 100644
index 00000000000..4ef1ed1912f
--- /dev/null
+++ b/sql/old/3.1.3/05083_world_scripts_dk.sql
@@ -0,0 +1,10 @@
+DELETE FROM `npc_spellclick_spells` WHERE `spell_id` IN (52447);
+INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `quest_start`, `quest_start_active`, `quest_end`, `cast_flags`) VALUES
+(28833, 52447, 12701, 1, 12701, 1); -- Scarlet Cannon Master
+
+UPDATE creature_template SET spell1=52435,spell2=52576,spell5=52588,VehicleId=79,speed=0 WHERE entry = 28833;
+UPDATE `creature_template` SET vehicleid=138 WHERE (`entry`='28817');
+
+UPDATE `gameobject_template` SET `ScriptName`='go_inconspicuous_mine_car' WHERE (`entry`='190767');
+UPDATE `creature_template` SET `ScriptName`='npc_scarlet_miner_cart' WHERE (`entry`='28817');
+UPDATE `creature_template` SET `ScriptName`='npc_scarlet_miner' WHERE (`entry`='28841');
diff --git a/sql/old/3.1.3/05092_world_scripts.sql b/sql/old/3.1.3/05092_world_scripts.sql
new file mode 100644
index 00000000000..bd9535181af
--- /dev/null
+++ b/sql/old/3.1.3/05092_world_scripts.sql
@@ -0,0 +1 @@
+UPDATE creature_template SET ScriptName='npc_tracy_proudwell' WHERE entry=18266;
diff --git a/sql/old/3.1.3/05093_world_spell_proc_event.sql b/sql/old/3.1.3/05093_world_spell_proc_event.sql
new file mode 100644
index 00000000000..8a7fc5ef9ec
--- /dev/null
+++ b/sql/old/3.1.3/05093_world_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry`IN(44546, 44548, 44549);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 44546, 0x00, 3, 0x00100220, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Brain Freeze (Rank 1)
+( 44548, 0x00, 3, 0x00100220, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Brain Freeze (Rank 2)
+( 44549, 0x00, 3, 0x00100220, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Brain Freeze (Rank 3)
diff --git a/sql/old/3.1.3/05096_world_scripts.sql b/sql/old/3.1.3/05096_world_scripts.sql
new file mode 100644
index 00000000000..37bf49f3d7d
--- /dev/null
+++ b/sql/old/3.1.3/05096_world_scripts.sql
@@ -0,0 +1,12 @@
+UPDATE creature_template SET ScriptName='npc_tapoke_slim_jahn' WHERE entry=4962;
+UPDATE creature_template SET ScriptName='npc_mikhail' WHERE entry=4963;
+
+DELETE FROM script_waypoint WHERE entry=4962;
+INSERT INTO script_waypoint VALUES
+(4962, 0, -3804.438965, -828.048035, 10.093068, 0, ''),
+(4962, 1, -3803.934326, -835.772400, 10.077722, 0, ''),
+(4962, 2, -3792.629150, -835.670898, 9.655657, 0, ''),
+(4962, 3, -3772.433838, -835.345947, 10.868981, 0, ''),
+(4962, 4, -3765.937256, -840.128601, 10.885593, 0, ''),
+(4962, 5, -3738.633789, -830.997498, 11.057384, 0, ''),
+(4962, 6, -3690.224121, -862.261597, 9.960449, 0, '');
diff --git a/sql/old/3.1.3/05097_character_updates_dual_spec.sql b/sql/old/3.1.3/05097_character_updates_dual_spec.sql
new file mode 100644
index 00000000000..13f5f4b6d20
--- /dev/null
+++ b/sql/old/3.1.3/05097_character_updates_dual_spec.sql
@@ -0,0 +1,13 @@
+
+/* Begin intentional error */
+"Run 5097_character_updates_dual_spec.sql manually, or don't run it at all. This is only intended for people who need to clean up missed skills from r5036. If you never used r5036 - 5096, ignore this. Tell your users to reset their talents (or just switch specs) to fix their talent points.";
+
+/*
+
+-- Drethek - This should be all talents without a learned spell as a major rank:
+DELETE FROM `character_spell` WHERE `spell` IN (724,974,1329,5570,5923,5924,5925,5926,5952,9452,9453,9799,10060,11069,11070,11071,11078,11080,11083,11094,11095,11100,11103,11108,11113,11115,11119,11120,11124,11129,11151,11160,11170,11175,11180,11185,11189,11190,11207,11210,11213,11222,11232,11237,11242,11247,11252,11255,11366,11367,11368,11426,11958,12042,12043,12163,12281,12282,12284,12285,12286,12287,12289,12290,12292,12294,12295,12296,12297,12298,12299,12300,12301,12308,12311,12312,12313,12317,12318,12319,12320,12321,12322,12323,12324,12328,12329,12330,12338,12339,12340,12341,12349,12350,12351,12353,12357,12358,12378,12398,12399,12400,12463,12464,12467,12469,12472,12473,12487,12488,12489,12490,12496,12497,12500,12501,12502,12503,12518,12519,12569,12571,12574,12575,12576,12577,12592,12598,12605,12606,12658,12663,12664,12665,12666,12668,12672,12676,12677,12697,12700,12701,12702,12703,12704,12711,12712,12724,12725,12726,12727,12750,12751,12752,12753,12761,12762,12763,12764,12781,12783,12784,12785,12797,12799,12803,12804,12809,12810,12811,12812,12813,12814,12815,12818,12834,12835,12839,12840,12846,12847,12848,12849,12852,12853,12855,12856,12857,12858,12860,12861,12862,12867,12872,12873,12876,12877,12878,12879,12950,12952,12953,12958,12959,12960,12963,12971,12972,12973,12974,12975,12982,12983,12999,13000,13001,13002,13043,13045,13046,13047,13048,13705,13706,13709,13712,13713,13715,13732,13733,13741,13742,13743,13750,13754,13788,13789,13792,13793,13800,13801,13802,13803,13804,13805,13806,13807,13832,13843,13844,13845,13848,13849,13851,13852,13853,13854,13863,13865,13866,13867,13872,13875,13877,13958,13960,13961,13962,13963,13964,13970,13971,13975,13976,13979,13980,13981,13983,14057,14062,14063,14066,14070,14071,14072,14076,14079,14080,14082,14083,14094,14113,14114,14115,14116,14117,14128,14132,14135,14136,14137,14138,14139,14140,14141,14142,14144,14148,14156,14158,14159,14160,14161,14162,14163,14164,14165,14166,14168,14169,14171,14172,14173,14174,14175,14176,14177,14179,14183,14185,14186,14190,14193,14194,14195,14251,14278,14520,14521,14522,14523,14531,14747,14748,14749,14750,14751,14767,14768,14769,14770,14771,14772,14774,14776,14777,14780,14781,14784,14785,14788,14789,14790,14791,14889,14892,14898,14901,14908,14909,14910,14911,14912,14913,14983,15008,15009,15010,15011,15012,15013,15014,15017,15018,15020,15028,15029,15030,15031,15047,15058,15059,15060,15257,15259,15260,15270,15272,15273,15274,15275,15286,15307,15308,15309,15310,15311,15312,15313,15314,15316,15317,15318,15320,15327,15328,15331,15332,15335,15336,15337,15338,15349,15354,15355,15356,15362,15363,15392,15407,15448,15473,15487,16035,16038,16039,16040,16041,16043,16086,16089,16105,16106,16107,16108,16109,16110,16111,16112,16113,16114,16115,16116,16130,16160,16161,16164,16166,16173,16176,16178,16179,16180,16181,16182,16184,16187,16188,16190,16194,16196,16198,16205,16206,16209,16210,16211,16212,16213,16214,16215,16216,16217,16218,16219,16220,16221,16222,16223,16224,16225,16226,16227,16228,16229,16230,16232,16235,16240,16252,16254,16255,16256,16258,16259,16261,16262,16266,16268,16271,16272,16281,16282,16283,16284,16287,16290,16293,16295,16302,16303,16304,16305,16306,16307,16308,16309,16462,16463,16464,16465,16466,16487,16489,16492,16493,16494,16511,16513,16514,16515,16538,16539,16540,16541,16542,16544,16578,16579,16580,16581,16582,16757,16758,16763,16765,16766,16769,16770,16814,16815,16816,16817,16818,16819,16820,16821,16822,16833,16834,16835,16836,16839,16840,16845,16846,16847,16850,16858,16859,16860,16861,16862,16864,16880,16896,16897,16899,16909,16910,16911,16912,16913,16923,16924,16929,16930,16931,16934,16935,16936,16937,16938,16940,16941,16942,16943,16944,16947,16948,16949,16966,16968,16972,16974,16975,16998,16999,17002,17003,17004,17005,17006,17007,17050,17051,17056,17058,17059,17060,17061,17063,17065,17066,17069,17070,17071,17072,17073,17074,17075,17076,17077,17078,17104,17106,17107,17108,17111,17112,17113,17116,17118,17119,17120,17123,17124,17191,17322,17323,17364,17485,17486,17487,17488,17489,17778,17779,17780,17783,17784,17785,17788,17789,17790,17791,17792,17793,17796,17801,17802,17803,17804,17805,17810,17811,17812,17813,17814,17815,17833,17834,17877,17917,17918,17927,17929,17930,17954,17955,17956,17957,17958,17959,17962,18073,18094,18095,18096,18119,18120,18126,18127,18130,18135,18136,18174,18175,18176,18179,18180,18182,18183,18213,18218,18219,18220,18223,18271,18272,18273,18274,18275,18288,18372,18427,18428,18429,18459,18460,18462,18463,18464,18530,18531,18533,18534,18535,18551,18552,18553,18554,18555,18562,18692,18693,18694,18695,18696,18697,18698,18699,18703,18704,18705,18706,18707,18708,18709,18710,18731,18743,18744,18754,18755,18756,18767,18768,18769,18770,18771,18772,18773,18827,18829,19028,19159,19160,19168,19180,19181,19184,19236,19255,19256,19257,19258,19259,19286,19287,19290,19294,19295,19297,19298,19306,19370,19371,19373,19376,19386,19387,19388,19407,19412,19416,19417,19418,19419,19420,19421,19422,19423,19426,19427,19429,19430,19431,19434,19454,19455,19456,19461,19462,19464,19465,19466,19485,19487,19488,19489,19490,19498,19499,19500,19503,19506,19507,19508,19509,19549,19550,19551,19552,19553,19554,19555,19556,19559,19560,19572,19573,19574,19575,19577,19578,19583,19584,19585,19586,19587,19590,19592,19598,19599,19600,19601,19602,19609,19610,19612,19616,19617,19618,19619,19620,19621,19622,19623,19624,19625,20042,20045,20049,20056,20057,20060,20061,20062,20063,20064,20066,20096,20097,20098,20099,20100,20101,20102,20103,20104,20105,20111,20112,20113,20117,20118,20119,20120,20121,20127,20130,20135,20138,20139,20140,20143,20144,20145,20146,20147,20174,20175,20177,20179,20180,20181,20182,20196,20197,20198,20205,20206,20207,20208,20209,20210,20212,20213,20214,20215,20216,20224,20225,20234,20235,20237,20238,20239,20243,20244,20245,20254,20255,20256,20257,20258,20259,20260,20261,20262,20263,20264,20265,20266,20330,20331,20332,20335,20336,20337,20359,20360,20361,20375,20468,20469,20470,20473,20487,20488,20496,20500,20501,20502,20503,20504,20505,20711,20895,20911,20925,23584,23585,23586,23587,23588,23695,23785,23822,23823,23824,23825,23881,23989,24283,24296,24297,24443,24691,24858,24866,24894,24943,24944,24945,24946,24968,24969,24970,24971,24972,25829,25836,25956,25957,25988,26016,26022,26023,27789,27790,27811,27815,27816,27839,27840,27900,27901,27902,27903,27904,28332,28574,28592,28593,28996,28997,28998,28999,29000,29062,29064,29065,29074,29075,29076,29079,29080,29082,29084,29086,29140,29143,29144,29179,29180,29187,29189,29191,29192,29193,29202,29205,29206,29438,29439,29440,29441,29444,29447,29590,29591,29592,29593,29594,29598,29599,29623,29721,29723,29724,29725,29759,29760,29761,29762,29763,29776,29787,29790,29792,29801,29834,29836,29838,29859,29888,29889,30054,30057,30060,30061,30062,30063,30064,30108,30143,30144,30145,30146,30160,30242,30245,30246,30247,30248,30283,30288,30289,30290,30291,30292,30293,30295,30296,30299,30301,30302,30319,30320,30321,30326,30664,30665,30666,30672,30673,30674,30675,30678,30679,30706,30798,30802,30808,30809,30812,30813,30814,30816,30818,30819,30823,30864,30865,30866,30867,30868,30869,30872,30873,30881,30883,30884,30885,30886,30892,30893,30894,30895,30902,30903,30904,30905,30906,30919,30920,31122,31123,31124,31126,31130,31131,31208,31209,31211,31212,31213,31216,31217,31218,31219,31220,31221,31222,31223,31226,31227,31228,31229,31230,31244,31245,31380,31382,31383,31569,31570,31571,31572,31574,31575,31579,31582,31583,31584,31585,31586,31587,31588,31589,31638,31639,31640,31641,31642,31656,31657,31658,31661,31667,31668,31669,31670,31672,31674,31675,31676,31677,31678,31679,31680,31682,31683,31687,31785,31821,31822,31823,31825,31826,31828,31829,31830,31833,31835,31836,31837,31838,31839,31840,31841,31842,31844,31845,31848,31849,31850,31851,31852,31858,31859,31860,31866,31867,31868,31869,31871,31872,31876,31877,31878,31879,31880,31881,31935,32043,32381,32382,32383,32385,32387,32392,32393,32394,32477,32483,32484,32601,33142,33145,33146,33150,33154,33158,33159,33160,33161,33162,33167,33171,33172,33186,33190,33191,33192,33193,33201,33202,33206,33213,33214,33215,33221,33222,33223,33224,33225,33371,33589,33590,33591,33592,33596,33597,33599,33600,33601,33602,33603,33604,33605,33606,33607,33776,33831,33851,33852,33853,33855,33856,33859,33866,33867,33872,33873,33879,33880,33881,33882,33883,33886,33887,33888,33889,33890,33917,33956,33957,34151,34152,34153,34293,34295,34296,34297,34300,34453,34454,34455,34459,34460,34462,34464,34465,34466,34467,34468,34469,34470,34475,34476,34482,34483,34484,34485,34486,34487,34488,34489,34490,34491,34492,34493,34494,34496,34497,34498,34499,34500,34502,34503,34506,34507,34508,34692,34753,34838,34839,34859,34860,34861,34908,34909,34910,34914,34935,34938,34939,34948,34949,34950,34954,35029,35030,35100,35102,35104,35110,35111,35363,35364,35395,35396,35397,35446,35448,35449,35541,35550,35551,35552,35553,35578,35581,35691,35692,35693,36554,37116,37117,43338,44378,44379,44394,44395,44396,44397,44398,44399,44400,44402,44403,44404,44425,44442,44443,44445,44446,44448,44449,44457,44469,44470,44471,44472,44543,44545,44546,44548,44549,44557,44560,44561,44566,44567,44568,44570,44571,44572,44745,45234,45243,45244,46854,46855,46859,46860,46865,46866,46867,46908,46909,46910,46911,46913,46914,46915,46917,46924,46945,46949,46951,46952,46953,46968,47193,47195,47196,47197,47198,47199,47200,47201,47202,47203,47204,47205,47220,47221,47223,47230,47231,47236,47237,47238,47239,47240,47245,47246,47247,47258,47259,47260,47266,47267,47268,47269,47270,47294,47295,47296,47507,47508,47509,47511,47515,47516,47517,47535,47536,47537,47540,47558,47559,47560,47562,47564,47565,47566,47567,47569,47570,47573,47577,47578,47580,47581,47582,47585,47586,47587,47588,47788,48181,48384,48389,48392,48393,48395,48396,48409,48410,48411,48412,48432,48433,48434,48438,48483,48484,48485,48488,48489,48491,48492,48494,48495,48496,48499,48500,48505,48506,48510,48511,48514,48516,48521,48525,48532,48535,48536,48537,48539,48544,48545,48962,48963,48965,48977,48978,48979,48982,48985,48987,48988,48997,49004,49005,49006,49013,49015,49016,49018,49023,49024,49027,49028,49032,49036,49039,49042,49137,49140,49143,49145,49146,49149,49158,49175,49182,49184,49186,49188,49189,49194,49200,49202,49203,49206,49208,49217,49219,49220,49222,49223,49224,49226,49377,49390,49391,49392,49393,49394,49395,49455,49467,49471,49477,49478,49479,49480,49483,49488,49489,49490,49491,49495,49497,49500,49501,49503,49504,49508,49509,49526,49529,49530,49533,49534,49538,49542,49543,49562,49564,49565,49567,49568,49571,49572,49588,49589,49599,49610,49611,49627,49628,49631,49632,49633,49635,49636,49638,49654,49655,49657,49661,49662,49663,49664,49786,49787,49788,49789,49790,49791,49796,50029,50031,50033,50034,50040,50041,50043,50115,50117,50118,50119,50120,50121,50127,50128,50129,50130,50137,50138,50147,50149,50150,50151,50152,50154,50187,50190,50191,50334,50365,50371,50384,50385,50391,50392,50516,50685,50686,50687,50720,50796,50880,50884,50885,50886,50887,51052,51099,51108,51109,51123,51127,51128,51129,51130,51160,51161,51166,51167,51179,51180,51181,51182,51183,51267,51268,51269,51271,51456,51459,51462,51463,51464,51465,51466,51468,51470,51472,51473,51474,51478,51479,51480,51481,51482,51483,51485,51486,51490,51521,51522,51523,51524,51525,51526,51527,51528,51529,51530,51531,51532,51533,51554,51555,51556,51557,51558,51560,51561,51562,51563,51564,51565,51566,51625,51626,51627,51628,51629,51632,51633,51634,51635,51636,51662,51664,51665,51667,51668,51669,51672,51674,51679,51682,51685,51686,51687,51688,51689,51690,51692,51696,51698,51700,51701,51708,51709,51710,51711,51712,51713,51745,51746,51881,51883,51884,51885,51886,52143,52456,52783,52785,52786,52787,52788,52795,52797,52798,52799,52800,52802,52803,53137,53138,53209,53215,53216,53217,53221,53222,53224,53228,53232,53234,53237,53238,53241,53243,53244,53245,53246,53252,53253,53256,53259,53260,53262,53263,53264,53265,53270,53290,53291,53292,53295,53296,53297,53298,53299,53301,53302,53303,53304,53375,53376,53379,53380,53381,53382,53385,53484,53486,53488,53501,53502,53503,53519,53527,53530,53551,53552,53553,53556,53557,53563,53569,53576,53583,53585,53590,53591,53592,53595,53620,53621,53622,53648,53660,53661,53671,53673,53695,53696,53709,53710,53711,53754,53759,54037,54038,54117,54118,54151,54154,54155,54347,54348,54349,54354,54486,54488,54489,54490,54637,54638,54639,54646,54658,54659,54734,54747,54749,54787,55050,55061,55062,55090,55091,55092,55094,55107,55108,55129,55130,55131,55132,55133,55136,55198,55225,55226,55233,55236,55237,55339,55340,55610,55620,55623,55666,55667,56314,56315,56316,56317,56318,56333,56336,56337,56339,56340,56341,56342,56343,56344,56611,56612,56613,56614,56636,56637,56638,56822,56834,56835,56924,56927,56929,56930,56931,56932,57470,57472,57499,57810,57811,57812,57813,57814,57849,57850,57851,57865,57873,57876,57877,57878,57880,57881,58410,58413,58414,58415,58422,58423,58424,58425,58426,58435,58872,58874,59057,59088,59089,59672,59738,59739,59740,59741,60103,60184,60185,60187,60188,60970,61154,61155,61156,61157,61158,61216,61221,61222,61295,61329,61330,61331,61336,61345,61346,62097,62098,62099,62100,62101,62905,62908,63108,63117,63121,63123,63156,63158,63245,63349,63350,63351,63370,63372,63373,63374,63410,63411,63457,63458,63503,63504,63505,63506,63534,63542,63543,63560,63574,63625,63626,63627,63646,63647,63648,63649,63650,63730,63733,63737,64044,64127,64129,64205,64353,64357,64976,65139,65661,66191,66192,66799,66814,66815,66816,66817);
+
+-- XTElite1 - Talents that teach an initial skill, and you learn higher ranks from a trainer. Here's a cleanup query that will remove all those:
+DELETE FROM `character_spell` WHERE `spell` IN (12505,12522,12523,12524,12525,12526,13018,13019,13020,13021,13031,13032,13033,16979,17311,17312,17313,17314,17347,17348,18807,18809,18867,18868,18869,18870,18871,18937,18938,19238,19240,19241,19242,19243,20900,20901,20902,20903,20904,20909,20910,21551,21552,21553,24132,24133,24974,24975,24976,24977,25248,25387,25437,26864,27013,27065,27067,27068,27132,27133,27134,27263,27265,27870,27871,28275,30016,30022,30330,30404,30405,30413,30414,30546,32593,32594,33041,33042,33043,33405,33876,33878,33933,33938,33982,33983,33986,33987,34411,34412,34413,34863,34864,34865,34866,34916,34917,42890,42891,42944,42945,42949,42950,43038,43039,44780,44781,47485,47486,47497,47498,47826,47827,47841,47843,47846,47847,48086,48087,48088,48089,48155,48156,48159,48160,48172,48173,48468,48563,48564,48565,48566,48660,48663,48666,48998,48999,49011,49012,49049,49050,49283,49284,49376,53005,53006,53007,53199,53200,53201,53223,53225,53226,53227,53248,53249,53251,55359,55360,57720,57721,57722,59092,59156,59158,59159,59161,59163,59164,59170,59171,59172,60051,60052,60053,61299,61300,61301,61384);
+
+*/
diff --git a/sql/old/3.1.3/05097_world_scripts.sql b/sql/old/3.1.3/05097_world_scripts.sql
new file mode 100644
index 00000000000..6a4f6f8cd61
--- /dev/null
+++ b/sql/old/3.1.3/05097_world_scripts.sql
@@ -0,0 +1,69 @@
+UPDATE creature_template SET ScriptName='npc_00x09hl' WHERE entry=7806;
+
+DELETE FROM script_waypoint WHERE entry=7806;
+INSERT INTO script_waypoint VALUES
+(7806, 0, 495.404358, -3478.350830, 114.837, 0, ''),
+(7806, 1, 492.704742, -3486.112549, 108.627, 0, ''),
+(7806, 2, 487.249756, -3485.764404, 107.890, 0, ''),
+(7806, 3, 476.851959, -3489.875977, 99.985, 0, ''),
+(7806, 4, 467.212402, -3493.355469, 99.819, 0, ''),
+(7806, 5, 460.017029, -3496.984375, 104.481, 0, ''),
+(7806, 6, 439.619446, -3500.730225, 110.534, 0, ''),
+(7806, 7, 428.326385, -3495.874756, 118.662, 0, ''),
+(7806, 8, 424.664032, -3489.381592, 121.999, 0, ''),
+(7806, 9, 424.137299, -3470.952637, 124.333, 0, ''),
+(7806, 10, 421.791107, -3449.242676, 119.126, 0, ''),
+(7806, 11, 404.247070, -3429.376953, 117.644, 0, ''),
+(7806, 12, 335.465271, -3430.717773, 116.456, 0, ''),
+(7806, 13, 317.160126, -3426.708984, 116.226, 0, ''),
+(7806, 14, 331.180115, -3464.002197, 117.143, 0, ''),
+(7806, 15, 336.393616, -3501.877441, 118.201, 0, ''),
+(7806, 16, 337.251312, -3544.764648, 117.284, 0, ''),
+(7806, 17, 337.748932, -3565.415527, 116.797, 0, ''),
+(7806, 18, 336.010925, -3597.363037, 118.225, 0, ''),
+(7806, 19, 324.619141, -3622.884033, 119.811, 0, ''),
+(7806, 20, 308.027466, -3648.600098, 123.047, 0, ''),
+(7806, 21, 276.325409, -3685.738525, 128.356, 0, ''),
+(7806, 22, 239.981064, -3717.330811, 131.874, 0, ''),
+(7806, 23, 224.950974, -3730.169678, 132.125, 0, ''),
+(7806, 24, 198.707870, -3768.292725, 129.420, 0, ''),
+(7806, 25, 183.758316, -3791.068848, 128.045, 0, ''),
+(7806, 26, 178.110657, -3801.575439, 128.370, 3000, 'SAY_OOX_DANGER'),
+(7806, 27, 162.215225, -3827.014160, 129.424, 0, ''),
+(7806, 28, 141.664734, -3864.519287, 131.419, 0, ''),
+(7806, 29, 135.301697, -3880.089111, 132.120, 0, ''),
+(7806, 30, 122.461151, -3910.071533, 135.605, 0, ''),
+(7806, 31, 103.376175, -3937.725098, 137.342, 0, ''),
+(7806, 32, 81.414474, -3958.614258, 138.469, 0, ''),
+(7806, 33, 55.378139, -3982.004639, 136.520, 0, ''),
+(7806, 34, 13.983131, -4013.952881, 126.903, 0, ''),
+(7806, 35, -21.658007, -4048.713623, 118.068, 0, ''),
+(7806, 36, -52.443058, -4081.209717, 117.477, 0, ''),
+(7806, 37, -102.710854, -4116.760742, 118.666, 0, ''),
+(7806, 38, -92.996193, -4135.847168, 119.310, 0, ''),
+(7806, 39, -86.391273, -4153.331055, 122.502, 0, ''),
+(7806, 40, -85.746086, -4163.600586, 121.892, 0, ''),
+(7806, 41, -90.544006, -4183.577637, 117.587, 0, ''),
+(7806, 42, -110.223564, -4205.861328, 121.878, 0, ''),
+(7806, 43, -115.257607, -4211.962402, 121.878, 3000, 'SAY_OOX_DANGER'),
+(7806, 44, -128.594650, -4233.343750, 117.766, 0, ''),
+(7806, 45, -135.358917, -4258.120117, 117.562, 0, ''),
+(7806, 46, -156.832428, -4258.961914, 120.059, 0, ''),
+(7806, 47, -167.119873, -4274.102539, 117.062, 0, ''),
+(7806, 48, -176.291016, -4287.594727, 118.721, 0, ''),
+(7806, 49, -196.992981, -4315.815430, 117.588, 0, ''),
+(7806, 50, -209.329300, -4331.671387, 115.142, 0, ''),
+(7806, 51, -232.292236, -4356.015625, 108.543, 0, ''),
+(7806, 52, -232.159683, -4370.904297, 102.815, 0, ''),
+(7806, 53, -210.271133, -4389.896973, 84.167, 0, ''),
+(7806, 54, -187.940186, -4407.532715, 70.987, 0, ''),
+(7806, 55, -181.353577, -4418.771973, 64.778, 0, ''),
+(7806, 56, -170.529861, -4440.438965, 58.943, 0, ''),
+(7806, 57, -141.428543, -4465.323242, 45.963, 0, ''),
+(7806, 58, -120.993629, -4487.088379, 32.075, 0, ''),
+(7806, 59, -104.134621, -4501.837402, 25.051, 0, ''),
+(7806, 60, -84.154663, -4529.436523, 11.952, 0, ''),
+(7806, 61, -88.698898, -4544.626465, 9.055, 0, ''),
+(7806, 62, -100.603447, -4575.034180, 11.388, 0, ''),
+(7806, 63, -106.908669, -4600.407715, 11.046, 0, ''),
+(7806, 64, -106.831703, -4620.503418, 11.057, 3000, 'SAY_OOX_COMPLETE');
diff --git a/sql/old/3.1.3/05105_world_scripts.sql b/sql/old/3.1.3/05105_world_scripts.sql
new file mode 100644
index 00000000000..33a32fcc254
--- /dev/null
+++ b/sql/old/3.1.3/05105_world_scripts.sql
@@ -0,0 +1,311 @@
+DELETE FROM script_waypoint WHERE entry=3439;
+INSERT INTO script_waypoint VALUES
+(3439, 0, 1105.090332, -3101.254150, 82.706, 1000, 'SAY_STARTUP1'),
+(3439, 1, 1103.204468, -3104.345215, 83.113, 1000, ''),
+(3439, 2, 1107.815186, -3106.495361, 82.739, 1000, ''),
+(3439, 3, 1104.733276, -3100.830811, 82.747, 1000, ''),
+(3439, 4, 1103.242554, -3106.270020, 83.133, 1000, ''),
+(3439, 5, 1112.807373, -3106.285400, 82.320, 1000, ''),
+(3439, 6, 1112.826782, -3108.908691, 82.377, 1000, ''),
+(3439, 7, 1108.053955, -3115.156738, 82.894, 0, ''),
+(3439, 8, 1108.355591, -3104.365234, 82.377, 5000, ''),
+(3439, 9, 1100.306763, -3097.539063, 83.150, 0, 'SAY_STARTUP2'),
+(3439, 10, 1100.562378, -3082.721924, 82.768, 0, ''),
+(3439, 11, 1097.512939, -3069.226563, 82.206, 0, ''),
+(3439, 12, 1092.964966, -3053.114746, 82.351, 0, ''),
+(3439, 13, 1094.010986, -3036.958496, 82.888, 0, ''),
+(3439, 14, 1095.623901, -3025.760254, 83.392, 0, ''),
+(3439, 15, 1107.656494, -3013.530518, 85.653, 0, ''),
+(3439, 16, 1119.647705, -3006.928223, 87.019, 0, ''),
+(3439, 17, 1129.991211, -3002.410645, 91.232, 7000, 'SAY_MERCENARY'),
+(3439, 18, 1133.328735, -2997.710693, 91.675, 1000, 'SAY_PROGRESS_1'),
+(3439, 19, 1131.799316, -2987.948242, 91.976, 1000, ''),
+(3439, 20, 1122.028687, -2993.397461, 91.536, 0, ''),
+(3439, 21, 1116.614868, -2981.916748, 92.103, 0, ''),
+(3439, 22, 1102.239136, -2994.245117, 92.074, 0, ''),
+(3439, 23, 1096.366211, -2978.306885, 91.873, 0, ''),
+(3439, 24, 1091.971558, -2985.919189, 91.730, 40000, 'SAY_PROGRESS_2');
+
+DELETE FROM script_waypoint WHERE entry = 1978;
+INSERT INTO script_waypoint VALUES
+(1978, 0, 1406.32, 1083.10, 52.55, 0, ''),
+(1978, 1, 1400.49, 1080.42, 52.50, 0, 'first say'),
+(1978, 2, 1388.48, 1083.10, 52.52, 0, ''),
+(1978, 3, 1370.16, 1084.02, 52.30, 0, ''),
+(1978, 4, 1359.02, 1080.85, 52.46, 0, ''),
+(1978, 5, 1341.43, 1087.39, 52.69, 0, ''),
+(1978, 6, 1321.93, 1090.51, 50.66, 0, ''),
+(1978, 7, 1312.98, 1095.91, 47.49, 0, ''),
+(1978, 8, 1301.09, 1102.94, 47.76, 0, ''),
+(1978, 9, 1297.73, 1106.35, 50.18, 0, ''),
+(1978, 10, 1295.49, 1124.32, 50.49, 0, ''),
+(1978, 11, 1294.84, 1137.25, 51.75, 0, ''),
+(1978, 12, 1292.89, 1158.99, 52.65, 0, ''),
+(1978, 13, 1290.75, 1168.67, 52.56, 1000, 'complete quest and say last'),
+(1978, 14, 1287.12, 1203.49, 52.66, 5000, ''),
+(1978, 15, 1287.12, 1203.49, 52.66, 4000, ''),
+(1978, 16, 1287.12, 1203.49, 52.66, 5000, ''),
+(1978, 17, 1287.12, 1203.49, 52.66, 4000, ''),
+(1978, 18, 1290.72, 1207.44, 52.69, 0, ''),
+(1978, 19, 1297.50, 1207.18, 53.74, 0, ''),
+(1978, 20, 1301.32, 1220.90, 53.74, 0, ''),
+(1978, 21, 1298.55, 1220.43, 53.74, 0, ''),
+(1978, 22, 1297.59, 1211.23, 58.47, 0, ''),
+(1978, 23, 1305.01, 1206.10, 58.51, 0, ''),
+(1978, 24, 1310.51, 1207.36, 58.51, 5000, ''),
+(1978, 25, 1310.51, 1207.36, 58.51, 5000, ''),
+(1978, 26, 1310.51, 1207.36, 58.51, 2000, '');
+
+DELETE FROM script_waypoint WHERE entry = 7784;
+INSERT INTO script_waypoint VALUES
+(7784 ,0, -8843.73, -4374.44, 43.71, 0, ''),
+(7784 ,1, -8834.68, -4373.88, 45.71, 0, ''),
+(7784 ,2, -8832.93, -4373.85, 45.67, 0, ''),
+(7784 ,3, -8829.21, -4373.72, 44.14, 0, ''),
+(7784 ,4, -8825.10, -4373.56, 41.44, 0, ''),
+(7784 ,5, -8818.88, -4372.75, 36.43, 0, ''),
+(7784 ,6, -8803.37, -4369.68, 30.06, 0, ''),
+(7784 ,7, -8786.68, -4366.18, 23.91, 0, ''),
+(7784 ,8, -8764.97, -4366.94, 25.23, 0, ''),
+(7784 ,9, -8745.49, -4363.16, 22.80, 0, ''),
+(7784 ,10, -8724.13, -4353.55, 20.72, 0, ''),
+(7784 ,11, -8706.77, -4346.14, 16.12, 0, ''),
+(7784 ,12, -8688.27, -4372.85, 13.64, 0, ''),
+(7784 ,13, -8668.76, -4380.38, 11.69, 0, ''),
+(7784 ,14, -8645.19, -4388.62, 12.56, 0, ''),
+(7784 ,15, -8614.73, -4398.60, 9.86, 0, ''),
+(7784 ,16, -8560.33, -4411.27, 13.17, 0, ''),
+(7784 ,17, -8536.45, -4416.49, 11.84, 0, ''),
+(7784 ,18, -8503.48, -4423.70, 13.59, 0, ''),
+(7784 ,19, -8471.91, -4430.60, 9.56, 0, ''),
+(7784 ,20, -8441.36, -4435.31, 9.40, 0, ''),
+(7784 ,21, -8403.41, -4441.16, 11.83, 0, ''),
+(7784 ,22, -8371.24, -4446.13, 9.47, 0, ''),
+(7784 ,23, -8353.96, -4448.79, 10.10, 0, 'Scorpid'),
+(7784 ,24, -8336.40, -4446.39, 8.98, 0, ''),
+(7784 ,25, -8303.78, -4441.96, 11.89, 0, ''),
+(7784 ,26, -8272.20, -4433.31, 9.60, 0, ''),
+(7784 ,27, -8224.76, -4419.39, 13.03, 0, ''),
+(7784 ,28, -8193.31, -4406.04, 10.17, 0, ''),
+(7784 ,29, -8155.65, -4397.74, 8.99, 0, ''),
+(7784 ,30, -8129.25, -4394.57, 10.92, 0, ''),
+(7784 ,31, -8104.86, -4399.03, 8.93, 0, ''),
+(7784 ,32, -8063.15, -4423.40, 10.07, 0, ''),
+(7784 ,33, -8032.15, -4443.47, 9.97, 0, ''),
+(7784 ,34, -8015.39, -4454.33, 9.39, 0, ''),
+(7784 ,35, -7981.64, -4482.44, 10.32, 0, ''),
+(7784 ,36, -7958.83, -4503.98, 9.69, 0, ''),
+(7784 ,37, -7932.45, -4528.91, 10.08, 0, ''),
+(7784 ,38, -7904.09, -4566.67, 12.59, 0, ''),
+(7784 ,39, -7883.33, -4593.91, 12.15, 0, ''),
+(7784 ,40, -7862.83, -4624.53, 10.21, 0, ''),
+(7784 ,41, -7840.79, -4654.26, 9.45, 0, ''),
+(7784 ,42, -7826.17, -4673.99, 10.61, 0, ''),
+(7784 ,43, -7807.86, -4698.69, 11.24, 0, ''),
+(7784 ,44, -7793.88, -4717.55, 10.48, 0, ''),
+(7784 ,45, -7778.68, -4738.05, 8.89, 0, ''),
+(7784 ,46, -7746.42, -4780.39, 9.84, 0, ''),
+(7784 ,47, -7724.11, -4772.75, 10.28, 0, ''),
+(7784 ,48, -7697.98, -4763.80, 9.52, 0, ''),
+(7784 ,49, -7665.33, -4752.62, 10.56, 0, ''),
+(7784 ,50, -7641.47, -4750.33, 8.94, 0, ''),
+(7784 ,51, -7620.08, -4753.96, 8.93, 0, ''),
+(7784 ,52, -7603.15, -4757.53, 9.06, 0, ''),
+(7784 ,53, -7579.43, -4767.07, 8.93, 0, ''),
+(7784 ,54, -7558.51, -4779.01, 9.64, 0, ''),
+(7784 ,55, -7536.40, -4789.32, 8.92, 0, ''),
+(7784 ,56, -7512.07, -4793.50, 9.35, 0, 'Wastewander'),
+(7784 ,57, -7490.79, -4788.80, 10.53, 0, ''),
+(7784 ,58, -7469.10, -4785.11, 10.42, 0, ''),
+(7784 ,59, -7453.18, -4782.41, 9.15, 0, ''),
+(7784 ,60, -7426.27, -4777.83, 9.54, 0, ''),
+(7784 ,61, -7393.84, -4770.19, 12.57, 0, ''),
+(7784 ,62, -7367.25, -4764.17, 11.92, 0, ''),
+(7784 ,63, -7341.00, -4752.11, 10.17, 0, ''),
+(7784 ,64, -7321.62, -4744.97, 11.58, 0, ''),
+(7784 ,65, -7302.35, -4744.35, 11.97, 0, ''),
+(7784 ,66, -7281.00, -4743.66, 11.21, 0, ''),
+(7784 ,67, -7258.33, -4742.93, 9.64, 0, ''),
+(7784 ,68, -7236.70, -4742.24, 10.16, 0, ''),
+(7784 ,69, -7217.52, -4743.87, 10.79, 0, ''),
+(7784 ,70, -7201.86, -4746.32, 9.58, 0, ''),
+(7784 ,71, -7182.01, -4749.41, 9.09, 0, ''),
+(7784 ,72, -7159.61, -4752.90, 9.52, 0, ''),
+(7784 ,73, -7139.58, -4756.02, 9.53, 0, ''),
+(7784 ,74, -7122.60, -4754.91, 9.66, 0, ''),
+(7784 ,75, -7101.06, -4753.87, 8.92, 0, ''),
+(7784 ,76, -7082.79, -4752.99, 9.97, 0, ''),
+(7784 ,77, -7061.81, -4751.98, 9.26, 0, ''),
+(7784 ,78, -7035.12, -4754.39, 9.19, 0, ''),
+(7784 ,79, -7013.90, -4758.64, 10.28, 0, ''),
+(7784 ,80, -7001.71, -4769.73, 10.59, 0, ''),
+(7784 ,81, -6984.95, -4788.61, 9.30, 0, ''),
+(7784 ,82, -6970.41, -4788.77, 9.42, 0, ''),
+(7784 ,83, -6957.16, -4788.92, 6.26, 0, ''),
+(7784 ,84, -6951.29, -4802.73, 4.45, 0, ''),
+(7784 ,85, -6944.81, -4816.58, 1.60, 0, ''),
+(7784 ,86, -6942.06, -4839.40, 0.66, 5000, '');
+
+DELETE FROM script_waypoint WHERE entry = 4508;
+INSERT INTO script_waypoint VALUES
+(4508 ,0, 2194.38, 1791.65, 65.48, 5000, ''),
+(4508 ,1, 2188.56, 1805.87, 64.45, 0, ''),
+(4508 ,2, 2187, 1843.49, 59.33, 0, ''),
+(4508 ,3, 2163.27, 1851.67, 56.73, 5000, ''),
+(4508 ,4, 2137.66, 1843.98, 48.08, 5000, ''),
+(4508 ,5, 2140.22, 1845.02, 48.32, 0, ''),
+(4508 ,6, 2131.5, 1804.29, 46.85, 0, ''),
+(4508 ,7, 2096.18, 1789.03, 51.13, 0, ''),
+(4508 ,8, 2074.46, 1780.09, 55.64, 3000, ''),
+(4508 ,9, 2055.12, 1768.67, 58.46, 5000, ''),
+(4508 ,10, 2037.83, 1748.62, 60.27, 0, ''),
+(4508 ,11, 2037.51, 1728.94, 60.85, 0, ''),
+(4508 ,12, 2044.7, 1711.71, 59.71, 0, ''),
+(4508 ,13, 2067.66, 1701.84, 57.77, 3000, ''),
+(4508 ,14, 2078.91, 1704.54, 56.77, 3000, ''),
+(4508 ,15, 2097.65, 1715.24, 54.74, 0, ''),
+(4508 ,16, 2106.44, 1720.98, 54.41, 0, ''),
+(4508 ,17, 2123.96, 1732.56, 52.27, 0, ''),
+(4508 ,18, 2153.82, 1728.73, 51.92, 0, ''),
+(4508 ,19, 2163.49, 1706.33, 54.42, 0, ''),
+(4508 ,20, 2158.75, 1695.98, 55.70, 0, ''),
+(4508 ,21, 2142.6, 1680.72, 58.24, 0, ''),
+(4508 ,22, 2118.31, 1671.54, 59.21, 0, ''),
+(4508 ,23, 2086.02, 1672.04, 61.24, 0, ''),
+(4508 ,24, 2068.81, 1658.93, 61.24, 0, ''),
+(4508 ,25, 2062.82, 1633.31, 64.35, 3000, ''),
+(4508 ,26, 2063.05, 1589.16, 63.26, 0, ''),
+(4508 ,27, 2063.67, 1577.22, 65.89, 0, ''),
+(4508 ,28, 2057.94, 1560.68, 68.40, 0, ''),
+(4508 ,29, 2052.56, 1548.05, 73.35, 0, ''),
+(4508 ,30, 2045.22, 1543.4, 76.65, 0, ''),
+(4508 ,31, 2034.35, 1543.01, 79.70, 0, ''),
+(4508 ,32, 2029.95, 1542.94, 80.79, 0, ''),
+(4508 ,33, 2021.34, 1538.67, 80.8, 0, ''),
+(4508 ,34, 2012.45, 1549.48, 79.93, 0, ''),
+(4508 ,35, 2008.05, 1554.92, 80.44, 0, ''),
+(4508 ,36, 2006.54, 1562.72, 81.11, 0, ''),
+(4508 ,37, 2003.8, 1576.43, 81.57, 0, ''),
+(4508 ,38, 2000.57, 1590.06, 80.62, 0, ''),
+(4508 ,39, 1998.96, 1596.87, 80.22, 0, ''),
+(4508 ,40, 1991.19, 1600.82, 79.39, 0, ''),
+(4508 ,41, 1980.71, 1601.44, 79.77, 3000, ''),
+(4508 ,42, 1967.22, 1600.18, 80.62, 3000, ''),
+(4508 ,43, 1956.43, 1596.97, 81.75, 3000, ''),
+(4508 ,44, 1954.87, 1592.02, 82.18, 0, ''),
+(4508 ,45, 1948.35, 1571.35, 80.96, 30000, ''),
+(4508 ,46, 1947.02, 1566.42, 81.80, 30000, '');
+
+DELETE FROM script_waypoint WHERE entry = 9623;
+INSERT INTO script_waypoint VALUES
+(9623 ,1, -6380.38, -1965.14, -258.292, 5000, ''),
+(9623 ,2, -6383.06, -1962.9, -258.936, 0, ''),
+(9623 ,3, -6391.09, -1956.13, -260.291, 0, ''),
+(9623 ,4, -6395.29, -1933.58, -262.949, 0, ''),
+(9623 ,5, -6396.58, -1919.93, -263.838, 0, ''),
+(9623 ,6, -6389.01, -1912.64, -260.689, 0, ''),
+(9623 ,7, -6369.19, -1892.87, -255.924, 0, ''),
+(9623 ,8, -6373.77, -1879.36, -259.268, 0, ''),
+(9623 ,9, -6377.55, -1869.56, -260.503, 0, ''),
+(9623 ,10, -6376.58, -1860.79, -260.026, 0, ''),
+(9623 ,11, -6373.13, -1847.22, -259.249, 0, ''),
+(9623 ,12, -6370.54, -1837.04, -260.007, 0, ''),
+(9623 ,13, -6372.52, -1829.16, -260.071, 0, ''),
+(9623 ,14, -6377.13, -1815.94, -262.632, 0, ''),
+(9623 ,15, -6380.27, -1806.95, -265.53, 0, ''),
+(9623 ,16, -6386.04, -1790.43, -268.546, 0, ''),
+(9623 ,17, -6386.72, -1776.29, -269.851, 0, ''),
+(9623 ,18, -6385.92, -1762.31, -271.494, 0, ''),
+(9623 ,19, -6384.69, -1744.86, -272.196, 0, ''),
+(9623 ,20, -6383.8, -1732.66, -272.222, 0, ''),
+(9623 ,21, -6382.66, -1716.96, -272.235, 0, ''),
+(9623 ,22, -6381.5, -1703.01, -272.964, 0, ''),
+(9623 ,23, -6379.96, -1685.58, -272.842, 0, ''),
+(9623 ,24, -6379.34, -1678.61, -272.34, 0, ''),
+(9623 ,25, -6364.45, -1636.27, -271.065, 0, ''),
+(9623 ,26, -6371.85, -1626.36, -272.188, 0, ''),
+(9623 ,27, -6383.5, -1629.01, -272.206, 0, ''),
+(9623 ,28, -6388.09, -1635.37, -272.105, 5000, ''),
+(9623 ,29, -6375.42, -1637.33, -272.193, 0, ''),
+(9623 ,30, -6365.46, -1617.25, -272.141, 0, ''),
+(9623 ,31, -6353.79, -1603.48, -271.932, 0, ''),
+(9623 ,32, -6340.24, -1592.41, -269.435, 0, ''),
+(9623 ,33, -6329.45, -1566.89, -269.895, 0, ''),
+(9623 ,34, -6312.2, -1499.06, -269.507, 0, ''),
+(9623 ,35, -6304.55, -1468.5, -269.431, 0, ''),
+(9623 ,36, -6310.36, -1440.94, -268.427, 0, ''),
+(9623 ,37, -6321, -1418.91, -266.525, 0, ''),
+(9623 ,38, -6358.76, -1389.97, -267.522, 0, ''),
+(9623 ,39, -6378.65, -1375.67, -271.749, 0, ''),
+(9623 ,40, -6387.22, -1360.95, -272.109, 0, ''),
+(9623 ,41, -6406.95, -1323.87, -271.586, 0, ''),
+(9623 ,42, -6405, -1311.92, -271.906, 0, ''),
+(9623 ,43, -6395.56, -1303.62, -271.902, 0, ''),
+(9623 ,44, -6375.97, -1296.08, -271.865, 0, ''),
+(9623 ,45, -6364.39, -1281.23, -269.012, 0, ''),
+(9623 ,46, -6353.71, -1263.19, -267.95, 0, ''),
+(9623 ,47, -6340.09, -1248.65, -267.441, 0, ''),
+(9623 ,48, -6338.21, -1237.11, -267.844, 0, ''),
+(9623 ,49, -6336.6, -1219.69, -269.196, 0, ''),
+(9623 ,50, -6334.44, -1202.33, -271.527, 0, ''),
+(9623 ,51, -6329.56, -1189.82, -270.947, 0, ''),
+(9623 ,52, -6324.66, -1179.46, -270.103, 0, ''),
+(9623 ,53, -6315.08, -1176.74, -269.735, 0, ''),
+(9623 ,54, -6308.49, -1179.12, -269.57, 0, ''),
+(9623 ,55, -6302.43, -1181.32, -269.328, 5000, ''),
+(9623 ,56, -6298.87, -1185.79, -269.278, 0, '');
+
+DELETE FROM script_waypoint WHERE entry = 18760;
+INSERT INTO script_waypoint VALUES
+(18760 ,0, -2265.21, 3091.14, 13.91, 0, ''),
+(18760 ,1, -2266.80, 3091.33, 13.82, 1000, ''),
+(18760 ,2, -2268.20, 3091.14, 13.82, 7000, 'progress1'),
+(18760 ,3, -2278.32, 3098.98, 13.82, 0, ''),
+(18760 ,4, -2294.82, 3110.59, 13.82, 0, ''),
+(18760 ,5, -2300.71, 3114.60, 13.82, 20000, 'progress2'),
+(18760 ,6, -2300.71, 3114.60, 13.82, 3000, 'progress3'),
+(18760 ,7, -2307.36, 3122.76, 13.79, 0, ''),
+(18760 ,8, -2312.83, 3130.55, 12.04, 0, ''),
+(18760 ,9, -2345.02, 3151.00, 8.38, 0, ''),
+(18760 ,10, -2351.97, 3157.61, 6.27, 0, ''),
+(18760 ,11, -2360.35, 3171.48, 3.31, 0, ''),
+(18760 ,12, -2371.44, 3185.41, 0.89, 0, ''),
+(18760 ,13, -2371.21, 3197.92, -0.96, 0, ''),
+(18760 ,14, -2380.35, 3210.45, -1.08, 0, ''),
+(18760 ,15, -2384.74, 3221.25, -1.17, 0, ''),
+(18760 ,16, -2386.15, 3233.39, -1.29, 0, ''),
+(18760 ,17, -2383.45, 3247.79, -1.32, 0, ''),
+(18760 ,18, -2367.50, 3265.64, -1.33, 0, ''),
+(18760 ,19, -2354.90, 3273.30, -1.50, 0, ''),
+(18760 ,20, -2348.88, 3280.58, -0.09, 0, ''),
+(18760 ,21, -2349.06, 3295.86, -0.95, 0, ''),
+(18760 ,22, -2350.43, 3328.27, -2.10, 0, ''),
+(18760 ,23, -2346.76, 3356.27, -2.82, 0, ''),
+(18760 ,24, -2340.56, 3370.68, -4.02, 0, ''),
+(18760 ,25, -2318.84, 3384.60, -7.61, 0, ''),
+(18760 ,26, -2313.99, 3398.61, -10.40, 0, ''),
+(18760 ,27, -2320.85, 3414.49, -11.49, 0, ''),
+(18760 ,28, -2338.26, 3426.06, -11.46, 0, ''),
+(18760 ,29, -2342.67, 3439.44, -11.32, 12000, 'progress4'),
+(18760 ,30, -2342.67, 3439.44, -11.32, 7000, 'emote bye'),
+(18760 ,31, -2342.67, 3439.44, -11.32, 5000, 'cat form'),
+(18760 ,32, -2344.60, 3461.27, -10.44, 0, ''),
+(18760 ,33, -2396.81, 3517.17, -3.55, 0, ''),
+(18760 ,34, -2439.23, 3523.00, -1.05, 0, '');
+
+DELETE FROM script_waypoint WHERE entry = 20415;
+INSERT INTO script_waypoint VALUES
+(20415 ,0, 2488.77, 2184.89, 104.64, 0, ''),
+(20415 ,1, 2478.72, 2184.77, 98.58, 0, ''),
+(20415 ,2, 2473.52, 2184.71, 99.00, 0, ''),
+(20415 ,3, 2453.15, 2184.96, 97.09,4000, ''),
+(20415 ,4, 2424.18, 2184.15, 94.11, 0, ''),
+(20415 ,5, 2413.18, 2184.15, 93.42, 0, ''),
+(20415 ,6, 2402.02, 2183.90, 87.59, 0, ''),
+(20415 ,7, 2333.31, 2181.63, 90.03,4000, ''),
+(20415 ,8, 2308.73, 2184.34, 92.04, 0, ''),
+(20415 ,9, 2303.10, 2196.89, 94.94, 0, ''),
+(20415 ,10, 2304.58, 2272.23, 96.67, 0, ''),
+(20415 ,11, 2297.09, 2271.40, 95.16, 0, ''),
+(20415 ,12, 2297.68, 2266.79, 95.07,4000, ''),
+(20415 ,13, 2297.67, 2266.76, 95.07,4000, '');
diff --git a/sql/old/3.1.3/05111_world_scripts.sql b/sql/old/3.1.3/05111_world_scripts.sql
new file mode 100644
index 00000000000..c0fd22f87ea
--- /dev/null
+++ b/sql/old/3.1.3/05111_world_scripts.sql
@@ -0,0 +1,5 @@
+UPDATE creature_template SET ScriptName='npc_trollbane' WHERE entry=16819;
+UPDATE creature_template SET ScriptName='npc_timothy_daniels' WHERE entry=18019;
+UPDATE creature_template SET ScriptName='npc_vekjik' WHERE entry=28315;
+
+UPDATE script_texts SET content_default='Frenzyheart kill you if you come back. You no welcome here no more!', comment='vekjik SAY_TEXTID_VEKJIK1' WHERE entry=-1000208;
diff --git a/sql/old/3.1.3/05117_world_npc_option.sql b/sql/old/3.1.3/05117_world_npc_option.sql
new file mode 100644
index 00000000000..560010862e7
--- /dev/null
+++ b/sql/old/3.1.3/05117_world_npc_option.sql
@@ -0,0 +1 @@
+UPDATE `npc_option` SET `icon` = '0' WHERE `id` IN('49','50','51');
diff --git a/sql/old/3.1.3/05118_world_scripts.sql b/sql/old/3.1.3/05118_world_scripts.sql
new file mode 100644
index 00000000000..26a171076ad
--- /dev/null
+++ b/sql/old/3.1.3/05118_world_scripts.sql
@@ -0,0 +1,17 @@
+UPDATE script_texts SET content_default='Emergency power activated! Initializing ambulanory motor! CLUCK!' WHERE entry = -1000287;
+UPDATE script_texts SET comment='oox SAY_OOX_START' WHERE entry = -1000287;
+UPDATE script_texts SET comment='oox SAY_OOX_AGGRO1' WHERE entry = -1000288;
+UPDATE script_texts SET comment='oox SAY_OOX_AGGRO2' WHERE entry = -1000289;
+UPDATE script_texts SET comment='oox SAY_OOX_AMBUSH' WHERE entry = -1000290;
+UPDATE script_texts SET comment='oox SAY_OOX17_AMBUSH_REPLY' WHERE entry = -1000291;
+UPDATE script_texts SET comment='oox SAY_OOX_END' WHERE entry = -1000292;
+UPDATE script_texts SET content_default='REUSE', comment='REUSE' WHERE entry = -1060000;
+UPDATE script_texts SET content_default='REUSE', comment='REUSE' WHERE entry = -1060001;
+UPDATE script_texts SET content_default='REUSE', comment='REUSE' WHERE entry = -1060002;
+UPDATE script_texts SET content_default='REUSE', comment='REUSE' WHERE entry = -1060003;
+UPDATE script_texts SET content_default='REUSE', comment='REUSE' WHERE entry = -1060004;
+UPDATE script_texts SET content_default='REUSE', comment='REUSE' WHERE entry = -1060005;
+UPDATE script_texts SET content_default='REUSE', comment='REUSE' WHERE entry = -1000416;
+UPDATE script_texts SET content_default='REUSE', comment='REUSE' WHERE entry = -1000417;
+UPDATE script_texts SET content_default='REUSE', comment='REUSE' WHERE entry = -1000418;
+UPDATE script_texts SET content_default='REUSE', comment='REUSE' WHERE entry = -1000419;
diff --git a/sql/old/3.1.3/05119_world.sql b/sql/old/3.1.3/05119_world.sql
new file mode 100644
index 00000000000..24fb4392953
--- /dev/null
+++ b/sql/old/3.1.3/05119_world.sql
@@ -0,0 +1,17 @@
+ALTER TABLE `npc_spellclick_spells` DROP COLUMN `quest_status`;
+ALTER TABLE `npc_spellclick_spells` ADD `aura_required` INT(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'player without aura cant click' AFTER `cast_flags`;
+ALTER TABLE `npc_spellclick_spells` ADD `aura_forbidden` INT(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'player with aura cant click' AFTER `aura_required`;
+ALTER TABLE `npc_spellclick_spells` ADD `user_type` SMALLINT(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'relation with summoner: 0-no 1-friendly 2-raid 3-party player can click' AFTER `aura_forbidden`;
+
+DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN(31883, 31893, 31894, 31895, 31896, 31897);
+INSERT INTO `npc_spellclick_spells` (npc_entry, spell_id, quest_start, quest_start_active, quest_end, cast_flags, aura_required, aura_forbidden, user_type) VALUES
+(31883, 60123, 0, 0, 0, 0x2, 0, 48085, 2),
+(31893, 60123, 0, 0, 0, 0x2, 0, 48084, 2),
+(31894, 60123, 0, 0, 0, 0x2, 0, 28276, 2),
+(31895, 60123, 0, 0, 0, 0x2, 0, 27874, 2),
+(31896, 60123, 0, 0, 0, 0x2, 0, 27873, 2),
+(31897, 60123, 0, 0, 0, 0x2, 0, 7001, 2);
+
+DELETE FROM `spell_bonus_data` WHERE `entry` IN(7001);
+REPLACE INTO `spell_bonus_data` (entry, direct_bonus, dot_bonus, ap_bonus, ap_dot_bonus, comments) VALUES
+(7001, -1, 0.3333, -1, -1, 'Priest - Lightwell Renew Rank 1');
diff --git a/sql/old/3.1.3/05126_world_spell_proc_event.sql b/sql/old/3.1.3/05126_world_spell_proc_event.sql
new file mode 100644
index 00000000000..bf2b62b7dcd
--- /dev/null
+++ b/sql/old/3.1.3/05126_world_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry`IN(63373,63374);
+INSERT INTO `spell_proc_event` (`entry`,`SpellFamilyName`,`SpellFamilyMask0`,`procFlags`) VALUES
+(63373,11,0x80000000,0x00010000), -- Frozen Power (Rank 1)
+(63374,11,0x80000000,0x00010000); -- Freeze Power (Rank 2)
diff --git a/sql/old/3.1.3/05131_world_scripts_dk.sql b/sql/old/3.1.3/05131_world_scripts_dk.sql
new file mode 100644
index 00000000000..dbfbdc21d55
--- /dev/null
+++ b/sql/old/3.1.3/05131_world_scripts_dk.sql
@@ -0,0 +1,47 @@
+UPDATE `creature_template` SET `ScriptName`='npc_crusade_persuaded' WHERE `entry` IN (28939,28940,28610);
+
+update item_template set spellppmRate_1 = 1 where entry = 39371; -- persuader
+
+
+DELETE FROM script_texts WHERE entry BETWEEN -1609600 AND -1609501;
+INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+-- How To Win Friends And Influence Enemies
+ (-1609501, 'I\'ll tear the secrets from your soul! Tell me about the "Crimson Dawn" and your life may be spared!',0,0,0,0,'player SAY_PERSUADE1'),
+ (-1609502, 'Tell me what you know about "Crimson Dawn" or the beatings will continue!',0,0,0,0,'player SAY_PERSUADE2'),
+ (-1609503, 'I\'m through being courteous with your kind, human! What is the "Crimson Dawn?"',0,0,0,0,'player SAY_PERSUADE3'),
+ (-1609504, 'Is your life worth so little? Just tell me what I need to know about "Crimson Dawn" and I\'ll end your suffering quickly.',0,0,0,0,'player SAY_PERSUADE4'),
+ (-1609505, 'I can keep this up for a very long time, Scarlet dog! Tell me about the "Crimson Dawn!"',0,0,0,0,'player SAY_PERSUADE5'),
+ (-1609506, 'What is the "Crimson Dawn?"',0,0,0,0,'player SAY_PERSUADE6'),
+ (-1609507, '"Crimson Dawn!" What is it! Speak!',0,0,0,0,'player SAY_PERSUADE7'),
+ (-1609508, 'You\'ll be hanging in the gallows shortly, Scourge fiend!',0,0,0,0,'crusader SAY_CRUSADER1'),
+ (-1609509, 'You\'ll have to kill me, monster! I will tell you NOTHING!',0,0,0,0,'crusader SAY_CRUSADER2'),
+ (-1609510, 'You hit like a girl. Honestly. Is that the best you can do?',0,0,0,0,'crusader SAY_CRUSADER3'),
+ (-1609511, 'ARGH! You burned my last good tabard!',0,0,0,0,'crusader SAY_CRUSADER4'),
+ (-1609512, 'Argh... The pain... The pain is almost as unbearable as the lashings I received in grammar school when I was but a child.',0,0,0,0,'crusader SAY_CRUSADER5'),
+ (-1609513, 'I used to work for Grand Inquisitor Isillien! Your idea of pain is a normal mid-afternoon for me!',0,0,0,0,'crusader SAY_CRUSADER6'),
+ (-1609514, 'I\'ll tell you everything! STOP! PLEASE!',0,0,0,20,'break crusader SAY_PERSUADED1'),
+ (-1609515, 'We... We have only been told that the "Crimson Dawn" is an awakening. You see, the Light speaks to the High General. It is the Light...',0,0,0,20,'break crusader SAY_PERSUADED2'),
+ (-1609516, 'The Light that guides us. The movement was set in motion before you came... We... We do as we are told. It is what must be done.',0,0,0,20,'break crusader SAY_PERSUADED3'),
+ (-1609517, 'I know very little else... The High General chooses who may go and who must stay behind. There\'s nothing else... You must believe me!',0,0,0,20,'break crusader SAY_PERSUADED4'),
+ (-1609518, 'LIES! The pain you are about to endure will be talked about for years to come!',0,0,0,0,'break crusader SAY_PERSUADED5'),
+ (-1609519, 'NO! PLEASE! There is one more thing that I forgot to mention... A courier comes soon... From Hearthglen. It...',0,0,0,20,'break crusader SAY_PERSUADED6'),
+-- Ambush At The Overlook
+ (-1609531, 'Hrm, what a strange tree. I must investigate.',0,0,0,0,'Scarlet Courier SAY_TREE1'),
+ (-1609532, 'What''s this!? This isn''t a tree at all! Guards! Guards!',0,0,0,0,'Scarlet Courier SAY_TREE2'),
+-- Bloody Breakout
+ (-1609561, 'I\'ll need to get my runeblade and armor... Just need a little more time.',0,0,0,399,'Koltira Deathweaver SAY_BREAKOUT1'),
+ (-1609562, 'I\'m still weak, but I think I can get an anti-magic barrier up. Stay inside it or you\'ll be destroyed by their spells.',0,0,0,0,'Koltira Deathweaver SAY_BREAKOUT2'),
+ (-1609563, 'Maintaining this barrier will require all of my concentration. Kill them all!',0,0,0,16,'Koltira Deathweaver SAY_BREAKOUT3'),
+ (-1609564, 'There are more coming. Defend yourself! Don\'t fall out of the anti-magic field! They\'ll tear you apart without its protection!',0,0,0,0,'Koltira Deathweaver SAY_BREAKOUT4'),
+ (-1609565, 'I can\'t keep barrier up much longer... Where is that coward?',0,0,0,0,'Koltira Deathweaver SAY_BREAKOUT5'),
+ (-1609566, 'The High Inquisitor comes! Be ready, death knight! Do not let him draw you out of the protective bounds of my anti-magic field! Kill him and take his head!',0,0,0,0,'Koltira Deathweaver SAY_BREAKOUT6'),
+ (-1609567, 'Stay in the anti-magic field! Make them come to you!',0,0,0,0,'Koltira Deathweaver SAY_BREAKOUT7'),
+ (-1609568, 'The death of the High Inquisitor of New Avalon will not go unnoticed. You need to get out of here at once! Go, before more of them show up. I\'ll be fine on my own.',0,0,0,0,'Koltira Deathweaver SAY_BREAKOUT8'),
+ (-1609569, 'I\'ll draw their fire, you make your escape behind me.',0,0,0,0,'Koltira Deathweaver SAY_BREAKOUT9'),
+ (-1609570, 'Your High Inquisitor is nothing more than a pile of meat, Crusaders! There are none beyond the grasp of the Scourge!',0,1,0,0,'Koltira Deathweaver SAY_BREAKOUT10'),
+ (-1609581, 'The Crusade will purge your kind from this world!',0,1,0,0,'High Inquisitor Valroth start'),
+ (-1609582, 'It seems that I\'ll need to deal with you myself. The High Inquisitor comes for you, Scourge!',0,1,0,0,'High Inquisitor Valroth aggro'),
+ (-1609583, 'You have come seeking deliverance? I have come to deliver!',0,0,0,0,'High Inquisitor Valroth yell'),
+ (-1609584, 'LIGHT PURGE YOU!',0,0,0,0,'High Inquisitor Valroth yell'),
+ (-1609585, 'Coward!',0,0,0,0,'High Inquisitor Valroth yell'),
+ (-1609586, 'High Inquisitor Valroth\'s remains fall to the ground.',0,2,0,0,'High Inquisitor Valroth death');
diff --git a/sql/old/3.1.3/05136_world_scripts_dk.sql b/sql/old/3.1.3/05136_world_scripts_dk.sql
new file mode 100644
index 00000000000..b59b0a3a021
--- /dev/null
+++ b/sql/old/3.1.3/05136_world_scripts_dk.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_scarlet_courier' WHERE `entry`='29076';
diff --git a/sql/old/3.1.3/05144_world_TDB.sql b/sql/old/3.1.3/05144_world_TDB.sql
new file mode 100644
index 00000000000..621e174b4d1
--- /dev/null
+++ b/sql/old/3.1.3/05144_world_TDB.sql
@@ -0,0 +1,27 @@
+-- Distracting Jarven does not depend on taking quest from the guarded barrel, it's available while Bitter Rivals is active
+update quest_template set PrevQuestID = -310 where entry = 308;
+
+-- Make the unguarded barrel appear sooner after Jarven leaves
+delete from `quest_end_scripts` where `id` = 308;
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','0','3','0','0','0','-5601.64','-541.38','392.42','0.5');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','0','0','0','0','2000000077','0','0','0','0');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','2','3','0','0','0','-5597.94','-542.04','392.42','5.5');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','3','3','0','0','0','-5597.95','-548.43','395.48','4.7');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','3','9','35875','30','0','0','0','0','0');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','7','3','0','0','0','-5605.31','-549.33','399.09','3.1');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','10','3','0','0','0','-5607.55','-546.63','399.09','1.5');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','14','3','0','0','0','-5597.52','-538.75','399.09','1.5');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','18','3','0','0','0','-5597.62','-530.24','399.65','3');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','21','3','0','0','0','-5603.67','-529.91','399.65','4.2');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','25','0','0','0','2000000056','0','0','0','0');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','36','3','0','0','0','-5603.67','-529.91','399.65','4.2');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','39','3','0','0','0','-5597.62','-530.24','399.65','3');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','42','3','0','0','0','-5597.52','-538.75','399.09','1.5');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','45','3','0','0','0','-5607.55','-546.63','399.09','1.5');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','48','3','0','0','0','-5605.31','-549.33','399.09','3.1');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','51','3','0','0','0','-5597.95','-548.43','395.48','4.7');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','54','3','0','0','0','-5597.94','-542.04','392.42','5.5');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','55','0','0','0','2000000078','0','0','0','0');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','58','3','0','0','0','-5601.64','-541.38','392.42','0.5');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','60','3','0','0','0','-5605.96','-544.45','392.43','0.9');
+insert into `quest_end_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`) values('308','62','0','0','0','2000000079','0','0','0','0');
diff --git a/sql/old/3.1.3/05152_world_scripts_dk.sql b/sql/old/3.1.3/05152_world_scripts_dk.sql
new file mode 100644
index 00000000000..9e2aebd062f
--- /dev/null
+++ b/sql/old/3.1.3/05152_world_scripts_dk.sql
@@ -0,0 +1,19 @@
+UPDATE `creature_template` SET `ScriptName`='mob_scarlet_courier' WHERE `entry`='29076';
+
+UPDATE `creature_template` SET `ScriptName`='npc_koltira_deathweaver' WHERE `entry`='28912';
+UPDATE `creature_template` SET `ScriptName`='mob_high_inquisitor_valroth' WHERE `entry`='29001';
+
+
+DELETE FROM script_waypoint WHERE entry=28912;
+INSERT INTO script_waypoint VALUES
+ (28912, 0, 1653.518, -6038.374, 127.585, 1000, 'Jump off'),
+ (28912, 1, 1653.978, -6034.614, 127.585, 5000, 'To Box'),
+ (28912, 2, 1653.854, -6034.726, 127.585, 0, 'Equip'),
+ (28912, 3, 1652.297, -6035.671, 127.585, 1000, 'Recover'),
+ (28912, 4, 1639.762, -6046.343, 127.948, 0, 'Escape'),
+ (28912, 5, 1640.963, -6028.119, 134.740, 0, ''),
+ (28912, 6, 1625.805, -6029.197, 134.740, 0, ''),
+ (28912, 7, 1626.845, -6015.085, 134.740, 0, ''),
+ (28912, 8, 1649.150, -6016.975, 133.240, 0, ''),
+ (28912, 9, 1653.063, -5974.844, 132.652, 5000, 'Mount'),
+ (28912, 10, 1654.747, -5926.424, 121.191, 0, 'Disappear');
diff --git a/sql/old/3.1.3/05153_world_spell_proc_event.sql b/sql/old/3.1.3/05153_world_spell_proc_event.sql
new file mode 100644
index 00000000000..7b8b82738fb
--- /dev/null
+++ b/sql/old/3.1.3/05153_world_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` = 54821;
+INSERT INTO `spell_proc_event` ( `entry` , `SpellFamilyName` , `SpellFamilyMask0` , `procFlags`) VALUES
+(54821, 7, 0x00001000, 0x00000010); -- Glyph of Rake
diff --git a/sql/old/3.1.3/05155_world_scripts_dk.sql b/sql/old/3.1.3/05155_world_scripts_dk.sql
new file mode 100644
index 00000000000..341caa75626
--- /dev/null
+++ b/sql/old/3.1.3/05155_world_scripts_dk.sql
@@ -0,0 +1,18 @@
+DELETE FROM `creature_questrelation` WHERE `quest` = 12754;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28914, 12754);
+DELETE FROM `creature_involvedrelation` WHERE `quest` = 12754;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28914, 12754);
+DELETE FROM `creature_questrelation` WHERE `quest` = 12755;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28914, 12755);
+DELETE FROM `creature_involvedrelation` WHERE `quest` = 12755;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (29077, 12755);
+DELETE FROM `creature_questrelation` WHERE `quest` = 12756;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (29077, 12756);
+DELETE FROM `creature_involvedrelation` WHERE `quest` = 12756;
+INSERT INTO `creature_involvedrelation` (`id`, `quest`) VALUES (28914, 12756);
+DELETE FROM `creature_questrelation` WHERE `quest` = 12757;
+INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES (28914, 12757);
+
+UPDATE `quest_template` SET `PrevQuestId`=12751 WHERE `entry`=12754;
+
+update spell_area set quest_end = 12756 where spell=53081;
diff --git a/sql/old/3.1.3/05159_characters_channels.sql b/sql/old/3.1.3/05159_characters_channels.sql
new file mode 100644
index 00000000000..4b107a8547c
--- /dev/null
+++ b/sql/old/3.1.3/05159_characters_channels.sql
@@ -0,0 +1 @@
+ALTER TABLE `channels` DROP `m_ownerGUID`;
diff --git a/sql/old/3.1.3/05169_world_spell_linked_spell.sql b/sql/old/3.1.3/05169_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..7c35b08b29e
--- /dev/null
+++ b/sql/old/3.1.3/05169_world_spell_linked_spell.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_area` where spell in (40216,42016);
+
+DELETE FROM `spell_linked_spell` WHERE spell_trigger = 40214;
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( 40214, 40216, 2, 'Dragonmaw Illusion'),
+( 40214, 42016, 2, 'Dragonmaw Illusion');
diff --git a/sql/old/3.1.3/05175_world_scripts_dk.sql b/sql/old/3.1.3/05175_world_scripts_dk.sql
new file mode 100644
index 00000000000..33f62d77f31
--- /dev/null
+++ b/sql/old/3.1.3/05175_world_scripts_dk.sql
@@ -0,0 +1,10 @@
+update creature_template set spell1=53117 where entry=29104;
+update creature_template set spell1=53348,killcredit1=29150 where entry IN (29102,29103);
+update creature_template set scriptname="mob_anti_air" where entry in (29102,29103,29104);
+
+
+DELETE FROM `spell_script_target` WHERE entry IN
+(53110);
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(53110, 1, 29102),
+(53110, 1, 29103); -- Devour Humanoid
diff --git a/sql/old/3.1.3/05177_characters.sql b/sql/old/3.1.3/05177_characters.sql
new file mode 100644
index 00000000000..6b8f85ac527
--- /dev/null
+++ b/sql/old/3.1.3/05177_characters.sql
@@ -0,0 +1,8 @@
+ALTER TABLE `auctionhousebot`
+ CHANGE COLUMN `maxstackgrey` `maxstackgrey` int(11) default '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
+ CHANGE COLUMN `maxstackwhite` `maxstackwhite` int(11) default '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
+ CHANGE COLUMN `maxstackgreen` `maxstackgreen` int(11) default '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
+ CHANGE COLUMN `maxstackblue` `maxstackblue` int(11) default '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
+ CHANGE COLUMN `maxstackpurple` `maxstackpurple` int(11) default '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
+ CHANGE COLUMN `maxstackorange` `maxstackorange` int(11) default '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.',
+ CHANGE COLUMN `maxstackyellow` `maxstackyellow` int(11) default '0' COMMENT 'Stack size limits for item qualities - a value of 0 will disable a maximum stack size for that quality, which will allow the bot to create items in stack as large as the item allows.';
diff --git a/sql/old/3.1.3/05185_world_scripts_dk.sql b/sql/old/3.1.3/05185_world_scripts_dk.sql
new file mode 100644
index 00000000000..b13f3315250
--- /dev/null
+++ b/sql/old/3.1.3/05185_world_scripts_dk.sql
@@ -0,0 +1,161 @@
+-- The Light of Dawn (to do)
+UPDATE `creature_template` SET `ScriptName`='npc_highlord_darion_mograine' WHERE `entry`='29173';
+UPDATE `creature_template` SET `ScriptName`='npc_the_lich_king_tirion_dawn' WHERE `entry` in (29183,29175);
+
+DELETE FROM `spell_script_target` WHERE `entry` in (53658, 53679, 53701, 53705, 53706, 53677, 53685);
+-- insert into spell_script_target values (53658, 1, 29173);
+insert into spell_script_target values (53679, 1, 29183);
+insert into spell_script_target values (53701, 1, 29175);
+insert into spell_script_target values (53705, 1, 29183);
+insert into spell_script_target values (53706, 1, 29183);
+insert into spell_script_target values (53677, 1, 29227);
+insert into spell_script_target values (53685, 1, 29175);
+
+UPDATE creature_template SET unit_flags=32768,AIName='EventAI' WHERE entry IN (29199,29204,29200,29174,29182,29186,29190,29219,29206,29176,29178,29179,29180,29177,29181);
+DELETE FROM creature_ai_scripts WHERE creature_id IN (29199,29204,29200,29174,29182,29186,29190,29219,29206,29176,29178,29179,29180,29177,29181);
+INSERT INTO `creature_ai_scripts` VALUES ('2919901', '29199', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '52374', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Koltira Deathweaver - SPELL_BLOOD_STRIKE1');
+INSERT INTO `creature_ai_scripts` VALUES ('2919902', '29199', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '49576', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Koltira Deathweaver - SPELL_DEATH_GRIP');
+INSERT INTO `creature_ai_scripts` VALUES ('2919903', '29199', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '52372', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Koltira Deathweaver - SPELL_ICY_TOUCH2');
+INSERT INTO `creature_ai_scripts` VALUES ('2919904', '29199', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '50668', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Koltira Deathweaver - SPELL_PLAGUE_STRIKE1');
+INSERT INTO `creature_ai_scripts` VALUES ('2920401', '29204', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '52374', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Orbaz Bloodbane - SPELL_BLOOD_STRIKE1');
+INSERT INTO `creature_ai_scripts` VALUES ('2920402', '29204', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '49576', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Orbaz Bloodbane - SPELL_DEATH_GRIP');
+INSERT INTO `creature_ai_scripts` VALUES ('2920403', '29204', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '52372', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Orbaz Bloodbane - SPELL_ICY_TOUCH2');
+INSERT INTO `creature_ai_scripts` VALUES ('2920404', '29204', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '50668', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Orbaz Bloodbane - SPELL_PLAGUE_STRIKE1');
+INSERT INTO `creature_ai_scripts` VALUES ('2920001', '29200', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '52374', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Thassarian - SPELL_BLOOD_STRIKE1');
+INSERT INTO `creature_ai_scripts` VALUES ('2920002', '29200', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '49576', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Thassarian - SPELL_DEATH_GRIP');
+INSERT INTO `creature_ai_scripts` VALUES ('2920003', '29200', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '52372', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Thassarian - SPELL_ICY_TOUCH2');
+INSERT INTO `creature_ai_scripts` VALUES ('2920004', '29200', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '50668', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Thassarian - SPELL_PLAGUE_STRIKE1');
+INSERT INTO `creature_ai_scripts` VALUES ('2917401', '29174', '14', '0', '100', '3', '10000', '20', '5000', '10000', '11', '29427', '6', '1', '0', '0', '0', '0', '0', '0', '0', '0', 'Defender of the Light - SPELL_HOLY_LIGHT1');
+INSERT INTO `creature_ai_scripts` VALUES ('2917402', '29174', '4', '0', '100', '0', '0', '0', '0', '0', '11', '53625', '1', '5', '0', '0', '0', '0', '0', '0', '0', '0', 'Defender of the Light aggro');
+INSERT INTO `creature_ai_scripts` VALUES ('2917403', '29174', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '53625', '5', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Defender of the Light - SPELL_HEROIC_LEAP');
+INSERT INTO `creature_ai_scripts` VALUES ('2917404', '29174', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '53643', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Defender of the Light - SPELL_HOLY_STRIKE');
+INSERT INTO `creature_ai_scripts` VALUES ('2917405', '29174', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '53638', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Defender of the Light - SPELL_HOLY_WRATH');
+INSERT INTO `creature_ai_scripts` VALUES ('2917406', '29174', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '53629', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Defender of the Light - SPELL_UPPERCUT');
+INSERT INTO `creature_ai_scripts` VALUES ('2918201', '29182', '14', '0', '100', '3', '10000', '20', '5000', '10000', '11', '33642', '6', '1', '0', '0', '0', '0', '0', '0', '0', '0', 'Rimblat Earthshatter - SPELL_CHAIN_HEAL');
+INSERT INTO `creature_ai_scripts` VALUES ('2918202', '29182', '0', '0', '100', '3', '10000', '20000', '10000', '10000', '11', '53630', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Rimblat Earthshatter - SPELL_THUNDER');
+INSERT INTO `creature_ai_scripts` VALUES ('2918601', '29186', '0', '0', '100', '3', '10000', '20000', '10000', '10000', '11', '53633', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Rampaging Abomination - SPELL_CLEAVE1');
+INSERT INTO `creature_ai_scripts` VALUES ('2918602', '29186', '0', '0', '100', '3', '10000', '20000', '10000', '10000', '11', '50335', '5', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Rampaging Abomination - SPELL_SCOURGE_HOOK');
+INSERT INTO `creature_ai_scripts` VALUES ('2919001', '29190', '0', '0', '100', '3', '10000', '20000', '10000', '10000', '11', '53634', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Flesh Behemoth - SPELL_SCOURGE_HOOK');
+INSERT INTO `creature_ai_scripts` VALUES ('2919002', '29190', '0', '0', '100', '3', '10000', '20000', '10000', '10000', '11', '36706', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Flesh Behemoth - SPELL_THUNDERCLAP');
+INSERT INTO `creature_ai_scripts` VALUES ('2919003', '29190', '0', '0', '100', '3', '5000', '10000', '5000', '10000', '11', '53627', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Flesh Behemoth - SPELL_THUNDERCLAP');
+INSERT INTO `creature_ai_scripts` VALUES ('2921901', '29219', '0', '0', '100', '3', '10000', '20000', '10000', '10000', '11', '53632', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Volatile Ghoul - SPELL_GHOULPLOSION');
+INSERT INTO `creature_ai_scripts` VALUES ('2920601', '29206', '0', '0', '100', '3', '10000', '20000', '10000', '10000', '11', '53631', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Warrior of the Frozen Wastes - SPELL_CLEAVE');
+INSERT INTO `creature_ai_scripts` VALUES ('2917601', '29176', '0', '0', '100', '3', '10000', '20000', '10000', '10000', '11', '53631', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Korfax - SPELL_CLEAVE');
+INSERT INTO `creature_ai_scripts` VALUES ('2917602', '29176', '0', '0', '100', '3', '10000', '20000', '10000', '10000', '11', '53625', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Korfax - SPELL_CLEAVE');
+INSERT INTO `creature_ai_scripts` VALUES ('2917701', '29177', '14', '0', '100', '3', '10000', '20', '5000', '10000', '11', '37979', '6', '1', '0', '0', '0', '0', '0', '0', '0', '0', 'Commander Eligor Dawnbringer - SPELL_HOLY_LIGHT2');
+INSERT INTO `creature_ai_scripts` VALUES ('2918101', '29181', '14', '0', '100', '3', '10000', '20', '5000', '10000', '11', '20664', '6', '1', '0', '0', '0', '0', '0', '0', '0', '0', 'Rayne - SPELL_REJUVENATION');
+INSERT INTO `creature_ai_scripts` VALUES ('2918102', '29181', '14', '0', '100', '3', '10000', '20', '5000', '10000', '11', '25817', '6', '1', '0', '0', '0', '0', '0', '0', '0', '0', 'Rayne - SPELL_TRANQUILITY');
+INSERT INTO `creature_ai_scripts` VALUES ('2918103', '29181', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '20678', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Rayne - SPELL_STARFALL');
+INSERT INTO `creature_ai_scripts` VALUES ('2918104', '29181', '0', '0', '100', '3', '10000', '20000', '10000', '20000', '11', '21807', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Rayne - SPELL_WRATH');
+
+
+
+
+DELETE FROM script_texts WHERE entry BETWEEN -1609286 AND -1609201;
+INSERT INTO `script_texts` (`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+-- The Light of Dawn
+-- pre text
+ (-1609201, 'Soldiers of the Scourge, stand ready! You will soon be able to unleash your fury upon the Argent Dawn!',14677,1,0,0,'Highlord Darion Mograine'),
+ (-1609202, 'The sky weeps at the devastation of sister earth! Soon, tears of blood will rain down upon us!',14678,1,0,0,'Highlord Darion Mograine'),
+ (-1609203, 'Death knights of Acherus, the death march begins!',14681,1,0,0,'Highlord Darion Mograine'),
+-- intro
+ (-1609204, 'Soldiers of the Scourge, death knights of Acherus, minions of the darkness: hear the call of the Highlord!',14679,1,0,22,'Highlord Darion Mograine'),
+ (-1609205, 'RISE!',14680,1,0,15,'Highlord Darion Mograine'),
+ (-1609206, 'The skies turn red with the blood of the fallen! The Lich King watches over us, minions! Onward! Leave only ashes and misery in your destructive wake!',14682,1,0,25,'Highlord Darion Mograine'),
+-- During the fight
+ (-1609207, 'Scourge armies approach!',0,1,0,0,'Korfax, Champion of the Light'),
+ (-1609208, 'Stand fast, brothers and sisters! The Light will prevail!',14487,1,0,0,'Lord Maxwell Tyrosus'),
+ (-1609209, 'Kneel before the Highlord!',14683,0,0,0,'Highlord Darion Mograine'),
+ (-1609210, 'You stand no chance!',14684,0,0,0,'Highlord Darion Mograine'),
+ (-1609211, 'The Scourge will destroy this place!',14685,0,0,0,'Highlord Darion Mograine'),
+ (-1609212, 'Your life is forfeit.',14686,0,0,0,'Highlord Darion Mograine'),
+ (-1609213, 'Life is meaningless without suffering.',14687,0,0,0,'Highlord Darion Mograine'),
+ (-1609214, 'How much longer will your forces hold out?',14688,0,0,0,'Highlord Darion Mograine'),
+ (-1609215, 'The Argent Dawn is finished!"',14689,0,0,0,'Highlord Darion Mograine'),
+ (-1609216, 'Spare no one!',14690,0,0,0,'Highlord Darion Mograine'),
+ (-1609217, 'What is this?! My... I cannot strike...',14691,0,0,0,'Highlord Darion Mograine'),
+ (-1609218, 'Obey me, blade!',14692,1,0,0,'Highlord Darion Mograine'),
+ (-1609219, 'You will do as I command! I am in control here!',14693,0,0,0,'Highlord Darion Mograine'),
+ (-1609220, 'I can not... the blade fights me.',14694,0,0,0,'Highlord Darion Mograine'),
+ (-1609221, 'What is happening to me?',14695,0,0,0,'Highlord Darion Mograine'),
+ (-1609222, 'Power...wanes...',14696,0,0,0,'Highlord Darion Mograine'),
+ (-1609223, 'Ashbringer defies me...',14697,0,0,0,'Highlord Darion Mograine'),
+ (-1609224, 'Minions, come to my aid!',14698,0,0,0,'Highlord Darion Mograine'),
+-- After the fight
+ (-1609225, 'You cannot win, Darion!',14584,1,0,0,'Highlord Tirion Fordring'),
+ (-1609226, 'Bring them before the chapel!',14585,1,0,0,'Highlord Tirion Fordring'),
+ (-1609227, 'Stand down, death knights. We have lost... The Light... This place... No hope...',14699,0,0,68,'Highlord Darion Mograine'),
+ (-1609228, 'Have you learned nothing, boy? You have become all that your father fought against! Like that coward, Arthas, you allowed yourself to be consumed by the darkness...the hate... Feeding upon the misery of those you tortured and killed!',14586,0,0,378,'Highlord Tirion Fordring'),
+ (-1609229, 'Your master knows what lies beneath the chapel. It is why he dares not show his face! He\'s sent you and your death knights to meet their doom, Darion.',14587,0,0,25,'Highlord Tirion Fordring'),
+ (-1609230, 'What you are feeling right now is the anguish of a thousand lost souls! Souls that you and your master brought here! The Light will tear you apart, Darion!',14588,0,0,1,'Highlord Tirion Fordring'),
+ (-1609231, 'Save your breath, old man. It might be the last you ever draw.',14700,0,0,25,'Highlord Darion Mograine'),
+ (-1609232, 'My son! My dear, beautiful boy!',14493,0,0,0,'Highlord Alexandros Mograine'),
+ (-1609233, 'Father!',14701,0,0,5,'Highlord Darion Mograine'),
+ (-1609234, 'Argh...what...is...',14702,0,0,68,'Highlord Darion Mograine'),
+ (-1609235, 'Father, you have returned!',14703,0,0,0,'Darion Mograine'),
+ (-1609236, 'You have been gone a long time, father. I thought...',14704,0,0,0,'Darion Mograine'),
+ (-1609237, 'Nothing could have kept me away from here, Darion. Not from my home and family.',14494,0,0,1,'Highlord Alexandros Mograine'),
+ (-1609238, 'Father, I wish to join you in the war against the undead. I want to fight! I can sit idle no longer!',14705,0,0,6,'Darion Mograine'),
+ (-1609239, 'Darion Mograine, you are barely of age to hold a sword, let alone battle the undead hordes of Lordaeron! I couldn\'t bear losing you. Even the thought...',14495,0,0,1,'Highlord Alexandros Mograine'),
+ (-1609240, 'If I die, father, I would rather it be on my feet, standing in defiance against the undead legions! If I die, father, I die with you!',14706,0,0,6,'Darion Mograine'),
+ (-1609241, 'My son, there will come a day when you will command the Ashbringer and, with it, mete justice across this land. I have no doubt that when that day finally comes, you will bring pride to our people and that Lordaeron will be a better place because of you. But, my son, that day is not today.',14496,0,0,1,'Highlord Alexandros Mograine'),
+ (-1609242, 'Do not forget...',14497,0,0,6,'Highlord Alexandros Mograine'),
+ (-1609243, 'Touching...',14803,1,0,0,'The Lich King'),
+ (-1609244, 'You have\'ve betrayed me! You betrayed us all you monster! Face the might of Mograine!',14707,1,0,0,'Highlord Darion Mograine'),
+ (-1609245, 'He\'s mine now...',14805,0,0,0,'The Lich King'),
+ (-1609246, 'Pathetic...',14804,0,0,0,'The Lich King'),
+ (-1609247, 'You\'re a damned monster, Arthas!',14589,0,0,25,'Highlord Tirion Fordring'),
+ (-1609248, 'You were right, Fordring. I did send them in to die. Their lives are meaningless, but yours...',14806,0,0,1,'The Lich King'),
+ (-1609249, 'How simple it was to draw the great Tirion Fordring out of hiding. You\'ve left yourself exposed, paladin. Nothing will save you...',14807,0,0,1,'The Lich King'),
+ (-1609250, 'ATTACK!!!',14488,1,0,0,'Lord Maxwell Tyrosus'),
+ (-1609251, 'APOCALYPSE!',14808,1,0,0,'The Lich King'),
+ (-1609252, 'That day is not today...',14708,0,0,0,'Highlord Darion Mograine'),
+ (-1609253, 'Tirion!',14709,1,0,0,'Highlord Darion Mograine'),
+ (-1609254, 'ARTHAS!!!!',14591,1,0,0,'Highlord Tirion Fordring'),
+ (-1609255, 'What is this?',14809,1,0,0,'The Lich King'),
+ (-1609256, 'Your end.',14592,1,0,0,'Highlord Tirion Fordring'),
+ (-1609257, 'Impossible...',14810,1,0,0,'The Lich King'),
+ (-1609258, 'This... isn\'t... over...',14811,1,0,25,'The Lich King'),
+ (-1609259, 'When next we meet it won\'t be on holy ground, paladin.',14812,1,0,1,'The Lich King'),
+ (-1609260, 'Rise, Darion, and listen...',14593,0,0,0,'Highlord Tirion Fordring'),
+ (-1609261, 'We have all been witness to a terrible tragedy. The blood of good men has been shed upon this soil! Honorable knights, slain defending their lives - our lives!',14594,0,0,0,'Highlord Tirion Fordring'),
+ (-1609262, 'And while such things can never be forgotten, we must remain vigilant in our cause!',14595,0,0,0,'Highlord Tirion Fordring'),
+ (-1609263, 'The Lich King must answer for what he has done and must not be allowed to cause further destruction to our world.',14596,0,0,0,'Highlord Tirion Fordring'),
+ (-1609264, 'I make a promise to you now, brothers and sisters: The Lich King will be defeated! On this day, I call for a union.',14597,0,0,0,'Highlord Tirion Fordring'),
+ (-1609265, 'The Argent Dawn and the Order of the Silver Hand will come together as one! We will succeed where so many before us have failed!',14598,0,0,0,'Highlord Tirion Fordring'),
+ (-1609266, 'We will take the fight to Arthas and tear down the walls of Icecrown!',14599,0,0,15,'Highlord Tirion Fordring'),
+ (-1609267, 'The Argent Crusade comes for you, Arthas!',14600,1,0,15,'Highlord Tirion Fordring'),
+ (-1609268, 'So too do the Knights of the Ebon Blade... While our kind has no place in your world, we will fight to bring an end to the Lich King. This I vow!',14710,0,0,1,'Highlord Darion Mograine'),
+-- Emotes
+ (-1609269, 'Thousands of Scourge rise up at the Highlord\'s command.',0,2,0,0,''),
+ (-1609270, 'The army marches towards Light\'s Hope Chapel.',0,2,0,0,''),
+ (-1609271, 'After over a hundred Defenders of the Light fall, Highlord Tirion Fordring arrives.',0,2,0,0,''),
+ (-1609272, 'flee',0,2,0,0,'Orbaz'),
+ (-1609273, 'kneels in defeat before Tirion Fordring.',0,2,0,0,'Highlord Darion Mograine'),
+ (-1609274, 'arrives.',0,2,0,0,'Highlord Alexandros Mograine'),
+ (-1609275, 'becomes a shade of his past, and walks up to his father.',0,2,0,0,'Highlord Darion Mograine'),
+ (-1609276, 'hugs his father.',0,2,0,0,'Darion Mograine'),
+ (-1609277, 'disappears, and the Lich King appears.',0,2,0,0,'Alexandros'),
+ (-1609278, 'becomes himself again...and is now angry.',0,2,0,0,'Highlord Darion Mograine'),
+ (-1609279, 'casts a spell on Tirion.',0,2,0,0,'The Lich King'),
+ (-1609280, 'gasps for air.',0,2,0,0,'Highlord Tirion Fordring'),
+ (-1609281, 'casts a powerful spell, killing the Defenders and knocking back the others.',0,2,0,0,'The Lich King'),
+ (-1609282, 'throws the Corrupted Ashbringer to Tirion, who catches it. Tirion becomes awash with Light, and the Ashbringer is cleansed.',0,2,0,0,'Highlord Darion Mograine'),
+ (-1609283, 'collapses.',0,2,0,0,'Highlord Darion Mograine'),
+ (-1609284, 'charges towards the Lich King, Ashbringer in hand and strikes the Lich King.',0,2,0,0,'Highlord Tirion Fordring'),
+ (-1609285, 'disappears. Tirion walks over to where Darion lay',0,2,0,0,'The Lich King'),
+ (-1609286, 'Light washes over the chapel ¡X the Light of Dawn is uncovered.',0,2,0,0,'');
+
+
+DELETE FROM script_waypoint WHERE entry=29173;
+INSERT INTO script_waypoint VALUES
+ (29173, 0, 2431.639, -5137.05, 83.843, 0, 'intro'),
+ (29173, 1, 2319.242, -5266.486, 82.825, 0, 'summon & on hold'),
+ (29173, 2, 2318.775, -5266.832, 82.783, 0, 'cast light of dawn'),
+ (29173, 3, 2280.812, -5284.091, 82.608, 0, 'move to here and start'),
+ (29173, 4, 2280.727, -5286.839, 82.930, 0, 'move forward to talk'),
+ (29173, 5, 2280.812, -5284.091, 82.608, 0, 'when baba pop'),
+ (29173, 6, 2281.461, -5263.014, 81.164, 0, 'charge to lich king'),
+ (29173, 7, 2257.479, -5296.702, 82.165, 0, 'being kicked by Lich King'),
+ (29173, 8, 2261.237, -5294.983, 82.167, 0, 'throw'),
+ (29173, 9, 2259.34, -5294.379, 82.167, 0, 'event end');
diff --git a/sql/old/3.1.3/05188_world_scripts.sql b/sql/old/3.1.3/05188_world_scripts.sql
new file mode 100644
index 00000000000..c04a3be80fb
--- /dev/null
+++ b/sql/old/3.1.3/05188_world_scripts.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `mechanic_immune_mask` = 617299803 WHERE `entry` = 24850;
diff --git a/sql/old/3.1.3/05189_character_updates_dual_spec.sql b/sql/old/3.1.3/05189_character_updates_dual_spec.sql
new file mode 100644
index 00000000000..b9790e06805
--- /dev/null
+++ b/sql/old/3.1.3/05189_character_updates_dual_spec.sql
@@ -0,0 +1,10 @@
+
+/* Begin intentional error */
+"Run 5189_character_updates_dual_spec.sql manually, or don't run it at all. This is only intended for people who need to clean up missed skills from r5036. If you never used r5036 - 5188, ignore this. Tell your users to reset their talents (or just switch specs) to fix their talent points.";
+
+/*
+
+-- Machiavelli & Nonox - Some missed talents:
+DELETE FROM `character_spell` WHERE `spell` IN (3674,5420,9800,19263,20927,20928,20929,20930,24905,27174,27179,31904,32699,32700,33072,33891,34123,48359,48824,48825,48826,48827,48951,48952,50170,50171,50172,50306,50536,51373,51374,51375,51376,51378,51379,52881,53640,55265,55270,55271,57019,57224,62795,63668,63669,63670,63671,63672,64299,65139);
+
+*/
diff --git a/sql/old/3.1.3/05216_world_scripts.sql b/sql/old/3.1.3/05216_world_scripts.sql
new file mode 100644
index 00000000000..2fb3f58491c
--- /dev/null
+++ b/sql/old/3.1.3/05216_world_scripts.sql
@@ -0,0 +1,38 @@
+UPDATE creature_template SET ScriptName='npc_ringo' WHERE entry=9999;
+UPDATE creature_template SET ScriptName='npc_kerlonian' WHERE entry=11218;
+
+UPDATE script_texts SET content_default='Well, I\'m not sure how far I\'ll make it in this state... I\'m feeling kind of faint...', comment='ringo SAY_RIN_START_1' WHERE entry=-1000416;
+UPDATE script_texts SET content_default='Remember, if I faint again, the water that Spraggle gave you will revive me.', comment='ringo SAY_RIN_START_2' WHERE entry=-1000417;
+UPDATE script_texts SET content_default='The heat... I can\'t take it...', comment='ringo SAY_FAINT_1' WHERE entry=-1000418;
+UPDATE script_texts SET content_default='Maybe... you could carry me?', comment='ringo SAY_FAINT_2' WHERE entry=-1000419;
+
+DELETE FROM script_texts WHERE entry BETWEEN -1000433 AND -1000420;
+INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
+(-1000420,'Uuuuuuggggghhhhh....',0,0,0,0,'ringo SAY_FAINT_3'),
+(-1000421,'I\'m not feeling so well...',0,0,0,0,'ringo SAY_FAINT_4'),
+(-1000422,'Where... Where am I?',0,0,0,0,'ringo SAY_WAKE_1'),
+(-1000423,'I am feeling a little better now, thank you.',0,0,0,0,'ringo SAY_WAKE_2'),
+(-1000424,'Yes, I must go on.',0,0,0,0,'ringo SAY_WAKE_3'),
+(-1000425,'How am I feeling? Quite soaked, thank you.',0,0,0,0,'ringo SAY_WAKE_4'),
+(-1000426,'Spraggle! I didn\'t think I\'d make it back!',0,0,0,0,'ringo SAY_RIN_END_1'),
+(-1000427,'Ringo! You\'re okay!',0,0,0,0,'ringo SAY_SPR_END_2'),
+(-1000428,'Oh... I\'m feeling faint...',0,0,0,0,'ringo SAY_RIN_END_3'),
+(-1000429,'%s collapses onto the ground.',0,2,0,0,'ringo EMOTE_RIN_END_4'),
+(-1000430,'%s stands up after a short pause.',0,2,0,0,'ringo EMOTE_RIN_END_5'),
+(-1000431,'Ugh.',0,0,0,0,'ringo SAY_RIN_END_6'),
+(-1000432,'Ringo? Wake up! Don\'t worry, I\'ll take care of you.',0,0,0,0,'ringo SAY_SPR_END_7'),
+(-1000433,'%s fades away after a long pause.',0,2,0,0,'ringo EMOTE_RIN_END_8');
+
+DELETE FROM script_texts WHERE entry BETWEEN -1000444 AND -1000434;
+INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
+(-1000434,'Liladris has been waiting for me at Maestra\'s Post, so we should make haste, $N.',0,0,0,0,'kerlonian SAY_KER_START'),
+(-1000435,'%s looks very sleepy...',0,2,0,0,'kerlonian EMOTE_KER_SLEEP_1'),
+(-1000436,'%s suddenly falls asleep',0,2,0,0,'kerlonian EMOTE_KER_SLEEP_2'),
+(-1000437,'%s begins to drift off...',0,2,0,0,'kerlonian EMOTE_KER_SLEEP_3'),
+(-1000438,'This looks like the perfect place for a nap...',0,0,0,0,'kerlonian SAY_KER_SLEEP_1'),
+(-1000439,'Yaaaaawwwwwnnnn...',0,0,0,0,'kerlonian SAY_KER_SLEEP_2'),
+(-1000440,'Oh, I am so tired...',0,0,0,0,'kerlonian SAY_KER_SLEEP_3'),
+(-1000441,'You don\'t mind if I stop here for a moment, do you?',0,0,0,0,'kerlonian SAY_KER_SLEEP_4'),
+(-1000442,'Be on the alert! The Blackwood furbolgs are numerous in the area...',0,0,0,0,'kerlonian SAY_KER_ALERT_1'),
+(-1000443,'It\'s quiet... Too quiet...',0,0,0,0,'kerlonian SAY_KER_ALERT_2'),
+(-1000444,'Oh, I can see Liladris from here... Tell her I\'m here, won\'t you?',0,0,0,0,'kerlonian SAY_KER_END');
diff --git a/sql/old/3.1.3/05217_world_scripts.sql b/sql/old/3.1.3/05217_world_scripts.sql
new file mode 100644
index 00000000000..2cc8543a948
--- /dev/null
+++ b/sql/old/3.1.3/05217_world_scripts.sql
@@ -0,0 +1,3 @@
+DELETE FROM script_texts WHERE entry=-1000445;
+INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
+(-1000445,'%s wakes up!',0,2,0,0,'kerlonian EMOTE_KER_AWAKEN');
diff --git a/sql/old/3.1.3/05230_world_TDB.sql b/sql/old/3.1.3/05230_world_TDB.sql
new file mode 100644
index 00000000000..40bda3e25d9
--- /dev/null
+++ b/sql/old/3.1.3/05230_world_TDB.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `npcflag` = `npcflag`|1 WHERE `entry` = 29811;
diff --git a/sql/old/3.1.3/05230_world_scripts.sql b/sql/old/3.1.3/05230_world_scripts.sql
new file mode 100644
index 00000000000..1426ce683e3
--- /dev/null
+++ b/sql/old/3.1.3/05230_world_scripts.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName` = 'npc_frostborn_scout' WHERE `entry` = 29811;
diff --git a/sql/old/3.1.3/05234_world_scripts.sql b/sql/old/3.1.3/05234_world_scripts.sql
new file mode 100644
index 00000000000..d7bbfb896be
--- /dev/null
+++ b/sql/old/3.1.3/05234_world_scripts.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template` SET `ScriptName` = 'npc_agnetta_tyrsdottar' WHERE `entry` = 30154;
+
+INSERT INTO `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) VALUES
+(-1571003, 'I\'m not afraid of anything -- bring it on!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 'aggro_Agnetta');
diff --git a/sql/old/3.1.3/05237_world_scripts.sql b/sql/old/3.1.3/05237_world_scripts.sql
new file mode 100644
index 00000000000..9efefa4a8d2
--- /dev/null
+++ b/sql/old/3.1.3/05237_world_scripts.sql
@@ -0,0 +1,6 @@
+UPDATE `creature_template` SET `ScriptName` = 'boss_steelbreaker' WHERE `entry` = '32867';
+UPDATE `creature_template` SET `ScriptName` = 'boss_runemaster_molgeim' WHERE `entry` = '32927';
+UPDATE `creature_template` SET `ScriptName` = 'boss_stormcaller_brundir' WHERE `entry` = '32857';
+UPDATE `creature_template` SET `ScriptName` = 'mob_lightning_elemental' WHERE `entry` = '32958';
+UPDATE `creature_template` SET `ScriptName` = 'mob_rune_of_summoning' WHERE `entry` = '33051';
+UPDATE `instance_template` SET `script` = 'instance_ulduar' WHERE `map` = '603';
diff --git a/sql/old/3.1.3/05246_world_scripts.sql b/sql/old/3.1.3/05246_world_scripts.sql
new file mode 100644
index 00000000000..5d9ef37fe5e
--- /dev/null
+++ b/sql/old/3.1.3/05246_world_scripts.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_avatar_of_freya' WHERE `entry`=27801;
diff --git a/sql/old/3.1.3/05254_world_scripts.sql b/sql/old/3.1.3/05254_world_scripts.sql
new file mode 100644
index 00000000000..6b519bcf925
--- /dev/null
+++ b/sql/old/3.1.3/05254_world_scripts.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_taxi' WHERE `entry` = 26602;
diff --git a/sql/old/3.1.3/05270_world_script_waypoint.sql b/sql/old/3.1.3/05270_world_script_waypoint.sql
new file mode 100644
index 00000000000..176bab334c9
--- /dev/null
+++ b/sql/old/3.1.3/05270_world_script_waypoint.sql
@@ -0,0 +1,28 @@
+DELETE FROM script_waypoint WHERE entry = 24156;
+INSERT INTO script_waypoint VALUES
+(24156,1,1859.74, -6178.15, 24.3033, 0, ''),
+(24156,2,1866.06, -6172.81, 23.9216, 0, ''),
+(24156,3,1876.43, -6167.42, 23.7332, 0, ''),
+(24156,4,1903.37, -6167.9, 23.312, 0, ''),
+(24156,5,1934.43, -6168.46, 23.7148, 0, ''),
+(24156,6,1942.38, -6168.21, 23.7133, 0, ''),
+(24156,7,1953.48, -6172.4, 24.2785, 0, ''),
+(24156,8,1969.21, -6179.69, 23.8501, 0, ''),
+(24156,9,1992.18, -6177.24, 21.3992, 0, ''),
+(24156,10,2015.73, -6174.73, 15.3766, 0, ''),
+(24156,11,2016.99, -6156.39, 12.5927, 0, ''),
+(24156,12,2018.14, -6130.62, 6.31995, 0, ''),
+(24156,13,2043.73, -6119.18, 5.17474, 0, ''),
+(24156,14,2080.99, -6100.03, 7.72235, 0, ''),
+(24156,15,2115.47, -6096.21, 5.36958, 0, ''),
+(24156,16,2130.36, -6151.59, 1.24893, 0, ''),
+(24156,17,2160.5, -6098.78, 3.14191, 0, ''),
+(24156,18,2161.26, -6101.38, 2.81571, 0, ''),
+(24156,19,2172.54, -6108.54, 2.26422, 0, ''),
+(24156,20,2206.69, -6110.46, 0.787735, 0, ''),
+(24156,21,2228.23, -6090.02, 1.17018, 0, ''),
+(24156,22,2262.76, -6056.79, 1.82852, 0, ''),
+(24156,23,2285.54, -6046.96, 1.6305, 0, ''),
+(24156,24,2298.05, -6041.56, 2.01465, 0, ''),
+(24156,25,2307.53, -6031.23, 2.93796, 0, ''),
+(24156,26,2309.46, -6024.45, 3.65369, 5000, '');
diff --git a/sql/old/3.1.3/05270_world_scriptname.sql b/sql/old/3.1.3/05270_world_scriptname.sql
new file mode 100644
index 00000000000..03280970c22
--- /dev/null
+++ b/sql/old/3.1.3/05270_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE creature_template SET ScriptName = 'npc_plaguehound_tracker' WHERE entry = 24156;
diff --git a/sql/old/3.1.3/05305_world_scriptname.sql b/sql/old/3.1.3/05305_world_scriptname.sql
new file mode 100644
index 00000000000..0aa6bce7726
--- /dev/null
+++ b/sql/old/3.1.3/05305_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_keristrasza' WHERE `entry`=26206;
diff --git a/sql/old/3.1.3/05314_world_script_target.sql b/sql/old/3.1.3/05314_world_script_target.sql
new file mode 100644
index 00000000000..564230fa163
--- /dev/null
+++ b/sql/old/3.1.3/05314_world_script_target.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_script_target` WHERE `entry` IN (62427,62374,62399);
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(62427, 1, 33109), # Load into Catapult
+(62374, 1, 33060), # Pursued
+(62374, 1, 33109),
+(62399, 1, 33139); # Overload Circuit
diff --git a/sql/old/3.1.3/05314_world_scriptname.sql b/sql/old/3.1.3/05314_world_scriptname.sql
new file mode 100644
index 00000000000..db260ccfe31
--- /dev/null
+++ b/sql/old/3.1.3/05314_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE creature_template SET scriptname = "spell_pool_of_tar" WHERE entry = 33090;
diff --git a/sql/old/3.1.3/05314_world_spell_linked_spell.sql b/sql/old/3.1.3/05314_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..65f9c1b7acf
--- /dev/null
+++ b/sql/old/3.1.3/05314_world_spell_linked_spell.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (-62475,62427);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+(-62475,-62399, 0, 'System Shutdown'),
+(-62475, 62472, 0, 'System Shutdown'), #inform, not correct spell
+( 62427, 62340, 2, 'Load into Catapult - Passenger Loaded');
diff --git a/sql/old/3.1.3/05321_world_spell_proc_event.sql b/sql/old/3.1.3/05321_world_spell_proc_event.sql
new file mode 100644
index 00000000000..7403b781685
--- /dev/null
+++ b/sql/old/3.1.3/05321_world_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (54815,54845,56800);
+INSERT INTO `spell_proc_event` VALUES
+( 54815, 0x00, 7, 0x00008000, 0x00000000, 0x00000000, 0x00000010, 0x00000000, 0, 0, 0), -- Glyph of Shred
+( 54845, 0x00, 7, 0x00000004, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0, 0, 0), -- Glyph of Starfire
+( 56800, 0x00, 8, 0x00800004, 0x00000000, 0x00000000, 0x00000010, 0x00000000, 0, 0, 0); -- Glyph of Backstab
diff --git a/sql/old/3.1.3/05330_world_spell_proc_event.sql b/sql/old/3.1.3/05330_world_spell_proc_event.sql
new file mode 100644
index 00000000000..ae05ed2dddd
--- /dev/null
+++ b/sql/old/3.1.3/05330_world_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` = 54832;
+INSERT INTO spell_proc_event VALUES
+( 54832, 0x00, 7, 0x00000000, 0x00001000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0); -- Glyph of Innervate
diff --git a/sql/old/3.1.3/05332_world_ainame.sql b/sql/old/3.1.3/05332_world_ainame.sql
new file mode 100644
index 00000000000..566cf997f0e
--- /dev/null
+++ b/sql/old/3.1.3/05332_world_ainame.sql
@@ -0,0 +1,2 @@
+update creature_template set AIName = 'ArchorAI', scriptname='' where entry in (29102,29103);
+update creature_template set AIName = 'TurretAI', scriptname='' where entry = 29104;
diff --git a/sql/old/3.1.3/05352_world_spell_elixir.sql b/sql/old/3.1.3/05352_world_spell_elixir.sql
new file mode 100644
index 00000000000..6e225e12864
--- /dev/null
+++ b/sql/old/3.1.3/05352_world_spell_elixir.sql
@@ -0,0 +1,13 @@
+-- mangos rev 8399
+-- ALTER TABLE db_version CHANGE COLUMN required_8397_02_mangos_spell_threat required_8399_01_mangos_spell_elixir bit;
+
+-- Well Fed (SPELLFAMILY_POTION)
+DELETE FROM spell_elixir WHERE entry IN (18191, 18192, 18193, 18194, 18222, 22730, 25661);
+INSERT INTO spell_elixir (entry, mask) VALUES
+(18191,0x10),
+(18192,0x10),
+(18193,0x10),
+(18194,0x10),
+(18222,0x10),
+(22730,0x10),
+(25661,0x10);
diff --git a/sql/old/3.1.3/05353_characters_character_spell.sql b/sql/old/3.1.3/05353_characters_character_spell.sql
new file mode 100644
index 00000000000..354cb1fa569
--- /dev/null
+++ b/sql/old/3.1.3/05353_characters_character_spell.sql
@@ -0,0 +1,6 @@
+-- mangos rev 8397
+-- ALTER TABLE character_db_version CHANGE COLUMN required_8339_02_characters_character_battleground_data required_8397_03_characters_character_spell bit;
+
+UPDATE IGNORE character_spell SET spell=7386 WHERE spell IN (7405,8380,11596,11597,25225,47467);
+UPDATE character_spell SET active=1 WHERE spell=7386;
+DELETE FROM character_spell WHERE spell IN (7405,8380,11596,11597,25225,47467);
diff --git a/sql/old/3.1.3/05353_world_spell_threat.sql b/sql/old/3.1.3/05353_world_spell_threat.sql
new file mode 100644
index 00000000000..0a3c441369c
--- /dev/null
+++ b/sql/old/3.1.3/05353_world_spell_threat.sql
@@ -0,0 +1,4 @@
+-- mangos rev 8397
+-- ALTER TABLE db_version CHANGE COLUMN required_8397_01_mangos_spell_chain required_8397_02_mangos_spell_threat bit;
+
+DELETE FROM spell_threat WHERE entry IN (7405,8380,11596,11597,25225);
diff --git a/sql/old/3.1.3/05354_characters_guild_bank_eventlog.sql b/sql/old/3.1.3/05354_characters_guild_bank_eventlog.sql
new file mode 100644
index 00000000000..8263b053fab
--- /dev/null
+++ b/sql/old/3.1.3/05354_characters_guild_bank_eventlog.sql
@@ -0,0 +1,24 @@
+-- mangos rev 8402
+-- ALTER TABLE character_db_version CHANGE COLUMN required_8402_01_characters_guild_eventlog required_8402_02_characters_guild_bank_eventlog bit;
+
+
+-- THIS SCRIPT DELETES table `guild_bank_eventlog` - MAKE BACKUP, if you need it.
+
+DROP TABLE IF EXISTS `guild_bank_eventlog`;
+CREATE TABLE `guild_bank_eventlog` (
+ `guildid` int(11) unsigned NOT NULL default '0' COMMENT 'Guild Identificator',
+ `LogGuid` int(11) unsigned NOT NULL default '0' COMMENT 'Log record identificator - auxiliary column',
+ `TabId` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Guild bank TabId',
+ `EventType` tinyint(3) unsigned NOT NULL default '0' COMMENT 'Event type',
+ `PlayerGuid` int(11) unsigned NOT NULL default '0',
+ `ItemOrMoney` int(11) unsigned NOT NULL default '0',
+ `ItemStackCount` tinyint(3) unsigned NOT NULL default '0',
+ `DestTabId` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Destination Tab Id',
+ `TimeStamp` bigint(20) unsigned NOT NULL default '0' COMMENT 'Event UNIX time',
+ PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
+ KEY `guildid_key` (`guildid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+-- The reason i decided for such dramatic change is that old guild_bank_eventlog table used `TabId` = 0 for Money events and
+-- used `LogGuid` from 0 to infinity
+-- New system uses `LogGuid` from 0 to number defined in config.
diff --git a/sql/old/3.1.3/05354_characters_guild_eventlog.sql b/sql/old/3.1.3/05354_characters_guild_eventlog.sql
new file mode 100644
index 00000000000..65cfcf142a5
--- /dev/null
+++ b/sql/old/3.1.3/05354_characters_guild_eventlog.sql
@@ -0,0 +1,21 @@
+-- mangos rev 8402
+-- ALTER TABLE character_db_version CHANGE COLUMN required_8397_03_characters_character_spell required_8402_01_characters_guild_eventlog bit;
+
+
+-- THIS SCRIPT DELETES table `guild_eventlog` - MAKE BACKUP, if you need it.
+
+DROP TABLE IF EXISTS `guild_eventlog`;
+CREATE TABLE `guild_eventlog` (
+ `guildid` int(11) NOT NULL COMMENT 'Guild Identificator',
+ `LogGuid` int(11) NOT NULL COMMENT 'Log record identificator - auxiliary column',
+ `EventType` tinyint(1) NOT NULL COMMENT 'Event type',
+ `PlayerGuid1` int(11) NOT NULL COMMENT 'Player 1',
+ `PlayerGuid2` int(11) NOT NULL COMMENT 'Player 2',
+ `NewRank` tinyint(2) NOT NULL COMMENT 'New rank(in case promotion/demotion)',
+ `TimeStamp` bigint(20) NOT NULL COMMENT 'Event UNIX time',
+ PRIMARY KEY (`guildid`, `LogGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT 'Guild Eventlog';
+
+-- The reason i decided for such dramatic change is that old guild_eventlog table didn't have Primary key and
+-- used LogGuids from 0 to infinity
+-- New system uses LogGuids from 0 to number defined in config.
diff --git a/sql/old/3.1.3/05360_characters_guild.sql b/sql/old/3.1.3/05360_characters_guild.sql
new file mode 100644
index 00000000000..fd6849e5b59
--- /dev/null
+++ b/sql/old/3.1.3/05360_characters_guild.sql
@@ -0,0 +1,18 @@
+-- mangos rev 8409
+-- ALTER TABLE character_db_version CHANGE COLUMN required_8402_02_characters_guild_bank_eventlog required_8409_01_characters_guild bit;
+
+
+-- Change createdate column type from datetime to bigint(20)
+
+-- add temporary column
+ALTER TABLE guild ADD COLUMN created_temp bigint(20) default '0';
+-- update temporary columns data
+UPDATE guild SET created_temp = UNIX_TIMESTAMP(createdate);
+-- drop current column
+ALTER TABLE guild DROP COLUMN createdate;
+-- create new column with correct type
+ALTER TABLE guild ADD COLUMN createdate bigint(20) NOT NULL default '0' AFTER motd;
+-- copy data to new column
+UPDATE guild set createdate = created_temp;
+-- remove old column
+ALTER TABLE guild DROP COLUMN created_temp;
diff --git a/sql/old/3.1.3/05361_world_trinity_string.sql b/sql/old/3.1.3/05361_world_trinity_string.sql
new file mode 100644
index 00000000000..bfacdc8d0cd
--- /dev/null
+++ b/sql/old/3.1.3/05361_world_trinity_string.sql
@@ -0,0 +1,7 @@
+-- mangos rev 8412
+-- ALTER TABLE db_version CHANGE COLUMN required_8399_01_mangos_spell_elixir required_8412_01_mangos_mangos_string bit;
+
+DELETE FROM trinity_string WHERE entry IN(512,513);
+INSERT INTO trinity_string VALUES
+(512,'%d - |cffffffff|Hitem:%d:0:0:0:0:0:0:0:0|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(513,'%d - |cffffffff|Hquest:%d:%d|h[%s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/old/3.1.3/05403_world_scriptname.sql b/sql/old/3.1.3/05403_world_scriptname.sql
new file mode 100644
index 00000000000..08b77928237
--- /dev/null
+++ b/sql/old/3.1.3/05403_world_scriptname.sql
@@ -0,0 +1 @@
+update creature_template set ScriptName = 'boss_kologarn' where entry = 32930;
diff --git a/sql/old/3.1.3/05403_world_spell_linked_spell.sql b/sql/old/3.1.3/05403_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..86c1b19aef3
--- /dev/null
+++ b/sql/old/3.1.3/05403_world_spell_linked_spell.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (-62475,62427);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+(-62475,-62399, 0, 'System Shutdown - Overload Circuit'),
+(-62475,-62375, 0, 'System Shutdown - Gathering Speed'),
+(-62475, 62472, 0, 'System Shutdown'), #inform, not correct spell
+( 62427, 62340, 2, 'Load into Catapult - Passenger Loaded');
diff --git a/sql/old/3.1.3/05410_world_spell_dbc.sql b/sql/old/3.1.3/05410_world_spell_dbc.sql
new file mode 100644
index 00000000000..31f648dcad4
--- /dev/null
+++ b/sql/old/3.1.3/05410_world_spell_dbc.sql
@@ -0,0 +1,101 @@
+DROP TABLE IF EXISTS `spell_dbc`;
+CREATE TABLE `spell_dbc` (
+ `Id` INT UNSIGNED NOT NULL,
+ `Dispel` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `Mechanic` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `Attributes` INT UNSIGNED NOT NULL DEFAULT 0,
+ `AttributesEx` INT UNSIGNED NOT NULL DEFAULT 0,
+ `AttributesEx2` INT UNSIGNED NOT NULL DEFAULT 0,
+ `AttributesEx3` INT UNSIGNED NOT NULL DEFAULT 0,
+ `AttributesEx4` INT UNSIGNED NOT NULL DEFAULT 0,
+ `AttributesEx5` INT UNSIGNED NOT NULL DEFAULT 0,
+ `Targets` INT UNSIGNED NOT NULL DEFAULT 0,
+ `CastingTimeIndex` TINYINT UNSIGNED NOT NULL DEFAULT 1,
+ `AuraInterruptFlags` INT UNSIGNED NOT NULL DEFAULT 0,
+ `ProcFlags` INT UNSIGNED NOT NULL DEFAULT 0,
+ `ProcChance` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `ProcCharges` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `MaxLevel` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `BaseLevel` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `SpellLevel` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `DurationIndex` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
+ `RangeIndex` TINYINT UNSIGNED NOT NULL DEFAULT 1,
+ `StackAmount` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EquippedItemClass` INT NOT NULL DEFAULT -1,
+ `EquippedItemSubClassMask` INT NOT NULL DEFAULT 0 DEFAULT 0,
+ `EquippedItemInventoryTypeMask` INT NOT NULL DEFAULT 0 DEFAULT 0,
+ `Effect1` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `Effect2` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `Effect3` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectDieSides1` INT NOT NULL DEFAULT 0,
+ `EffectDieSides2` INT NOT NULL DEFAULT 0,
+ `EffectDieSides3` INT NOT NULL DEFAULT 0,
+ `EffectBaseDice1` INT NOT NULL DEFAULT 0,
+ `EffectBaseDice2` INT NOT NULL DEFAULT 0,
+ `EffectBaseDice3` INT NOT NULL DEFAULT 0,
+ `EffectDicePerLevel1` FLOAT NOT NULL DEFAULT 0,
+ `EffectDicePerLevel2` FLOAT NOT NULL DEFAULT 0,
+ `EffectDicePerLevel3` FLOAT NOT NULL DEFAULT 0,
+ `EffectRealPointsPerLevel1` FLOAT NOT NULL DEFAULT 0,
+ `EffectRealPointsPerLevel2` FLOAT NOT NULL DEFAULT 0,
+ `EffectRealPointsPerLevel3` FLOAT NOT NULL DEFAULT 0,
+ `EffectBasePoints1` INT NOT NULL DEFAULT 0,
+ `EffectBasePoints2` INT NOT NULL DEFAULT 0,
+ `EffectBasePoints3` INT NOT NULL DEFAULT 0,
+ `EffectMechanic1` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectMechanic2` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectMechanic3` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectImplicitTargetA1` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectImplicitTargetA2` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectImplicitTargetA3` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectImplicitTargetB1` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectImplicitTargetB2` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectImplicitTargetB3` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectRadiusIndex1` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectRadiusIndex2` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectRadiusIndex3` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectApplyAuraName1` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectApplyAuraName2` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectApplyAuraName3` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectAmplitude1` INT NOT NULL DEFAULT 0,
+ `EffectAmplitude2` INT NOT NULL DEFAULT 0,
+ `EffectAmplitude3` INT NOT NULL DEFAULT 0,
+ `EffectMultipleValue1` FLOAT NOT NULL DEFAULT 0,
+ `EffectMultipleValue2` FLOAT NOT NULL DEFAULT 0,
+ `EffectMultipleValue3` FLOAT NOT NULL DEFAULT 0,
+ `EffectMiscValue1` INT NOT NULL DEFAULT 0,
+ `EffectMiscValue2` INT NOT NULL DEFAULT 0,
+ `EffectMiscValue3` INT NOT NULL DEFAULT 0,
+ `EffectMiscValueB1` INT NOT NULL DEFAULT 0,
+ `EffectMiscValueB2` INT NOT NULL DEFAULT 0,
+ `EffectMiscValueB3` INT NOT NULL DEFAULT 0,
+ `EffectTriggerSpell1` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectTriggerSpell2` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectTriggerSpell3` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskA1` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskA2` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskA3` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskB1` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskB2` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskB3` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskC1` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskC2` INT UNSIGNED NOT NULL DEFAULT 0,
+ `EffectSpellClassMaskC3` INT UNSIGNED NOT NULL DEFAULT 0,
+ `MaxTargetLevel` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `SpellFamilyName` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `SpellFamilyFlags1` INT UNSIGNED NOT NULL DEFAULT 0,
+ `SpellFamilyFlags2` INT UNSIGNED NOT NULL DEFAULT 0,
+ `SpellFamilyFlags3` INT UNSIGNED NOT NULL DEFAULT 0,
+ `MaxAffectedTargets` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `DmgClass` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `PreventionType` TINYINT UNSIGNED NOT NULL DEFAULT 0,
+ `DmgMultiplier1` FLOAT NOT NULL DEFAULT 0,
+ `DmgMultiplier2` FLOAT NOT NULL DEFAULT 0,
+ `DmgMultiplier3` FLOAT NOT NULL DEFAULT 0,
+ `AreaGroupId` INT NOT NULL DEFAULT 0,
+ `SchoolMask` INT UNSIGNED NOT NULL DEFAULT 0,
+ `Comment` TEXT NOT NULL,
+ PRIMARY KEY (`id`)
+)ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Custom spell.dbc entries';
+
+INSERT INTO `spell_dbc` (`Id`, `DurationIndex`, `Effect1`, `EffectImplicitTargetA1`, `EffectApplyAuraName1`, `Comment`) VALUES (62388, 21, 6, 1, 4, 'Demonic Circle: Teleport(48020) - casterAuraSpell');
diff --git a/sql/old/3.1.3/05416_world_spell_dbc.sql b/sql/old/3.1.3/05416_world_spell_dbc.sql
new file mode 100644
index 00000000000..15af83e4c05
--- /dev/null
+++ b/sql/old/3.1.3/05416_world_spell_dbc.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_dbc` WHERE `Id` IN(65142);
+INSERT INTO `spell_dbc` (`Id`, `Dispel`, `Mechanic`, `AttributesEx3`, `DurationIndex`, `RangeIndex`, `Effect1`, `EffectImplicitTargetA1`, `EffectApplyAuraName1`, `EffectMiscValue1`, `SpellFamilyName`, `SchoolMask`, `Comment`) VALUES
+(65142, 3, 22, 0x00000080, 21, 13, 6, 6, 255, 22, 15, 8, 'Crypt Fever - SPELL_AURA_LINKED');
diff --git a/sql/old/3.1.3/05426_world_spell_learn_spell.sql b/sql/old/3.1.3/05426_world_spell_learn_spell.sql
new file mode 100644
index 00000000000..235ffebfe26
--- /dev/null
+++ b/sql/old/3.1.3/05426_world_spell_learn_spell.sql
@@ -0,0 +1,22 @@
+-- mangos rev 8416
+-- ALTER TABLE db_version CHANGE COLUMN required_8412_01_mangos_mangos_string required_8416_01_mangos_spell_learn_spell bit;
+
+/* All form passives */
+DELETE FROM spell_learn_spell WHERE SpellID in (
+1178, /* Bear Form (Passive) */
+3025, /* Cat Form (Passive) */
+5419, /* Travel Form (Passive) */
+5420, /* Tree of Life _passive_ */
+5421, /* Aquatic Form (Passive) */
+7376, /* Defensive Stance Passive */
+7381, /* Berserker Stance Passive */
+9635, /* Dire Bear Form (Passive) */
+21156, /* Battle Stance Passive */
+21178, /* Bear Form (Passive2) */
+24905, /* Moonkin Form (Passive) */
+34123, /* Tree of Life _pasive_ */
+33948, /* Flight Form (Passive) */
+34764, /* Flight Form (Passive) */
+40121, /* Swift Flight Form (Passive) */
+40122 /* Swift Flight Form (Passive) */
+);
diff --git a/sql/old/3.1.3/05435_world_spell_script_target.sql b/sql/old/3.1.3/05435_world_spell_script_target.sql
new file mode 100644
index 00000000000..c449fcae8b6
--- /dev/null
+++ b/sql/old/3.1.3/05435_world_spell_script_target.sql
@@ -0,0 +1,3 @@
+# Chicken Net
+DELETE FROM `spell_script_target` WHERE `entry` = '51959';
+INSERT INTO `spell_script_target` ( `entry`, `type`, `targetEntry`) VALUES ('51959', '1', '28161');
diff --git a/sql/old/3.1.3/05441_world_spell_bonus_data.sql b/sql/old/3.1.3/05441_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..a51c550aec8
--- /dev/null
+++ b/sql/old/3.1.3/05441_world_spell_bonus_data.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_bonus_data` WHERE `entry` IN(53733, 31804);
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
+(53733, 0.22, -1, 0.14, -1, 'Paladin - Judgement of Corruption'),
+(31804, 0.22, -1, 0.14, -1, 'Paladin - Judgement of Vengeance');
diff --git a/sql/old/3.1.3/05445_world_spell_enchant_proc_data.sql b/sql/old/3.1.3/05445_world_spell_enchant_proc_data.sql
new file mode 100644
index 00000000000..a4d885a690d
--- /dev/null
+++ b/sql/old/3.1.3/05445_world_spell_enchant_proc_data.sql
@@ -0,0 +1,36 @@
+DELETE FROM `spell_enchant_proc_data` WHERE `entry` IN(803, 912, 1894, 1898, 1899, 1900, 2673, 2675, 3225, 3239, 3241, 3273, 3368, 3369, 3789, 3869);
+INSERT INTO spell_enchant_proc_data (`entry`, `customChance`, `PPMChance`,`procEx`) VALUES
+ -- Fiery Weapon
+(803, 0, 6.0,0),
+ -- Demonslaying
+(912, 0, 6.0,0),
+ -- Icy Weapon
+(1894, 0, 3.0,0),
+ -- Lifestealing
+(1898, 0, 6.0,0),
+ -- Unholy Weapon
+(1899, 0, 1.0,0),
+ -- Crusader
+(1900, 0, 1.0,0),
+ -- Mongoose
+(2673, 0, 1.0,0),
+ -- Battlemaster
+(2675, 0, 1.0,0),
+ -- Executioner
+(3225, 0, 1.0,0),
+ -- Icebreaker Weapon
+(3239, 0, 3.0,0),
+ -- Lifeward
+(3241, 0, 3.0,0),
+ -- Giantslaying
+(3251, 0, 3.0,0),
+ -- Deathfrost
+(3273, 0, 3.0,0),
+ -- Rune of the Fallen Crusader
+(3368, 0, 1.0,0),
+ -- Rune of Cinderglacier
+(3369, 0, 1.0,0),
+ -- Berserking
+(3789, 0, 1.0,0),
+ -- Blade Ward
+(3869, 0, 1.0,0);
diff --git a/sql/old/3.1.3/05445_world_spell_proc_event.sql b/sql/old/3.1.3/05445_world_spell_proc_event.sql
new file mode 100644
index 00000000000..eca1f2baba1
--- /dev/null
+++ b/sql/old/3.1.3/05445_world_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN(47569, 47570);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 47569, 0x00, 6, 0x00004000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Improved Shadowform (Rank 1)
+( 47570, 0x00, 6, 0x00004000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0); -- Improved Shadowform (Rank 2)
diff --git a/sql/old/3.1.3/05447_world_spell_linked_spell.sql b/sql/old/3.1.3/05447_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..962cb8496ea
--- /dev/null
+++ b/sql/old/3.1.3/05447_world_spell_linked_spell.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN(26022, 26023);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( 26022, 61417, 2, 'Pursuit of Justice'),
+( 26023, 61418, 2, 'Pursuit of Justice');
diff --git a/sql/old/3.1.3/05448_world_spell_script_target.sql b/sql/old/3.1.3/05448_world_spell_script_target.sql
new file mode 100644
index 00000000000..d1c5ed46006
--- /dev/null
+++ b/sql/old/3.1.3/05448_world_spell_script_target.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_script_target` WHERE `entry` IN (62056,63985);
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(63985, 1, 32934), # Stone Grip
+(62056, 1, 32934);
diff --git a/sql/old/3.1.3/05450_world_spell_proc_event.sql b/sql/old/3.1.3/05450_world_spell_proc_event.sql
new file mode 100644
index 00000000000..78bd7fab34e
--- /dev/null
+++ b/sql/old/3.1.3/05450_world_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN(46913, 46914, 46915);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 46913, 0x00, 4, 0x00000040, 0x00000404, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Bloodsurge (Rank 1)
+( 46914, 0x00, 4, 0x00000040, 0x00000404, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Bloodsurge (Rank 2)
+( 46915, 0x00, 4, 0x00000040, 0x00000404, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Bloodsurge (Rank 3)
diff --git a/sql/old/3.1.3/05472_world_script_texts.sql b/sql/old/3.1.3/05472_world_script_texts.sql
new file mode 100644
index 00000000000..e144bb85bf5
--- /dev/null
+++ b/sql/old/3.1.3/05472_world_script_texts.sql
@@ -0,0 +1,5 @@
+-- add missing sentence to Geezle's text & Overgrind's name to flag pickup emote --- Disabled due to script_texts being borked
+-- delete from `script_texts` where `entry` in (-1000266,-1000259);
+-- insert into `script_texts` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`, `type`, `language`, `emote`, `comment`) values
+-- ('-1000266','%s picks up the naga flag.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','2','0','0','geezle - EMOTE_SPARK'),
+-- ('-1000259','What\'s the big idea, Spark? Why\'d you call for this meeting?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0','0','0','geezle - GEEZLE_SAY_1');
diff --git a/sql/old/3.1.3/05475_world_spell_script_target.sql b/sql/old/3.1.3/05475_world_spell_script_target.sql
new file mode 100644
index 00000000000..8939ee109a7
--- /dev/null
+++ b/sql/old/3.1.3/05475_world_spell_script_target.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_script_target` WHERE `entry` IN (62496);
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(62496, 1, 33167); # Liquid Pyrite - Salvaged Demolisher Mechanic Seat
diff --git a/sql/old/3.1.3/05524_world_scriptname.sql b/sql/old/3.1.3/05524_world_scriptname.sql
new file mode 100644
index 00000000000..b2f940aa2b1
--- /dev/null
+++ b/sql/old/3.1.3/05524_world_scriptname.sql
@@ -0,0 +1,2 @@
+update creature_template set ScriptName = 'npc_iruk' where entry = 26219;
+UPDATE creature_template SET ScriptName = 'npc_corastrasza' WHERE entry = 32548;
diff --git a/sql/old/3.1.3/05524_world_spell_script_target.sql b/sql/old/3.1.3/05524_world_spell_script_target.sql
new file mode 100644
index 00000000000..418a734807b
--- /dev/null
+++ b/sql/old/3.1.3/05524_world_spell_script_target.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_script_target` WHERE entry = 61245;
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(61245, 1, 32535);
diff --git a/sql/old/3.1.3/05532_characters_character_account_data.sql b/sql/old/3.1.3/05532_characters_character_account_data.sql
new file mode 100644
index 00000000000..1a0e9617204
--- /dev/null
+++ b/sql/old/3.1.3/05532_characters_character_account_data.sql
@@ -0,0 +1,17 @@
+-- mangos rev 8433
+-- ALTER TABLE character_db_version CHANGE COLUMN required_8409_01_characters_guild required_8433_01_characters_character_account_data bit;
+
+DROP TABLE IF EXISTS `character_account_data`;
+CREATE TABLE `character_account_data` (
+ `guid` int(11) unsigned NOT NULL default '0',
+ `type` int(11) unsigned NOT NULL default '0',
+ `time` bigint(11) unsigned NOT NULL default '0',
+ `data` longtext NOT NULL,
+ PRIMARY KEY (`guid`,`type`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+INSERT INTO character_account_data
+SELECT c.guid as guid, a.type as type, a.time as time, a.data as data
+FROM characters c LEFT JOIN account_data a ON c.account = a.account WHERE a.type IN (1, 3, 5, 6, 7);
+
+DELETE FROM account_data WHERE type IN (1, 3, 5, 6, 7);
diff --git a/sql/old/3.1.3/05552_world_trinity_string.sql b/sql/old/3.1.3/05552_world_trinity_string.sql
new file mode 100644
index 00000000000..3ee506b84cd
--- /dev/null
+++ b/sql/old/3.1.3/05552_world_trinity_string.sql
@@ -0,0 +1,7 @@
+-- mangos rev 8444
+-- ALTER TABLE db_version CHANGE COLUMN required_8416_01_mangos_spell_learn_spell required_8444_01_mangos_mangos_string bit;
+
+DELETE FROM trinity_string WHERE entry IN(348,522);
+INSERT INTO trinity_string VALUES
+(348,'Game Object (Entry: %u) have invalid data and can\'t be spawned',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(522,'Game Object (Entry: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/old/3.1.3/05579_world_trinity_string.sql b/sql/old/3.1.3/05579_world_trinity_string.sql
new file mode 100644
index 00000000000..fadf756d58a
--- /dev/null
+++ b/sql/old/3.1.3/05579_world_trinity_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM `trinity_string` WHERE `entry`=326;
+INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`)
+VALUES (326, 'Faction %s (%u) can''nt have reputation.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
diff --git a/sql/old/3.1.3/05582_world_scriptname.sql b/sql/old/3.1.3/05582_world_scriptname.sql
new file mode 100644
index 00000000000..84336ba266f
--- /dev/null
+++ b/sql/old/3.1.3/05582_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_scarlet_ghoul' WHERE `entry`=28845;
diff --git a/sql/old/3.1.3/05595_world_script_texts.sql b/sql/old/3.1.3/05595_world_script_texts.sql
new file mode 100644
index 00000000000..f99352cd22f
--- /dev/null
+++ b/sql/old/3.1.3/05595_world_script_texts.sql
@@ -0,0 +1,21 @@
+DROP TABLE IF EXISTS `script_texts`;
+CREATE TABLE `script_texts` (
+ `npc_entry` mediumint(8) NOT NULL default '0' COMMENT 'creature_template entry',
+ `entry` mediumint(8) NOT NULL,
+ `content_default` text NOT NULL,
+ `content_loc1` text,
+ `content_loc2` text,
+ `content_loc3` text,
+ `content_loc4` text,
+ `content_loc5` text,
+ `content_loc6` text,
+ `content_loc7` text,
+ `content_loc8` text,
+ `sound` mediumint(8) unsigned NOT NULL default '0',
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `language` tinyint(3) unsigned NOT NULL default '0',
+ `emote` smallint(5) unsigned NOT NULL default '0',
+ `comment` text,
+ PRIMARY KEY (`npc_entry`,`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Texts';
+
diff --git a/sql/old/3.1.3/05610_world_scriptname.sql b/sql/old/3.1.3/05610_world_scriptname.sql
new file mode 100644
index 00000000000..afeecbc3a14
--- /dev/null
+++ b/sql/old/3.1.3/05610_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName`='go_shallow_grave' WHERE `entry` IN (128308,128403);
diff --git a/sql/old/3.1.3/05612_world_scriptname.sql b/sql/old/3.1.3/05612_world_scriptname.sql
new file mode 100644
index 00000000000..e98e3f42853
--- /dev/null
+++ b/sql/old/3.1.3/05612_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_razael_and_lyana' WHERE `entry` IN (23778,23998);
diff --git a/sql/old/3.1.3/05613_world_script_texts.sql b/sql/old/3.1.3/05613_world_script_texts.sql
new file mode 100644
index 00000000000..a99051c71f1
--- /dev/null
+++ b/sql/old/3.1.3/05613_world_script_texts.sql
@@ -0,0 +1,9 @@
+DELETE FROM `script_texts` WHERE `entry` IN (-1603000,-1603001,-1603002,-1603003,-1603004,-1603005,-1603006);
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (27975,-1603000,'You shouldn''t have come...now you will die!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13487,1,0,0,'maiden of grief SAY_AGGRO'),
+ (27975,-1603001,'Why must it be this way?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13488,1,0,0,'maiden of grief SAY_SLAY_1'),
+ (27975,-1603002,'You had it coming!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13489,1,0,0,'maiden of grief SAY_SLAY_2'),
+ (27975,-1603003,'My burden grows heavier.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13490,1,0,0,'maiden of grief SAY_SLAY_3'),
+ (27975,-1603004,'This is your own fault!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13491,1,0,0,'maiden of grief SAY_SLAY_4'),
+ (27975,-1603005,'I hope you all rot! I never...wanted...this.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13493,1,0,0,'maiden of grief SAY_DEATH'),
+ (27975,-1603006,'So much lost time... that you''ll never get back!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13492,1,0,0,'maiden of grief SAY_STUN');
diff --git a/sql/old/3.1.3/05613_world_scriptname.sql b/sql/old/3.1.3/05613_world_scriptname.sql
new file mode 100644
index 00000000000..4333a9c4114
--- /dev/null
+++ b/sql/old/3.1.3/05613_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='boss_maiden_of_grief' WHERE `entry`=27975;
diff --git a/sql/old/3.1.3/05627_world_scriptname.sql b/sql/old/3.1.3/05627_world_scriptname.sql
new file mode 100644
index 00000000000..ce3e18c9601
--- /dev/null
+++ b/sql/old/3.1.3/05627_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_gymer' WHERE `entry`=29647;
diff --git a/sql/old/3.1.3/05628_characters_character_spell.sql b/sql/old/3.1.3/05628_characters_character_spell.sql
new file mode 100644
index 00000000000..710244b8fd5
--- /dev/null
+++ b/sql/old/3.1.3/05628_characters_character_spell.sql
@@ -0,0 +1,21 @@
+-- mangos rev 8433
+-- ALTER TABLE character_db_version CHANGE COLUMN required_8433_01_characters_character_account_data required_8469_01_characters_character_spell bit;
+
+DELETE FROM character_spell WHERE spell in (
+ 1178, /* Bear Form (Passive) */
+ 3025, /* Cat Form (Passive) */
+ 5419, /* Travel Form (Passive) */
+ 5420, /* Tree of Life _passive_ */
+ 5421, /* Aquatic Form (Passive) */
+ 7376, /* Defensive Stance Passive */
+ 7381, /* Berserker Stance Passive */
+ 9635, /* Dire Bear Form (Passive) */
+ 21156, /* Battle Stance Passive */
+ 21178, /* Bear Form (Passive2) */
+ 24905, /* Moonkin Form (Passive) */
+ 34123, /* Tree of Life _pasive_ */
+ 33948, /* Flight Form (Passive) */
+ 34764, /* Flight Form (Passive) */
+ 40121, /* Swift Flight Form (Passive) */
+ 40122 /* Swift Flight Form (Passive) */
+);
diff --git a/sql/old/3.1.3/05628_world_creature_ai_texts.sql b/sql/old/3.1.3/05628_world_creature_ai_texts.sql
new file mode 100644
index 00000000000..a1b998961a0
--- /dev/null
+++ b/sql/old/3.1.3/05628_world_creature_ai_texts.sql
@@ -0,0 +1,4 @@
+-- mangos rev 8451
+-- ALTER TABLE db_version CHANGE COLUMN required_8451_01_mangos_spell_proc_event required_8462_01_mangos_creature_ai_texts bit;
+
+ALTER TABLE creature_ai_texts CHANGE emote emote smallint(5) unsigned NOT NULL default '0';
diff --git a/sql/old/3.1.3/05637_world_scriptname.sql b/sql/old/3.1.3/05637_world_scriptname.sql
new file mode 100644
index 00000000000..5294f926967
--- /dev/null
+++ b/sql/old/3.1.3/05637_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_thorim' WHERE `entry`=29445;
diff --git a/sql/old/3.1.3/05642_realmd_realmlist.sql b/sql/old/3.1.3/05642_realmd_realmlist.sql
new file mode 100644
index 00000000000..f1d5575fd18
--- /dev/null
+++ b/sql/old/3.1.3/05642_realmd_realmlist.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `realmlist`
+ ADD `gamebuild` int(11) unsigned NOT NULL default '9947' AFTER `population`; \ No newline at end of file
diff --git a/sql/old/3.1.3/05670_realmd_uptime.sql b/sql/old/3.1.3/05670_realmd_uptime.sql
new file mode 100644
index 00000000000..ba694028ab6
--- /dev/null
+++ b/sql/old/3.1.3/05670_realmd_uptime.sql
@@ -0,0 +1 @@
+ALTER TABLE `uptime` ADD COLUMN `revision` VARCHAR(255) NOT NULL DEFAULT 'Trinitycore' AFTER `maxplayers`;
diff --git a/sql/old/3.1.3/05677_world_spell_proc_event.sql b/sql/old/3.1.3/05677_world_spell_proc_event.sql
new file mode 100644
index 00000000000..e33ed3c7555
--- /dev/null
+++ b/sql/old/3.1.3/05677_world_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (57352);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(57352, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00051154, 0x00000000, 0, 0, 45); -- Darkmoon Card: Death
diff --git a/sql/old/3.1.3/05684_world_script_texts.sql b/sql/old/3.1.3/05684_world_script_texts.sql
new file mode 100644
index 00000000000..33a035046ce
--- /dev/null
+++ b/sql/old/3.1.3/05684_world_script_texts.sql
@@ -0,0 +1,9 @@
+DELETE FROM `script_texts` WHERE `entry` BETWEEN -1000488 AND -1000482;
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (18210,-1000482,'Look out!',0,0,0,0,'maghar captive SAY_MAG_START'),
+ (18210,-1000483,'Don''t let them escape! Kill the strong one first!',0,0,0,0,'maghar captive SAY_MAG_NO_ESCAPE'),
+ (18210,-1000484,'More of them coming! Watch out!',0,0,0,0,'maghar captive SAY_MAG_MORE'),
+ (18210,-1000485,'Where do you think you''re going? Kill them all!',0,0,0,0,'maghar captive SAY_MAG_MORE_REPLY'),
+ (18210,-1000486,'Ride the lightning, filth!',0,0,0,0,'maghar captive SAY_MAG_LIGHTNING'),
+ (18210,-1000487,'FROST SHOCK!!!',0,0,0,0,'maghar captive SAY_MAG_SHOCK'),
+ (18210,-1000488,'It is best that we split up now, in case they send more after us. Hopefully one of us will make it back to Garrosh. Farewell stranger.',0,0,0,0,'maghar captive SAY_MAG_COMPLETE');
diff --git a/sql/old/3.1.3/05684_world_script_waypoint.sql b/sql/old/3.1.3/05684_world_script_waypoint.sql
new file mode 100644
index 00000000000..708ad3cad2e
--- /dev/null
+++ b/sql/old/3.1.3/05684_world_script_waypoint.sql
@@ -0,0 +1,22 @@
+DELETE FROM `script_waypoint` WHERE `entry`=18210;
+INSERT INTO `script_waypoint` VALUES
+ (18210, 0, -1581.410034, 8557.933594, 2.726, 0, ''),
+ (18210, 1, -1579.908447, 8553.716797, 2.559, 0, ''),
+ (18210, 2, -1577.829102, 8549.880859, 2.001, 0, ''),
+ (18210, 3, -1571.161987, 8543.494141, 2.001, 0, ''),
+ (18210, 4, -1563.944824, 8530.334961, 1.605, 0, ''),
+ (18210, 5, -1554.565552, 8518.413086, 0.364, 0, ''),
+ (18210, 6, -1549.239136, 8515.518555, 0.293, 0, ''),
+ (18210, 7, -1518.490112, 8516.771484, 0.683, 2000, 'SAY_MAG_MORE'),
+ (18210, 8, -1505.038940, 8513.247070, 0.672, 0, ''),
+ (18210, 9, -1476.161133, 8496.066406, 2.157, 0, ''),
+ (18210, 10, -1464.450684, 8492.601563, 3.529, 0, ''),
+ (18210, 11, -1457.568359, 8492.183594, 4.449, 0, ''),
+ (18210, 12, -1444.100342, 8499.031250, 6.177, 0, ''),
+ (18210, 13, -1426.472168, 8510.116211, 7.686, 0, ''),
+ (18210, 14, -1403.685303, 8524.146484, 9.680, 0, ''),
+ (18210, 15, -1384.890503, 8542.014648, 11.180, 0, ''),
+ (18210, 16, -1382.286133, 8539.869141, 11.139, 7500, 'SAY_MAG_COMPLETE'),
+ (18210, 17, -1361.224609, 8521.440430, 11.144, 0, ''),
+ (18210, 18, -1324.803589, 8510.688477, 13.050, 0, ''),
+ (18210, 19, -1312.075439, 8492.709961, 14.235, 0, '');
diff --git a/sql/old/3.1.3/05684_world_scriptname.sql b/sql/old/3.1.3/05684_world_scriptname.sql
new file mode 100644
index 00000000000..4db8f4fcac8
--- /dev/null
+++ b/sql/old/3.1.3/05684_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_maghar_captive' WHERE `entry`=18210;
diff --git a/sql/old/3.1.3/05688_world_scriptname.sql b/sql/old/3.1.3/05688_world_scriptname.sql
new file mode 100644
index 00000000000..2274fbf9084
--- /dev/null
+++ b/sql/old/3.1.3/05688_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_training_dummy' WHERE `entry`=16111;
diff --git a/sql/old/3.1.3/05696_world_areatrigger_scripts.sql b/sql/old/3.1.3/05696_world_areatrigger_scripts.sql
new file mode 100644
index 00000000000..849bba03ab2
--- /dev/null
+++ b/sql/old/3.1.3/05696_world_areatrigger_scripts.sql
@@ -0,0 +1,3 @@
+-- *Zum'Rah Area Trigger Script, Zum'Rah should become hostile when approached. By totoro.
+DELETE FROM `areatrigger_scripts` WHERE `entry`=962;
+INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES('962','at_zumrah');
diff --git a/sql/old/3.1.3/05696_world_creature_addon_waypoint_data.sql b/sql/old/3.1.3/05696_world_creature_addon_waypoint_data.sql
new file mode 100644
index 00000000000..4f9b4e0ba37
--- /dev/null
+++ b/sql/old/3.1.3/05696_world_creature_addon_waypoint_data.sql
@@ -0,0 +1,15 @@
+-- *TrullyOne/MeanMachine Waypoint System Restored. Patch by XTElite1.
+-- This should be applied to world_script_waypoints.sql ASAP
+ALTER TABLE `creature_addon`
+ ADD `path_id` int(11) unsigned NOT NULL default '0' AFTER `guid`;
+ALTER TABLE `creature_template_addon`
+ ADD `path_id` int(11) unsigned NOT NULL default '0' AFTER `entry`;
+
+ALTER TABLE `waypoint_data` ADD COLUMN `id_old` int(10) unsigned NOT NULL default '0' COMMENT 'Creature GUID' AFTER `wpguid`;
+UPDATE `waypoint_data` SET `id_old`=`id`*0.1;
+
+REPLACE INTO `creature_addon` ( `guid` ) SELECT `id_old` FROM `waypoint_data`;
+
+UPDATE `creature_addon`,`waypoint_data` SET `creature_addon`.`path_id` = `waypoint_data`.`id` WHERE `creature_addon`.`guid`=`waypoint_data`.`id_old`;
+
+ALTER TABLE `waypoint_data` DROP COLUMN `id_old`;
diff --git a/sql/old/3.1.3/05696_world_script_texts.sql b/sql/old/3.1.3/05696_world_script_texts.sql
new file mode 100644
index 00000000000..66a8e6e314d
--- /dev/null
+++ b/sql/old/3.1.3/05696_world_script_texts.sql
@@ -0,0 +1,5 @@
+DELETE FROM `script_texts` WHERE `npc_entry`=17077;
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (17077,-1000496,'%s lifts its head into the air, as if listening for something.',0,2,0,0,'ancestral wolf EMOTE_WOLF_LIFT_HEAD'),
+ (17077,-1000497,'%s lets out a howl that rings across the mountains to the north and motions for you to follow.',0,2,0,0,'ancestral wolf EMOTE_WOLF_HOWL'),
+ (17077,-1000498,'Welcome, kind spirit. What has brought you to us?',0,0,0,0,'ancestral wolf SAY_WOLF_WELCOME');
diff --git a/sql/old/3.1.3/05696_world_script_waypoint.sql b/sql/old/3.1.3/05696_world_script_waypoint.sql
new file mode 100644
index 00000000000..f291c3c54e9
--- /dev/null
+++ b/sql/old/3.1.3/05696_world_script_waypoint.sql
@@ -0,0 +1,53 @@
+DELETE FROM `script_waypoint` WHERE `entry`=17077;
+INSERT INTO `script_waypoint` VALUES
+ (17077, 0, -16.950142, 3801.409424, 95.064, 5000, 'EMOTE_WOLF_LIFT_HEAD'),
+ (17077, 1, -15.577404, 3805.170898, 94.833, 2500, ''),
+ (17077, 2, -20.011766, 3806.609863, 92.476, 5000, 'EMOTE_WOLF_HOWL'),
+ (17077, 3, -18.594666, 3816.207764, 91.482, 0, ''),
+ (17077, 4, -19.293468, 3838.218750, 85.012, 0, ''),
+ (17077, 5, -16.504408, 3871.034668, 82.327, 0, ''),
+ (17077, 6, 2.064510, 3898.678711, 85.623, 0, ''),
+ (17077, 7, 16.403864, 3921.174072, 86.024, 0, ''),
+ (17077, 8, 47.307926, 3932.001465, 83.302, 0, ''),
+ (17077, 9, 90.067230, 3942.906250, 77.000, 0, ''),
+ (17077, 10, 106.886024, 3944.388428, 76.502, 0, ''),
+ (17077, 11, 139.085480, 3941.897217, 80.617, 0, ''),
+ (17077, 12, 150.092346, 3942.782959, 80.399, 0, ''),
+ (17077, 13, 193.511475, 3950.396484, 74.366, 0, ''),
+ (17077, 14, 226.274948, 3958.003418, 73.257, 0, ''),
+ (17077, 15, 246.686981, 3963.309326, 76.376, 0, ''),
+ (17077, 16, 264.206177, 3977.726563, 83.704, 0, ''),
+ (17077, 17, 279.857422, 3986.417236, 88.245, 0, ''),
+ (17077, 18, 304.039642, 3998.354004, 95.649, 0, ''),
+ (17077, 19, 328.071503, 3995.832764, 104.434, 0, ''),
+ (17077, 20, 347.485229, 3990.817627, 113.608, 0, ''),
+ (17077, 21, 351.257202, 3954.260254, 125.747, 0, ''),
+ (17077, 22, 345.625977, 3932.016113, 132.358, 0, ''),
+ (17077, 23, 347.971893, 3908.549561, 135.520, 0, ''),
+ (17077, 24, 351.887878, 3891.062744, 139.957, 0, ''),
+ (17077, 25, 346.116852, 3864.634277, 146.647, 0, ''),
+ (17077, 26, 330.012360, 3839.859375, 154.148, 0, ''),
+ (17077, 27, 297.250610, 3811.855225, 166.893, 0, ''),
+ (17077, 28, 290.783112, 3800.188477, 172.130, 0, ''),
+ (17077, 29, 288.125427, 3782.474365, 180.825, 0, ''),
+ (17077, 30, 296.817841, 3771.629639, 184.961, 0, ''),
+ (17077, 31, 305.256256, 3765.380615, 185.360, 0, ''),
+ (17077, 32, 311.447906, 3757.902100, 184.312, 0, ''),
+ (17077, 33, 325.258026, 3730.282227, 184.076, 0, ''),
+ (17077, 34, 341.158630, 3717.757080, 183.904, 0, ''),
+ (17077, 35, 365.589020, 3717.200684, 183.902, 0, ''),
+ (17077, 36, 387.395081, 3731.750732, 183.645, 0, ''),
+ (17077, 37, 396.574127, 3732.604248, 179.831, 0, ''),
+ (17077, 38, 404.303192, 3737.313232, 180.151, 0, ''),
+ (17077, 39, 410.995972, 3742.286865, 183.364, 0, ''),
+ (17077, 40, 434.904541, 3761.058838, 186.219, 0, ''),
+ (17077, 41, 460.128815, 3774.436768, 186.348, 0, ''),
+ (17077, 42, 467.643951, 3788.506104, 186.446, 0, ''),
+ (17077, 43, 491.551666, 3815.446777, 189.848, 0, ''),
+ (17077, 44, 496.957855, 3836.875244, 193.078, 0, ''),
+ (17077, 45, 502.889191, 3855.458740, 194.834, 0, ''),
+ (17077, 46, 508.208466, 3863.689453, 194.024, 0, ''),
+ (17077, 47, 528.907593, 3887.348633, 189.762, 0, ''),
+ (17077, 48, 527.722229, 3890.686523, 189.240, 0, ''),
+ (17077, 49, 524.637329, 3891.768066, 189.149, 0, ''),
+ (17077, 50, 519.146057, 3886.701660, 190.128, 60000, 'SAY_WOLF_WELCOME');
diff --git a/sql/old/3.1.3/05696_world_scriptname.sql b/sql/old/3.1.3/05696_world_scriptname.sql
new file mode 100644
index 00000000000..5f7e8d8d1b0
--- /dev/null
+++ b/sql/old/3.1.3/05696_world_scriptname.sql
@@ -0,0 +1,2 @@
+-- *A Spirit Guide Escort Quest, code from SD2, patch by manuel.
+UPDATE `creature_template` SET `ScriptName`='npc_ancestral_wolf' WHERE `entry`=17077;
diff --git a/sql/old/3.1.3/05696_world_spell_proc_event.sql b/sql/old/3.1.3/05696_world_spell_proc_event.sql
new file mode 100644
index 00000000000..280faca03bd
--- /dev/null
+++ b/sql/old/3.1.3/05696_world_spell_proc_event.sql
@@ -0,0 +1,4 @@
+-- *Judgement of Light PPM based, not 100%. By Drevi.
+DELETE FROM `spell_proc_event` WHERE `entry`=20185;
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 20185, 0x01, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 15, 0, 0); -- Judgement of Light
diff --git a/sql/old/3.1.3/05698_world_scriptname.sql b/sql/old/3.1.3/05698_world_scriptname.sql
new file mode 100644
index 00000000000..e2e3fb671d5
--- /dev/null
+++ b/sql/old/3.1.3/05698_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_nerubar_victim' WHERE `entry`=25284;
diff --git a/sql/old/3.1.3/05700_characters_game_event_save.sql b/sql/old/3.1.3/05700_characters_game_event_save.sql
new file mode 100644
index 00000000000..0118921b8c4
--- /dev/null
+++ b/sql/old/3.1.3/05700_characters_game_event_save.sql
@@ -0,0 +1,2 @@
+DELETE `game_event_condition_save` FROM `game_event_condition_save` WHERE `event_id` in (22,75,76,77);
+DELETE `game_event_save` FROM `game_event_save` WHERE `event_id` in (22,75,76,77);
diff --git a/sql/old/3.1.3/05700_world_areatrigger_scripts.sql b/sql/old/3.1.3/05700_world_areatrigger_scripts.sql
new file mode 100644
index 00000000000..d4d31b79e8f
--- /dev/null
+++ b/sql/old/3.1.3/05700_world_areatrigger_scripts.sql
@@ -0,0 +1,6 @@
+DELETE FROM `areatrigger_scripts` WHERE `entry`=4016;
+INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES (4016,'at_malfurion_stormrage');
+
+-- Duskwood (already in world_scripts_full.sql)
+DELETE FROM `areatrigger_scripts` WHERE `entry`=4017;
+INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES (4017,'at_twilight_grove');
diff --git a/sql/old/3.1.3/05700_world_script_texts.sql b/sql/old/3.1.3/05700_world_script_texts.sql
new file mode 100644
index 00000000000..c2b6c484952
--- /dev/null
+++ b/sql/old/3.1.3/05700_world_script_texts.sql
@@ -0,0 +1,34 @@
+-- Already in world_script_texts.sql
+DELETE FROM `script_texts` WHERE `entry` BETWEEN -1350030 AND -1350000;
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`type`,`emote`,`comment`) VALUES
+ (15381,-1350000,'We must act quickly or all shall be lost!',0,1,'ANACHRONOS_SAY_1'),
+ (15381,-1350001,'NOW, STAGHELM! WE GO NOW! Prepare your magic!',0,81,'ANACHRONOS_SAY_2'),
+ (15381,-1350002,'Stay close...',0,1,'ANACHRONOS_SAY_3'),
+ (15381,-1350003,'The sands of time will halt, but only for a moment! I will now conjure the barrier.',0,1,'ANACHRONOS_SAY_4'),
+ (15381,-1350004,'FINISH THE SPELL STAGHELM! I CANNOT HOLD THE GLYPHS OF WARDING IN PLACE MUCH LONGER! CALL FORTH THE ROOTS!',0,53,'ANACHRONOS_SAY_5'),
+ (15381,-1350005,'It... It is over, Lord Staghelm. We are victorious. Albeit the cost for this victory was great.',0,1,'ANACHRONOS_SAY_6'),
+ (15381,-1350006,'There is but one duty that remains...',0,1,'ANACHRONOS_SAY_7'),
+ (15381,-1350007,'Before I leave this place, I make one final offreing to you, Lord Staghelm. Should a time arise in which you must gain entry to this accursed fortress, use the Scepter of the Shifting Sands on the sacred gong. The magic holding the barrier together will dissipate and the horrors of Ahn''Qiraj will be unleashed upon the world once more.',0,1,'ANACHRONOS_SAY_8'),
+ (15381,-1350008,'Lord Staghelm, where are you going? You would shatter our bond for the sake of pride?',0,1,'ANACHRONOS_SAY_9'),
+ (15381,-1350009,'And now you know all that there is to know, mortal...',0,1,'ANACHRONOS_SAY_10'),
+ (15381,-1350010,'hands the Scepter of the Shifting Sands to Fandral Staghelm.',2,1,'ANACHRONOS_EMOTE_1'),
+ (15381,-1350011,'shakes his head in dissapointment.',2,274,'ANACHRONOS_EMOTE_2'),
+ (15381,-1350012,'kneels down to pick up the fragments of the shattered scepter.',2,87,'ANACHRONOS_EMOTE_3'),
+ (15382,-1350013,'My forces cannot overcome the Qiraji defenses. We will not be able to get close enough to place your precious barrier, dragon.',0,1,'FANDRAL_SAY_1'),
+ (15382,-1350014,'It is done dragon. Lead the way...',0,1,'FANDRAL_SAY_2'),
+ (15382,-1350015,'Ancient ones guide my hand... Wake from your slumber! WAKE AND SEAL THIS CURSED PLACE!',0,1,'FANDRAL_SAY_3'),
+ (15382,-1350016,'After the savagery that my people have witnessed and felt, you expect me to accept another burden, dragon? Surely you are mad.',0,25,'FANDRAL_SAY_4'),
+ (15382,-1350017,'I want nothing to do with Silithus, the Qiraji and least of all, any damned dragons!',0,1,'FANDRAL_SAY_5'),
+ (15382,-1350018,'My son''s soul will find no comfort in this hollow victory, dragon. I will have him back.Thought it takes a millennia, I WILL have my son back!',0,254,'FANDRAL_SAY_6'),
+ (15382,-1350019,'falls to one knee - exhausted.',2,16,'FANDRAL_EMOTE_1'),
+ (15382,-1350020,'hurls the Scepter of the Shifting Sands into the barrier, shattering it.',2,0,'FANDRAL_EMOTE_2'),
+ (15379,-1350021,'Aye, Fandral, remember these words: Let not your grief guide your faith. These thoughts you hold... dark places you go, night elf. Absolution cannot be had through misguided vengeance.',0,1,'CAELESTRASZ_SAY_1'),
+ (15379,-1350022,'Do not forget the sacrifices made on this day, night elf. We have all suffered immensely at the hands of these beasts.',0,1,'CAELESTRASZ_SAY_2'),
+ (15379,-1350023,'Alexstrasza grant me the resolve to drive our enemies back!',1,53,'CAELESTRASZ_YELL_1'),
+ (15380,-1350024,'This distraction will give you and the young druid time enough to seal the gate. Do not falter. Now, let us see how they deal with chaotic magic.',0,1,'ARYGOS_SAY_1'),
+ (15380,-1350025,'Let them feel the wrath of the Blue Flight! May Malygos protect me!',1,53,'ARYGOS_YELL_1'),
+ (15380,-1350026,'nods knowingly.',2,273,'ARYGOS_EMOTE_1'),
+ (15378,-1350027,'There is a way...',0,1,'MERITHRA_SAY_1'),
+ (15378,-1350028,'We will push them back, Anachronos. This I vow. Uphold the end of this task. Let not your hands falter as you seal our fates behind the barrier.',0,1,'MERITHRA_SAY_2'),
+ (15378,-1350029,'Succumb to the endless dream, little ones. Let it consume you!',1,53,'MERITHRA_YELL_1'),
+ (15378,-1350030,'glances at her compatriots.',2,2,'MERITHRA_EMOTE_1');
diff --git a/sql/old/3.1.3/05700_world_scriptname.sql b/sql/old/3.1.3/05700_world_scriptname.sql
new file mode 100644
index 00000000000..efcc289e268
--- /dev/null
+++ b/sql/old/3.1.3/05700_world_scriptname.sql
@@ -0,0 +1,12 @@
+-- Sunken temple (already in world_scripts_full.sql)
+UPDATE `instance_template` SET `script`='instance_sunken_temple' WHERE `map`=109;
+UPDATE `gameobject_template` SET `ScriptName`='go_atalai_statue' WHERE `entry` IN (148830,148831,148832,148833,148834,148835);
+
+UPDATE `creature_template` SET `ScriptName`='boss_twilight_corrupter' WHERE `entry`=15625;
+
+-- quest data: A pawn on the eternal board
+-- Already in world_scripts_full.sql
+UPDATE `gameobject_template` SET `ScriptName`='go_crystalline_tear' WHERE `entry`=180633;
+UPDATE `creature_template` SET `ScriptName`='mob_qiraj_war_spawn' WHERE `entry` IN (15414,15422,15424,15423);
+UPDATE `creature_template` SET `ScriptName`='npc_anachronos_the_ancient' WHERE `entry`=15381;
+UPDATE `creature_template` SET `ScriptName`='npc_anachronos_quest_trigger' WHERE `entry`=15454;
diff --git a/sql/old/3.1.3/05701_world_scriptname.sql b/sql/old/3.1.3/05701_world_scriptname.sql
new file mode 100644
index 00000000000..8ff78ba6589
--- /dev/null
+++ b/sql/old/3.1.3/05701_world_scriptname.sql
@@ -0,0 +1,2 @@
+UPDATE `gameobject_template` SET `ScriptName`='go_fel_crystalforge' WHERE `entry`=185919;
+UPDATE `gameobject_template` SET `ScriptName`='go_bashir_crystalforge' WHERE `entry`=185921;
diff --git a/sql/old/3.1.3/05702_world_scriptname.sql b/sql/old/3.1.3/05702_world_scriptname.sql
new file mode 100644
index 00000000000..79dee43d798
--- /dev/null
+++ b/sql/old/3.1.3/05702_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName`='go_southfury_moonstone' WHERE `entry`=185566;
diff --git a/sql/old/3.1.3/05713_world_script_texts.sql b/sql/old/3.1.3/05713_world_script_texts.sql
new file mode 100644
index 00000000000..04c168603b1
--- /dev/null
+++ b/sql/old/3.1.3/05713_world_script_texts.sql
@@ -0,0 +1,10 @@
+DELETE FROM `script_texts` WHERE `entry` BETWEEN -1619028 AND -1619021;
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (29308,-1619021,'I will feast on your remains.',0,0,0,0,'prince taldaram SAY_AGGRO'),
+ (29308,-1619022,'I will drink no blood before it''s time.',0,0,0,0,'prince taldaram SAY_SLAY_1'),
+ (29308,-1619023,'One final embrace.',0,0,0,0,'prince taldaram SAY_SLAY_2'),
+ (29308,-1619024,'Still I hunger, still I thirst.',0,0,0,0,'prince taldaram SAY_DEATH'),
+ (29308,-1619025,'So appetizing.',0,0,0,0,'prince taldaram SAY_FEED1'),
+ (29308,-1619026,'Fresh, warm blood. It has been too long.',0,0,0,0,'prince taldaram SAY_FEED2'),
+ (29308,-1619027,'Your heartbeat is music to my ears.',0,0,0,0,'prince taldaram SAY_VANISH1'),
+ (29308,-1619028,'I am nowhere. I am everywhere. I am the watcher, unseen.',0,0,0,0,'prince taldaram SAY_VANISH2');
diff --git a/sql/old/3.1.3/05713_world_scriptname.sql b/sql/old/3.1.3/05713_world_scriptname.sql
new file mode 100644
index 00000000000..7b8f0c15685
--- /dev/null
+++ b/sql/old/3.1.3/05713_world_scriptname.sql
@@ -0,0 +1,3 @@
+UPDATE `creature_template` SET `ScriptName`='boss_taldaram' WHERE `entry`=29308;
+UPDATE `creature_template` SET `ScriptName`='mob_taldaram_flamesphere' WHERE `entry` IN (30106,31686,31687);
+UPDATE `gameobject_template` SET `ScriptName`='prince_taldaram_sphere' WHERE `entry` IN (193093,193094);
diff --git a/sql/old/3.1.3/05714_world_scriptname.sql b/sql/old/3.1.3/05714_world_scriptname.sql
new file mode 100644
index 00000000000..07a8ff5859c
--- /dev/null
+++ b/sql/old/3.1.3/05714_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='boss_volazj' WHERE `entry`=29311;
diff --git a/sql/old/3.1.3/05717_world_creature_template.sql b/sql/old/3.1.3/05717_world_creature_template.sql
new file mode 100644
index 00000000000..827732e6be2
--- /dev/null
+++ b/sql/old/3.1.3/05717_world_creature_template.sql
@@ -0,0 +1,4 @@
+ALTER TABLE `creature_template` CHANGE COLUMN `modelid_A` `modelid1` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT 0;
+ALTER TABLE `creature_template` CHANGE COLUMN `modelid_A2` `modelid2` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT 0;
+ALTER TABLE `creature_template` CHANGE COLUMN `modelid_H` `modelid3` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT 0;
+ALTER TABLE `creature_template` CHANGE COLUMN `modelid_H2` `modelid4` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT 0;
diff --git a/sql/old/3.1.3/05717_world_item_template.sql b/sql/old/3.1.3/05717_world_item_template.sql
new file mode 100644
index 00000000000..bc81881e075
--- /dev/null
+++ b/sql/old/3.1.3/05717_world_item_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `item_template` MODIFY `stackable` int;
diff --git a/sql/old/3.1.3/05724_world_scriptname.sql b/sql/old/3.1.3/05724_world_scriptname.sql
new file mode 100644
index 00000000000..53914d9a2a7
--- /dev/null
+++ b/sql/old/3.1.3/05724_world_scriptname.sql
@@ -0,0 +1,12 @@
+UPDATE `creature_template` SET `ScriptName`='boss_svala_sorrowgrave' WHERE `entry`=26668;
+UPDATE `creature_template` SET `ScriptName`='mob_ritual_channeler' WHERE `entry`=27281;
+UPDATE `creature_template` SET `ScriptName`='boss_svala' WHERE `entry`=29281;
+UPDATE `creature_template` SET `ScriptName`='boss_palehoof' WHERE `entry`=26687;
+UPDATE `creature_template` SET `ScriptName`='boss_skadi' WHERE `entry`=26693;
+UPDATE `creature_template` SET `ScriptName`='boss_ymiron' WHERE `entry`=26861;
+UPDATE `creature_template` SET `ScriptName`='mob_frenzied_worgen' WHERE `entry`=26683;
+UPDATE `creature_template` SET `ScriptName`='mob_ravenous_furbolg' WHERE `entry`=26684;
+UPDATE `creature_template` SET `ScriptName`='mob_ferocious_rhino' WHERE `entry`=26685;
+UPDATE `creature_template` SET `ScriptName`='mob_massive_jormungar' WHERE `entry`=26686;
+UPDATE `instance_template` SET `script`='instance_utgarde_pinnacle' WHERE `map`=575;
+UPDATE `gameobject_template` SET `ScriptName`='go_palehoof_sphere'WHERE `entry`=188593;
diff --git a/sql/old/3.1.3/05727_world_spell_proc_event.sql b/sql/old/3.1.3/05727_world_spell_proc_event.sql
new file mode 100644
index 00000000000..786a472ff5b
--- /dev/null
+++ b/sql/old/3.1.3/05727_world_spell_proc_event.sql
@@ -0,0 +1,4 @@
+-- *Judgement of Wisdom PPM based, not 100%. By Drevi.
+DELETE FROM `spell_proc_event` WHERE `entry`=20186;
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 20186, 0x01, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 15, 0, 0); -- Judgement of Wisdom
diff --git a/sql/old/3.1.3/05736_world_script_texts.sql b/sql/old/3.1.3/05736_world_script_texts.sql
new file mode 100644
index 00000000000..9e681fce46e
--- /dev/null
+++ b/sql/old/3.1.3/05736_world_script_texts.sql
@@ -0,0 +1,6 @@
+DELETE FROM `script_texts` WHERE `entry` BETWEEN -1601003 AND -1601000;
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (28684,-1601000, 'This kingdom belongs to the Scourge! Only the dead may enter.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 0, 0, 'SAY_AGGRO boss_krik_thir'),
+ (28684,-1601001, 'You were foolish to come.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 0, 0, 'SAY_SLAY_1 boss_krik_thir'),
+ (28684,-1601002, 'As Anub''Arak commands!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 0, 0, 'SAY_SLAY_2 boss_krik_thir'),
+ (28684,-1601003, 'I should be grateful. But I long ago lost the capacity.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 0, 0, 'SAY_DEATH boss_krik_thir');
diff --git a/sql/old/3.1.3/05736_world_scriptname.sql b/sql/old/3.1.3/05736_world_scriptname.sql
new file mode 100644
index 00000000000..3330f11a9aa
--- /dev/null
+++ b/sql/old/3.1.3/05736_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='boss_krik_thir' where `entry`=28684;
diff --git a/sql/old/3.1.3/05747_world_script_texts.sql b/sql/old/3.1.3/05747_world_script_texts.sql
new file mode 100644
index 00000000000..da7658e7ed5
--- /dev/null
+++ b/sql/old/3.1.3/05747_world_script_texts.sql
@@ -0,0 +1,9 @@
+DELETE FROM `script_texts` WHERE `entry` BETWEEN -1604017 AND -1604010;
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (29305,-1604010,'We fought back da Scourge. What chance joo be thinkin'' JOO got?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'SAY_AGGRO boss_moorabi'),
+ (29305,-1604012,'Who gonna stop me; you? ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'SAY_SLAY_2 boss_moorabi'),
+ (29305,-1604013,'Not so tough now.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'SAY_SLAY_3 boss_moorabi'),
+ (29305,-1604014,'If our gods can die... den so can we... ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'SAY_DEATH boss_moorabi'),
+ (29305,-1604015,'Get ready for somethin''... much... BIGGAH! ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'SAY_TRANSFORM boss_moorabi'),
+ (29305,-1604016,'Da ground gonna swallow you up',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'SAY_QUAKE boss_moorabi'),
+ (29305,-1604017,'%s begins to transform!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,3,0,0,'EMOTE_TRANSFORM boss_moorabi');
diff --git a/sql/old/3.1.3/05747_world_scriptname.sql b/sql/old/3.1.3/05747_world_scriptname.sql
new file mode 100644
index 00000000000..f11a2f80f75
--- /dev/null
+++ b/sql/old/3.1.3/05747_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='boss_moorabi' where entry=29305;
diff --git a/sql/old/3.1.3/05755_world_scriptname.sql b/sql/old/3.1.3/05755_world_scriptname.sql
new file mode 100644
index 00000000000..48775ec2bd7
--- /dev/null
+++ b/sql/old/3.1.3/05755_world_scriptname.sql
@@ -0,0 +1,9 @@
+UPDATE `creature_template` SET `ScriptName`='boss_slad_ran' WHERE `entry`=29304;
+UPDATE `creature_template` SET `ScriptName`='boss_gal_darah' WHERE `entry`=29306;
+UPDATE `creature_template` SET `ScriptName`='boss_drakkari_colossus' WHERE `entry`=29307;
+UPDATE `creature_template` SET `ScriptName`='mob_slad_ran_viper' WHERE `entry`=29304;
+UPDATE `creature_template` SET `ScriptName`='mob_slad_ran_constrictor' WHERE `entry`=29713;
+UPDATE `instance_template` SET `script`='instance_gundrak' WHERE `map`=604;
+UPDATE `gameobject_template` SET `ScriptName`='go_gundrak_altar' WHERE `entry`=192518;
+UPDATE `gameobject_template` SET `ScriptName`='go_gundrak_altar' WHERE `entry`=192519;
+UPDATE `gameobject_template` SET `ScriptName`='go_gundrak_altar' WHERE `entry`=192520;
diff --git a/sql/old/3.1.3/05761_world_scriptname.sql b/sql/old/3.1.3/05761_world_scriptname.sql
new file mode 100644
index 00000000000..19986bc8d77
--- /dev/null
+++ b/sql/old/3.1.3/05761_world_scriptname.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template` SET `ScriptName`='mob_slad_ran_viper' WHERE `entry`=29680;
+
+/* Eck the Ferocious */
+UPDATE `creature_template` SET `ScriptName`='boss_eck' WHERE `entry`=29932;
diff --git a/sql/old/3.1.3/05772_world_scriptname.sql b/sql/old/3.1.3/05772_world_scriptname.sql
new file mode 100644
index 00000000000..af97f6e9da3
--- /dev/null
+++ b/sql/old/3.1.3/05772_world_scriptname.sql
@@ -0,0 +1,14 @@
+/* GUNDRAK */
+UPDATE `instance_template` SET `script`='instance_gundrak' WHERE `map`=604;
+/* Moorabi */
+UPDATE `creature_template` SET `ScriptName`='boss_moorabi' WHERE `entry`=29305;
+/* Slad'ran */
+UPDATE `creature_template` SET `ScriptName`='boss_slad_ran' WHERE `entry`=29304;
+UPDATE `creature_template` SET `ScriptName`='mob_slad_ran_viper' WHERE `entry`=29680;
+UPDATE `creature_template` SET `ScriptName`='mob_slad_ran_constrictor' WHERE `entry`=29713;
+/* Gal'darah */
+UPDATE `creature_template` SET `ScriptName`='boss_gal_darah' WHERE `entry`=29306;
+/* Drakkari Colossus */
+UPDATE `creature_template` SET `ScriptName`='boss_drakkari_colossus' WHERE `entry`=29307;
+/* Eck the Ferocious */
+UPDATE `creature_template` SET `ScriptName`='boss_eck' WHERE `entry`=29932;
diff --git a/sql/old/3.1.3/05776_world_command.sql b/sql/old/3.1.3/05776_world_command.sql
new file mode 100644
index 00000000000..bf4f4551873
--- /dev/null
+++ b/sql/old/3.1.3/05776_world_command.sql
@@ -0,0 +1,2 @@
+DELETE FROM `command` WHERE `name` = 'account addon';
+INSERT INTO `command` (`name`, `security`, `help`) VALUES ('account addon', 3, 'Syntax: .account addon #addon\nSet expansion addon level allowed. Addon values: 0 - normal, 1 - tbc, 2 - wotlk.');
diff --git a/sql/old/3.1.3/05776_world_trinity_string.sql b/sql/old/3.1.3/05776_world_trinity_string.sql
new file mode 100644
index 00000000000..2a23becbeaa
--- /dev/null
+++ b/sql/old/3.1.3/05776_world_trinity_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM `trinity_string` WHERE `entry`=61;
+INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES
+(61, 'Up to %u expansion allowed now.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
diff --git a/sql/old/3.1.3/05795_world_script_texts.sql b/sql/old/3.1.3/05795_world_script_texts.sql
new file mode 100644
index 00000000000..c74dd00e215
--- /dev/null
+++ b/sql/old/3.1.3/05795_world_script_texts.sql
@@ -0,0 +1,66 @@
+-- texts
+DELETE FROM `script_texts` WHERE `npc_entry` IN (27977,27978,28070);
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+/* Krystallus */
+ (27977,-1603007,'Crush....',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14176,1,0,0,'krystallus SAY_AGGRO'),
+ (27977,-1603008,'Ha...ha...ha...ha...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14177,1,0,0,'krystallus SAY_KILL'),
+ (27977,-1603009,'Uuuuhhhhhhhhhh......',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14179,1,0,0,'krystallus SAY_DEATH'),
+ (27977,-1603010,'Break.... you....',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14178,1,0,0,'krystallus SAY_SHATTER'),
+/* Sjonnir */
+ (27978,-1603011,'Soft, vulnerable shells. Brief, fragile lives. You can not escape the curse of flesh!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'Sjonnir SAY_AGGRO'),
+ (27978,-1603012,'Flesh is no match for iron!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'Sjonnir SAY_SLAY_1'),
+ (27978,-1603013,'Armies of iron will smother the world!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'Sjonnir SAY_SLAY_2'),
+ (27978,-1603015,'Loken will not rest, until the forge is retaken. You changed nothing!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'Sjonnir SAY_DEATH'),
+ (28070,-1603012,'Now that''s owning your supper!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14244,1,0,0,'brann SAY_KILL_1'),
+ (28070,-1603013,'Press on, that''s the way!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14245,1,0,0,'brann SAY_KILL_2'),
+ (28070,-1603014,'Keep it up now. Plenty of death-dealing for everyone!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14246,1,0,0,'brann SAY_KILL_3'),
+ (28070,-1603015,'I''m all kinds of busted up. Might not... make it...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14257,1,0,0,'brann SAY_LOW_HEALTH'),
+ (28070,-1603016,'Not yet, not... yet-',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14258,1,0,0,'brann SAY_DEATH'),
+ (28070,-1603017,'I''m doing everything I can!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14260,1,0,0,'brann SAY_PLAYER_DEATH_1'),
+ (28070,-1603018,'Light preserve you!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14261,1,0,0,'brann SAY_PLAYER_DEATH_2'),
+ (28070,-1603019,'I hope this is all worth it!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14262,1,0,0,'brann SAY_PLAYER_DEATH_3'),
+ (28070,-1603020,'Time to get some answers! Let''s get this show on the road!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14259,1,0,0,'brann SAY_ESCORT_START'),
+ (28070,-1603021,'Don''t worry. Old Brann has got your back. Keep that metal monstrosity busy and I''ll see if I can sweet talk this machine into helping you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14274,1,0,0,'brann SAY_SPAWN_DWARF'),
+ (28070,-1603022,'This is a wee bit trickier that before... Oh, bloody--incomin''!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14275,1,0,0,'brann SAY_SPAWN_TROGG'),
+ (28070,-1603023,'What in the name o'' Madoran did THAT do? Oh! Wait: I just about got it...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14276,1,0,0,'brann SAY_SPAWN_OOZE'),
+ (28070,-1603024,'Ha, that did it. Help''s a-coming. Take this you glow-eying brute!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14277,1,0,0,'brann SAY_SPAWN_EARTHEN'),
+ (28070,-1603025,'Take a moment and relish this with me! Soon all will be revealed! Okay then, let''s do this!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14247,1,0,0,'brann SAY_EVENT_INTRO_1'),
+ (28070,-1603026,'Now keep an eye out! I''ll have this licked in two shakes of a--',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14248,1,0,0,'brann SAY_EVENT_INTRO_2'),
+ (28070,-1603027,'Warning! Life form pattern not recognized. Archival processing terminated. Continued interference will result in targeted response.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13765,1,0,0,'brann SAY_EVENT_INTRO_3_ABED'),
+ (28070,-1603028,'Oh, that doesn''t sound good. We might have a complication or two...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14249,1,0,0,'brann SAY_EVENT_A_1'),
+ (28070,-1603029,'Security breach in progress. Analysis of historical archives transferred to lower priority queue. Countermeasures engaged.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13756,1,0,0,'brann SAY_EVENT_A_2_KADD'),
+ (28070,-1603030,'Ah, you want to play hardball, eh? That''s just my game!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14250,1,0,0,'brann SAY_EVENT_A_3'),
+ (28070,-1603031,'Couple more minutes and I''ll--',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14251,1,0,0,'brann SAY_EVENT_B_1'),
+ (28070,-1603032,'Threat index threshold exceeded. Celestial archive aborted. Security level heightened.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13761,1,0,0,'brann SAY_EVENT_B_2_MARN'),
+ (28070,-1603033,'Heightened? What''s the good news?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14252,1,0,0,'brann SAY_EVENT_B_3'),
+ (28070,-1603034,'So that was the problem? Now I''m makin'' progress...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14253,1,0,0,'brann SAY_EVENT_C_1'),
+ (28070,-1603035,'Critical threat index. Void analysis diverted. Initiating sanitization protocol.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13767,1,0,0,'brann SAY_EVENT_C_2_ABED'),
+ (28070,-1603036,'Hang on! Nobody''s gonna'' be sanitized as long as I have a say in it!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14254,1,0,0,'brann SAY_EVENT_C_3'),
+ (28070,-1603037,'Ha! The old magic fingers finally won through! Now let''s get down to-',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14255,1,0,0,'brann SAY_EVENT_D_1'),
+ (28070,-1603038,'Alert! Security fail safes deactivated. Beginning memory purge...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13768,1,0,0,'brann SAY_EVENT_D_2_ABED'),
+ (28070,-1603039,'Purge? No no no no no! Where did I-- Aha, this should do the trick...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14256,1,0,0,'brann SAY_EVENT_D_3'),
+ (28070,-1603040,'System online. Life form pattern recognized. Welcome Branbronzan. Query?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13769,1,0,0,'brann SAY_EVENT_D_4_ABED'),
+ (28070,-1603041,'Query? What do you think I&#65533;m here for? Tea and biscuits? Spill the beans already!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14263,1,0,0,'brann SAY_EVENT_END_01'),
+ (28070,-1603042,'Tell me how that dwarfs came to be! And start at the beginning!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14264,1,0,0,'brann SAY_EVENT_END_02'),
+ (28070,-1603043,'Accessing prehistoric data. Retrieved. In the beginning Earthen were created to-',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13770,1,0,0,'brann SAY_EVENT_END_03_ABED'),
+ (28070,-1603044,'Right, right! I know that the Earthen were made of stone to shape the deep reaches of the world but what about the anomalies? Matrix non-stabilizing and whatnot.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14265,1,0,0,'brann SAY_EVENT_END_04'),
+ (28070,-1603045,'Accessing. In the early stages of its development cycle Azeroth suffered infection by parasitic, necrophotic symbiotes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13771,1,0,0,'brann SAY_EVENT_END_05_ABED'),
+ (28070,-1603046,'Necro-what? Speak bloody common will ya?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14266,1,0,0,'brann SAY_EVENT_END_06'),
+ (28070,-1603047,'Designation: Old Gods. Old Gods rendered all systems, including Earthen defenseless in order to facilitate assimilation. This matrix destabilization has been termed the Curse of Flesh. Effects of destabilization increased over time.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13772,1,0,0,'brann SAY_EVENT_END_07_ABED'),
+ (28070,-1603048,'Old Gods eh? So they zapped the Earthen with this Curse of Flesh. And then what?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14267,1,0,0,'brann SAY_EVENT_END_08'),
+ (28070,-1603049,'Accessing. Creators arrived to extirpate symbiotic infection. Assessment revealed that Old God infestation had grown malignant. Excising parasites would result in loss of host.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13757,1,0,0,'brann SAY_EVENT_END_09_KADD'),
+ (28070,-1603050,'If they killed the Old Gods Azeroth would have been destroyed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14268,1,0,0,'brann SAY_EVENT_END_10'),
+ (28070,-1603051,'Correct. Creators neutralized parasitic threat and contained it within the host. Forge of Wills and other systems were instituted to create new Earthen. Safeguards were implemented and protectors were appointed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13758,1,0,0,'brann SAY_EVENT_END_11_KADD'),
+ (28070,-1603052,'What protectors?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14269,1,0,0,'brann SAY_EVENT_END_12'),
+ (28070,-1603053,'Designations: Aesir and Vanir or in common nomenclator Storm and Earth Giants. Sentinel Loken designated supreme. Dragon Aspects appointed to monitor evolution of Azeroth.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13759,1,0,0,'brann SAY_EVENT_END_13_KADD'),
+ (28070,-1603054,'Aesir and Vanir. Okay. So the Forge of Wills started to make new Earthen. But what happened to the old ones?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14270,1,0,0,'brann SAY_EVENT_END_14'),
+ (28070,-1603055,'Additional background is relevant to your query. Following global combat between-',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13762,1,0,0,'brann SAY_EVENT_END_15_MARN'),
+ (28070,-1603056,'Hold everything! The Aesir and Vanir went to war? Why?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14271,1,0,0,'brann SAY_EVENT_END_16'),
+ (28070,-1603057,'Unknown. Data suggests that impetus for global combat originated with prime designate Loken who neutralized all remaining Aesir and Vanir affecting termination of conflict. Prime designate Loken then initiated stasis of several seed races including Earthen, Giant and Vrykul at designated holding facilities.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13763,1,0,0,'brann SAY_EVENT_END_17_MARN'),
+ (28070,-1603058,'This Loken sounds like a nasty character. Glad we don&#65533;t have to worry about the likes of him anymore. So if I&#65533;m understanding you lads the original Earthen eventually woke up from this statis. And by that time this destabily-whatever had turned them into our brother dwarfs. Or at least dwarf ancestors. Hm?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14272,1,0,0,'brann SAY_EVENT_END_18'),
+ (28070,-1603059,'Essentially that is correct.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13764,1,0,0,'brann SAY_EVENT_END_19_MARN'),
+ (28070,-1603060,'Well now. That&#65533;s a lot to digest. I&#65533;m gonna need some time to take all of this in. Thank you!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14273,1,0,0,'brann SAY_EVENT_END_20'),
+ (28070,-1603061,'Acknowledged Branbronzan. Session terminated.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13773,1,0,0,'brann SAY_EVENT_END_21_ABED'),
+ (28070,-1603062,'Loken?! That''s downright bothersome... We might''ve neutralized the iron dwarves, but I''d lay odds there''s another machine somewhere else churnin'' out a whole mess o'' these iron vrykul!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14278,1,0,0,'brann SAY_VICTORY_SJONNIR_1'),
+ (28070,-1603063,'I''ll use the forge to make badtches o'' earthen to stand guard... But our greatest challenge still remains: find and stop Loken!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14279,1,0,0,'brann SAY_VICTORY_SJONNIR_2'),
+ (28070,-1603064,'I think it''s time to see what''s behind the door near the entrance. I''m going to sneak over there, nice and quiet. Meet me at the door and I''ll get us in.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'brann SAY_ENTRANCE_MEET');
diff --git a/sql/old/3.1.3/05795_world_script_waypoint.sql b/sql/old/3.1.3/05795_world_script_waypoint.sql
new file mode 100644
index 00000000000..a9436cc35bd
--- /dev/null
+++ b/sql/old/3.1.3/05795_world_script_waypoint.sql
@@ -0,0 +1,25 @@
+-- waypoints
+DELETE FROM script_waypoint WHERE `entry`=28070;
+INSERT INTO script_waypoint VALUES
+ (28070, 0, 1053.789795, 476.639343, 207.744, 0, ''),
+ (28070, 1, 1032.293945, 467.623444, 207.736, 0, ''),
+ (28070, 2, 1017.908752, 454.765656, 207.719, 0, ''),
+ (28070, 3, 1004.810120, 441.305115, 207.373, 0, ''),
+ (28070, 4, 988.694214, 424.422485, 207.425, 0, ''),
+ (28070, 5, 984.816345, 422.177917, 205.994, 0, ''),
+ (28070, 6, 977.204468, 420.026917, 205.994, 0, ''),
+ (28070, 7, 962.388123, 421.983307, 205.994, 0, ''),
+ (28070, 8, 950.419556, 416.515198, 205.994, 0, ''),
+ (28070, 9, 943.972290, 403.071228, 205.994, 0, ''),
+ (28070, 10, 947.921936, 387.683563, 205.994, 0, ''),
+ (28070, 11, 946.554749, 383.270782, 205.994, 0, ''),
+ (28070, 12, 944.654724, 380.630859, 207.286, 0, ''),
+ (28070, 13, 941.101563, 377.373413, 207.421, 0, 'reach tribunal, set pause'),
+ (28070, 14, 935.217896, 370.557343, 207.421, 0, ''),
+ (28070, 15, 928.035950, 363.026733, 204.018, 0, ''),
+ (28070, 16, 909.287292, 344.392792, 203.706, 0, ''),
+ (28070, 17, 897.946838, 333.634735, 203.706, 0, 'reach panel'),
+ (28070, 18, 918.914429, 351.312866, 203.706, 0, 'reach floor disc (end event begin)'),
+ (28070, 19, 928.070068, 363.296326, 204.091, 0, 'stealth'),
+ (28070, 20, 934.817627, 370.136261, 207.421, 0, ''),
+ (28070, 21, 941.501465, 377.254456, 207.421, 0, '');
diff --git a/sql/old/3.1.3/05795_world_scriptname.sql b/sql/old/3.1.3/05795_world_scriptname.sql
new file mode 100644
index 00000000000..90ba20376ca
--- /dev/null
+++ b/sql/old/3.1.3/05795_world_scriptname.sql
@@ -0,0 +1,19 @@
+-- Azjol-Nerub
+UPDATE `instance_template` SET `script`='instance_azjol_nerub' WHERE `map`=601;
+-- Krik'thir the Gatewatcher
+UPDATE creature_template SET `ScriptName`='npc_watcher_narjil' WHERE `entry`=28729;
+UPDATE creature_template SET `ScriptName`='npc_watcher_silthik' WHERE `entry`=28731;
+UPDATE creature_template SET `ScriptName`='npc_anub_ar_warrior' WHERE `entry`=28732;
+UPDATE creature_template SET `ScriptName`='npc_watcher_gashra' WHERE `entry`=28730;
+UPDATE creature_template SET `ScriptName`='boss_krik_thir' WHERE `entry`=28684;
+UPDATE creature_template SET `ScriptName`='npc_skittering_infector' WHERE `entry`=28736;
+UPDATE creature_template SET `ScriptName`='npc_anub_ar_skirmisher' WHERE `entry`=28734;
+UPDATE creature_template SET `ScriptName`='npc_anub_ar_shadowcaster' WHERE `entry`=28733;
+
+-- Halls of Stone
+-- scripts
+UPDATE `instance_template` SET `script`='instance_halls_of_stone' WHERE `map`=599;
+UPDATE `creature_template` SET `ScriptName`='boss_krystallus' WHERE `entry`=27977;
+UPDATE `creature_template` SET `ScriptName`='boss_sjonnir' WHERE `entry`=27978;
+UPDATE `creature_template` SET `ScriptName`='mob_tribuna_controller' WHERE `entry`=28234;
+UPDATE `creature_template` SET `ScriptName`='npc_brann_hos' WHERE `entry`=28070;
diff --git a/sql/old/3.1.3/05804_characters_characters.sql b/sql/old/3.1.3/05804_characters_characters.sql
new file mode 100644
index 00000000000..73624b9a7a2
--- /dev/null
+++ b/sql/old/3.1.3/05804_characters_characters.sql
@@ -0,0 +1,4 @@
+/*
+-- Broken character data blobs lately? Run this!
+-- UPDATE `characters` SET `data`=CONCAT(SUBSTRING_INDEX(`data`,' ',1248), ' ',SUBSTRING_INDEX(`data`,' ',-(1295-1248))) WHERE SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',1295+1),' ',-1) IS NOT NULL;
+*/
diff --git a/sql/old/3.1.3/05807_world_script_texts.sql b/sql/old/3.1.3/05807_world_script_texts.sql
new file mode 100644
index 00000000000..cf854a053a7
--- /dev/null
+++ b/sql/old/3.1.3/05807_world_script_texts.sql
@@ -0,0 +1,10 @@
+DELETE FROM `script_texts` WHERE `entry` BETWEEN -1618028 AND -1618021;
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (29308,-1619021,'I will feast on your remains.',0,0,0,0,'prince taldaram SAY_AGGRO'),
+ (29308,-1619022,'I will drink no blood before it''s time.',0,0,0,0,'prince taldaram SAY_SLAY_1'),
+ (29308,-1619023,'One final embrace.',0,0,0,0,'prince taldaram SAY_SLAY_2'),
+ (29308,-1619024,'Still I hunger, still I thirst.',0,0,0,0,'prince taldaram SAY_DEATH'),
+ (29308,-1619025,'So appetizing.',0,0,0,0,'prince taldaram SAY_FEED1'),
+ (29308,-1619026,'Fresh, warm blood. It has been too long.',0,0,0,0,'prince taldaram SAY_FEED2'),
+ (29308,-1619027,'Your heartbeat is music to my ears.',0,0,0,0,'prince taldaram SAY_VANISH1'),
+ (29308,-1619028,'I am nowhere. I am everywhere. I am the watcher, unseen.',0,0,0,0,'prince taldaram SAY_VANISH2');
diff --git a/sql/old/3.1.3/05813_world_command.sql b/sql/old/3.1.3/05813_world_command.sql
new file mode 100644
index 00000000000..b9ec2a98d1a
--- /dev/null
+++ b/sql/old/3.1.3/05813_world_command.sql
@@ -0,0 +1,8 @@
+DELETE FROM `command` WHERE `name` IN ('modify aspeed', 'modify bwalk', 'modify fly', 'modify scale', 'modify speed', 'modify swim');
+INSERT INTO `command` VALUES
+('modify aspeed',1,'Syntax: .modify aspeed #rate\r\n\r\nModify all speeds -run,swim,run back,swim back- of the selected player to \"normalbase speed for this move type\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
+('modify bwalk',1,'Syntax: .modify bwalk #rate\r\n\r\nModify the speed of the selected player while running backwards to \"normal walk back speed\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
+('modify fly',1,'.modify fly $parameter\nModify the flying speed of the selected player to \"normal flying speed\"*rate. If no player is selected, modify your speed.\n #rate may range from 0.1 to 50.'),
+('modify scale',1,'.modify scale $parameter\nModify size of the selected player to \"normal scale\"*rate. If no player is selected, modify your size.\n#rate may range from 0.1 to 10.'),
+('modify speed',1,'Syntax: .modify speed #rate\r\n.speed #rate\r\n\r\nModify the running speed of the selected player to \"normal base run speed\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.'),
+('modify swim',1,'Syntax: .modify swim #rate\r\n\r\nModify the swim speed of the selected player to \"normal swim speed\"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 50.');
diff --git a/sql/old/3.1.3/05843_world_scriptname.sql b/sql/old/3.1.3/05843_world_scriptname.sql
new file mode 100644
index 00000000000..63d855a9f08
--- /dev/null
+++ b/sql/old/3.1.3/05843_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName`='go_blackfathom_fire' WHERE `entry` IN (21118,21119,21120,21121);
diff --git a/sql/old/3.1.3/05848_world_scriptname.sql b/sql/old/3.1.3/05848_world_scriptname.sql
new file mode 100644
index 00000000000..80d36b5c994
--- /dev/null
+++ b/sql/old/3.1.3/05848_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `Scriptname`="boss_flame_leviathan_safety_container" WHERE `entry`=33218;
diff --git a/sql/old/3.1.3/05860_characters_character_reputation.sql b/sql/old/3.1.3/05860_characters_character_reputation.sql
new file mode 100644
index 00000000000..c8927604025
--- /dev/null
+++ b/sql/old/3.1.3/05860_characters_character_reputation.sql
@@ -0,0 +1,6 @@
+-- Remove watch flag (1) from characters that are watching a faction from the opposing team
+-- since r5857, these factions will no longer be flagged for watching if they are from the opposing team
+-- all we need to do is clean up the data from when it was still bugged.
+-- NOTE: running this may take a while depending on the size of your character database
+UPDATE `character_reputation` SET `flags` = `flags` &~ 1 WHERE `guid` IN (SELECT `guid` from `characters` WHERE `race` IN(3,7,1,4,11)) AND `faction` IN(1052,1067,1124,947);
+UPDATE `character_reputation` SET `flags` = `flags` &~ 1 WHERE `guid` IN (SELECT `guid` from `characters` WHERE `race` IN(2,6,8,5,10)) AND `faction` IN(1126,946,978);
diff --git a/sql/old/3.1.3/05864_world_scriptname.sql b/sql/old/3.1.3/05864_world_scriptname.sql
new file mode 100644
index 00000000000..740196a8c6c
--- /dev/null
+++ b/sql/old/3.1.3/05864_world_scriptname.sql
@@ -0,0 +1,3 @@
+UPDATE `creature_template` SET `ScriptName`='boss_drakkari_colossus' WHERE `entry`=29307;
+UPDATE `creature_template` SET `ScriptName`='boss_drakkari_elemental' WHERE `entry`=29573;
+UPDATE `creature_template` SET `ScriptName`='npc_living_mojo' WHERE `entry`=29830;
diff --git a/sql/old/3.1.3/05868_world_scriptname.sql b/sql/old/3.1.3/05868_world_scriptname.sql
new file mode 100644
index 00000000000..93aabe19a03
--- /dev/null
+++ b/sql/old/3.1.3/05868_world_scriptname.sql
@@ -0,0 +1,4 @@
+UPDATE `gameobject_template` SET `ScriptName` = 'go_matrix_punchograph' WHERE `gameobject_template`.`entry` =142345 LIMIT 1 ;
+UPDATE `gameobject_template` SET `ScriptName` = 'go_matrix_punchograph' WHERE `gameobject_template`.`entry` =142475 LIMIT 1 ;
+UPDATE `gameobject_template` SET `ScriptName` = 'go_matrix_punchograph' WHERE `gameobject_template`.`entry` =142476 LIMIT 1 ;
+UPDATE `gameobject_template` SET `ScriptName` = 'go_matrix_punchograph' WHERE `gameobject_template`.`entry` =142696 LIMIT 1 ;
diff --git a/sql/old/3.1.3/05872_world_scriptname.sql b/sql/old/3.1.3/05872_world_scriptname.sql
new file mode 100644
index 00000000000..3cfc592a67d
--- /dev/null
+++ b/sql/old/3.1.3/05872_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_grobbulus_poison_cloud' WHERE `entry`=16363;
diff --git a/sql/old/3.1.3/05897_world_scriptname.sql b/sql/old/3.1.3/05897_world_scriptname.sql
new file mode 100644
index 00000000000..bd06188f8ef
--- /dev/null
+++ b/sql/old/3.1.3/05897_world_scriptname.sql
@@ -0,0 +1,3 @@
+UPDATE `instance_template` SET `script`='instance_drak_tharon' WHERE `map`=600;
+UPDATE `creature_template` SET `ScriptName`='boss_novos' WHERE `entry`=26631;
+UPDATE `creature_template` SET `ScriptName`='mob_crystal_handler' WHERE `entry`=26627;
diff --git a/sql/old/3.1.3/05900_world_spell_proc_event.sql b/sql/old/3.1.3/05900_world_spell_proc_event.sql
new file mode 100644
index 00000000000..676c7fb6393
--- /dev/null
+++ b/sql/old/3.1.3/05900_world_spell_proc_event.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (16086,16544,51523,51524);
+INSERT INTO `spell_proc_event` VALUES
+( 16086, 0x04, 11, 0x00000020, 0x00000000, 0x00000000, 0x00011000, 0x00000000, 0, 0, 0), -- Improved Fire Nova Totem (Rank 1)
+( 16544, 0x04, 11, 0x00000020, 0x00000000, 0x00000000, 0x00011000, 0x00000000, 0, 100, 0), -- Improved Fire Nova Totem (Rank 2)
+( 51523, 0x08, 11, 0x00000000, 0x00000001, 0x00000000, 0x00011000, 0x00000000, 0, 50, 0), -- Earthen Power (Rank 1)
+( 51524, 0x08, 11, 0x00000000, 0x00000001, 0x00000000, 0x00011000, 0x00000000, 0, 100, 0); -- Earthen Power (Rank 2)
diff --git a/sql/old/3.1.3/05905_world_scriptname.sql b/sql/old/3.1.3/05905_world_scriptname.sql
new file mode 100644
index 00000000000..7c7446d88c1
--- /dev/null
+++ b/sql/old/3.1.3/05905_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_novos_minion' WHERE `entry` IN (27600,27597,27598);
diff --git a/sql/old/3.1.3/05907_world_scriptname.sql b/sql/old/3.1.3/05907_world_scriptname.sql
new file mode 100644
index 00000000000..2ca87cac7e8
--- /dev/null
+++ b/sql/old/3.1.3/05907_world_scriptname.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `ScriptName`='mob_malformed_ooze' WHERE `entry`=27981;
+UPDATE `creature_template` SET `ScriptName`='mob_iron_sludge' WHERE `entry`=28165;
diff --git a/sql/old/3.1.3/05908_world_scriptname.sql b/sql/old/3.1.3/05908_world_scriptname.sql
new file mode 100644
index 00000000000..29bccbcd9bf
--- /dev/null
+++ b/sql/old/3.1.3/05908_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_apothecary_hanes' WHERE `entry`=23784;
diff --git a/sql/old/3.1.3/05917_world_scriptname.sql b/sql/old/3.1.3/05917_world_scriptname.sql
new file mode 100644
index 00000000000..202bee65847
--- /dev/null
+++ b/sql/old/3.1.3/05917_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName`='ulduar_teleporter' WHERE `entry`=194569;
diff --git a/sql/old/3.1.3/05920_world_spell_bonus_data.sql b/sql/old/3.1.3/05920_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..36ec23b1683
--- /dev/null
+++ b/sql/old/3.1.3/05920_world_spell_bonus_data.sql
@@ -0,0 +1,8 @@
+-- Lifebloom Spell Bonus Data
+DELETE FROM `spell_bonus_data` WHERE `entry` IN (33763,33778,48450,48451);
+
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
+(33778, 0.516, 0, 0, 0, 'Druid - Lifebloom final heal'),
+(33763, 0, 0.09518, 0, 0, 'Druid - Lifebloom HoT(rank 1)'),
+(48450, 0, 0.09518, 0, 0, 'Druid - Lifebloom HoT(rank 2)'),
+(48451, 0, 0.09518, 0, 0, 'Druid - Lifebloom HoT(rank 3)');
diff --git a/sql/old/3.1.3/05930_world_spell_proc_event.sql b/sql/old/3.1.3/05930_world_spell_proc_event.sql
new file mode 100644
index 00000000000..9278514bbbe
--- /dev/null
+++ b/sql/old/3.1.3/05930_world_spell_proc_event.sql
@@ -0,0 +1 @@
+UPDATE `spell_proc_event` SET `procEx`=0 WHERE `entry` IN(17793,17796,17801,17802,17803);
diff --git a/sql/old/3.1.3/05931_world_script_texts.sql b/sql/old/3.1.3/05931_world_script_texts.sql
new file mode 100644
index 00000000000..04c3ae61d06
--- /dev/null
+++ b/sql/old/3.1.3/05931_world_script_texts.sql
@@ -0,0 +1,55 @@
+DELETE FROM `script_texts` WHERE `npc_entry`=28070;
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (28070,-1603016,'Now that''s owning your supper!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14244,1,0,0,'brann SAY_KILL_1'),
+ (28070,-1603017,'Press on, that''s the way!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14245,1,0,0,'brann SAY_KILL_2'),
+ (28070,-1603018,'Keep it up now. Plenty of death-dealing for everyone!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14246,1,0,0,'brann SAY_KILL_3'),
+ (28070,-1603019,'I''m all kinds of busted up. Might not... make it...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14257,1,0,0,'brann SAY_LOW_HEALTH'),
+ (28070,-1603020,'Not yet, not... yet-',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14258,1,0,0,'brann SAY_DEATH'),
+ (28070,-1603021,'I''m doing everything I can!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14260,1,0,0,'brann SAY_PLAYER_DEATH_1'),
+ (28070,-1603022,'Light preserve you!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14261,1,0,0,'brann SAY_PLAYER_DEATH_2'),
+ (28070,-1603023,'I hope this is all worth it!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14262,1,0,0,'brann SAY_PLAYER_DEATH_3'),
+ (28070,-1603024,'Time to get some answers! Let''s get this show on the road!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14259,1,0,0,'brann SAY_ESCORT_START'),
+ (28070,-1603025,'Don''t worry. Old Brann has got your back. Keep that metal monstrosity busy and I''ll see if I can sweet talk this machine into helping you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14274,1,0,0,'brann SAY_SPAWN_DWARF'),
+ (28070,-1603026,'This is a wee bit trickier that before... Oh, bloody--incomin''!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14275,1,0,0,'brann SAY_SPAWN_TROGG'),
+ (28070,-1603027,'What in the name o'' Madoran did THAT do? Oh! Wait: I just about got it...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14276,1,0,0,'brann SAY_SPAWN_OOZE'),
+ (28070,-1603028,'Ha, that did it. Help''s a-coming. Take this you glow-eying brute!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14277,1,0,0,'brann SAY_SPAWN_EARTHEN'),
+ (28070,-1603029,'Take a moment and relish this with me! Soon all will be revealed! Okay then, let''s do this!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14247,1,0,0,'brann SAY_EVENT_INTRO_1'),
+ (28070,-1603030,'Now keep an eye out! I''ll have this licked in two shakes of a--',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14248,1,0,0,'brann SAY_EVENT_INTRO_2'),
+ (28070,-1603031,'Warning! Life form pattern not recognized. Archival processing terminated. Continued interference will result in targeted response.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13765,1,0,0,'brann SAY_EVENT_INTRO_3_ABED'),
+ (28070,-1603032,'Oh, that doesn''t sound good. We might have a complication or two...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14249,1,0,0,'brann SAY_EVENT_A_1'),
+ (28070,-1603033,'Security breach in progress. Analysis of historical archives transferred to lower priority queue. Countermeasures engaged.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13756,1,0,0,'brann SAY_EVENT_A_2_KADD'),
+ (28070,-1603034,'Ah, you want to play hardball, eh? That''s just my game!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14250,1,0,0,'brann SAY_EVENT_A_3'),
+ (28070,-1603035,'Couple more minutes and I''ll--',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14251,1,0,0,'brann SAY_EVENT_B_1'),
+ (28070,-1603036,'Threat index threshold exceeded. Celestial archive aborted. Security level heightened.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13761,1,0,0,'brann SAY_EVENT_B_2_MARN'),
+ (28070,-1603037,'Heightened? What''s the good news?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14252,1,0,0,'brann SAY_EVENT_B_3'),
+ (28070,-1603038,'So that was the problem? Now I''m makin'' progress...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14253,1,0,0,'brann SAY_EVENT_C_1'),
+ (28070,-1603039,'Critical threat index. Void analysis diverted. Initiating sanitization protocol.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13767,1,0,0,'brann SAY_EVENT_C_2_ABED'),
+ (28070,-1603040,'Hang on! Nobody''s gonna'' be sanitized as long as I have a say in it!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14254,1,0,0,'brann SAY_EVENT_C_3'),
+ (28070,-1603041,'Ha! The old magic fingers finally won through! Now let''s get down to-',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14255,1,0,0,'brann SAY_EVENT_D_1'),
+ (28070,-1603042,'Alert! Security fail safes deactivated. Beginning memory purge...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13768,1,0,0,'brann SAY_EVENT_D_2_ABED'),
+ (28070,-1603043,'Purge? No no no no no! Where did I-- Aha, this should do the trick...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14256,1,0,0,'brann SAY_EVENT_D_3'),
+ (28070,-1603044,'System online. Life form pattern recognized. Welcome Branbronzan. Query?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13769,1,0,0,'brann SAY_EVENT_D_4_ABED'),
+ (28070,-1603045,'Query? What do you think I&#65533;m here for? Tea and biscuits? Spill the beans already!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14263,1,0,0,'brann SAY_EVENT_END_01'),
+ (28070,-1603046,'Tell me how that dwarfs came to be! And start at the beginning!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14264,1,0,0,'brann SAY_EVENT_END_02'),
+ (28070,-1603047,'Accessing prehistoric data. Retrieved. In the beginning Earthen were created to-',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13770,1,0,0,'brann SAY_EVENT_END_03_ABED'),
+ (28070,-1603048,'Right, right! I know that the Earthen were made of stone to shape the deep reaches of the world but what about the anomalies? Matrix non-stabilizing and whatnot.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14265,1,0,0,'brann SAY_EVENT_END_04'),
+ (28070,-1603049,'Accessing. In the early stages of its development cycle Azeroth suffered infection by parasitic, necrophotic symbiotes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13771,1,0,0,'brann SAY_EVENT_END_05_ABED'),
+ (28070,-1603050,'Necro-what? Speak bloody common will ya?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14266,1,0,0,'brann SAY_EVENT_END_06'),
+ (28070,-1603051,'Designation: Old Gods. Old Gods rendered all systems, including Earthen defenseless in order to facilitate assimilation. This matrix destabilization has been termed the Curse of Flesh. Effects of destabilization increased over time.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13772,1,0,0,'brann SAY_EVENT_END_07_ABED'),
+ (28070,-1603052,'Old Gods eh? So they zapped the Earthen with this Curse of Flesh. And then what?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14267,1,0,0,'brann SAY_EVENT_END_08'),
+ (28070,-1603053,'Accessing. Creators arrived to extirpate symbiotic infection. Assessment revealed that Old God infestation had grown malignant. Excising parasites would result in loss of host.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13757,1,0,0,'brann SAY_EVENT_END_09_KADD'),
+ (28070,-1603054,'If they killed the Old Gods Azeroth would have been destroyed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14268,1,0,0,'brann SAY_EVENT_END_10'),
+ (28070,-1603055,'Correct. Creators neutralized parasitic threat and contained it within the host. Forge of Wills and other systems were instituted to create new Earthen. Safeguards were implemented and protectors were appointed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13758,1,0,0,'brann SAY_EVENT_END_11_KADD'),
+ (28070,-1603056,'What protectors?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14269,1,0,0,'brann SAY_EVENT_END_12'),
+ (28070,-1603057,'Designations: Aesir and Vanir or in common nomenclator Storm and Earth Giants. Sentinel Loken designated supreme. Dragon Aspects appointed to monitor evolution of Azeroth.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13759,1,0,0,'brann SAY_EVENT_END_13_KADD'),
+ (28070,-1603058,'Aesir and Vanir. Okay. So the Forge of Wills started to make new Earthen. But what happened to the old ones?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14270,1,0,0,'brann SAY_EVENT_END_14'),
+ (28070,-1603059,'Additional background is relevant to your query. Following global combat between-',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13762,1,0,0,'brann SAY_EVENT_END_15_MARN'),
+ (28070,-1603060,'Hold everything! The Aesir and Vanir went to war? Why?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14271,1,0,0,'brann SAY_EVENT_END_16'),
+ (28070,-1603061,'Unknown. Data suggests that impetus for global combat originated with prime designate Loken who neutralized all remaining Aesir and Vanir affecting termination of conflict. Prime designate Loken then initiated stasis of several seed races including Earthen, Giant and Vrykul at designated holding facilities.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13763,1,0,0,'brann SAY_EVENT_END_17_MARN'),
+ (28070,-1603062,'This Loken sounds like a nasty character. Glad we don&#65533;t have to worry about the likes of him anymore. So if I&#65533;m understanding you lads the original Earthen eventually woke up from this statis. And by that time this destabily-whatever had turned them into our brother dwarfs. Or at least dwarf ancestors. Hm?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14272,1,0,0,'brann SAY_EVENT_END_18'),
+ (28070,-1603063,'Essentially that is correct.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13764,1,0,0,'brann SAY_EVENT_END_19_MARN'),
+ (28070,-1603064,'Well now. That&#65533;s a lot to digest. I&#65533;m gonna need some time to take all of this in. Thank you!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14273,1,0,0,'brann SAY_EVENT_END_20'),
+ (28070,-1603065,'Acknowledged Branbronzan. Session terminated.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13773,1,0,0,'brann SAY_EVENT_END_21_ABED'),
+ (28070,-1603066,'Loken?! That''s downright bothersome... We might''ve neutralized the iron dwarves, but I''d lay odds there''s another machine somewhere else churnin'' out a whole mess o'' these iron vrykul!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14278,1,0,0,'brann SAY_VICTORY_SJONNIR_1'),
+ (28070,-1603067,'I''ll use the forge to make badtches o'' earthen to stand guard... But our greatest challenge still remains: find and stop Loken!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,14279,1,0,0,'brann SAY_VICTORY_SJONNIR_2'),
+ (28070,-1603068,'I think it''s time to see what''s behind the door near the entrance. I''m going to sneak over there, nice and quiet. Meet me at the door and I''ll get us in.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'brann SAY_ENTRANCE_MEET');
diff --git a/sql/old/3.1.3/05936_world_scriptname.sql b/sql/old/3.1.3/05936_world_scriptname.sql
new file mode 100644
index 00000000000..a4f44dd78a1
--- /dev/null
+++ b/sql/old/3.1.3/05936_world_scriptname.sql
@@ -0,0 +1,11 @@
+UPDATE `creature_template` SET `ScriptName`='npc_sinclari_vh' WHERE `entry`=30658;
+UPDATE `creature_template` SET `ScriptName`='npc_teleportation_portal_vh' WHERE `entry`=31011;
+UPDATE `creature_template` SET `ScriptName`='boss_lavanthor' WHERE `entry`=29312;
+UPDATE `creature_template` SET `ScriptName`='boss_ichoron' WHERE `entry`=29313;
+UPDATE `creature_template` SET `ScriptName`='boss_zuramat' WHERE `entry`=29314;
+UPDATE `creature_template` SET `ScriptName`='boss_erekem' WHERE `entry`=29315;
+UPDATE `creature_template` SET `ScriptName`='mob_erekem_guard' WHERE `entry`=32226;
+UPDATE `creature_template` SET `ScriptName`='boss_moragg' WHERE `entry`=29316;
+UPDATE `creature_template` SET `ScriptName`='boss_xevozz' WHERE `entry`=29266;
+UPDATE `creature_template` SET `ScriptName`='boss_cyanigosa' WHERE `entry`=31134;
+UPDATE `instance_template` SET `script`='instance_violet_hold' WHERE `map`=608;
diff --git a/sql/old/3.1.3/05950_world_spell_linked_spell.sql b/sql/old/3.1.3/05950_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..379469682be
--- /dev/null
+++ b/sql/old/3.1.3/05950_world_spell_linked_spell.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger`='16857';
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+( 16857, 60089, 0, 'Faerie Fire (Feral)');
diff --git a/sql/old/3.1.3/05962_world_scriptname.sql b/sql/old/3.1.3/05962_world_scriptname.sql
new file mode 100644
index 00000000000..c52d7091bff
--- /dev/null
+++ b/sql/old/3.1.3/05962_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_erekem_guard' WHERE `entry`=29395;
diff --git a/sql/old/3.1.3/05966_world_scriptname.sql b/sql/old/3.1.3/05966_world_scriptname.sql
new file mode 100644
index 00000000000..a3c4551b202
--- /dev/null
+++ b/sql/old/3.1.3/05966_world_scriptname.sql
@@ -0,0 +1,3 @@
+UPDATE `creature_template` SET `ScriptName`='mob_massive_jormungar' WHERE `entry`=26685;
+UPDATE `creature_template` SET `ScriptName`='mob_ferocious_rhino' WHERE `entry`=26686;
+UPDATE `creature_template` SET `ScriptName`='mob_palehoof_orb' WHERE `entry`=26688;
diff --git a/sql/old/3.1.3/05970_world_scriptname.sql b/sql/old/3.1.3/05970_world_scriptname.sql
new file mode 100644
index 00000000000..73a20b01f8d
--- /dev/null
+++ b/sql/old/3.1.3/05970_world_scriptname.sql
@@ -0,0 +1,3 @@
+UPDATE `creature_template` SET `ScriptName`='boss_amanitar' WHERE `entry`=30258;
+UPDATE `creature_template` SET `ScriptName`='mob_amanitar_mushrooms' WHERE `entry` IN (30435,30391);
+UPDATE `creature_template` SET `ScriptName`='boss_hadronox' WHERE `entry`=28921;
diff --git a/sql/old/3.1.3/05971_world_scriptname.sql b/sql/old/3.1.3/05971_world_scriptname.sql
new file mode 100644
index 00000000000..6e3985bd9bf
--- /dev/null
+++ b/sql/old/3.1.3/05971_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_nadox_eggs' WHERE `entry` IN (30172,30173);
diff --git a/sql/old/3.1.3/05985_world_scriptname.sql b/sql/old/3.1.3/05985_world_scriptname.sql
new file mode 100644
index 00000000000..665187fd390
--- /dev/null
+++ b/sql/old/3.1.3/05985_world_scriptname.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `ScriptName`='mob_stalagg' WHERE `entry`=15929;
+UPDATE `creature_template` SET `ScriptName`='mob_feugen' WHERE `entry`=15930;
diff --git a/sql/old/3.1.3/05990_world_scriptname.sql b/sql/old/3.1.3/05990_world_scriptname.sql
new file mode 100644
index 00000000000..f19953090ed
--- /dev/null
+++ b/sql/old/3.1.3/05990_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='boss_anub_arak' WHERE `entry`=29120;
diff --git a/sql/old/3.1.3/05994_world_spell_bonus_data.sql b/sql/old/3.1.3/05994_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..91555ef5127
--- /dev/null
+++ b/sql/old/3.1.3/05994_world_spell_bonus_data.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_bonus_data` WHERE `entry` IN (20187,54158);
+INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
+(20187, 0, 0, 0, 0, 'Paladin - Judgement of Righteousness'),
+(54158, 0, 0, 0, 0, 'Paladin - Judgement (Seal of Light, Seal of Wisdom, Seal of Justice)');
diff --git a/sql/old/3.1.3/05996_world_spell_linked_spell.sql b/sql/old/3.1.3/05996_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..ce6c02fd881
--- /dev/null
+++ b/sql/old/3.1.3/05996_world_spell_linked_spell.sql
@@ -0,0 +1,16 @@
+-- Fix removing of Arcane Blast buff caused by Arcane Missiles spell
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (-5143, -5144, -5145, -8416, -8417, -10211, -10212, -25345, -27075, -38699, -38704, -42843, -42846) AND `spell_effect` = -36032;
+INSERT INTO `spell_linked_spell` (spell_trigger, spell_effect, type, comment) VALUES
+(-5143, -36032, 0, 'Arcane Missiles Rank 1'),
+(-5144, -36032, 0, 'Arcane Missiles Rank 2'),
+(-5145, -36032, 0, 'Arcane Missiles Rank 3'),
+(-8416, -36032, 0, 'Arcane Missiles Rank 4'),
+(-8417, -36032, 0, 'Arcane Missiles Rank 5'),
+(-10211, -36032, 0, 'Arcane Missiles Rank 6'),
+(-10212, -36032, 0, 'Arcane Missiles Rank 7'),
+(-25345, -36032, 0, 'Arcane Missiles Rank 8'),
+(-27075, -36032, 0, 'Arcane Missiles Rank 9'),
+(-38699, -36032, 0, 'Arcane Missiles Rank 10'),
+(-38704, -36032, 0, 'Arcane Missiles Rank 11'),
+(-42843, -36032, 0, 'Arcane Missiles Rank 12'),
+(-42846, -36032, 0, 'Arcane Missiles Rank 13');
diff --git a/sql/old/3.1.3/05996_world_spell_proc_event.sql b/sql/old/3.1.3/05996_world_spell_proc_event.sql
new file mode 100644
index 00000000000..59c713d1b9d
--- /dev/null
+++ b/sql/old/3.1.3/05996_world_spell_proc_event.sql
@@ -0,0 +1,4 @@
+-- Fix spell_proc_event for spell Arcane Blast, remove on Arcane Barrage or Arcane Explosion
+DELETE FROM `spell_proc_event` WHERE `entry` = 36032;
+INSERT INTO `spell_proc_event` (entry, SchoolMask, SpellFamilyName, SpellFamilyMask0, SpellFamilyMask1, SpellFamilyMask2, procFlags, procEx, ppmRate, CustomChance, Cooldown) VALUES
+(36032, 0, 3, 0x1000, 0x8000, 0, 0, 0, 0, 0, 0);
diff --git a/sql/old/3.1.3/05997_world_scriptname.sql b/sql/old/3.1.3/05997_world_scriptname.sql
new file mode 100644
index 00000000000..aeb8f5b7159
--- /dev/null
+++ b/sql/old/3.1.3/05997_world_scriptname.sql
@@ -0,0 +1,3 @@
+UPDATE `creature_template` SET `ScriptName`='boss_jedoga_shadowseeker' WHERE `entry`='29310';
+UPDATE `creature_template` SET `ScriptName`='mob_jedoga_initiand' WHERE `entry`='30114';
+UPDATE `creature_template` SET `ScriptName`='npc_jedogas_aufseher_trigger' WHERE `entry`='30181';
diff --git a/sql/old/3.1.3/06013_world_scriptname.sql b/sql/old/3.1.3/06013_world_scriptname.sql
new file mode 100644
index 00000000000..4ed923cacdd
--- /dev/null
+++ b/sql/old/3.1.3/06013_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName` = 'go_iruxos' WHERE `entry` = 176581;
diff --git a/sql/old/3.1.3/06022_world_scriptname.sql b/sql/old/3.1.3/06022_world_scriptname.sql
new file mode 100644
index 00000000000..7253c0732a8
--- /dev/null
+++ b/sql/old/3.1.3/06022_world_scriptname.sql
@@ -0,0 +1,6 @@
+UPDATE `creature_template` SET `ScriptName`='boss_kurinnaxx' WHERE `entry`=15348;
+UPDATE `creature_template` SET `ScriptName`='boss_rajaxx' WHERE `entry`=15341;
+UPDATE `creature_template` SET `ScriptName`='boss_moam' WHERE `entry`=15340;
+UPDATE `creature_template` SET `ScriptName`='boss_buru' WHERE `entry`=15370;
+UPDATE `creature_template` SET `ScriptName`='boss_ayamiss' WHERE `entry`=15369;
+UPDATE `creature_template` SET `ScriptName`='boss_ossirian' WHERE `entry`=15339;
diff --git a/sql/old/3.1.3/06030_world_scriptname.sql b/sql/old/3.1.3/06030_world_scriptname.sql
new file mode 100644
index 00000000000..25a29f5d41f
--- /dev/null
+++ b/sql/old/3.1.3/06030_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='pyrewood_ambush' WHERE `entry`=2058;
diff --git a/sql/old/3.1.3/06066_world_scriptname.sql b/sql/old/3.1.3/06066_world_scriptname.sql
new file mode 100644
index 00000000000..655fbaf8a7d
--- /dev/null
+++ b/sql/old/3.1.3/06066_world_scriptname.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `ScriptName`='npc_goblin_prisioner' WHERE `entry`=29446;
+UPDATE `gameobject_template` SET ScriptName = 'go_rusty_cage' WHERE `entry`=191544;
diff --git a/sql/old/3.1.3/06071_world_spell_proc_event.sql b/sql/old/3.1.3/06071_world_spell_proc_event.sql
new file mode 100644
index 00000000000..3fe9472b34f
--- /dev/null
+++ b/sql/old/3.1.3/06071_world_spell_proc_event.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (44557, 44560, 44561);
+
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(44557, 0x00, 3, 0x00000020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Enduring Winter (Rank 1)
+(44560, 0x00, 3, 0x00000020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Enduring Winter (Rank 2)
+(44561, 0x00, 3, 0x00000020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Enduring Winter (Rank 3)
diff --git a/sql/old/3.1.3/06074_world_scriptname.sql b/sql/old/3.1.3/06074_world_scriptname.sql
new file mode 100644
index 00000000000..b7ad1542e0a
--- /dev/null
+++ b/sql/old/3.1.3/06074_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_goblin_prisoner' WHERE `entry`=29446;
diff --git a/sql/old/3.1.3/06077_world_scriptname.sql b/sql/old/3.1.3/06077_world_scriptname.sql
new file mode 100644
index 00000000000..2f8372e4772
--- /dev/null
+++ b/sql/old/3.1.3/06077_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_worshipper' WHERE `entry`=16506;
diff --git a/sql/old/3.1.3/06078_world_scriptname.sql b/sql/old/3.1.3/06078_world_scriptname.sql
new file mode 100644
index 00000000000..4e2387c6bf6
--- /dev/null
+++ b/sql/old/3.1.3/06078_world_scriptname.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `ScriptName`='npc_goblin_prisoner' WHERE `entry`=29466;
+UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=29446;
diff --git a/sql/old/3.1.3/06079_world_scriptname.sql b/sql/old/3.1.3/06079_world_scriptname.sql
new file mode 100644
index 00000000000..97d7d197ec1
--- /dev/null
+++ b/sql/old/3.1.3/06079_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='' WHERE `entry`=16506;
diff --git a/sql/old/3.1.3/06091_world_scriptname.sql b/sql/old/3.1.3/06091_world_scriptname.sql
new file mode 100644
index 00000000000..608acb1b0d0
--- /dev/null
+++ b/sql/old/3.1.3/06091_world_scriptname.sql
@@ -0,0 +1,7 @@
+UPDATE `creature_template` SET `ScriptName`='npc_innkeeper' WHERE `entry` IN
+(32418,32411,29926,30308,31433,32413,30005,29963,31115,31557,29971,18649,15397,6806,6778,16542,17553,19046,16739,16553,11116,9501,
+6740,2352,6739,1247,3934,6727,7714,15433,16458,295,5111,7733,7737,6928,6929,6734,8931,1464,6272,7731,17630,6930,6747,12196,6736,
+6738,11103,6741,6746,5688,6735,6737,2388,9356,7736,11106,5814,7744,6790,16618,11118,6791,23995,24208,6807,14731,16256,15174,16826,
+19531,16602,19470,19232,21088,18245,18906,18905,18251,18907,18908,27148,18914,27187,21746,19352,19319,18957,19571,19495,18913,21744,
+23731,21110,23143,23937,25278,25245,26596,24149,24033,25036,24057,27950,27042,22922,27066,27027,27052,26709,24342,26985,27125,26680,
+29532,28687,28686,27174,28791,29583,26375,28038,29904);
diff --git a/sql/old/3.1.3/06097_world_loot_template.sql b/sql/old/3.1.3/06097_world_loot_template.sql
new file mode 100644
index 00000000000..aada38e7ff1
--- /dev/null
+++ b/sql/old/3.1.3/06097_world_loot_template.sql
@@ -0,0 +1,14 @@
+-- Currently utilized in the following tables (1 = default, 0 = disabled)
+ALTER TABLE `creature_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
+ALTER TABLE `gameobject_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
+ALTER TABLE `reference_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
+
+-- Currently not utilized in the following tables (1 = enabled, any other value = disabled)
+ALTER TABLE `fishing_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
+ALTER TABLE `disenchant_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
+ALTER TABLE `item_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
+ALTER TABLE `milling_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
+ALTER TABLE `pickpocketing_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
+ALTER TABLE `prospecting_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
+ALTER TABLE `skinning_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
+ALTER TABLE `quest_mail_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
diff --git a/sql/old/3.1.3/06109_world_scriptname.sql b/sql/old/3.1.3/06109_world_scriptname.sql
new file mode 100644
index 00000000000..627e2f34ef1
--- /dev/null
+++ b/sql/old/3.1.3/06109_world_scriptname.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `ScriptName`='npc_scourge_prisoner' WHERE `entry`=25610;
+UPDATE `gameobject_template` SET `ScriptName`='go_scourge_cage' WHERE `entry`=187867;
diff --git a/sql/old/3.1.3/06110_world_loot_template.sql b/sql/old/3.1.3/06110_world_loot_template.sql
new file mode 100644
index 00000000000..72f81cb2c94
--- /dev/null
+++ b/sql/old/3.1.3/06110_world_loot_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `spell_loot_template` ADD COLUMN `lootmode` SMALLINT UNSIGNED NOT NULL DEFAULT 1 AFTER `ChanceOrQuestChance`;
diff --git a/sql/old/3.1.3/06129_world_scriptname.sql b/sql/old/3.1.3/06129_world_scriptname.sql
new file mode 100644
index 00000000000..a416edc60ce
--- /dev/null
+++ b/sql/old/3.1.3/06129_world_scriptname.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `ScriptName`='boss_trollgore' WHERE `entry`=26630;
+UPDATE `creature_template` SET `ScriptName`='boss_tharon_ja' WHERE `entry`=26632;
diff --git a/sql/old/3.1.3/06131_world_scriptname.sql b/sql/old/3.1.3/06131_world_scriptname.sql
new file mode 100644
index 00000000000..1387501b30b
--- /dev/null
+++ b/sql/old/3.1.3/06131_world_scriptname.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template` SET `ScriptName`='npc_loklira_crone' WHERE `entry`=29975;
+UPDATE `creature_template` SET `ScriptName`='npc_victorious_challenger' WHERE `entry`=30012;
+UPDATE `creature_template` SET `ScriptName`='npc_mcgoyver' WHERE `entry`=24040;
+UPDATE `creature_template` SET `ScriptName`='npc_jenny' WHERE `entry`=25969;
diff --git a/sql/old/3.1.3/06134_world_scriptname.sql b/sql/old/3.1.3/06134_world_scriptname.sql
new file mode 100644
index 00000000000..861c7ff6021
--- /dev/null
+++ b/sql/old/3.1.3/06134_world_scriptname.sql
@@ -0,0 +1,3 @@
+UPDATE `creature_template` SET `ScriptName`='npc_drakkari_gutripper' WHERE `entry`=26641;
+UPDATE `creature_template` SET `ScriptName`='npc_drakkari_scytheclaw' WHERE `entry`=26628;
+UPDATE `creature_template` SET `ScriptName`='boss_dred' WHERE `entry`=27483;
diff --git a/sql/old/3.1.3/06142_world_spell_proc_event.sql b/sql/old/3.1.3/06142_world_spell_proc_event.sql
new file mode 100644
index 00000000000..2dc175fe3fa
--- /dev/null
+++ b/sql/old/3.1.3/06142_world_spell_proc_event.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN
+(15318,15272,15320);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+( 15318, 0x20, 0, 0x00000000, 0x00000000, 0x00000000, 0x02000000, 0x00002000, 0, 0, 0), -- Shadow Affinity (Rank 1)
+( 15272, 0x20, 0, 0x00000000, 0x00000000, 0x00000000, 0x02000000, 0x00002000, 0, 0, 0), -- Shadow Affinity (Rank 2)
+( 15320, 0x20, 0, 0x00000000, 0x00000000, 0x00000000, 0x02000000, 0x00002000, 0, 0, 0); -- Shadow Affinity (Rank 3)
diff --git a/sql/old/3.1.3/06156_characters_character_aura.sql b/sql/old/3.1.3/06156_characters_character_aura.sql
new file mode 100644
index 00000000000..0fee9d967aa
--- /dev/null
+++ b/sql/old/3.1.3/06156_characters_character_aura.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `character_aura` MODIFY COLUMN `effect_mask` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `stackcount` TINYINT(3) UNSIGNED NOT NULL DEFAULT 1,
+ MODIFY COLUMN `remaincharges` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0;
diff --git a/sql/old/3.1.3/06156_characters_pet_aura.sql b/sql/old/3.1.3/06156_characters_pet_aura.sql
new file mode 100644
index 00000000000..77287623338
--- /dev/null
+++ b/sql/old/3.1.3/06156_characters_pet_aura.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `pet_aura` MODIFY COLUMN `effect_mask` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `stackcount` TINYINT(3) UNSIGNED NOT NULL DEFAULT 1,
+ MODIFY COLUMN `remaincharges` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0;
diff --git a/sql/old/3.1.3/06156_world_exploration_basexp.sql b/sql/old/3.1.3/06156_world_exploration_basexp.sql
new file mode 100644
index 00000000000..5505f0866f5
--- /dev/null
+++ b/sql/old/3.1.3/06156_world_exploration_basexp.sql
@@ -0,0 +1,2 @@
+-- the (4) in TINYINT(4) is kind of useless here, but whatever. This column should be unsigned.
+ALTER TABLE `exploration_basexp` MODIFY COLUMN `level` TINYINT(4) UNSIGNED NOT NULL DEFAULT 0;
diff --git a/sql/old/3.1.3/06161_world_scriptname.sql b/sql/old/3.1.3/06161_world_scriptname.sql
new file mode 100644
index 00000000000..6ead256db06
--- /dev/null
+++ b/sql/old/3.1.3/06161_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_training_dummy' WHERE `entry` IN (2674,2673);
diff --git a/sql/old/3.1.3/06166_world_trinity_string.sql b/sql/old/3.1.3/06166_world_trinity_string.sql
new file mode 100644
index 00000000000..fc59c68e22f
--- /dev/null
+++ b/sql/old/3.1.3/06166_world_trinity_string.sql
@@ -0,0 +1,26 @@
+INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES
+ (756, 'Battle begins!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (757, '%s has successfully defended the fortress!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (758, '%s has taken over the fortress!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (759, 'The %s siege workshop has been damaged by the %s!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (760, 'The %s siege workshop has been destroyed by the %s!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (761, 'The %s tower has been damaged!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (762, 'The %s tower has been destroyed!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (763, 'Wintergrasp fortress is under attack!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (764, 'Wintergrasp is now under the control of the %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (765, 'Wintergrasp timer set to %s.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (766, 'Wintergrasp battle started.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (767, 'Wintergrasp battle finished.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (768, 'Wintergrasp info: %s controled. Timer: %s. Wartime: %s', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (769, 'Wintergrasp outdoorPvP is disabled.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (770, 'Wintergrasp outdoorPvP is enabled.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (771, 'You have reached Rank 1: Corporal', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
+ (772, 'You have reached Rank 2: First Lieutenant', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO command (name, security, help) VALUES
+ ('wg', 3, 'Syntax: .wg $subcommand.'),
+ ('wg enable', 3, 'Syntax: .wg enable [on/off] Enable/Disable Wintergrasp outdoorPvP.'),
+ ('wg start', 3, 'Syntax: .wg start\r\nForce Wintergrasp battle start.'),
+ ('wg status', 3, 'Syntax: .wg status\r\nWintergrasp info, defender, timer, wartime.'),
+ ('wg stop', 3, 'Syntax: .wg stop\r\nForce Wintergrasp battle stop (No rewards).'),
+ ('wg switch', 3, 'Syntax: .wg switch\r\nSwitchs Wintergrasp defender team.'),
+ ('wg timer', 3, 'Syntax: .wg timer\r\nChange Wintergrasp current timer (in secs).');
diff --git a/sql/old/3.1.3/06171_world_spell_linked_spell.sql b/sql/old/3.1.3/06171_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..f3b628e1dda
--- /dev/null
+++ b/sql/old/3.1.3/06171_world_spell_linked_spell.sql
@@ -0,0 +1,5 @@
+INSERT INTO `spell_linked_spell` (spell_trigger, spell_effect, type, comment) VALUES
+ (-58600, 61243, 0, 'No fly zone - Parachute'),
+ (-58730, 61243, 0, 'No fly zone - Parachute');
+INSERT INTO `trinity_string` (entry, content_default, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8) VALUES
+ (816, 'You have entered a No-Fly Zone and are about to be dismounted.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
diff --git a/sql/old/3.1.3/06173_world_trinity_string.sql b/sql/old/3.1.3/06173_world_trinity_string.sql
new file mode 100644
index 00000000000..ab31d794ec4
--- /dev/null
+++ b/sql/old/3.1.3/06173_world_trinity_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM `trinity_string` WHERE `entry`=816;
+INSERT INTO `trinity_string` (`entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`) VALUES
+(816, 'Warning: You''ve entered a no-fly zone and are about to be dismounted!', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
diff --git a/sql/old/3.1.3/06176_world_ainame.sql b/sql/old/3.1.3/06176_world_ainame.sql
new file mode 100644
index 00000000000..d2ecfb4305a
--- /dev/null
+++ b/sql/old/3.1.3/06176_world_ainame.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `AIName` = 'AOEAI' WHERE `entry` IN ('23336','23069','23259');
diff --git a/sql/old/3.1.3/06208_world_scriptname.sql b/sql/old/3.1.3/06208_world_scriptname.sql
new file mode 100644
index 00000000000..5b7f773b54a
--- /dev/null
+++ b/sql/old/3.1.3/06208_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_loatheb_spore' WHERE `entry`=16286;
diff --git a/sql/old/3.1.3/06210_world_scriptname.sql b/sql/old/3.1.3/06210_world_scriptname.sql
new file mode 100644
index 00000000000..02e4014b9e7
--- /dev/null
+++ b/sql/old/3.1.3/06210_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_faerlina_add' WHERE `entry`=16506;
diff --git a/sql/old/3.1.3/06213_world_script_waypoint.sql b/sql/old/3.1.3/06213_world_script_waypoint.sql
new file mode 100644
index 00000000000..c1cd79039be
--- /dev/null
+++ b/sql/old/3.1.3/06213_world_script_waypoint.sql
@@ -0,0 +1,44 @@
+DELETE FROM `script_waypoint` WHERE `entry`=25208;
+INSERT INTO `script_waypoint` VALUES
+ (25208, 0, 4014.01, 6391.91, 29.9735, 17000, ''),
+ (25208, 1, 4029.05, 6374.1, 28.8288, 0, ''),
+ (25208, 2, 4039.11, 6370.05, 27.8701, 0, ''),
+ (25208, 3, 4052.24, 6364.92, 27.2941, 0, ''),
+ (25208, 4, 4058.31, 6357.79, 26.3543, 0, ''),
+ (25208, 5, 4062.46, 6346.26, 24.3838, 0, ''),
+ (25208, 6, 4063.82, 6334.14, 25.3818, 0, ''),
+ (25208, 7, 4062.66, 6319.39, 24.9775, 0, ''),
+ (25208, 8, 4061.14, 6307.67, 24.4034, 0, ''),
+ (25208, 9, 4059.64, 6301.33, 24.5615, 0, ''),
+ (25208, 10, 4066.46, 6292.12, 24.3167, 0, ''),
+ (25208, 11, 4078.37, 6280.88, 26.6926, 0, ''),
+ (25208, 12, 4087.03, 6281.33, 27.4604, 0, ''),
+ (25208, 13, 4097.8, 6282.47, 25.4414, 0, ''),
+ (25208, 14, 4107.07, 6279.26, 25.2578, 0, ''),
+ (25208, 15, 4114.68, 6279.78, 24.7762, 0, ''),
+ (25208, 16, 4122.9, 6280.34, 26.1671, 0, ''),
+ (25208, 17, 4127.69, 6280.67, 28.1951, 0, ''),
+ (25208, 18, 4134.75, 6282.09, 28.9761, 0, ''),
+ (25208, 19, 4141.62, 6281.92, 29.3518, 0, ''),
+ (25208, 20, 4152.14, 6281.43, 30.6951, 0, ''),
+ (25208, 21, 4159.63, 6282.6, 30.2401, 0, ''),
+ (25208, 22, 4169.82, 6289.25, 24.182, 0, ''),
+ (25208, 23, 4181.02, 6293.88, 18.035, 0, ''),
+ (25208, 24, 4189.27, 6295.87, 14.4513, 0, ''),
+ (25208, 25, 4200.09, 6298.4, 12.7249, 0, ''),
+ (25208, 26, 4206.46, 6291.56, 10.9628, 0, ''),
+ (25208, 27, 4211.45, 6282.82, 9.05693, 0, ''),
+ (25208, 28, 4215.22, 6277.25, 8.54002, 0, ''),
+ (25208, 29, 4215.28, 6268.57, 8.30674, 0, ''),
+ (25208, 30, 4224.23, 6269.53, 6.97205, 0, ''),
+ (25208, 31, 4235.98, 6270.9, 3.27214, 0, ''),
+ (25208, 32, 4242.67, 6269.45, 1.45579, 0, ''),
+ (25208, 33, 4250.43, 6262.49, 0.611961, 0, ''),
+ (25208, 34, 4259.07, 6253.33, -0.0686721, 0, ''),
+ (25208, 35, 4261.11, 6248.81, -0.112029, 0, ''),
+ (25208, 36, 4257.58, 6234.09, -0.094803, 0, ''),
+ (25208, 37, 4252.62, 6224.3, -0.154816, 0, ''),
+ (25208, 38, 4247.92, 6214.75, -0.221144, 0, ''),
+ (25208, 39, 4254.04, 6205.58, -0.186623, 0, ''),
+ (25208, 40, 4262.6, 6194.47, -0.145114, 0, ''),
+ (25208, 41, 4268.96, 6189.47, 0.0303093, 21000, '');
diff --git a/sql/old/3.1.3/06213_world_scriptname.sql b/sql/old/3.1.3/06213_world_scriptname.sql
new file mode 100644
index 00000000000..e3f88d01abf
--- /dev/null
+++ b/sql/old/3.1.3/06213_world_scriptname.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template` SET `ScriptName`='npc_lurgglbr' WHERE `entry`=25208;
+UPDATE `creature_template` SET `ScriptName`='npc_nexus_drake_hatchling' WHERE `entry`=26127;
+UPDATE `creature_template` SET `ScriptName`='npc_nesingwary_trapper' WHERE `entry`=25835;
+UPDATE `item_template` SET `ScriptName`='item_pile_fake_furs' WHERE `entry`=35127;
diff --git a/sql/old/3.1.3/06221_world_scriptname.sql b/sql/old/3.1.3/06221_world_scriptname.sql
new file mode 100644
index 00000000000..dd68f4b6f45
--- /dev/null
+++ b/sql/old/3.1.3/06221_world_scriptname.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template` SET `ScriptName`='npc_death_ravager' WHERE `entry`=17556;
+UPDATE `gameobject_template` SET `ScriptName`='go_ravager_cage' WHERE `entry`=181849;
+UPDATE `creature_template` SET `ScriptName`='npc_enraged_panther' WHERE `entry`=10992;
+UPDATE `gameobject_template` SET `ScriptName`='go_panther_cage' WHERE `entry`=176195;
diff --git a/sql/old/3.1.3/06241_world_quest_template.sql b/sql/old/3.1.3/06241_world_quest_template.sql
new file mode 100644
index 00000000000..bc1fe74c2c3
--- /dev/null
+++ b/sql/old/3.1.3/06241_world_quest_template.sql
@@ -0,0 +1,5 @@
+-- Change column QuestLevel to allowed -1 value.
+ALTER TABLE `quest_template` CHANGE `QuestLevel` `QuestLeveltemp` INT(8);
+ALTER TABLE `quest_template` ADD `QuestLevel` SMALLINT(3) AFTER `QuestLeveltemp`;
+UPDATE `quest_template` SET `QuestLevel` = `QuestLeveltemp`;
+ALTER TABLE `quest_template` DROP `QuestLeveltemp`;
diff --git a/sql/old/3.1.3/06242_world_scriptname.sql b/sql/old/3.1.3/06242_world_scriptname.sql
new file mode 100644
index 00000000000..6b78a09c1f9
--- /dev/null
+++ b/sql/old/3.1.3/06242_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName`='go_scourge_cage' WHERE `entry` IN (187854, 187855, 187856, 187857, 187858, 187859, 187860, 187862, 187863, 187864, 187865, 187866, 187867, 187868, 187870, 187871, 187872, 187873, 187874, 187861, 190803);
diff --git a/sql/old/3.1.3/06246_world_scriptname.sql b/sql/old/3.1.3/06246_world_scriptname.sql
new file mode 100644
index 00000000000..95018249478
--- /dev/null
+++ b/sql/old/3.1.3/06246_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_lunaclaw_spirit' WHERE `entry`=12144;
diff --git a/sql/old/3.1.3/06247_world_scriptname.sql b/sql/old/3.1.3/06247_world_scriptname.sql
new file mode 100644
index 00000000000..e7e4e5b7b6f
--- /dev/null
+++ b/sql/old/3.1.3/06247_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName`='go_arcane_prison' WHERE `entry`=187561;
diff --git a/sql/old/3.1.3/06253_world_spell_linked_spell.sql b/sql/old/3.1.3/06253_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..69bb4cc12e4
--- /dev/null
+++ b/sql/old/3.1.3/06253_world_spell_linked_spell.sql
@@ -0,0 +1,62 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` in (33878,33986,33987,48563,48564,33876,33982,33983,48565,48566);
+
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+(33878, -33876, 1, 'Mangle - Remover'),
+(33878, -33982, 1, 'Mangle - Remover'),
+(33878, -33983, 1, 'Mangle - Remover'),
+(33878, -48565, 1, 'Mangle - Remover'),
+(33878, -48566, 1, 'Mangle - Remover'),
+
+(33986, -33876, 1, 'Mangle - Remover'),
+(33986, -33982, 1, 'Mangle - Remover'),
+(33986, -33983, 1, 'Mangle - Remover'),
+(33986, -48565, 1, 'Mangle - Remover'),
+(33986, -48566, 1, 'Mangle - Remover'),
+
+(33987, -33876, 1, 'Mangle - Remover'),
+(33987, -33982, 1, 'Mangle - Remover'),
+(33987, -33983, 1, 'Mangle - Remover'),
+(33987, -48565, 1, 'Mangle - Remover'),
+(33987, -48566, 1, 'Mangle - Remover'),
+
+(48563, -33876, 1, 'Mangle - Remover'),
+(48563, -33982, 1, 'Mangle - Remover'),
+(48563, -33983, 1, 'Mangle - Remover'),
+(48563, -48565, 1, 'Mangle - Remover'),
+(48563, -48566, 1, 'Mangle - Remover'),
+
+(48564, -33876, 1, 'Mangle - Remover'),
+(48564, -33982, 1, 'Mangle - Remover'),
+(48564, -33983, 1, 'Mangle - Remover'),
+(48564, -48565, 1, 'Mangle - Remover'),
+(48564, -48566, 1, 'Mangle - Remover'),
+
+(33876, -33878, 1, 'Mangle - Remover'),
+(33982, -33878, 1, 'Mangle - Remover'),
+(33983, -33878, 1, 'Mangle - Remover'),
+(48565, -33878, 1, 'Mangle - Remover'),
+(48566, -33878, 1, 'Mangle - Remover'),
+
+(33876, -33986, 1, 'Mangle - Remover'),
+(33982, -33986, 1, 'Mangle - Remover'),
+(33983, -33986, 1, 'Mangle - Remover'),
+(48565, -33986, 1, 'Mangle - Remover'),
+(48566, -33986, 1, 'Mangle - Remover'),
+
+(33876, -33987, 1, 'Mangle - Remover'),
+(33982, -33987, 1, 'Mangle - Remover'),
+(33983, -33987, 1, 'Mangle - Remover'),
+(48565, -33987, 1, 'Mangle - Remover'),
+(48566, -33987, 1, 'Mangle - Remover'),
+
+(33876, -48563, 1, 'Mangle - Remover'),
+(33982, -48563, 1, 'Mangle - Remover'),
+(33983, -48563, 1, 'Mangle - Remover'),
+(48565, -48563, 1, 'Mangle - Remover'),
+(48566, -48563, 1, 'Mangle - Remover'),
+
+(33876, -48564, 1, 'Mangle - Remover'),
+(33982, -48564, 1, 'Mangle - Remover'),
+(33983, -48564, 1, 'Mangle - Remover'),
+(48565, -48564, 1, 'Mangle - Remover'),
+(48566, -48564, 1, 'Mangle - Remover');
diff --git a/sql/old/3.1.3/06275_world_trinity_string.sql b/sql/old/3.1.3/06275_world_trinity_string.sql
new file mode 100644
index 00000000000..f7d897f021b
--- /dev/null
+++ b/sql/old/3.1.3/06275_world_trinity_string.sql
@@ -0,0 +1 @@
+UPDATE `trinity_string` SET `content_default` = 'Wintergrasp info: %s controlled. Timer: %s. Wartime: %s. Number of Players: (Horde: %u, Alliance: %u)' WHERE `entry` = 768;
diff --git a/sql/old/3.1.3/06277_world_scriptname.sql b/sql/old/3.1.3/06277_world_scriptname.sql
new file mode 100644
index 00000000000..4a91e5df588
--- /dev/null
+++ b/sql/old/3.1.3/06277_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_mageguard_dalaran' WHERE `entry` IN (29254,29255);
diff --git a/sql/old/3.1.3/06277_world_spell_target_position.sql b/sql/old/3.1.3/06277_world_spell_target_position.sql
new file mode 100644
index 00000000000..b63829a8451
--- /dev/null
+++ b/sql/old/3.1.3/06277_world_spell_target_position.sql
@@ -0,0 +1,5 @@
+-- positions for Dalaran 'Trespasser!' spell
+DELETE FROM `spell_target_position` WHERE `id` IN (54028,54029);
+INSERT INTO `spell_target_position` (`id`, `target_map`, `target_position_x`, `target_position_y`, `target_position_z`, `target_orientation`) VALUES
+(54028, 571, 5758.79, 678.359, 642.726, 5.572),
+(54029, 571, 5849.16, 602.093, 651.13, 2.364);
diff --git a/sql/old/3.1.3/06308_world_scriptname.sql b/sql/old/3.1.3/06308_world_scriptname.sql
new file mode 100644
index 00000000000..367bf8cf43d
--- /dev/null
+++ b/sql/old/3.1.3/06308_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName`='go_blackfathom_altar' WHERE `entry` IN (103015,103016);
diff --git a/sql/old/3.1.3/06317_world_scriptname.sql b/sql/old/3.1.3/06317_world_scriptname.sql
new file mode 100644
index 00000000000..4a3f07041bd
--- /dev/null
+++ b/sql/old/3.1.3/06317_world_scriptname.sql
@@ -0,0 +1,3 @@
+UPDATE `creature_template` SET `ScriptName`='boss_gelihast' WHERE `entry`=6243;
+UPDATE `creature_template` SET `ScriptName`='boss_kelris' WHERE `entry`=4832;
+UPDATE `creature_template` SET `ScriptName`='boss_aku_mai' WHERE `entry`=4829;
diff --git a/sql/old/3.1.3/06337_world_spell_bonus_data.sql b/sql/old/3.1.3/06337_world_spell_bonus_data.sql
new file mode 100644
index 00000000000..14ee43c7b75
--- /dev/null
+++ b/sql/old/3.1.3/06337_world_spell_bonus_data.sql
@@ -0,0 +1,11 @@
+DELETE FROM spell_bonus_data WHERE entry IN (47757, 52986, 52987, 52988); -- Old Penance in DB
+DELETE FROM spell_bonus_data WHERE entry IN (47750, 52983, 52954, 58985, 47666, 52998, 52999, 53000);
+INSERT INTO spell_bonus_data (entry, direct_bonus, dot_bonus, ap_bonus, ap_dot_bonus, comments) VALUES
+(47750, 0.5362, -1, -1, -1, 'Priest - Penance Heal (Rank 1)'),
+(52983, 0.5362, -1, -1, -1, 'Priest - Penance Heal (Rank 2)'),
+(52954, 0.5362, -1, -1, -1, 'Priest - Penance Heal (Rank 3)'),
+(58985, 0.5362, -1, -1, -1, 'Priest - Penance Heal (Rank 4)'),
+(47666, 0.229, -1, -1, -1, 'Priest - Penance Hurt (Rank 1)'),
+(52998, 0.229, -1, -1, -1, 'Priest - Penance Hurt (Rank 2)'),
+(52999, 0.229, -1, -1, -1, 'Priest - Penance Hurt (Rank 3)'),
+(53000, 0.229, -1, -1, -1, 'Priest - Penance Hurt (Rank 4)');
diff --git a/sql/old/3.1.3/06357_world_scriptname.sql b/sql/old/3.1.3/06357_world_scriptname.sql
new file mode 100644
index 00000000000..bef418ead46
--- /dev/null
+++ b/sql/old/3.1.3/06357_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `gameobject_template` SET `ScriptName`='go_blood_filled_orb' WHERE `entry`=182024;
diff --git a/sql/old/3.1.3/06372_world_spell_proc_event.sql b/sql/old/3.1.3/06372_world_spell_proc_event.sql
new file mode 100644
index 00000000000..bd0a1cac476
--- /dev/null
+++ b/sql/old/3.1.3/06372_world_spell_proc_event.sql
@@ -0,0 +1,2 @@
+UPDATE spell_proc_event SET entry = 53489 WHERE entry = 53486;
+UPDATE spell_proc_event SET entry = 59578 WHERE entry = 53488;
diff --git a/sql/old/3.1.3/06374_world_creature_template.sql b/sql/old/3.1.3/06374_world_creature_template.sql
new file mode 100644
index 00000000000..0de6244ddb0
--- /dev/null
+++ b/sql/old/3.1.3/06374_world_creature_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `creature_template` ADD `questItem5` int(11) UNSIGNED NOT NULL DEFAULT 0 AFTER `questItem4`;
+ALTER TABLE `creature_template` ADD `questItem6` int(11) UNSIGNED NOT NULL DEFAULT 0 AFTER `questItem5`;
diff --git a/sql/old/3.1.3/06374_world_gameobject_template.sql b/sql/old/3.1.3/06374_world_gameobject_template.sql
new file mode 100644
index 00000000000..02fd2aed69e
--- /dev/null
+++ b/sql/old/3.1.3/06374_world_gameobject_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `gameobject_template` ADD `questItem5` int(11) UNSIGNED NOT NULL DEFAULT 0 AFTER `questItem4`;
+ALTER TABLE `gameobject_template` ADD `questItem6` int(11) UNSIGNED NOT NULL DEFAULT 0 AFTER `questItem5`;
diff --git a/sql/old/3.1.3/06381_world_script_texts.sql b/sql/old/3.1.3/06381_world_script_texts.sql
new file mode 100644
index 00000000000..e6dbe09bd67
--- /dev/null
+++ b/sql/old/3.1.3/06381_world_script_texts.sql
@@ -0,0 +1,22 @@
+DELETE FROM `script_texts` WHERE `entry` IN (-1571004,-1571005,-1571006,-1571007,-1571008,-1571009,-1571010,-1571011,-1571012,-1571013,-1571014,-1571015,-1571016,-1571017,-1571018,-1571019,-1571020,-1571021,-1571022,-1571022,-1571023);
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (25301 ,-1571004,'My liege, the infiltration and control of the Alliance power structure by our cultists is well underway.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (26203 ,-1571005,'Your progress in this region has been impressive, Blood Prince. I am pleased...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (26203 ,-1571006,'The power you''ve bestowed upon me has allowed me great mental influence over human minds. I bear these offerings as proof of my progress.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (26170 ,-1571007,'Leryssa!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,''),
+ (26170 ,-1571008,'What have you done to my sister, you motherless elf scum!?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,''),
+ (26203 ,-1571009,'Now this is a surprise, Thassarian. I hadn''t heard from Mograine or the other death knights for months. You''ve come to rejoin the Scourge, I take it?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (26170 ,-1571010,'I would sooner slit my own throat. You will pay for what you did to your own men, Arthas... for what you did to me! I swear it.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25301 ,-1571011,'Allow me to take care of the intruders, lord. I will feed their entrails to the maggots.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (26203 ,-1571012,'Do not fail me, San''layn. Return to Icecrown with this fool''s head or do not bother to return.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25301 ,-1571013,'Yes, my lord!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25250 ,-1571014,'What... what happened to me?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25250 ,-1571015,'Ugh! My head won''t stop spinning...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25251 ,-1571016,'Thassarian, you''re alive!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,''),
+ (26170 ,-1571017,'Leryssa... you... you''re all right!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25251 ,-1571018,'I thought... I thought you were... dead.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (26170 ,-1571019,'I cannot return home with you just yet, Leryssa. I am not quite done with the Scourge.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25251,-1571020,'Don''t leave me again! You want to fight for your country, but they don''t even want you! They sent you here to die!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (26170,-1571021,'You might be right, sister. My obligations to my land and King have been fulfilled. But there is still something that I owe to myself.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (26170,-1571022,'I know that look in your eye... I''m not going to be able to talk you out of this. If you die on me again...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (26170,-1571023,'Do not worry, Leryssa. I will come back to you when I''m done. Nothing in the world will stop me from coming home to the only family that I have left.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'');
diff --git a/sql/old/3.1.3/06381_world_script_waypoint.sql b/sql/old/3.1.3/06381_world_script_waypoint.sql
new file mode 100644
index 00000000000..abfe142d0bf
--- /dev/null
+++ b/sql/old/3.1.3/06381_world_script_waypoint.sql
@@ -0,0 +1,7 @@
+DELETE FROM `script_waypoint` WHERE `entry`=26170;
+INSERT INTO `script_waypoint` VALUES
+ (26170,1, 3700.08, 3574.54, 473.322, 0, ''),
+ (26170,2, 3705.94, 3573.63, 476.841, 0, ''),
+ (26170,3, 3714.32, 3572.3, 477.442, 0, ''),
+ (26170,4, 3720.19,3563.44, 477.441, 0, ''),
+ (26170,5, 3721.24,3561.95, 477.44, 0, '');
diff --git a/sql/old/3.1.3/06381_world_scriptname.sql b/sql/old/3.1.3/06381_world_scriptname.sql
new file mode 100644
index 00000000000..75ef3b842d0
--- /dev/null
+++ b/sql/old/3.1.3/06381_world_scriptname.sql
@@ -0,0 +1,5 @@
+UPDATE `creature_template` SET `ScriptName`='npc_general_arlos' WHERE `entry`=25250;
+UPDATE `creature_template` SET `ScriptName`='npc_leryssa' WHERE `entry`=25251;
+UPDATE `creature_template` SET `ScriptName`='npc_thassarian' WHERE `entry`=26170;
+UPDATE `creature_template` SET `ScriptName`='npc_image_lich_king' WHERE `entry`=26203;
+UPDATE `creature_template` SET `ScriptName`='npc_counselor_talbot' WHERE `entry`=25301;
diff --git a/sql/old/3.1.3/06389_world_scriptname.sql b/sql/old/3.1.3/06389_world_scriptname.sql
new file mode 100644
index 00000000000..f05e2936588
--- /dev/null
+++ b/sql/old/3.1.3/06389_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_beryl_sorcerer' WHERE `entry`=25316;
diff --git a/sql/old/3.1.3/06397_world_spell_script_target.sql b/sql/old/3.1.3/06397_world_spell_script_target.sql
new file mode 100644
index 00000000000..2d5ef4759c0
--- /dev/null
+++ b/sql/old/3.1.3/06397_world_spell_script_target.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_script_target` WHERE `entry`=45364 AND `type`=1 AND `targetEntry`=25478;
+DELETE FROM `spell_script_target` WHERE `entry`=45634;
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(45634,1,25478);
diff --git a/sql/old/3.1.3/06398_world_script_texts.sql b/sql/old/3.1.3/06398_world_script_texts.sql
new file mode 100644
index 00000000000..6f7cbce0ecd
--- /dev/null
+++ b/sql/old/3.1.3/06398_world_script_texts.sql
@@ -0,0 +1,9 @@
+DELETE FROM `script_texts` WHERE `entry` IN (-1571024, -1571025, -1571026, -1571027, -1571028, -1571029, -1571030);
+INSERT INTO `script_texts` (`npc_entry`, `entry`, `content_default`, `content_loc1`, `content_loc2`, `content_loc3`, `content_loc4`, `content_loc5`, `content_loc6`, `content_loc7`, `content_loc8`, `sound`,`type`, `language`, `emote`, `comment`) VALUES
+ (25478,-1571024,'Pathetic fool! A servant of malygos would sooner die than aid an emeny...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25478,-1571025,'Aargh! Do your worst, $C ! I''ll tell you NOTHING!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25478,-1571026,'Aahhhh! Release me! I am of no use to you. I swear it!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25478,-1571027,'Stop! I beg you, please stop. Please...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25478,-1571028,'Alright! I am beaten. Your previous archmage is held in a prison, elevated and sealed. Even if you manage to reach her, Salrand herself holds the key. Your mission is folly!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25478,-1571029,'I''ve given you the information, $C ! You''re wasting your time....',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (25478,-1571030,'Noooo! This tortue is inhumane! You have what you want... why don''t you just kill me?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'');
diff --git a/sql/old/3.1.3/06398_world_scriptname.sql b/sql/old/3.1.3/06398_world_scriptname.sql
new file mode 100644
index 00000000000..07ea9980ad6
--- /dev/null
+++ b/sql/old/3.1.3/06398_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName` ='npc_imprisoned_beryl_sorcerer' WHERE `entry` = 25478;
diff --git a/sql/old/3.1.3/06405_world_spell_script_target.sql b/sql/old/3.1.3/06405_world_spell_script_target.sql
new file mode 100644
index 00000000000..cfafee3580e
--- /dev/null
+++ b/sql/old/3.1.3/06405_world_spell_script_target.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_script_target` WHERE `entry`=55083;
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(55083, 1, 29700),
+(55083, 1, 29686);
diff --git a/sql/old/3.1.3/06420_world_script_texts.sql b/sql/old/3.1.3/06420_world_script_texts.sql
new file mode 100644
index 00000000000..d9e29597238
--- /dev/null
+++ b/sql/old/3.1.3/06420_world_script_texts.sql
@@ -0,0 +1,17 @@
+DELETE FROM `script_texts` WHERE `entry` IN (-1000499,-1000450,-1000451,-1000452,-1000453,-1000454,-1000455,-1000456,-1000457,-1000458,-1000459,-1000460,-1000461,-1000462,-1000463);
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (8856,-1000499,'By your command!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (7766,-1000450,'Wait here. Spybot will make Lescovar come out as soon as possible. Be ready! Attack only after you''ve overheard their conversation.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (8856,-1000451,'Good day to you both. I would speak to Lord Lescovar.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (1756,-1000452,'Of course. He awaits you in the library.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (8856,-1000453,'Thank you. The Light be with you both.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (8856,-1000454,'Milord, your guest has arrived. He awaits your presence.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (1754,-1000455,'Ah, thank you kindly. I will leave you to the library while I tend to this small matter.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (8856,-1000456,'I shall use the time wisely, milord. Thank you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (1754,-1000457,'It''s time for my meditation, leave me.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (1756,-1000458,'Yes, sir!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (1754,-1000459,'There you are. What news from Westfall?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (1755,-1000460,'VanCleef sends word that the plans are underway. But he''s hear rumors about someone snooping about.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (1754,-1000461,'Hmm, it could be that meddle Shaw. I will see what I can discover. Be off with you. I''ll contact you again soon.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+ (7766,-1000462,'That''s it! That''s what you were waiting for! KILL THEM!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,''),
+ (1755,-1000463,'The Defias shall succeed! No meek adventurer will stop us!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'');
diff --git a/sql/old/3.1.3/06420_world_script_waypoint.sql b/sql/old/3.1.3/06420_world_script_waypoint.sql
new file mode 100644
index 00000000000..b9f989ceb26
--- /dev/null
+++ b/sql/old/3.1.3/06420_world_script_waypoint.sql
@@ -0,0 +1,40 @@
+DELETE FROM `script_waypoint` WHERE `entry` = 1754;
+INSERT INTO `script_waypoint` VALUES
+ (1754, 1, -8334.89, 394.130, 122.274, 0, ''),
+ (1754, 2, -8335.58, 393.519, 122.275, 0, ''),
+ (1754, 3, -8352.99, 379.932, 122.275, 0, ''),
+ (1754, 4, -8356.65, 385.247, 122.275, 0, ''),
+ (1754, 5, -8364.29, 395.317, 122.275, 0, ''),
+ (1754, 6, -8361.75, 402.852, 122.275, 0, ''),
+ (1754, 7, -8359.94, 410.92, 122.275, 0, ''),
+ (1754, 8, -8362.84, 415.409, 122.275, 0, ''),
+ (1754, 9, -8370.42, 424.6, 122.275, 0, ''),
+ (1754, 10, -8380.45, 437.115, 122.275, 0, ''),
+ (1754, 11, -8386.37, 444.906, 122.275, 0, ''),
+ (1754, 12, -8388.5, 447.314, 123.275, 0, ''),
+ (1754, 13, -8390.25, 449.247, 124.275, 0, ''),
+ (1754, 14, -8392.84, 452.397, 123.761, 0, ''),
+ (1754, 15, -8397.52, 457.326, 123.761, 0, ''),
+ (1754, 16, -8402.42, 461.646, 123.761, 0, ''),
+ (1754, 17, -8409.52, 462.677, 123.761, 0, '');
+
+DELETE FROM `script_waypoint` WHERE `entry` = 8856;
+INSERT INTO `script_waypoint` VALUES
+ (8856, 1, -8409.34, 453.345, 123.761, 0, ''),
+ (8856, 2, -8409.52, 462.677, 123.761, 0, ''),
+ (8856, 3, -8402.42, 461.646, 123.761, 0, ''),
+ (8856, 4, -8397.52, 457.326, 123.761, 0, ''),
+ (8856, 5, -8392.84, 452.397, 123.761, 0, ''),
+ (8856, 6, -8390.25, 449.247, 124.275, 0, ''),
+ (8856, 7, -8388.5, 447.314, 123.275, 0, ''),
+ (8856, 8, -8386.37, 444.906, 122.275, 0, ''),
+ (8856, 9, -8380.45, 437.115, 122.275, 0, ''),
+ (8856, 10, -8370.42, 424.6, 122.275, 0, ''),
+ (8856, 11, -8362.84, 415.409, 122.275, 0, ''),
+ (8856, 12, -8359.94, 410.92, 122.275, 0, ''),
+ (8856, 13, -8361.75, 402.852, 122.275, 0, ''),
+ (8856, 14, -8364.29, 395.317, 122.275, 0, ''),
+ (8856, 15, -8356.65, 385.247, 122.275, 0, ''),
+ (8856, 16, -8352.99, 379.932, 122.275, 0, ''),
+ (8856, 17, -8335.58, 393.519, 122.275, 0, ''),
+ (8856, 18, -8334.89, 394.13, 122.274, 0, '');
diff --git a/sql/old/3.1.3/06420_world_scriptname.sql b/sql/old/3.1.3/06420_world_scriptname.sql
new file mode 100644
index 00000000000..43b36b2d034
--- /dev/null
+++ b/sql/old/3.1.3/06420_world_scriptname.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_template` SET `ScriptName`='npc_tyrion' WHERE `entry`=7766;
+UPDATE `creature_template` SET `ScriptName`='npc_tyrion_spybot' WHERE `entry`=8856;
+UPDATE `creature_template` SET `ScriptName`='npc_lord_gregor_lescovar' WHERE `entry`=1754;
+UPDATE `creature_template` SET `ScriptName`='npc_marzon_silent_blade' WHERE `entry`=1755;
diff --git a/sql/old/3.1.3/06421_world_script_texts.sql b/sql/old/3.1.3/06421_world_script_texts.sql
new file mode 100644
index 00000000000..90bfbc13ab3
--- /dev/null
+++ b/sql/old/3.1.3/06421_world_script_texts.sql
@@ -0,0 +1,4 @@
+DELETE FROM `script_texts` WHERE `entry` IN (-1571031, -1571032);
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+(30007,-1571031,'This battle must be seen to be believed! Once a mild-mannered tuskarr fisherman, our next fighter turned to the life of a soulless mercenary when his entire family was wiped out by a vicious pack of lion seals and III-tempered penguins! Now he''s just In It for the gold! Ladies and gentlemen, ORINOKO TUSKBREAKER!!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13363,1,0,0,''),
+(30020,-1571032,'Whisker! Where are you? Assist me!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'');
diff --git a/sql/old/3.1.3/06421_world_scriptname.sql b/sql/old/3.1.3/06421_world_scriptname.sql
new file mode 100644
index 00000000000..19b67f40752
--- /dev/null
+++ b/sql/old/3.1.3/06421_world_scriptname.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `ScriptName` = 'npc_gurgthock' WHERE `entry`=30007;
+UPDATE `creature_template` SET `ScriptName` = 'npc_orinoko_tuskbreaker' WHERE `entry`=30020;
diff --git a/sql/old/3.1.3/06424_world_spell_proc_event.sql b/sql/old/3.1.3/06424_world_spell_proc_event.sql
new file mode 100644
index 00000000000..1108ebc329c
--- /dev/null
+++ b/sql/old/3.1.3/06424_world_spell_proc_event.sql
@@ -0,0 +1,2 @@
+UPDATE spell_proc_event SET entry = 53486 WHERE entry =53489;
+UPDATE spell_proc_event SET entry = 53488 WHERE entry =59578;
diff --git a/sql/old/3.1.3/06432_world_command.sql b/sql/old/3.1.3/06432_world_command.sql
new file mode 100644
index 00000000000..a75f880231a
--- /dev/null
+++ b/sql/old/3.1.3/06432_world_command.sql
@@ -0,0 +1 @@
+UPDATE `command` SET `help` = 'Syntax: .wg timer $minutes\r\nChange the current timer. Min value = 1, Max value 60 (Wartime), 1440 (Not Wartime)' WHERE `name` = 'wg timer';
diff --git a/sql/old/3.1.3/06433_world_script_texts.sql b/sql/old/3.1.3/06433_world_script_texts.sql
new file mode 100644
index 00000000000..ca4c7aa1c5e
--- /dev/null
+++ b/sql/old/3.1.3/06433_world_script_texts.sql
@@ -0,0 +1,4 @@
+DELETE FROM `script_texts` WHERE `entry` IN (-1571033,-1571034);
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+(30007,-1571033,'The champion of the Winterax trolls has challenged you, Treeofdoom! I hope you''re ready!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,''),
+(30007,-1571034,'Hailling from the distant mountains of Alterac, one of the fiercest competitors this arena has ever seen: KORRAK THE BLOODRAGER!!!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,13363,1,0,0,'');
diff --git a/sql/old/3.1.3/06433_world_scriptname.sql b/sql/old/3.1.3/06433_world_scriptname.sql
new file mode 100644
index 00000000000..4152ffad9e9
--- /dev/null
+++ b/sql/old/3.1.3/06433_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName` = 'npc_korrak_bloodrager' WHERE `entry`=30023;
diff --git a/sql/old/3.1.3/06439_world_spell_linked_spell.sql b/sql/old/3.1.3/06439_world_spell_linked_spell.sql
new file mode 100644
index 00000000000..5c99fc10c18
--- /dev/null
+++ b/sql/old/3.1.3/06439_world_spell_linked_spell.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (-54361, -59743);
+INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
+(-54361, 54343, 0, 'Void Shift (Normal) - Void Shifted'),
+(-59743, 54343, 0, 'Void Shift (Heroic) - Void Shifted');
diff --git a/sql/old/3.1.3/06445_world_scriptname.sql b/sql/old/3.1.3/06445_world_scriptname.sql
new file mode 100644
index 00000000000..b17889c792f
--- /dev/null
+++ b/sql/old/3.1.3/06445_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_ethereal_sphere' WHERE `entry`=29271;
diff --git a/sql/old/3.1.3/06447_world_scriptname.sql b/sql/old/3.1.3/06447_world_scriptname.sql
new file mode 100644
index 00000000000..8dc3242d153
--- /dev/null
+++ b/sql/old/3.1.3/06447_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='mob_ichor_globule' WHERE `entry`=29321;
diff --git a/sql/old/3.1.3/06452_world_spell_script_target.sql b/sql/old/3.1.3/06452_world_spell_script_target.sql
new file mode 100644
index 00000000000..b5ff7f4a61a
--- /dev/null
+++ b/sql/old/3.1.3/06452_world_spell_script_target.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_script_target` WHERE `entry` IN (54160,59474);
+INSERT INTO `spell_script_target` (`entry`, `type`, `targetEntry`) VALUES
+(54160, 1, 29266),
+(59474, 1, 29266);
diff --git a/sql/old/3.1.3/06455_world_scriptname.sql b/sql/old/3.1.3/06455_world_scriptname.sql
new file mode 100644
index 00000000000..8721eec94fd
--- /dev/null
+++ b/sql/old/3.1.3/06455_world_scriptname.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `ScriptName`='npc_yggdras' WHERE `entry`=30014;
diff --git a/sql/old/3.1.3/06468_realmd_db_version.sql b/sql/old/3.1.3/06468_realmd_db_version.sql
new file mode 100644
index 00000000000..cca9e1c800f
--- /dev/null
+++ b/sql/old/3.1.3/06468_realmd_db_version.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `realmd_db_version`;
diff --git a/sql/old/3.1.3/06477_world_script_texts.sql b/sql/old/3.1.3/06477_world_script_texts.sql
new file mode 100644
index 00000000000..e17664d1a24
--- /dev/null
+++ b/sql/old/3.1.3/06477_world_script_texts.sql
@@ -0,0 +1,3 @@
+DELETE FROM `script_texts` WHERE `entry`=-1608000;
+INSERT INTO `script_texts` (`npc_entry`,`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (30658,-1608000,'Prision guards, we are leaving! These adventurers are taking over! Go go go',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,1,0,0,'');
diff --git a/sql/old/3.1.3/06486_world_item_template.sql b/sql/old/3.1.3/06486_world_item_template.sql
new file mode 100644
index 00000000000..91c87833694
--- /dev/null
+++ b/sql/old/3.1.3/06486_world_item_template.sql
@@ -0,0 +1,11 @@
+-- item_template update from Malcrom
+-- Alter column AllowableClass to allowed max value signed.
+ALTER TABLE `item_template` CHANGE `AllowableClass` `AllowableClasstemp` MEDIUMINT(9);
+ALTER TABLE `item_template` ADD `AllowableClass` INT SIGNED NOT NULL AFTER `InventoryType`;
+UPDATE `item_template` SET `AllowableClass` = `AllowableClasstemp`;
+ALTER TABLE `item_template` DROP `AllowableClasstemp`;
+-- Alter column AllowableRace to allowed max value signed.
+ALTER TABLE `item_template` CHANGE `AllowableRace` `AllowableRacetemp` MEDIUMINT(9);
+ALTER TABLE `item_template` ADD `AllowableRace` INT SIGNED NOT NULL AFTER `AllowableClass`;
+UPDATE `item_template` SET `AllowableRace` = `AllowableRacetemp`;
+ALTER TABLE `item_template` DROP `AllowableRacetemp`;
diff --git a/sql/old/3.1.3/06509_characters_character_skills.sql b/sql/old/3.1.3/06509_characters_character_skills.sql
new file mode 100644
index 00000000000..ce6dd5af7ef
--- /dev/null
+++ b/sql/old/3.1.3/06509_characters_character_skills.sql
@@ -0,0 +1,48 @@
+DROP TABLE IF EXISTS `character_skills`;
+CREATE TABLE `character_skills` (
+ `guid` int(11) unsigned NOT NULL COMMENT 'Global Unique Identifier',
+ `skill` mediumint(9) unsigned NOT NULL,
+ `value` int(11) unsigned NOT NULL,
+ `max` mediumint(9) unsigned NOT NULL,
+ i mediumint(9),
+ PRIMARY KEY (`guid`,`skill`,`i`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+
+DROP TABLE IF EXISTS temp_skills;
+CREATE TABLE temp_skills (
+ i int(11) unsigned NOT NULL,
+ PRIMARY KEY (i)
+);
+
+INSERT INTO temp_skills VALUES
+( 0),( 1),( 2),( 3),( 4),( 5),( 6),( 7),( 8),( 9),(10),(11),(12),(13),(14),(15),(16),(17),(18),(19),
+(20),(21),(22),(23),(24),(25),(26),(27),(28),(29),(30),(31),(32),(33),(34),(35),(36),(37),(38),(39),
+(40),(41),(42),(43),(44),(45),(46),(47),(48),(49),(50),(51),(52),(53),(54),(55),(56),(57),(58),(59),
+(60),(61),(62),(63),(64),(65),(66),(67),(68),(69),(70),(71),(72),(73),(74),(75),(76),(77),(78),(79),
+(80),(81),(82),(83),(84),(85),(86),(87),(88),(89),(90),(91),(92),(93),(94),(95),(96),(97),(98),(99),
+(100),(101),(102),(103),(104),(105),(106),(107),(108),(109),(110),(111),(112),(113),(114),(115),(116),(117),(118),(119),
+(120),(121),(122),(123),(124),(125),(126),(127);
+
+INSERT INTO character_skills SELECT
+guid,
+((SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 610+3*i))+2, length(SUBSTRING_INDEX(data, ' ', 610+3*i+1))- length(SUBSTRING_INDEX(data, ' ', 610+3*i)) - 1)) & 0xFFFF) as skill,
+(SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 610+3*i+1))+2, length(SUBSTRING_INDEX(data, ' ', 610+3*i+2))- length(SUBSTRING_INDEX(data, ' ', 610+3*i+1)) - 1)) as value,
+(0) as max,
+i
+FROM characters, temp_skills;
+
+DELETE FROM character_skills WHERE skill = 0;
+DROP TABLE IF EXISTS temp_skills;
+
+UPDATE character_skills
+ SET max = ((value & 0xFFFF0000) >> 16);
+
+UPDATE character_skills
+ SET value = (value & 0xFFFF);
+
+ALTER IGNORE TABLE character_skills
+ CHANGE COLUMN value value mediumint(9) unsigned NOT NULL,
+ DROP PRIMARY KEY,
+ ADD PRIMARY KEY (guid,skill),
+ DROP COLUMN i;
diff --git a/sql/old/3.1.3/06518_world_spell_proc_event.sql b/sql/old/3.1.3/06518_world_spell_proc_event.sql
new file mode 100644
index 00000000000..70e560d67a9
--- /dev/null
+++ b/sql/old/3.1.3/06518_world_spell_proc_event.sql
@@ -0,0 +1,7 @@
+-- Add 20 second cooldown for Bloodworms
+DELETE FROM `spell_proc_event` WHERE `entry` IN (49027, 49542, 49543);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
+(49027, 0, 0, 0, 0, 0, 0, 0, 0, 3, 20), -- Bloodworms rank 1
+(49542, 0, 0, 0, 0, 0, 0, 0, 0, 6, 20), -- Bloodworms rank 2
+(49543, 0, 0, 0, 0, 0, 0, 0, 0, 9, 20); -- Bloodworms rank 3
+
diff --git a/sql/old/3.1.3/06521_world_command.sql b/sql/old/3.1.3/06521_world_command.sql
new file mode 100644
index 00000000000..11bb1c404ce
--- /dev/null
+++ b/sql/old/3.1.3/06521_world_command.sql
@@ -0,0 +1 @@
+UPDATE `command` SET `name`='reload mail_loot_template' WHERE `name`='reload quest_mail_loot_template'; \ No newline at end of file
diff --git a/sql/old/3.1.3/06521_world_mail_level_reward.sql b/sql/old/3.1.3/06521_world_mail_level_reward.sql
new file mode 100644
index 00000000000..656bb83c69c
--- /dev/null
+++ b/sql/old/3.1.3/06521_world_mail_level_reward.sql
@@ -0,0 +1,15 @@
+DROP TABLE IF EXISTS `mail_level_reward`;
+CREATE TABLE `mail_level_reward` (
+ `level` tinyint(3) unsigned NOT NULL default '0',
+ `raceMask` mediumint(8) unsigned NOT NULL default '0',
+ `mailTemplateId` mediumint(8) unsigned NOT NULL default '0',
+ `senderEntry` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`level`,`raceMask`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Mail System';
+
+INSERT INTO `mail_level_reward` VALUES
+(20, 1, 224, 4732),(20, 8, 225, 4753),
+(20, 4, 226, 4772),(20, 1024, 227, 20914),
+(20, 64, 228, 7954),(20, 32, 229, 3690),
+(20, 128, 230, 7953),(20, 2, 231, 4752),
+(20, 512, 232, 16280),(20, 16, 233, 4773); \ No newline at end of file
diff --git a/sql/old/3.1.3/06521_world_quest_mail_loot_template.sql b/sql/old/3.1.3/06521_world_quest_mail_loot_template.sql
new file mode 100644
index 00000000000..08ebe03eca4
--- /dev/null
+++ b/sql/old/3.1.3/06521_world_quest_mail_loot_template.sql
@@ -0,0 +1,4 @@
+RENAME TABLE quest_mail_loot_template TO mail_loot_template;
+
+UPDATE mail_loot_template, quest_template
+ SET mail_loot_template.entry = quest_template.RewMailTemplateId WHERE mail_loot_template.entry = quest_template.entry; \ No newline at end of file
diff --git a/sql/old/3.1.3/06539_world_spell_proc_event.sql b/sql/old/3.1.3/06539_world_spell_proc_event.sql
new file mode 100644
index 00000000000..a1d9d179a8f
--- /dev/null
+++ b/sql/old/3.1.3/06539_world_spell_proc_event.sql
@@ -0,0 +1,2 @@
+-- Fixed Ruthlessness proc from Envenom
+UPDATE spell_proc_event SET spellFamilyMask1 = 8 WHERE entry IN (14156, 14160, 14161); \ No newline at end of file
diff --git a/sql/old/3.1.3/06549_world_spell_proc_event.sql b/sql/old/3.1.3/06549_world_spell_proc_event.sql
new file mode 100644
index 00000000000..a7cae2b1c09
--- /dev/null
+++ b/sql/old/3.1.3/06549_world_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (16086,16544);
+INSERT INTO `spell_proc_event` VALUES
+( 16086, 0x04, 11, 0x00000000, 0x00040000, 0x00000000, 0x00030000, 0x00000000, 0, 0, 0), -- Improved Fire Nova Totem (Rank 1)
+( 16544, 0x04, 11, 0x00000000, 0x00040000, 0x00000000, 0x00030000, 0x00000000, 0, 0, 0); -- Improved Fire Nova Totem (Rank 2)