Commit Graph
5196 Commits
Author SHA1 Message Date
Keader 9b9fd4ee24 Core/Scripts: Minor Fixes in Black Temple (#18293)
Core/Scripts: Minor Fixes in Black Temple

(cherry picked from commit bced796414c3eac872efa376954c582f5da08e7a)
2018-02-11 16:21:59 +01:00
Keader 83d0ba4b89 Core/Scripts: Gurtogg Bloodboil Rewrite (#18279)
(cherry picked from commit eb41194dbb98558c50a71a39414e5b4091c158d7)

Rename 9999_25_44_50_world.sql to 2016_11_26_02_world.sql
(cherry picked from commit 8975fb73f09cc8559ee2451dec3744d15f8ad970)
2018-02-11 16:20:32 +01:00
Keader aab6416e64 Core/Scripts: Fixed Supremus encounter (#18234)
Core/Scripts: Fixed Supremus encounter

(cherry picked from commit 51507efd01f403bde5fff3e29f777e771a742c1a)
2018-02-11 16:04:28 +01:00
Keader 95ca7b11d0 Core/Scripts: Improved High Warlord Naj'entus fight - Black Temple (#18229)
Core/Scripts: Improved High Warlord Naj'entus fight

(cherry picked from commit 571b3b6a769e070ed33a49e9b32b3407facb8d3e)
2018-02-11 16:02:20 +01:00
Andrew Blakely 06e1990af2 Core/Scripts: Fixed Vaelastrasz bomb mechanic (#18260)
* Core/Scripts: Fixed Vaelastrasz bomb mechanic

Vaelstraz was suppose to bomb raid members that are mana users every 15
seconds. He was not doing that with the current implementation.

This implementation allows him to bomb the raid and to select the proper
targets. This is also done in a cleaner way.

* Added AuraScript for SPELL_BURNINGADRENALINE

Needed to define an AuraScript for custom behavior that would denatonate
the damaging aura when the debuff falls off.

SpellId - 18173

* Added SQL for Burning Adrenaline Script Ref

* Fixed Multiple Application of BA

* Add unit null check in lambda

* Remove DB name from sql query

* Added Newline in SQL update file.

* Added SQL delete query for potential existing spell

* Fix SQL newline again.

* As suggested a simpler SpellCast overload works

I don't know if there are any consequences but it seems to function fine
in in-game.

I'd like more information on the overload that involves an AuraEffect.

* Remove duplicate Unit null check in lambda

* Update boss_vaelastrasz.cpp

(cherry picked from commit 60ac53ff07333a62c3d76b6daf072d4fbcb11d1c)

# Conflicts:
#	src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_vaelastrasz.cpp
2018-02-11 16:00:49 +01:00
Riztazz 05fb27dae4 [3.3.5][master] Core/Movement: Smooth movement #13467 (#18020)
Implement smooth movement for all waypoint pathing and escortai

(cherry picked from commit 28050f338dfc66e0c40b6a3915bf96e38e0613e5)
2018-02-11 15:53:32 +01:00
Keader 052422d165 Core/Scripts: Added Boundary in Forge of Souls (#18226)
Core/Scripts: Added Boundary in Forge of Souls

(cherry picked from commit ab4ec5bd01122d503af38fc8464ff7528d297604)
2018-02-11 15:06:14 +01:00
Aokromes 258a06b278 Merge pull request #18094 from Staleness89/3.3.5
Script/Quest: Rivenwood Captives

(cherry picked from commit 8a864fc0853f2a70ee666466d44ab4fab6ddfc4a)
2018-02-11 14:49:18 +01:00
Killyana bc23d8c892 Creature/script: Add area restriction for Freed Proto Drake
Closes #11754
Thanks to ariel-

(cherry picked from commit 3cc89c32d551baf8fbc0c4787b79d7e2f7bde2bd)
2018-02-11 12:19:48 +01:00
joschiwald 6226189a16 Core/Entities: Created factory methods to create new areatriggers, creatures and gameobjects 2018-01-27 23:02:46 +01:00
Shauren f963b8a225 Core/Spells: Removed outdated mechanic (spell downranking coef penalty) 2018-01-27 12:21:35 +01:00
ariel- ad8d47b137 Core/Guild: avoid data integrity problems wrapping delete+insert statements in a transaction
(cherry picked from commit 25281ecb3198a543ddb18aab41b8a206512bdd0c)
2018-01-21 22:01:15 +01:00
ariel- 8cb118009e Core/Spell: restore old proc system behaviour on auras self proc.
- Use Spell::m_triggeredByAuraSpell and compare against trigger aura, it requires scripts to set triggeredByAura parameter.
- Fixed existing scripts lacking it

DB/Spell: Anger Capacitor (Tiny Abomination in a Jar) proc

Closes #18269

(cherry picked from commit 5b56c94e6d9510fb9cd835216dde7181371a2454)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Spells/Auras/SpellAuras.cpp
#	src/server/game/Spells/Spell.cpp
#	src/server/scripts/Northrend/IcecrownCitadel/boss_professor_putricide.cpp
#	src/server/scripts/Pet/pet_hunter.cpp
#	src/server/scripts/Spells/spell_dk.cpp
#	src/server/scripts/Spells/spell_druid.cpp
#	src/server/scripts/Spells/spell_hunter.cpp
#	src/server/scripts/Spells/spell_item.cpp
#	src/server/scripts/Spells/spell_mage.cpp
#	src/server/scripts/Spells/spell_paladin.cpp
#	src/server/scripts/Spells/spell_priest.cpp
#	src/server/scripts/Spells/spell_rogue.cpp
#	src/server/scripts/Spells/spell_shaman.cpp
#	src/server/scripts/Spells/spell_warlock.cpp
#	src/server/scripts/Spells/spell_warrior.cpp
2018-01-13 16:38:07 +01:00
Shauren 3d7af56f5c Warning fixes 2018-01-10 23:22:27 +01:00
Shauren bb718b5578 Core/Entities: Remove phasemask 2018-01-10 22:01:40 +01:00
joschiwald 5e3e4182c8 Core/Entities: Extended SpawnMask to 64 bit 2018-01-06 19:56:11 +01:00
Shauren dfd2660a85 Core/Misc: Added compatibility layer for boost 1.66 and future std:: networking stuff
* Based on work done by @dimiandre in PR #21173

Closes #21171
Closes #21173
2018-01-06 01:21:59 +01:00
Mihapro 8199eef81c Core/Misc: Added helper function Unit::SetFullPower
* Also renamed Unit::getPowerType and Unit::setPowerType to follow style guidelines

Ref #20981
2018-01-03 16:39:32 +01:00
vincent-michael 7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Traesh 89c91c271b Core/Quests: Implemented player choices
* Implemented SPELL_EFFECT_LAUNCH_QUEST_CHOICE
* Script hook for player choices
2017-12-31 23:22:55 +01:00
joschiwald 299fad57fc Core/Misc: Fixed type mismatch 2017-12-30 23:09:45 +01:00
ariel- 5bcf14cdb8 Core/Unit: damage immune improvements (9f5df023b746d324588f175e264c62205b69e165 follow up)
- Handling checked in sniffs: Spell 63710 Void Barrier vs 49143 Frost Strike
  * Send spell miss immune only if spell consists of damage effects
- Checked with 348 Immolate:
  * No packets sent if damage immune, aura is applied normally

Also... who the fuck uses 0 to compare against pointers

(cherry picked from commit ca1c4525c7da320da2c0a55bfd803879e3cf60b2)

Core/Unit: fix build

Ctrl-S failure
(cherry picked from commit f3bdd705c0e3ab28585406ae8e08da44a09b14df)
2017-12-30 22:56:48 +01:00
ariel- e5a21fb6ce Core/Scripts: add checks to Master's Call script
Closes #8403

(cherry picked from commit 361b185ef7bfb0eff3e82c0b12deaf5b597bebee)
2017-12-30 21:32:08 +01:00
Shauren 965f4de083 Core/Units: Encapsulate UNIT_CHANNEL_* fields 2017-12-29 12:57:55 +01:00
Keader c7d7464a2d Core/Scripts: Cleanup in instance_black_temple and added missing datas (#18246)
* Core/Scripts: Cleanup in instance_black_temple and added missing datas

* Fixed door timing issue

* Remove redundant call

(cherry picked from commit 81edee5648e76ff946269ae10974affc9e334bb2)
2017-12-26 19:23:25 +01:00
Treeston 60c756d3f8 Scripts/Various: Bringing nullptr civilization to the savages of master branch. Merry Christmas.
(2a08556 follow-up)
2017-12-26 01:33:50 +01:00
Treeston 2a08556273 Core/Unit: For convenience, explicitly redirect CastSpell with nullptr as first argument to the Unit* overloads. No more ->CastSpell((Unit*)nullptr, ...) all over the place!
(cherry picked from commits c7896f31026d6bdee189226680705dd7965b2039 and 40c78cac4c430a97386b44b994ec85fbaeda8821)
2017-12-26 01:10:26 +01:00
Keader 2acb7dae1b Core/Scripts: Fixed a typo and removed randtime of Shade of Akama events (#18231)
(cherry picked from commit c4dd6d167601390ad29c0241a30872bd0b5afa5e)
2017-12-25 10:30:08 +01:00
joschiwald 13726438da Core/Spells: Moved applying exclusive aura spells to scripts 2017-12-24 18:31:29 +01:00
joschiwald 439ac5756c Core/Spells: Implemented spells causing Forbearance
Ref #20937
2017-12-23 13:45:50 +01:00
Naios 1285347518 Build: Inherit the features and warning flags privately 2017-12-20 04:04:28 +01:00
Naios 964d6bd1b2 Build: Use the cotire library for precompiled header handling
* Required for handling flags inherited by linked projects
  correctly in the corresponding precompiled header.
* Reduces the maintenance effort for precompiled headers

(cherry picked from commit 92f96fc10e70b2d62cce832837477d958e2afbe3)
2017-12-20 04:04:27 +01:00
Shauren dc4d05c8f2 Core/Spells: Removed outdated disengage script - it can be cast out of combat
Closes #19193
2017-12-19 20:36:06 +01:00
ariel- 70a89debfe Core/Spell: make a distinction between triggered flags with debugging purposes, and don't use them when casting triggered spells
Fixes #9721 (also other spells affected, example Threat of Thassarian, Stormstrike)

(cherry picked from commit 85143f305dd6b82e35639fe026f5f8613a1b96c4)
2017-12-10 18:37:00 +01:00
tkrokli b74eba72f6 Core/Scripts: Archmage Arugal event script (#17922)
Implement boss script for Archmage Arugal
- add yells used in boss event to DB
- use proper spells instead of only melee fighting
- add DataType in shadowfang_keep.h
- add event scheduling in the script

By Riztazz
Closes issue #17916

(cherry picked from commit 2b26894eb1eaf8572f61d303882878659692cdd3)
2017-12-10 17:29:54 +01:00
Traesh 422ad436c7 Core/Scripts: Added new QuestScript hooks (#20950)
* OnQuestStatusChange and OnQuestObjectiveChange
2017-12-04 17:35:37 +01:00
Dr-J 0338421543 DB/Creature: Augustus the Untouched
Move from cpp to db, also added some missing detail
(cherry picked from commit cefed89c38bcd7bb7562df51f9e932878084c5da)

Remove obsolete file
(cherry picked from commit 9be0362606971e40f47543462f133125e995279d)

Remove reference to eastern plaguelands script
(cherry picked from commit 1fc8e2d5f28964bfb69304760e0d9333a45aee28)
2017-11-26 16:18:01 +01:00
Aokromes df6e0538fe Misc: More cleanup 2017-11-25 02:57:49 +01:00
Aokromes 90badf9d7e Misc: More cleanup 2017-11-25 02:50:29 +01:00
Aokromes d5c6a4f20a typo fix 2017-11-25 01:44:48 +01:00
Aokromes c547627d95 Misc: Kill trailing white spaces 2017-11-25 01:40:43 +01:00
Aokromes 8d514fb031 Misc: Kill trailing white spaces 2017-11-25 01:39:02 +01:00
Hadifaren 00f6ca060f Scripts/Spells: Implemented Blinding Light (#20933) 2017-11-19 16:30:13 +01:00
joschiwald f9067f2aab Core/Auras: don't save auras casted by items
* Core/Auras: don't save auras casted by items

- This type of auras (like Water Bucket, Precious Ribbon, etc) will be recasted on login anyways.

This reverts commit 16cfd59f5b368fd1d05eeeab3afbacfccf0a6870

(partial cherry picked from commit e84dfff4cee74baf2c02cc7752df5bf392eae180)

Core/Auras: fix elixir aura saving

(cherry picked from commit 697147a596515c82817a161e7a9a5f07cdf9a8f3)
2017-11-19 16:25:30 +01:00
joschiwald b12b37058c Scripts/Spells: Fixed Rogue Stealth SpellScript
Ref #20883
2017-11-18 21:33:46 +01:00
NoName d295f2d362 Script/Spells: Implemented Chaos Strike energize proc (#20840)
Thx @Ovahlord
2017-11-18 17:53:18 +01:00
funjoker 465012978f Core/Scripting: Implemented Conversation scripts (#20758) 2017-11-18 12:40:56 +01:00
Shauren da2c11ec48 Scripts/Sethekk Halls: Added missing empty check before Trinity::Containers::SelectRandomContainerElement
Ref #20317

(cherry picked from commit 805024a78024ba0d692ed02a0a633600a5030934)
2017-11-16 20:25:50 +01:00
Duarte Duarte ae917e950b Scripts: Fix static analysis issues CID 1381648, 1379869, 1377302 and… (#20748)
* Scripts: Fix static analysis issues CID 1381648, 1379869, 1377302 and 1377300
2017-11-14 11:23:25 +00:00
tkrokli 9c18503959 Scripts/Kalimdor: remove zone_teldrassil.cpp
- single script moved to SAI in commit f85ac27912
  (August 9, 2015)
- no NPCs using this script, removal forgotten in the mentioned commit
2017-11-12 22:25:26 +01:00