Commit Graph

15563 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
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
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
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
Shauren
c9fe75d57c Core/Transmog: Missed part of fd73bedd73 2017-08-24 22:43:37 +02:00
Golrag
fd73bedd73 Core/Transmog: Implemented transmog sets
Closes #20133
Closes #20135
2017-08-24 20:39:22 +02:00
Shauren
a93a5ad379 Core/Players: Implemented proper facial hair validation 2017-08-23 20:50:41 +02:00
Shauren
2d0e653866 Core/Players: Fixed appearance validation
Closes #20090
2017-08-23 17:36:17 +02:00
Shauren
cdd76f31cb Core/Items: Minor changes to transmog checks - only use ItemTransmogrificationSlots for armor, weapons are checked separately anyway 2017-08-22 21:39:42 +02:00
Gacko
7cffde8dd6 Fix non-PCH build. 2017-08-22 21:30:25 +02:00
Krudor
28ec50b053 Scripts/Firelands: Baleroc
Closes #17527
2017-08-22 18:28:07 +02:00
ariel-
ec3dc0a431 Core/Misc: fix interaction of spells like Shadowmeld with Threat reducing effects
- SPELL_AURA_MOD_TOTAL_THREAT should be temporary and not added/subtracted from total, only computed
- Cleanup of reference related code
- Kill getLast() and reverse iterator obsevers, LinkedList iterator can't be used as a standard reverse_iterator (ie with operator++). They weren't used anyways

(cherry picked from commit 3b6fd226be)

# Conflicts:
#	src/server/game/Combat/ThreatManager.cpp
#	src/server/game/Loot/LootMgr.h
2017-08-21 21:49:36 +02:00
joschiwald
ab916fd1b3 Misc: Fixed gcc warning 2017-08-21 21:40:40 +02:00
Naios
49ff1736ea Core/Grids: Allow arbitrary containers in grid searchers that support push_back
* Makes it possible to use vector and dequeue with grid searchers.

(cherry picked from commit 8775f8b28a)
2017-08-21 21:39:58 +02:00
Kittnz
2a3a68dfab Core/Event: Fix Brewfest Music
Was only playing the same song over and over again.

(cherry picked from commit 3eacc25e5d)
2017-08-21 21:19:52 +02:00
ariel-
2e0d3d25ff Core/Unit: implemented crit suppression
Thanks Riztazz for the infos :P

(cherry picked from commit 8a82a3ba81)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
2017-08-21 21:11:05 +02:00
roc13x
87d1d72d09 Core/Instances: Prevent possible minion crash 2017-08-21 09:05:01 +02:00
roc13x
503a382804 Core/Instances: Fix loading entrance location 2017-08-21 09:05:01 +02:00
roc13x
0bae7d6918 Core/RBAC: Fix changing security level 2017-08-21 09:05:01 +02:00