Commit Graph

31072 Commits

Author SHA1 Message Date
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
SnapperRy
d7b9e55aed DB/Gossip: fix gossip for creature Jack Adams.
Involved in quest Gambling Debt (Part 2).
(cherry picked from commit f64041e602)
2017-09-05 19:29:33 +02:00
SnapperRy
013067edef DB/Conditions: spells Plagued Blood Explosion and Arcane Charges can only hit certain mobs.
(cherry picked from commit 407983f3a3)
2017-09-05 19:27:21 +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
Killyana
b3619dd3c9 DB/Gameobject: Fix respawn time for some objects
By Tauriella
Closes #18066

(cherry picked from commit 2fc9f61409)
2017-09-05 19:16:21 +02:00
joschiwald
187addf77b Fixed warning 2017-09-05 17:32:53 +02:00
SnapperRy
8c000605e3 DB/Misc:
- Quest Nessa Shadowsong and following steps are only available to Night Elves.
- Fix offer reward text for quest Elanaria.
- NPC Webwood Spider should be neutral.
- Small cosmetic fix for quest Force Commander Danath's end event.
- Prevent NPCs Gnarlpine Shaman and Elder Timberling from spamming healing spells.
(cherry picked from commit 04618be427)
2017-09-05 12:20:59 +02:00
Killyana
fd7484bf7f DB/Quest: ... Or Maybe We Don't
(cherry picked from commit 0ecb8836e2)
2017-09-05 12:17:50 +02:00
SnapperRy
d1c52c1403 DB/SAI: fix quest Gambling Debt (Part 1).
Closes #18063.

(cherry picked from commit 173b33ab73)
2017-09-05 12:16:56 +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
SnapperRy
0b37dc3c76 DB/Loot: Dustbringer.
(cherry picked from commit b60b0d927b)
2017-09-05 12:10:28 +02:00
SnapperRy
49c131a57e DB/Loot: Blacktip Shark.
By Exodius, untaught and tkrokli. Closes #9453.
(cherry picked from commit 4870e1265e)
2017-09-05 12:09:38 +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
SnapperRy
0961b17447 DB/Wintergrasp: availability of different No Mercy for the Merciless and Slay Them All! depends on who is currently holding the keep.
(cherry picked from commit dab2203c1b)
2017-09-05 11:25:35 +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
SnapperRy
8e3237724b DB/Wintergrasp: four more Horde guards in Wintergrasp Keep that should only appear when it is held by Horde.
(cherry picked from commit cf4a4382fa)
2017-09-05 11:16:27 +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
SnapperRy
f2179bdb83 DB/Quest: improvements for quests related to NPC Denalan:
- Timberling Sprouts requires Denalan's Earth rewarded.
- Fix offer reward text for Denalan's Earth.
- Improve scripts for end event of quests Denalan's Earth, The Shimmering Frond and The Glowing Fruit.
(cherry picked from commit 4ec50ecec5)
2017-09-05 10:29:00 +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
f487ae12bd Buildsystem: Default to RelWithDebInfo instead of Release 2017-08-31 18:10:59 +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
a834c66a4e Add missed sql 2017-08-28 23:45:12 +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
SnapperRy
e24976f813 DB/Gameobject: remove wrong "Greetings, $n" gossip from 256 questgiver gameobjects.
(cherry picked from commit 7d72366521)
2017-08-26 23:28:47 +02:00
ariel-
c7cd9102d3 Core/Globals: cache SpellSpecific and AuraState information instead of computing them each time they're needed
(cherry picked from commit ce45e1bf95)

# Conflicts:
#	src/server/game/Spells/SpellInfo.cpp
#	src/server/game/Spells/SpellInfo.h
#	src/server/game/Spells/SpellMgr.cpp
#	src/server/game/World/World.cpp
2017-08-26 23:23:32 +02:00
Shauren
ee0e9c8578 Core/Spells: Updated mage spell scripts 2017-08-26 23:04:57 +02:00
vincent-michael
6cae8a52a0 DB/Quests: Updated quest_template data for 7.2.5 part 11 2017-08-26 19:37:36 +02:00
joschiwald
f8e8daf9a8 Core/Spells: Fixed AuraEffect::CheckEffectProc for SPELL_AURA_MECHANIC_IMMUNITY, SPELL_AURA_MOD_MECHANIC_RESISTANCE and SPELL_AURA_MOD_CASTING_SPEED_NOT_STACK 2017-08-26 12:32:07 +02:00
Shauren
803c5fcc88 Core/Misc: Fixed sending "X" to parent terminal when shutting down with ctrl+c on windows
* Also fixed usage of FormatMessage - its number of characters written, not error code
2017-08-25 23:51:46 +02:00
joschiwald
1fef1c595b Scripts: Added missing delimiter to MinionData arrays 2017-08-25 22:22:17 +02:00