Commit Graph

15684 Commits

Author SHA1 Message Date
Shauren
331c70e695 Core/Players: Fixed DK runes and runic power
Closes #19595
2017-11-12 02:42:06 +01:00
Shauren
bf0ae32d18 Core/Commands: Added .modify power command allowing to change any power as long as player class can use it
* Power names are taken from PowerType.db2 (lowercase, using _ is optional)

Closes #20833
2017-11-11 22:41:05 +01:00
joschiwald
d947ba4292 Fixed build 2017-11-11 21:54:08 +01:00
joschiwald
eac1648181 Fixed cherry pick fail in c6881bd8a4 2017-11-11 21:45:41 +01:00
Shauren
f2a3382c8d Core/Transports: Added extra transport position update just when it stops moving
Closes #17952
(cherry picked from commit b88cecb656)

Core/Transports: Fixed crash added in b88cecb656
(cherry picked from commit d68d99d182)
2017-11-11 21:15:58 +01:00
Snapper
d25a8d42a3 Core/GameObjects: Handle despawning and respawning of nearby linked traps on gameobject despawn and respawn
Closes #12139
Closes #17553

(cherry picked from commit 5d9d25d596)
2017-11-11 21:06:58 +01:00
Shauren
c6881bd8a4 Core/GameObjects: Fixed Frozen Trap target selection
Closes #14238
Closes #17517

(cherry picked from commit f0ab95f19c)
2017-11-11 21:05:20 +01:00
ariel-
52e71c1723 Core/Spells: workaround stealth interaction with Death and Decay and GameObject casts
Closes #10179
Closes #16154

(cherry picked from commit b3a4815067)
2017-11-11 20:59:12 +01:00
ariel-
d56f65eb34 Core/Unit: send original caster in heal packet log
(cherry picked from commit a9921a5dd7)
2017-11-11 20:49:26 +01:00
SnapperRy
cc44c5f349 Core/SAI: reset event phase when calling SMART_ACTION_CALL_SCRIPT_RESET.
Now it really does what it says on the tin.

(cherry picked from commit c189e27f39)
2017-11-11 20:47:26 +01:00
SnapperRy
7666fbae3e Script/Quest: improvements for Shizz Work:
- Proper cosmetic effects for Fel Guard Hound.
- Spell cast when looting the Felhound Poo.
- Felhound Poo now always contains loot.

(cherry picked from commit 2729eb156f)
2017-11-11 20:44:25 +01:00
SnapperRy
ece0c955fc Codestyle.
(cherry picked from commit ec023c3032)
2017-11-11 20:05:40 +01:00
Aokromes
853df91048 Core/Misc: Update locales_gossip_menu_option to simple system 2017-11-10 00:41:32 +01:00
joschiwald
d647e9aa35 Fixed warning 2017-11-06 21:23:40 +01:00
Paul
733441922b Scripts/Spells: warrior Mortal Strike & Colossus Smash Effect (#19332) 2017-11-05 20:25:41 +01:00
funjoker
c77e76fa61 Core/Gameobject: Add WorldEffectID to Gameobject (#20785) 2017-11-05 20:24:45 +01:00
joschiwald
983b0a5fcf Fixed non-pch build 2017-11-05 18:37:22 +01:00
funjoker
6b1f8f3358 Core/Entities: Added DB-support for conversation actorGuids (#20757) 2017-11-05 18:23:27 +01:00
ariel-
5f3434387e Core/Auras: only apply shapeshift aura passives when changing forms
Closes #14845
Closes #17617

(cherry picked from commit eb093c1538)
2017-11-05 13:02:59 +01:00
ariel-
ceb7c04827 Core/Player: cleanup single target auras on spec switch
Closes #806

(cherry picked from commit 9f72f4ceb2)
2017-11-05 13:01:17 +01:00
ariel-
f895defe99 Core/Spells: require phaseMask set for trap activation procs
(cherry picked from commit 1df8ca7fe3)
2017-11-05 12:58:05 +01:00
ariel-
4c5815600f Core/Unit: allow pets and totems to drop mod charges in owner auras.
Needed for Cobra Strikes (re)implementation

(cherry picked from commit 51e4983422)
2017-11-05 12:49:05 +01:00
SnapperRy
0afa672077 Core/Script: Messenger Torvus.
(cherry picked from commit 924cdb9a11)
2017-11-05 12:46:29 +01:00
joschiwald
898bb16431 DB: Fixed some startup errors 2017-11-05 12:33:07 +01:00
SnapperRy
9a31e7d71f DB/SAI: Zebu'tan and Alys Vol'tyr's conversations.
Also add forgotten creature_template change in 145bf1d.

(cherry picked from commit b52e774ccf)
2017-11-05 11:37:18 +01:00
ariel-
e4bb4842b5 Core/Unit: fix logic error in DamageInfo::ModifyDamage.
Previous code did not protect against m_damage underflow, rather only allow up to duplicate damage.
It now should work as intended.

Closes #18154
(cherry picked from commit 7ced76bab2)

Core/Unit: fix warning reported by VS2015

C4146: unary minus operator applied to unsigned type, result still unsigned
(cherry picked from commit 7b1a0c3698)

Core/Unit: consistency fix
(cherry picked from commit 042023877a)
2017-11-05 11:30:58 +01:00
ariel-
5f69b27920 Core/Auras: allow damage from periodics to trigger auras if they're not fully resisted/absorbed
(cherry picked from commit 5278577587)
2017-11-05 11:11:37 +01:00
SnapperRy
748aab737f Core/SAI: remove wrong DB errors.
It is normal to have events applicable only to certain instance difficulties.

Closes #18082.

(cherry picked from commit c42e32e7e4)
2017-11-05 11:03:57 +01:00
Aokromes
fadc482c37 Core/Misc: Update locales_creature_text to simple system 2017-11-04 04:19:21 +01:00
Aokromes
6acb2d0331 Core/Spell: Fix typo on documentation
By Mihapro
2017-11-02 19:52:47 +01:00
Duarte Duarte
7cbb70affc Scripts/Fireland: Fix static analysis issues CID 1379866 and CID 1379865 (#20746) 2017-11-02 10:12:08 +00:00
joschiwald
cd6adad7ae Core/Spells: Updated diminishing returns 2017-10-31 18:28:10 +01:00
Duarte Duarte
42321babe6 Scripts: Fix static analysis issues CID 1379870 and 1367941 (#20747) 2017-10-30 21:27:55 +01:00
Aokromes
1f5c4df4d5 Scripts/Scholomance: Lady Illucia Barov spell corrections 2017-10-30 12:36:34 +01:00
Shauren
99f5d06149 Core/Taxi: Apply reputation discount to all points in multi-segment paths 2017-10-29 18:53:16 +01:00
Shauren
d7e463dd9f Core/Taxi: Fixed applying reputation discount to first taxi segment
Closes #20713
2017-10-25 18:33:52 +02:00
Shauren
b8dc4df220 Really fix b5b03a7be0 2017-10-21 00:28:57 +02:00
Duarte Duarte
b5b03a7be0 Core/ObjectMgr: Replace ABORT() with defaulting to faction 35 when faction template does not exist in DB (#20655) 2017-10-19 22:59:02 +02:00
Shauren
83d3c117f9 Core/Players: Fixed possible null pointer dereference
CID 1162625  1377294 1377297
2017-10-18 23:14:07 +02:00
Shauren
cd3feb00d5 Core/Bnet: Fixed another uninitialized variable (just to shut up static analysis tools, its never uninitialized when used) 2017-10-17 22:40:25 +02:00
ariel-
3447b2790d Core/Unit: CalculateMeleeDamage should use unmodified damage to compute HitInfo
d3a71a8338 follow-up

(cherry picked from commit 8da43fb7c7)
2017-10-15 17:28:02 +02:00
joschiwald
9c615059f8 Fixed build 2017-10-15 17:22:30 +02:00
ariel-
fe2e3b67a8 Core/Spells: use DamageInfo struct to calc spell absorbs and resists, and use calculated proc hitMask on aura ticks
Closes #18135

(cherry picked from commit d3a71a8338)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/scripts/Commands/cs_misc.cpp
2017-10-15 16:59:56 +02:00
ariel-
8cc9360da6 Core/Globals: abort server startup if there are wrong factions in DB
Closes #18127

(cherry picked from commit d66a809b8e)
2017-10-15 16:59:55 +02:00
ariel-
175bc752e8 Core/Unit: fix chain cc's not being diminished properly
Logic fail in 9b0fa51022 (now diminishing info is always initialized)

(cherry picked from commit 2f03d502f3)
2017-10-15 16:59:55 +02:00
ariel-
54c0a01062 Core/Spells: moved handling of SPELL_ATTR0_CU_DONT_BREAK_STEALTH inside proc system.
Fixes additional issues with spells that shouldn't be breaking stealth and had this attribute

(cherry picked from commit bea0c01964)
2017-10-15 16:59:54 +02:00
Keader
bc9b3b4928 Scripts/Trial of the Crusader: Fixed crash in Snobold Vassal script (#18124)
Closes #18122

(cherry picked from commit cdc5a36dbb)
2017-10-15 16:18:21 +02:00
ariel-
dc6eef8027 Core/Unit: prematurely abort GetFactionTemplateEntry instead of returning a null pointer
Factions should never be invalid for players/spawned creatures anyways

Ref #18113

(cherry picked from commit 5f580c9d3d)
2017-10-15 16:16:06 +02:00
SnapperRy
25c7849262 Script/Spell: remove cosmetic effect for Water Bucket item at login if it expired after the player logged out.
(cherry picked from commit 16cfd59f5b)

Add forgotten override.
(cherry picked from commit c6f94ba42e)

Fix non-PCH build.
(cherry picked from commit 02cea9c0ba)
2017-10-15 16:13:44 +02:00
Ivan Bakula
08c45b48c5 Core/Arena: Fix lag caused by arena distribution (#17989)
Avoid queueing unneeded queries to save arena teams and arena team members data if nothing was changed during that week.

(cherry picked from commit 3f3dee8049)
2017-10-15 16:11:11 +02:00