Commit Graph

23388 Commits

Author SHA1 Message Date
Golrag
96f0086860 Core/Quests: Sync QuestFlags with WPP (#20285) 2017-09-08 15:59:42 +02:00
Shauren
8023905611 Core/Spells: Fixed typos in spell script validators 2017-09-06 23:16:36 +02:00
joschiwald
26f65ec1d2 Core/Packets: Enabled CMSG_CLOSE_INTERACTION, thanks @Rochet2
Closes #20235
2017-09-06 18:36:29 +02:00
joschiwald
2c4246f341 Fixed build 2017-09-06 16:10:32 +02:00
Kittnz
a755a78f9c Core/Event: Change Midsummer Music container to vector
(cherry picked from commit e0c2482fa1)
2017-09-06 16:04:47 +02:00
Kittnz
c41a4f39f6 Core/Event: Change Midsummer Music to search grid only
(cherry picked from commit 30a3a93ef9)
2017-09-06 16:04:23 +02:00
SnapperRy
a2fce3a486 Script/Creature: Scarshield Infiltrator/Vaelan.
(cherry picked from commit fdc4ab4ab4)
2017-09-06 16:01:55 +02:00
ariel-
d7c85d7193 Core/SmartScripts: fixup SMART_EVENT_FLAG_WHILE_CHARMED behaviour to only mean charmed creatures (#17738 follow-up)
Unit::IsControlledByPlayer is a expected value for TempSummons (like some triggers used in quests, summoned by spells).
Previous logic broke a lot of quests which use triggers to do stuff.

Allow JustSummoned and events linked from other events with flag set also in charmed (prevents breaking event chains)
Allow vehicles (needed for vehicles with SmartAI, eg Iron Rune Constructs and You: Rocket Jumping)

(cherry picked from commit 3e596376a7)
2017-09-06 15:35:04 +02:00
ariel-
6ea0095817 Core/Unit: disallow parry for totems
(cherry picked from commit b1777979c3)
2017-09-06 13:36:06 +02:00
ariel-
49648b6681 Core/AI: added container independent wrappers for WorldObject::GetxxxInGrid
(cherry picked from commit 271dd0788d)
2017-09-06 13:36:05 +02:00
ariel-
f3e4f322b2 Core/Entities: fix dynamic linking
(cherry picked from commit 4b5350c0a6)
2017-09-06 13:36:05 +02:00
SnapperRy
36b84462f0 Core/Item: fix wrong error message triggered when trying to equip two items with the same ItemLimitCategory.
(cherry picked from commit f9068a02f0)
2017-09-06 13:36:05 +02:00
ariel-
0d22e4f3f4 Core/Entities: extend available containers for WorldObject::GetxxxInGrid
(cherry picked from commit 1667dd3b7a)
2017-09-06 13:12:41 +02:00
ariel-
a6c0bf0099 Core/Scripts: Fix runtime error
(cherry picked from commit 4a1f6eb3b1)
2017-09-06 13:08:54 +02:00
ariel-
56be2b47ce Core/Spell: do not automatically set proc Family Name if no Family Flags present
Closes #18075

(cherry picked from commit 8167d6d4a0)
2017-09-06 12:57:15 +02:00
ariel-
42656c8fd0 Core/Spells: fix auto repeat spells triggering auras
Auto repeat spells are casted as triggered and didn't register procs properly if the aura can't proc with triggered

(cherry picked from commit aaa1a43204)
2017-09-06 12:45:40 +02:00
ariel-
9106c0f272 Core/Auras: don't ignore SPELL_ATTR3_ONLY_TARGET_PLAYERS in area auras.
Also, start abusing the arbitrary containers for searchers introduced in 8775f8b28a

(cherry picked from commit 449ec0d6ff)
2017-09-06 11:06:03 +02:00
Shauren
09d6cc4601 Core/Items: Defined all item flags
(partial cherry picked from commit 1c7f099297)
2017-09-06 10:47:27 +02:00
SnapperRy
27b0905594 Core/Loot: limit unique items check introduced in ea69115 to affect only items that start a quest.
Turns out epic and legendary items are excluded from this limitation (or it could be just instanced content that is immune to this). Other qualities are affected as normal. Sorry for the mishap.

(cherry picked from commit fffeae0da2)

Core/Loot: revert unique item check introduced in ea69115.

Proven to be wrong in its current form. Will reintroduce later either in the same method or via db conditions.
(cherry picked from commit 41445e0d3e)
2017-09-06 10:38:52 +02:00
Shauren
30ff2620c2 Core/Spells: Add missing SpellFamilyFlags to priest and monk variants of Gift of the Naaru
* Fixes quest Rescue the Survivors

Closes #20240
Closes #20245
2017-09-05 22:05:29 +02:00
SnapperRy
65077985e0 Script/Quest: Apply Heat and Stir.
Enjoy one of the most frustrating quests in Northrend!

(cherry picked from commit 387b18775d)
2017-09-05 19:34:49 +02:00
ariel-
63b2551870 Core/Creature: Call SetSpawnHealth after JustReachedHome in HomeMovementGenerator
Fixes issues with quests that rely on this behaviour (eg Free your Mind)

Also updated SetSpawnHealth so it doesn't do anything in case spawn is manual (SetHealth(GetHealth()) does modify things depending on deathstate)

(cherry picked from commit b8a1a18a5a)
2017-09-05 19:19:37 +02:00
ariel-
f65897f3be Core/SmartAI: There's a function for that
(cherry picked from commit e2a8cf6809)
2017-09-05 19:19:21 +02:00
joschiwald
187addf77b Fixed warning 2017-09-05 17:32:53 +02:00
SnapperRy
8cb5368062 Core/SAI: don't reset event phase when npc evades/resets.
The scripts themselves should take care of that.

(cherry picked from commit 5267381e39)
2017-09-05 12:14:15 +02:00
ariel-
0b4088fdb8 Core/Spell: Fix 2 more off by one probability calc and duplicated logic in spell hit roll
(cherry picked from commit 4cdbc1a09b)
2017-09-05 12:14:01 +02:00
ariel-
f7263b6d4b Core/Auras: moved check for CC auras out of proc handler, and fixed its logic
(cherry picked from commit 86903f7015)
2017-09-05 12:04:42 +02:00
ariel-
b86150352d Core/Scripts: added missing null checks for DamageInfo struct
(cherry picked from commit 666422d827)

# Conflicts:
#	src/server/scripts/Spells/spell_dk.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
2017-09-05 11:57:29 +02:00
SnapperRy
d9ababbc2c Core/Wintergrasp: fix ownership of workshops at the beginning of a new battle.
Those two, together with the two workshop in the Keep, always belong to the defender team. The SouthEast and SouthWest ones always belong to the attacker team.

(cherry picked from commit b8bb1545ec)
2017-09-05 11:49:50 +02:00
SnapperRy
fa06aad708 Core/Wintergrasp: cleanup and codestyle.
(cherry picked from commit eb1a7297cf)
2017-09-05 11:43:29 +02:00
jackpoz
1fed5d571a Scripts/Azjol-Nerub: fix static analysis issues
(cherry picked from commit 2edfedc2b6)
2017-09-05 11:21:19 +02:00
Kittnz
58fa54801f Core/Scripts: Initialize rnd and remove where it was not needed
(cherry picked from commit eee7fa3fa7)
2017-09-05 11:20:44 +02:00
Kittnz
bd938d643d Core/Event: Pirate Day Music during the event
(cherry picked from commit 963278459a)
2017-09-05 11:10:56 +02:00
Kittnz
8fb07040ac Core/Event: Add Darkmoon Fair Music during the event
(cherry picked from commit e3560f3f51)
2017-09-05 11:05:51 +02:00
Kittnz
c06d6b290e Core/Event: Add Midsummer Music during the event
(cherry picked from commit 19f8acdb61)
2017-09-05 10:42:08 +02:00
SnapperRy
37d6c2bfff Battlefield/Wintergrasp: improvements:
- Move Wintergrasp Keep guard spawns from core to db, removing all duplicates in the meanwhile.
- Add Alliance Brigadier General inside the relic room.

Closes #7593.
(cherry picked from commit a0c9d33ed6)

Remove unused variable.
(cherry picked from commit 7ce3811913)
2017-09-05 10:39:08 +02:00
SnapperRy
62728e7ea5 Core/Wintergrasp: fix Defend the Siege quests.
Closes #7953.

(cherry picked from commit d72b025fcb)
2017-09-05 10:30:22 +02:00
Shauren
99346b78c5 Core/Spells: Fixed calculating spell value for spells with SPELL_ATTR10_USE_SPELL_BASE_LEVEL_FOR_SCALING
Closes #19987
2017-09-04 00:09:37 +02:00
Shauren
59e9bb4224 Core/Spells: Renamed spell attribute 2017-09-03 23:48:07 +02:00
Shauren
52c7f12ed3 Core: Fix Winstantiation-after-specialization warnings
Closes #20211
2017-09-02 01:06:10 +02:00
Shauren
cbd1c09267 Nopch fix 2017-09-01 23:50:02 +02:00
Shauren
32f18d05ae Core/Spells: Immortal specialization series part 3 - fixed Warlock Mastery: Chaotic Energies damage taken portion
Closes #20195
2017-09-01 23:41:55 +02:00
Shauren
c2f4a7a17e Core/Spells: Removed unexplainable duration limit from SpellInfo::GetMaxTicks
how is a number greater than 30000 200% larger than ...? larger than what
2017-08-30 23:35:55 +02:00
Shauren
c072cfed79 Core/Spells: Removed old Spirit of Redemption code 2017-08-29 23:27:52 +02:00
Shauren
9d29c002ef Core/Spells: Fixed Spirit of Redemption
* No more immortal priests either
2017-08-28 23:43:57 +02:00
joschiwald
db14582918 Core/Spells: Removed obsolete spell fixes 2017-08-27 14:59:18 +02:00
Shauren
bf892de95c Warning fix 2017-08-27 14:52:15 +02:00
Shauren
5774e926d9 Core/Spells: Fixed mage Cauterize
* No more immortal fire mages
2017-08-27 11:28:08 +02:00
joschiwald
aca16d22e1 Fixed build 2017-08-26 23:55:07 +02:00
ariel-
b362788754 Core/Auras: prevent stack overflow while processing SPELL_EFFECT_ADD_EXTRA_ATTACKS
(cherry picked from commit b93ee312fa)
2017-08-26 23:49:15 +02:00