Commit Graph

23743 Commits

Author SHA1 Message Date
xinef1
044a38629e Core/Movement: Typo fix for falling to void case (#18611)
(cherry picked from commit 3ea9f3b0e2)
2018-03-18 00:19:40 +01:00
Keader
236aea4dde Core/Scripts: Added missing spells in Skeram (#18486)
(cherry picked from commit 5f44890049)
2018-03-18 00:19:39 +01:00
Kittnz
61a838b599 Core/SmartScript: update ACTION_GO_SET_GO_STATE
GO_STATE_ACTIVE             = 0,                        // show in world as used and not reset (closed door open)
GO_STATE_READY              = 1,                        // show in world as ready (closed door close)
GO_STATE_ACTIVE_ALTERNATIVE = 2                         // show in world as used in alt way and not reset (closed door open by cannon fire)

Credits to Sunwell
(cherry picked from commit 072ea761c6)

Tabs
(cherry picked from commit 65e84d2f0a)
2018-03-18 00:19:39 +01:00
Kittnz
88ba95e07d Core/Events: Fixed logic for Fireworks Show at New Years Adjustments
591fba5810
2018-03-18 00:19:39 +01:00
Kittnz
53339c4312 Core/Events: Adjust timings and occurrence for Fireworks Show at New Years Eve
(cherry picked from commit ef4b8da56b)
2018-03-18 00:19:39 +01:00
xinef1
10af748969 Core/Units: Fixed bug in stun code making units summoned by npcs to never break out of stun (#18612)
(cherry picked from commit 7c3961244d)
2018-03-18 00:19:36 +01:00
xinef1
f44572ce56 Core/Units: Fixed exploit where killing tamed pet could yield emblems (#18605)
(cherry picked from commit 2aae46ad49)
2018-03-18 00:19:36 +01:00
sirikfoll
ab3a4bde4e Core/Ruby: Minor fixes in Halion encounter
* Some codestyle fixes
* Fixed wrong Halion summon with Hotswap system
* Fixed evade issue
* Fixed emblem frost exploit

(cherry picked from commit 0b33a8281f)
2018-03-18 00:19:32 +01:00
Keader
7a1f2bf873 Core/Ulduar: Fixed XT002 Heart phase
Closes #18557
Thanks to xinef1
* Fixed Heart Phase
* Fixed Combat bug with Heart after wipe
* Added DespawnAtEvadeMethod

(cherry picked from commit 554c28d56b)
2018-03-18 00:19:32 +01:00
Roc13x
4f2660779f Core/Channels: Fix channel joins/changes (#21645) 2018-03-17 12:47:48 +01:00
Shauren
5bd61e91bf Core/Misc: Graveyards can now use conditions, SourceType = 27, SourceEntry = graveyard_zone.ID 2018-03-14 23:31:49 +01:00
Aokromes
bc88d3bc15 Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug:
 * rev. hash
 * versions of mysql, openssl, boost, cmake
 * info about autoupdater
 * info about ports (realmlist and current)
 * vmap/map/mmap status and folder sizes
 * available DBC locales
 * TDB version

cherry pick of d18f8b94b0

Running this command when reporting bugs is MANDATORY (you can censor paths)
2018-03-14 11:41:09 +01:00
Shauren
007b5a68c5 Core/DataStores: Fixed db2 structures after 7.3.5 2018-03-12 23:11:49 +01:00
Gacko
50a912af72 Fix non-PCH build #2. 2018-03-12 23:02:38 +01:00
Gacko
beda9098c6 Fix non-PCH build. 2018-03-12 22:55:18 +01:00
Keader
f80d80401b Core/Scripts: Fixed Suppresser behavior in Valithria Dreamwalker encounter
Closes #18530
* Fixed range issue
* Fixed weave spawn when Summon Timmer Suppresser(70912) is casted
* Fixed spawn count
(cherry picked from commit dbd567799f)
2018-03-12 16:43:14 +01:00
Keader
fd6bcdce98 Core/Scripts: Mother Shahraz encounter rewrite (#18446)
(cherry picked from commit c2dace57db)

Rename SQL file
(cherry picked from commit ffbc016d44)
2018-03-12 16:39:46 +01:00
Keader
099e652125 Core/Scripts: Minor fixes in Baltharus The Warborn (#18550)
* go away travis

(cherry picked from commit dd95c4450a)
2018-03-12 16:39:46 +01:00
sirikfoll
2378266acd Scripts/Events Implement Pilgrim's Bounty Bountiful Table
(cherry picked from commit 75df296bb6)

Rename SQL file
(cherry picked from commit 13031f300f)
2018-03-12 16:39:45 +01:00
Keader
8b601fadfe Core/Scripts: Black Temple - added comments in all SpellScripts (#18494)
(cherry picked from commit c809c220e2)
2018-03-12 16:39:45 +01:00
ariel-
8da5e22e01 Core/Spell: fix for hitmask being ignored in finish phase procs
(cherry picked from commit a7e136f9e3)
2018-03-12 16:39:44 +01:00
ariel-
5563f57ce6 Core/Script: Implement Paralytic Poison
Closes #16905
(cherry picked from commit 4e3ce0463c)
2018-03-12 16:39:43 +01:00
ariel-
b80600f88a Core/Spell: add an exception for Cyclone ignoring it's own immunity using dispel type
- Unsure of what is the correct check, most generic thing I could make

Closes #18479
(cherry picked from commit 452ef146f4)
2018-03-12 16:39:43 +01:00
ariel-
c29e25edfa Core/Player: prevent early aura removal when swapping weapons
Closes #18428
(cherry picked from commit 7e83d7e22a)
2018-03-12 16:39:42 +01:00
ariel-
6d060bbea8 Core/Chat: fix RBAC_PERM_COMMANDS_NOTIFY_COMMAND_NOT_FOUND_ERROR for subcommands
Ref #18463
(cherry picked from commit eb376f4b7e)
2018-03-12 16:39:42 +01:00
ariel-
8c83706114 Core/Misc: readd some codestyle changes inadvertently reverted
- Ref commit 6dc37a9add
(cherry picked from commit e1a2b1a813)
2018-03-12 16:39:41 +01:00
ariel-
536ae257c9 Core/Spell: partial revert of SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE immunity handling
- Bonus: without breaking Banish... yay!
Closes #18370
(cherry picked from commit 560c882b36)
2018-03-12 16:39:40 +01:00
Keader
0449d3a836 Core/Scripts: Reliquary of Souls Rewrite
(cherry picked from commit 02f18419f5)

Update boss_reliquary_of_souls.cpp
(cherry picked from commit ff6c48732d)

Core/Scripts: Fixed Reliquary of Souls Boundary (#18470)
Followup 02f18419f5
(cherry picked from commit 4582cfcecd)
2018-03-12 16:39:40 +01:00
ariel-
e560374b8b Core/Unit: feral druid attacks should not be normalized
Closes #18460
(cherry picked from commit bad4b059c8)
2018-03-12 16:39:39 +01:00
ariel-
f20e53c138 Core/Entities: Replace existing GetAuraEffectsByType + iteration uses with proper helper functions
(cherry picked from commit 3a52ad8d38)
2018-03-12 16:39:39 +01:00
ariel-
edc68f719c Core/Unit: added GetTotalAuraXXX overloads taking a predicate
- Redefined existing overloads to use the predicate logic, avoids code duplication and not checking same stack rules
(cherry picked from commit 8b0122e7ed)
2018-03-12 16:39:38 +01:00
ariel-
fba0e6b278 Core/Unit: added missing nullptr check in IsImmunedToSpellEffect
Closes #18461
(cherry picked from commit 0b30693680)
2018-03-12 16:39:38 +01:00
ariel-
5e0e5a5573 Core/Entities: don't absolute compare positions on UpdatePosition
Closes #18415
(cherry picked from commit 45f8135ac4)
2018-03-12 16:39:37 +01:00
ariel-
f07a746321 Core/Spell: improved immunity logic for dispels
(cherry picked from commit 01d272d6cb)
2018-03-12 16:39:37 +01:00
ariel-
8864a03802 Core/Spell: Undefined SPELL_ATTR7_USABLE_IN_STUN_FEAR_CONFUSION attr for now
- Some function renames
- Used in some client checks but not 100% sure of its usage (eg in CGUnit_C::CheckAndReportSpellInhibitFlags but not in  Spell_C::IsUsableAction)
Closes #18366
(cherry picked from commit 77a08ad73c)
2018-03-12 16:39:35 +01:00
ariel-
b9389a5102 Core/Unit: unambiguosly define PLAYER_FIELD_MOD_DAMAGE_DONE_ fields as signed
- They were used both signed and unsignedly
- Bonus: some magic number removal with enums
(cherry picked from commit ed5aa40929)
2018-03-12 16:39:34 +01:00
ariel-
749f3422bb Core/Spell: do not downscale certain auras
(cherry picked from commit fc1c15781a)
2018-03-12 16:39:34 +01:00
ariel-
20c9486ab0 Revert "Core/Spell: Magic Absorption Calculation"
This reverts commit fb52e69169.
(cherry picked from commit 343c2fbf52)
2018-03-12 16:39:33 +01:00
Keader
d899b58161 Core/Scripts: Professor Putricide - Fixed Tear Gas spell sometimes dont casted in phase transitions (#18425)
Closes: #7972
(cherry picked from commit 973f6b04ed)
2018-03-12 16:39:33 +01:00
Kittnz
ce007fef0a Core/Event: Add Fireworks Spectacular (4th of July) & New Year's Eve event!
(cherry picked from commit 8f674e83a0)

Update 2016_12_07_01_world_335.sql
(cherry picked from commit d29221eda2)

Fix pch
(cherry picked from commit 643b196180)

Fix pch - second attempt
(cherry picked from commit c08b11ccef)
2018-03-12 16:39:32 +01:00
Keader
4c8f4cb372 Core/Scripts: Rewrite Magtheridons Lair (#18330) 2018-03-12 16:39:32 +01:00
ariel-
301a0e8681 Core/SpellMgr: added a startup error for possibly unhandled procs
(cherry picked from commit 3d5c1b83b1)
2018-03-12 11:17:56 +01:00
ariel-
4e08ab8f69 Core/Auras: calculate periodic bonuses before specific mods, fixes Imp. Devouring Plague damage
(cherry picked from commit bd49d37258)
2018-03-12 10:32:06 +01:00
Gustavo
bc87d3a2b3 Core/Misc Remove WhiteSpaces (#18379)
(cherry picked from commit 7e0a616657)
2018-03-12 10:32:05 +01:00
Chaouki Dhib
91a70f9aa2 Core/Movement: minor MotionMaster refactor (#18367)
(cherry picked from commit eca3645d8b)
2018-03-12 10:32:04 +01:00
ariel-
ec5d778e10 Core/Spells: fix a pretty edge case of creatures being put in combat by evaded spells
(cherry picked from commit 343419ab99)
2018-03-12 10:32:01 +01:00
ariel-
4889d78c1a Core/SAI: restore deleted line in 28050f338d
(cherry picked from commit 80073bc368)

Field left uninitialized. Caused weird evade behaviour
2018-03-12 10:31:56 +01:00
ccrs
1ed65753df Scripts/BlackTemple: minor cleanup and corrections after recent PRs
plus a ninja tabs to spaces cleanup
(cherry picked from commit 4bc60e650d)

Scripts/BlackTemple: 4bc60e650d followup
(cherry picked from commit 62e97c4551)

Scripts/BT: Fix noPCH build
(cherry picked from commit 8a7b0f198c)
2018-03-12 10:31:53 +01:00
ariel-
8491172cd4 Core/Spells: proc spells after damage apply, not before. Fixes #13025
(cherry picked from commit 0229cb865e)
2018-03-11 17:08:50 +01:00
Kittnz
a82406b9d6 Core/Scripts: Drake Hunt
(cherry picked from commit 1553cc02fb)

Fix build
(cherry picked from commit 2cac8e43a5)

DB: fix error
(cherry picked from commit 0663e6a180)
2018-03-11 16:47:20 +01:00