Commit Graph
5207 Commits
Author SHA1 Message Date
ccrs 1ed65753df Scripts/BlackTemple: minor cleanup and corrections after recent PRs
plus a ninja tabs to spaces cleanup
(cherry picked from commit 4bc60e650db62bd293575fddbc3dc99c146e6500)

Scripts/BlackTemple: 4bc60e650db62bd293575fddbc3dc99c146e6500 followup
(cherry picked from commit 62e97c45518a522fe938921449e8cebb750f0d58)

Scripts/BT: Fix noPCH build
(cherry picked from commit 8a7b0f198c1eeaa7fe2d0a2577be04c6e56d6143)
2018-03-12 10:31:53 +01:00
Kittnz a82406b9d6 Core/Scripts: Drake Hunt
(cherry picked from commit 1553cc02fb2bce477b4ce9b2e93a68b97aa20b29)

Fix build
(cherry picked from commit 2cac8e43a5a382f57b416a5df6c93615ed4cbddb)

DB: fix error
(cherry picked from commit 0663e6a180feb347e5d5c0b4e9359b2cb06ed547)
2018-03-11 16:47:20 +01:00
ariel- ce9d46b7d3 Core/Scripts: fix a failed assertion crash in Master's Call script
Closes #18316
Closes #18318
(cherry picked from commit 0f649d51e94794bbd3b54d9e83a2cc1fa09f4bbe)
2018-03-11 16:42:43 +01:00
Keader 75f36787d2 Core/Scripts: Black Temple misc codestyle and unit state casting check (#18333)
(cherry picked from commit 87977b00d3f040c5a52b5bba6fc5e04d6a4d7385)

Core/Scripts: Partial Revert in 87977b00d3f040c5a52b5bba6fc5e04d6a4d7385 misunderstand concept. (#18334)
Sorry for the mess
(cherry picked from commit cd687fb36dead14f5ae34b293a37488cc250d375)
2018-03-11 16:42:32 +01:00
DoctorKraft 58930d273f Core/Players: Fixed mounts using MOUNT_FLAG_SELF_MOUNT flag (#21558) 2018-03-05 19:20:42 +01:00
Mihapro 16a7a414ab Core/Creatures: Updated power type handling (#20981)
Closes #17476
Closes #12487
2018-03-04 12:48:22 +01:00
joschiwald 1bd01eaab8 Core/Spells: Fixed Lay on Hands not triggering Forbearance on target 2018-02-24 16:43:47 +01:00
Shauren 8467503b90 Core/MMaps: Remove phased tile support
* Extremely slow
* Needs to be implemented partially in tools
* Conflicts with upcoming phasing rewrite
2018-02-20 22:33:38 +01:00
vincent-michael c0abcc838b Scripts/BlackTemple: Fixed non pch build 2018-02-12 19:34:24 +01:00
joschiwald 5f46b1e91d Fixed build 2018-02-11 16:52:46 +01:00
Keader 9c6a43327f Core/Scripts: Teron Gorefiend encounter rewrite (#18263)
(cherry picked from commit 109174146cb6b54b6f33cb51983671e5e51d95a2)
2018-02-11 16:37:10 +01:00
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