jackpoz
1ab8f0b00e
Core/Quest: Fix issues reported by static analysis
...
(cherry picked from commit 5b8b32dac7bd4071462aebdc94b2b3ae45e60b1e)
2016-01-15 20:35:24 +01:00
jackpoz
2f1bd93c9e
Core/Unit: Add Unit::KillSelf() overload
...
Add Unit::KillSelf() function as overload of Unit::Kill(this) . Use KillSelf() whenever the killer and the victim are the same to clearly state the Unit is going to kill itself.
(cherry picked from commit 3267c90102068ed88c0bd7146ae747fe8ba44771)
# Conflicts:
# src/server/game/AI/SmartScripts/SmartScript.cpp
2016-01-15 20:34:27 +01:00
Asterc
a0719b75f3
Correctly reset the redirected threat of the hunter's spell Misdirection in cases when it has RemoveMode AURA_REMOVE_BY_DEFAULT
...
Closes #15930
(cherry picked from commit f8f815dbc3a9ba7ab7fd0700722e4c589e88edff)
2016-01-15 20:33:34 +01:00
jackpoz
3f0026d8e7
Core/Quest: Fix issues reported by static analysis
...
(cherry picked from commit 1ddf44caf3b0c9af2cc4169b608f1801c2f6f52a)
# Conflicts:
# src/server/game/Quests/QuestDef.cpp
# src/server/game/Server/WorldSession.cpp
2016-01-15 20:32:56 +01:00
jackpoz
0c81c1c184
Core/Quest: Fix issues reported by static analysis
...
(cherry picked from commit bffaa92633937d220ab19f565faa5906995530a2)
# Conflicts:
# src/server/game/Entities/Pet/Pet.h
# src/server/game/Texts/CreatureTextMgr.cpp
2016-01-15 20:29:43 +01:00
jackpoz
700899e0e5
Core/Quest: Fix issues reported by static analysis
...
(cherry picked from commit f1f4005ad8a17ea5fdd2b66f8ed3d0bd7c4c1efb)
# Conflicts:
# src/server/game/Entities/Unit/Unit.cpp
# src/server/game/Entities/Unit/Unit.h
# src/server/game/Handlers/GroupHandler.cpp
2016-01-15 20:27:04 +01:00
DevRival
93952b77e2
Scripts/Spells: Hallow's End item Hallowed Wand
...
Hallowed Wand items should cast a transformation on party members.
by @DevRival, closes #3574
Before this patch, the following spells do not have any effect at all:
- 24717, Pirate Costume
- 24718, Ninja Costume
- 24719, Leper Gnome Costume
- 24720, Random Costume
- 24737, Ghost Costume
Details from testing on the current 3.3.5 branch (commit ecbbcc8):
- 24724 (Skeleton Costume) seems to work as intended
- 24733 (Bat Costume) only lasts 10 seconds instead of 60 minutes
- 24741 (Wisp Costume) also seems to work as intended
All the spells listed above are included in this PR.
(cherry picked from commit 3fdbcf18ae2eeb7a965a9b2dc4b7e22796aaceae)
2016-01-15 20:06:01 +01:00
MitchesD
43d5d118b2
Core/Misc: fix warning and misc codestyle fixes
...
(cherry picked from commit 3b90b0368a019d47911062da6257555e88d17fda)
2016-01-15 19:57:34 +01:00
treeston
bac8c4376f
Scripts/Naxxramas: Thaddius follow-up:
...
- Reduce initial spawn timer on the encounter from 30 seconds to 5 seconds
- Rearrange respawn logic to fix the "petrified" visual from not showing properly
- Fix a potential infinite respawn loop that could prevent the encounter from initializing properly (fixes and closes #15898 )
(cherry picked from commit bf9963039906f4b4df218ecc1818f5b01bcc714d)
2016-01-15 19:54:49 +01:00
Carbenium
0b0b014fad
Script/Naxxramas: Fix a -Winconsistent-missing-override warning reported by clang 3.6
...
(cherry picked from commit f01ef901efab7f5b705948880c79eaf23061791e)
2016-01-15 19:45:24 +01:00
tkrokli
b1a5b9ac75
Scripts/Thaddius: Coverity scan Control flow issues (MISSING_BREAK)
...
Coverity scan defects CID 1339315, 1339316 and 1339317:
- CID 1339315: boss_thaddius.cpp: 542
- CID 1339316: boss_thaddius.cpp: 811
- CID 1339317: boss_thaddius.cpp: 398
Added missing break; statements.
(cherry picked from commit 95d6f09243af81e6e91697b05bac9f664dabd54e)
2016-01-15 19:44:38 +01:00
treeston
43ae580a47
Scripts/Naxxramas: Complete rewrite of the Thaddius encounter.
...
(cherry picked from commit 29feae5901c049ef2204d956e83cf20507bed37a)
2016-01-15 19:43:42 +01:00
Shauren
7b17f0a3d6
Core/Items: Transmogrification restriction followup
...
* main/off hand weapons marked as such cannot be used as appearance source for one hand weapons but can take appearances of them
* Staves and polearms belong to the same category as 2H axes, maces and swords
2016-01-12 19:26:17 +01:00
Shauren
6c48066a6f
Core/Items: Relaxed transmogrification restrictions - maces/axes/swords can now be transmogrified into each other
...
Closes #15475
Closes #15486
2016-01-11 18:33:20 +01:00
Shauren
d00ba9587d
Core/DataStores: Dropped unused DB2 file
2016-01-10 23:26:45 +01:00
Shauren
bc94bacce4
Core/Misc: Build fix for clang & libc++
2016-01-09 01:38:59 +01:00
Shauren
53f768bd2a
Core/Misc: Removed unused packet handler
2016-01-07 20:04:30 +01:00
Shauren
00383f4b12
Core/PacketIO: Renamed some unknown fields in FeatureSystemStatus
2016-01-06 23:47:28 +01:00
MitchesD
9f4e4b9546
Core/PacketIO: updated SMSG_CROSSED_INEBRIATION_THRESHOLD
2016-01-05 23:37:45 +01:00
Shauren
2a6f65fddc
Core/Players: Split playerBytes fields in characters table
2016-01-05 00:03:18 +01:00
Duarte Duarte
6b529fcd43
Core/DBUpdater: Fix help text download link
...
Change from forums to GH Releases
2016-01-04 22:51:48 +00:00
Shauren
9ab47a1624
Warning fixes
2016-01-04 00:24:33 +01:00
DDuarte
ff9c999334
Core/Utilities: Fix build in some versions of Ubuntu / GCC
...
Closes #16125
2016-01-03 20:39:13 +00:00
joschiwald
0c61cfd8ee
Scripts/Spells: removed obsolete spellscripts
2016-01-03 21:19:43 +01:00
joschiwald
ea5f39354b
Scripts/Taxi: addition to 660f7e72be
...
(cherry picked from commit 35aed8902a8b615635bcd0b6fdfe347b804b01c3)
2016-01-03 02:54:07 +01:00
joschiwald
0f21736694
Core/Spells: partial cherry picked from commit 8a0bbc386982612077e6f83f1816b02be757e371
2016-01-03 01:17:39 +01:00
Shauren
be32e43fb9
Another warning fix
2016-01-03 00:58:37 +01:00
Shauren
bb9c69b211
Warning fix
2016-01-03 00:55:48 +01:00
Shauren
d9849fb87b
Core/DataStores: Implemented checking PlayerCondition for future use
2016-01-03 00:40:18 +01:00
Shauren
00c878e73a
Core/Misc: Build fix for older gcc
2016-01-02 18:45:01 +01:00
Golrag
dec59b72cc
Core/PacketIO: SMSG_DESTRUCTIBLE_BUILDING_DAMAGE
2016-01-01 15:34:15 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren
8cecd17808
Core/Misc: Warning fix
...
warning C4459: declaration of 'realm' hides global declaration
2015-12-31 23:40:11 +01:00
Shauren
9dbc65f125
Core/PacketIO: Added new opcode
2015-12-30 23:08:15 +01:00
Shauren
6ace6aabbf
Core/Networking: Added safety checks against linking instance socket with incorrect/old session
...
Ref #15892
2015-12-29 21:22:31 +01:00
Andrew Letson
e5c9997362
AHBot item class modifiers
...
Adds missing modifiers to worldserver.conf
2015-12-28 21:29:37 -05:00
Shauren
46bbcf74e8
Core/PacketIO: Corrected swapped opcode values
2015-12-28 22:22:35 +01:00
Shauren
9ab10d6e68
Core/Misc: VS 2013 build fix - horrible hack.
2015-12-27 01:21:30 +01:00
Shauren
921d893c2a
Build fix
2015-12-26 00:33:14 +01:00
Shauren
41d6460c75
Core/Creatures: Improved creature text selection to be "more random" instead of favoring first entry
2015-12-25 23:29:01 +01:00
Shauren
ae20b2ab56
Core/Utils: Moved rng functions to separate header and added utility functions to select a random element from a container where each element can have different chance of being selected
2015-12-24 19:48:39 +01:00
Shauren
2796de1a77
Core/PacketIO: Defined new known opcodes
2015-12-23 23:55:39 +01:00
Shauren
a70bc7c427
Core/PacketIO: Corrected orientation sent in teleport packets
...
Closes #16061
2015-12-22 23:16:27 +01:00
Shauren
2ebf3fc44b
Core/PacketIO: Removed handler for another opcode that doesn't exist anymore
2015-12-21 23:20:00 +01:00
Shauren
ef91ba9517
Core/Spells: Fixed a crash when npc casts a spell with SpellLevel = 0 and SPELL_ATTR0_LEVEL_DAMAGE_CALCULATION attribute
...
Closes #16072
2015-12-20 12:44:14 +01:00
Shauren
67c57c4b5b
Core/PacketIO: Updated and enabled /mountspecial packets
2015-12-19 23:43:39 +01:00
Gacko
6969bfc274
Config/BNetServer: Rename yet unused config key to match others.
2015-12-19 13:40:05 +01:00
Gacko
eebb47bc93
Config/BNetServer: Move Wrong.Password.Login.Logging to Auth Server Settings section.
2015-12-19 13:35:34 +01:00
Shauren
642bd1a76d
Core/PacketIO: Removed handler for an opcode that no longer exists
2015-12-18 21:46:58 +01:00
Shauren
84609efb46
Core/PacketIO: Updated and enabled CMSG_CANCEL_CHANNELLING
2015-12-17 23:10:00 +01:00