aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2017-02-11Core/Scripts: Remove useless SD2 error log (#17691)tkrokli
* Core/Scripts: Remove useless log message (ref. joschiwald) (cherry picked from commit 8fdb9b4579793dbd8fa68cd5ad331d7a92ce8fea)
2017-02-11Core/Entities: debloat SummonGameObject parameter list using proper wrappers ↵ariel-
and enable GO rotation in scripts - There's still an overload allowing for x, y, z, o to be passed directly - Fixed default animstate for GameObject creation in many places, it should be 255, not 100 (checked in sniffs) (cherry picked from commit 62bfee37cb21584cef631dda428feaf5eb829cda) # Conflicts: # src/server/game/Battlefield/Battlefield.cpp # src/server/game/Battlegrounds/Battleground.cpp # src/server/game/Entities/GameObject/GameObject.cpp # src/server/game/Entities/GameObject/GameObject.h # src/server/game/Entities/Object/Object.cpp # src/server/game/Entities/Object/Object.h # src/server/game/Spells/SpellEffects.cpp # src/server/scripts/Commands/cs_gobject.cpp # src/server/scripts/EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp # src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp # src/server/scripts/Kalimdor/zone_feralas.cpp # src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp # src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp # src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
2017-02-11Core/GameObjects: Gameobject rotation (from cmangos/mangos-wotlk@2bcbc0f) ↵ariel-
(#14146) cmangos/mangos-wotlk@0fe88f35dfb: [11531] Normalize gameobject's quaternion, thanks to zergtmn for pointing cmangos/mangos-wotlk@060dfb791b: [11667] Implement transport path rotation cmangos/mangos-wotlk@565f52c6c1: [11806] A bit gameobject code refactoring cmangos/mangos-wotlk@6874951: [11807] Add gameobject_addon table Closes #14146 (cherry picked from commit 2967bf59b4a47837b85c995b732a6761c9c35f7e) # Conflicts: # src/server/game/Battlefield/Battlefield.cpp # src/server/game/Battlegrounds/Battleground.cpp # src/server/game/Entities/GameObject/GameObject.cpp # src/server/game/Entities/GameObject/GameObject.h # src/server/game/Entities/Object/Object.cpp # src/server/game/Globals/ObjectMgr.cpp # src/server/game/Spells/SpellEffects.cpp # src/server/scripts/Commands/cs_gobject.cpp # src/server/scripts/Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp # src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
2017-02-11Core/Scripts: zone_silithus.cpp cleanup (#17165)tkrokli
- move npcs_rutgar_and_frankal to DB/SAI - move hardcoded text from go_wind_stone to DB - additional enum cleanup in zone_silithus.cpp - also solves a $r issue in SAY_TEMPLAR_AGGRO (cherry picked from commit b7abaed1996608f9a318a22ff657c5261a7acdfb) # Conflicts: # src/server/scripts/Kalimdor/zone_silithus.cpp
2017-02-11Scripts/Karazhan: Rework Attumen the Huntsman's scriptNyeriah
Change log: - Timers are more accurate - Corrected Charge ability ID based on 6.x researches - Added Midnight's missing emotes - Fixed issue with instance being stuck in combat in case of wipes - Solved the rare scenario where Attumen would be summoned multiple times - Visual spell on 3rd phase transition added - Attumen and Midnight can now be damaged during 3rd phase transition - Midnight calls for the aid of every horse still alive in the stables - Use proper spells to summon Attumen and handle transitions - Now despawns on evade Video of encounter after changes: https://www.youtube.com/watch?v=KX0rqaBeSzw (cherry picked from commit 4c4d92faa3b9e82fbabffb03eb63761b282f03a2) Scripts/Karazhan: Fix a warning (cherry picked from commit 0cc33b5a42f44847393235c20411e34c7caf2bc5) Scripts/Karazhan: Register Midnight's summons * Solves issue with bosses not despawning after encounter (cherry picked from commit 2d0fa2d0201dce03f958aa7583f51fc92c46f795)
2017-02-11Core/Scripts Added Black Temple Boundaries (#17579)Keader
* Core/Scripts Added Black Temple Boundaries (cherry picked from commit 2710c655ffbbdb128e89609667d45fb02e4d818c) # Conflicts: # src/server/scripts/Outland/BlackTemple/boss_teron_gorefiend.cpp
2017-02-11Scripts / Naxxramas : add missing null pointer check. Fixes CID 1354738 (#17628)ForesterDev
(cherry picked from commit d57c177d0ba8399925cc86d5f8904df2aa5635b4) # Conflicts: # src/server/scripts/Northrend/Naxxramas/boss_gluth.cpp
2017-02-11Core/Spells: Fixed fishingShauren
Closes #19016
2017-02-11Fixup pr e5e8537c3ef6cfc5d1bcb9c076a7c75f7e66a619Shauren
2017-02-10Core/Spells: Fixed Victory RushDoctorKraft
Closes #19044
2017-02-10Core/Spells: Fixed Levitateedreisantafe
Closes #19091
2017-02-07Core/Spell: Conjure Refreshment (#19035)DoctorKraft
2017-02-05Core/Spells: Fix Roar of Sacrifice damage part (#17519)ariel-
(cherry picked from commit 6988407b43ec92af4ffed60cdb8b4bc884487039) Rename 2016_99_99_99_world.sql to 2016_07_16_03_world.sql (cherry picked from commit 4bcb5a058bf735bfc2b32f3900b9a9bb494ae15d)
2017-02-05Core/Spells GameObjects needs to be spawned in order to be acceptable as a ↵Gustavo
SpellFocus (#17594) (cherry picked from commit 23e89b8aef1999bbbd52248c40d7b76c0a67cafb) # Conflicts: # src/server/game/Grids/Notifiers/GridNotifiers.h
2017-02-05Core/Scripts: Migrate Tanaris NPC's to SAI (#17390)Andrew Letson
(cherry picked from commit 6ea48c036e6eacea037660f057afc2ea5545ae91) Rename 2016_06_15_99_world.sql to 2016_07_15_08_world.sql (cherry picked from commit a37a8a316b3c94d7d5ba42db796282ac4e2db478)
2017-02-05Script/Archavon: Implement EMOTE_LEAP (#17588)robinsch
(cherry picked from commit 8a2df73a8262cb7140c37a57e7702cb68a806d9d) Script/Archavon: Implement EMOTE_LEAP By robinsch (cherry picked from commit 1a2bd0dc3aaa5668521cf758165c64f106e9a276)
2017-02-05Scripts/RubySanctum: Fix missing break reported by Coverity.Warpten
(cherry picked from commit 07ce570be87db5598e1b05e79070a42d24340df4)
2017-02-05Core/Misc: use enum for UNIIT_NPC_FLAGS' zero valuesSnapper
(cherry picked from commit ebb33bbfc1f11a16e00e0d84965ad5350267940a) # Conflicts: # src/server/game/Entities/Player/Player.cpp
2017-02-05Core/Misc: kill whitespace and use enum instead of hardcoded value.Snapper
(cherry picked from commit 21797c6c4f1cfee479911f58df9b3e6b6f8a2c4d)
2017-02-05Core/Script: small improvement for quest "The Hunt is On". (#17537)SnapperRy
Reset emotestate when the event starts. (cherry picked from commit eb1cd4c90708309a2e3c0e6e7c3e91645f725810)
2017-02-05Fixed buildjoschiwald
2017-02-04Event/Midsummer: improve pole ribbon functionality (#17464)SnapperRy
Event/Midsummer: improve pole ribbon functionality: - Bunny creature should hover, which puts it in the intended position. - Use correct visual and internal spells to handle cosmetics and timers. (cherry picked from commit 03b15d968b56b7855693e47e79a320cf9990d73c) Rename 9999_99_99_99_world.sql to 2016_07_05_03_world.sql (cherry picked from commit 8edc1caf32635f417aee290811a9ef2860f145b6)
2017-02-04Core/Scripts Corrections on Halion's Encounter (#16725)Gustavo
Core/Scripts: Updates to Halion * Fixed Combustion and Consumption. * Fixed Living Embers and Blazing Auras. * Timer changes. (cherry picked from commit dfe278459d79ade500a66356a98b4065c0722572) # Conflicts: # src/server/game/Spells/SpellMgr.cpp # src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp Fix sql for merged PR (cherry picked from commit 7f944695ddad14cec021ff5a0527a5a92fb4cf81) Derp. github editor is bad. (cherry picked from commit 182904946174cd635b7478bd38507235d0d45aa2)
2017-02-04Core/Scripts: Migrate Shadowmoon Valley NPC's to SAI (#17373)Andrew Letson
* Migrate Flanis Swiftwing and Kagrosh to SAI and more. (cherry picked from commit 32dd6bbca810c652e49befb9c7d6bddc8cd534a2) Rename 2016_06_14_99_world.sql to 2016_07_04_12_world.sql (cherry picked from commit d7b3285e78d72c741a2751b644bd553e83a761ce)
2017-02-04Scripts/Midsummer: Burning hot pole dance (#17445)Aokromes
* Scripts/Midsummer: Burning hot pole dance By zwerg, closes #6876 (cherry picked from commit b0e5f6de47e85e1ca7cd3cc54dcf31fddac71a9f) Rename 2016_99_99_99_world_.sql to 2016_06_26_01_world_.sql (cherry picked from commit 184e64fa3318caa32cd7b283c79a77b4033d88ed) Rename 2016_06_26_01_world_.sql to 2016_06_26_01_world.sql (cherry picked from commit 4cc88b5f091ba7909bda2bb664b7904907b29197)
2017-02-04Core/Scripts Boss Ahune Clean-up (#17320)Gustavo
Remove use of flags UNIT_FLAG_NON_ATTACKABLE and UNIT_FLAG_REMOVE_CLIENT_CONTROL Replace with correct one, UNIT_FLAG_UNK_31, imunity part now is fully handled by auras Fix a problem with bugged orientation while casting SPELL_SYNCH_HEALTH Use std::crono notations Remove unneeded code Move one spell_linked_spell to SpellScript Fix Loot issue Fix Possible Crash (cherry picked from commit f1639a30ba1f52370c128585d1670af18e48e799) Rename 2016_99_99_99_world.sql to 2016_06_26_00_world.sql (cherry picked from commit fdf0092ac24a27f1e95ffeb4f0257404998980ee)
2017-02-03Core/Spells: Fixed Divine Storm (#19031)DoctorKraft
2017-02-03Core/Spells: Missing overrideKeader
2017-02-02Core/Spells: Divine Steed (#19027)DoctorKraft
2017-02-01Core/Scripts: Fix array out of bounds in boss_mother_shahraz.cpp. (#17434)Meruemu
Fix an error in Prismatic Shield auras and Fatal Attraction teleport points selection (was introduced in https://github.com/TrinityCore/TrinityCore/commit/fb63c8e915986650f787de62859e1f818d1d96c7) (cherry picked from commit 325ccab595780448ade80967aca74a9acb8cd8b2)
2017-01-29Core/Scripts: Tom Hegger must target player in Say text (#17395)tkrokli
File: zone_borean_tundra.cpp Script: npc_hidden_cultist Quest: The Hunt is On, 11794 NPC: Tom Hegger, 25827 Before this change, Tom Hegger does not target player when saying his aggro text "You don't know who you're messing with, $c! Death beckons!" and hence the text $c will be shown instead of the player class. (cherry picked from commit 736843fbb5442b1338ec888c8a702d666c95a76b)
2017-01-29Merge branch '3.3.5-frogger' into 3.3.5 (PR #17261)treeston
(cherry picked from commit 90ff3ce8c8256796cb637fba52e8ae38a0751176)
2017-01-29Core/Scripts: Extended SMART_ACTION_SET_INST_DATA to also set BossStates. ↵ariel-
(#16739) Scripts/Dire Maul: Initialize boss states array so it may be called from SmartAI. (Ref #6429) (cherry picked from commit d1d0c64ad11cb3faf986a5332fec6b704fb8026c) # Conflicts: # src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
2017-01-29Core/Scripts: Migrate Professor Dabiri to SAI (#17367)Andrew Letson
- removes Professor Dabiri from zone script and adds him to smart_scripts. - also removes one more line of hardcoded text in core scripts (cherry picked from commit 8e84603090726cf3715c444763a2c499f6518e95)
2017-01-29Core/Player: Moved character_template from character to world dbjoschiwald
2017-01-29Core/Spells: Fixed Crash LightningShauren
2017-01-29Core/Entities: Basic AreaTrigger System (#18035)Traesh
* Implemented AreaTrigger Templates * Implemented AreaTrigger Splines * Implemented SPELL_AURA_AREA_TRIGGER * and many more
2017-01-14Core/Scripts: update npc_eagle_spiritAokromes
By Malcrom
2017-01-14Core/Scripts: update to sharpbeakAokromes
By Malcrom
2017-01-13Script/Quest: Update SharpbeakAokromes
By Malcrom
2017-01-13Instances/DrakTharonKeep: Fix Novos the Summoner. Fixes #17331.treeston
(cherry picked from commit 813e33b92784831e418a41e3ea0080905bb6dabf)
2017-01-13Core/Script: moved SAI to cpp for The Etymidian, closes #17053 (#17330)ariel-
(cherry picked from commit f03dc799591afe9421b1970fa9b07465bf6ef312) Rename 9999_99_99_99_world.sql to 2016_06_13_04_world.sql (cherry picked from commit 90ba7fe938241b6900daaef950e89b58da1e514f)
2017-01-13Scripts/UtgardePinacle: Adjust King Ymiron boundariesAokromes
(cherry picked from commit cc521d49dc159d9f4fb043b815d44d33ac810375)
2017-01-12Core/Scripts Fixed Anubarak issues related with Leeching Swarm spellKeader
(cherry picked from commit 3c35ce06af381cd416daad868c0f11709eb4855f)
2017-01-12Core/Scripts: remove hardcoded text from npc_saygetkrokli
- remove hardcoded (and wrong) text from the script - copy valid text from broadcast_text to gossip_menu_option - gossip_menu / npc_text is already correct in TDB 335.61 - sort + clean up core script enum list and add new entries - keep gossip handling unchanged in the script (low prio) (cherry picked from commit 582af025090462f29576988e7a4517fee9a206fe) Core/Scripts/DB: move npc_gregan_brewspewer to DB - Remove npc_gregan_brewspewer, thereby removing hardcoded text `#define GOSSIP_HELLO "Buy somethin', will ya?"` - Move all gossip handling to DB (gossip texts already exist in TDB) (cherry picked from commit 3acf6f36d1d60b7e2ac082bf9f6976de3256e250) Core/Scripts: npc_grandmother gossip text moved to DB Removing one more hardcoded text line from core scripts. Also adding correct gossip to the npc_grandmother script. Gossip changes in this script: - remove hardcoded text from core script - use existing npc_text IDs in gossip enum - add missing text rows to gossip_menu_option - use values from gossip_menu_option in enum - replace spawn coordinates 0.0f with GetPosition() (cherry picked from commit c214f987d730169e106b37fa1fe5f8565609374b) Core/Scripts: remove hardcoded text from npc_locksmith - remove hardcoded text from script - move the gossip handling to DB SQL - move the script conditions to DB SQL - use correct gossip from broadcast_text - remove options not existing in broadcast_text - add Key to Searing Gorge option (related spell) - add The Eye of Haramad option (related spell) (cherry picked from commit e6ee6e2ae85f8a760dcd17e01b388bf3cd27c1e2)
2017-01-12Core/Scripts: boss_majordomo hardcoded texttkrokli
2 more text lines removed in the ongoing series: "Remove hardcoded text from core scripts". Core script for boss Majordomo Executus: - add missing gossip_menu_option entries - link the options via the table gossip_menu - remove hardcoded text from the script - minor enum line order sorting cleanup - replace OnGossipSelect() with sGossipSelect() The scripted events are unchanged. If the script is inaccurate, make a new PR. (cherry picked from commit b6d43623a259f62ce0240a9e9f44f28e8c1ad5eb)
2017-01-12Core/Scripts: move npc_mountaineer_pebblebitty to DBtkrokli
- move gossip text to DB and add quest condition - remove core script npc_mountaineer_pebblebitty, - thereby removing the file zone_loch_modan.cpp - because the original core script dialog is incorrect This version of the dialog can be verified from the following web pages: - http://wow.gamepedia.com/Key_to_Searing_Gorge_quest_chain - http://www.wowhead.com/npc=3836/mountaineer-pebblebitty#comments:id=332234 (cherry picked from commit 25881de7d3547c22eb76b2e0746f3c57484bca7a)
2017-01-12Scripts/Instances: Fix a bug that would cause the Hodir encounter to never ↵treeston
properly begin. Tagging issue #17302. (cherry picked from commit e5382ee21538e4383a39b4dc0de274e856bb663b)
2017-01-12Scripts/Outland: Fix a potential crash. Closes #17308.treeston
(cherry picked from commit 96c05dbec0de5dcff60cc7a97e1b35171f3a8930)
2017-01-12someone lives on the past :PAokromes