Rochet2
ff28ff500d
Core/Pools: fix pool memory usage ( #21138 )
...
Change vector to unordered map to save memory and startup time
2017-12-30 16:15:41 +01:00
Shauren
96b29d2fa5
Fix base sql
2017-12-30 00:52:26 +01:00
Shauren
69a4ad408f
Core: Updated allowed build to 7.3.2.25549
2017-12-30 00:29:32 +01:00
Shauren
76a90df12f
Tools/Mapextractor: Updated db2 list for 7.3.2
2017-12-30 00:26:39 +01:00
Shauren
7264ce09b1
Core/Misc: Updated gameobject template fields and GameError enum
2017-12-30 00:26:38 +01:00
Shauren
87758326fc
Tools/Extractors: Update to 7.3.2.25480
2017-12-30 00:26:38 +01:00
Shauren
d66f140960
Dep/CascLib: Update to ladislav-zezula/CascLib@c63818ecf8
2017-12-30 00:26:38 +01:00
Shauren
7bb62cd23d
Core/DataStores: Updated db2 structures to 7.3.2.25480
2017-12-30 00:26:37 +01:00
Shauren
20a3c9eed2
Core/PacketIO: Update opcodes to 7.3.2
2017-12-30 00:23:43 +01:00
Shauren
90834606a2
Core/Entities: Update updatefields to 7.3.2.25383
2017-12-29 12:57:56 +01:00
Shauren
965f4de083
Core/Units: Encapsulate UNIT_CHANNEL_* fields
2017-12-29 12:57:55 +01:00
Shauren
b49fa9658a
Tools/Patcher: Properly sign certificate bundle
7.2.5/24742
2017-12-29 12:50:12 +01:00
Mihapro
02022d3cd6
Core/Player: Automatically learn riding spells for certain race/class combinations
...
* Paladins, Warlocks, Druids and Worgens automatically learn Apprentice Riding at level 20
* Death Knights start with Journeyman Riding
* Demon Hunters start with Artisian Riding + Flight Master's License
2017-12-28 23:34:33 +01:00
joschiwald
071b23d606
Fixed typo (thx @lukaasm)
2017-12-28 17:45:34 +01:00
ariel-
2eb9791fc9
Core/Unit: consider creatures with same faction to be on the same party/raid for the purposes of spell/aura targets
...
Ref #18233
(cherry picked from commit 699e22cb4c )
2017-12-26 20:30:55 +01:00
ariel-
43260b7ebb
Core/SpellScript: allow optional parameters to be passed to FinishCast
...
followup of 50a3ce5703
(cherry picked from commit aa21137aeb )
2017-12-26 20:30:36 +01:00
joschiwald
5465b4f46e
Core/Spells: Fixed proc cooldown
2017-12-26 19:52:09 +01:00
Killyana
447b78f57b
DB/Misc: Dark portal Event
...
Original work: 2f2f8a6110/sql/events/stair_of_destiny.sql
(cherry picked from commit bf5799fce5 )
2017-12-26 19:51:31 +01:00
joschiwald
3c2a9f4059
Fixed nopch build #2
2017-12-26 19:26:42 +01:00
Keader
c7d7464a2d
Core/Scripts: Cleanup in instance_black_temple and added missing datas ( #18246 )
...
* Core/Scripts: Cleanup in instance_black_temple and added missing datas
* Fixed door timing issue
* Remove redundant call
(cherry picked from commit 81edee5648 )
2017-12-26 19:23:25 +01:00
joschiwald
b17aa07409
Fixed nopch build
2017-12-26 19:13:33 +01:00
ariel-
5a91e1e31b
Core/Spell: revamp of immunities system
...
- Spell attributes research
- Container optimization
- Do not skip damage immunity checks on SPELL_ATTR0_UNAFFECTED_BY_INVULNERABILITY present
- Added additonal arguments support to SendCastResult / CheckCast, spells can now send proper error messages
- Loads spell immune masks/states/effects at startup.
- This cached info is used whenever a spell cast requires immunities to be known beforehand (to see if an aura could be applied for example)
Closes #16658
Closes #16901
Closes #18114
(cherry picked from commit 50a3ce5703 )
Core/Spell: fix warning
(cherry picked from commit 3588ff894b )
Core/Unit: misc codestyle
use typedef for constant reference
(cherry picked from commit 7943150dcb )
Core/Spell: Fixed immunities for some spells (they were broken before rewrite too)
- Warlord's Presence, Uncontrollable Frenzy, Free Friend
- Overload, Lightning Tendrils
- Fervor, Berserk
- Determination
(cherry picked from commit fc6844173f )
Core/Spell: fix typos
(cherry picked from commit f060efbdb4 )
Core/Unit: improved handling of some spell attributes
- SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE
- SPELL_ATTR2_UNAFFECTED_BY_AURA_SCHOOL_IMMUNE
- SPELL_ATTR3_IGNORE_HIT_RESULT
(cherry picked from commit 352c84943c )
Core/Spell: fix typo
Closes #18248
(cherry picked from commit 1ad9c7d3fd )
Core/Spell: perform charmer check against player controlling unit. Fixes spellcasts while charmed
(cherry picked from commit 425f6c3c34 )
Core/Unit: don't use damage immunity to calculate hit result for the whole spell. Should be used only for damage
(cherry picked from commit 9f5df023b7 )
Core/Spell: fix a potential null dereference crash
(cherry picked from commit 64304d8b2b )
2017-12-26 17:11:18 +01:00
joschiwald
03082db810
Core/Spells: Glyph of Desperation/Pain Suppression has been removed
2017-12-26 12:59:36 +01:00
Shauren
b54d1ab35f
Core/Crypto: Remove unused declaration
2017-12-26 01:42:38 +01:00
Shauren
130d3eb0ae
Core/Crypto: Add const_cast hack to fix linux build with openssl
2017-12-26 01:37:02 +01:00
Treeston
60c756d3f8
Scripts/Various: Bringing nullptr civilization to the savages of master branch. Merry Christmas.
...
(2a08556 follow-up)
2017-12-26 01:33:50 +01:00
Treeston
2a08556273
Core/Unit: For convenience, explicitly redirect CastSpell with nullptr as first argument to the Unit* overloads. No more ->CastSpell((Unit*)nullptr, ...) all over the place!
...
(cherry picked from commits c7896f3102 and 40c78cac4c )
2017-12-26 01:10:26 +01:00
Shauren
2628daadeb
Nopch build fix2
2017-12-25 21:51:20 +01:00
Shauren
6a4c40126d
Nopch build fix
2017-12-25 21:47:21 +01:00
Shauren
e161769c4f
Build fix
2017-12-25 21:45:07 +01:00
Shauren
61ca3d6235
Core/Crypto: Refactor RSA encryption to use openssl functions instead of doing it manually
2017-12-25 21:41:34 +01:00
joschiwald
b12878cb5a
Fixed build
2017-12-25 11:18:04 +01:00
ariel-
7bb6897a3c
Core/Spell: move attribute helpers to spellInfo
...
- Renamed CheckEffectExecuteData to AssertEffectExecuteData and made const, better reflects its purpose
- Added missing attribute check to IsNextMeleeSwingSpell
- Reworked SPELL_ATTR4_CAST_ONLY_IN_OUTLAND attr check (researched behavior)
(cherry picked from commit 5cb8409f1e )
2017-12-25 10:42:20 +01:00
Keader
2acb7dae1b
Core/Scripts: Fixed a typo and removed randtime of Shade of Akama events ( #18231 )
...
(cherry picked from commit c4dd6d1676 )
2017-12-25 10:30:08 +01:00
ariel-
8aa7b85ed2
Core/SpellMgr: overwrite dbc range for Unleashed Souls
...
Closes #17968
By sirikfoll
(cherry picked from commit 70a867531d )
2017-12-25 10:23:00 +01:00
joschiwald
4435cb82d0
Update 2017_12_24_00_world.sql
2017-12-24 19:21:38 +01:00
joschiwald
13726438da
Core/Spells: Moved applying exclusive aura spells to scripts
2017-12-24 18:31:29 +01:00
joschiwald
439ac5756c
Core/Spells: Implemented spells causing Forbearance
...
Ref #20937
2017-12-23 13:45:50 +01:00
joschiwald
73bc074cfc
Update 2017_12_23_00_world.sql
2017-12-23 10:21:55 +01:00
Naios
18ab645781
Build: Re-enable the /Zm workaround for MSVC (cotire version)
...
* Thanks Spec for reporting this issue
* See https://community.trinitycore.org/topic/120-compile-or-cmake-problems/?do=findComment&comment=83912
* Ref 697b4dbef2
(cherry picked from commit d3d003d69e )
2017-12-23 02:17:19 +01:00
Aussiewoolf
5296c0063e
DB/Quest: Have You Seen Anything Weird Out There?
...
- add missing quest_offer_reward texts
- add missing quest_template_addon entries
- link quest 24993 as reward from 25039
Closes #21072
2017-12-23 01:06:56 +01:00
Shauren
45d3ecc15f
Fixed nopch build
...
Closes #21097
2017-12-22 11:00:26 +01:00
Naios
95a837717b
Build: Disable warnings in protobuf projects
2017-12-20 04:04:28 +01:00
Naios
1285347518
Build: Inherit the features and warning flags privately
2017-12-20 04:04:28 +01:00
Naios
db5d5a03be
Build: Export a default interface which doesn't hide symbols in unix automatically
2017-12-20 04:04:28 +01:00
Naios
891960edbe
Build: Require Visual Studio 2017 or greater
...
* See the deprecation notice at
https://community.trinitycore.org/topic/13294-gcc-49-visual-studio-2015-end-of-life/
(cherry picked from commit b9b667f925 )
2017-12-20 04:04:28 +01:00
Naios
f07eefadf9
Core/Utilities: Globally enable C++14 chrono literals
...
* Usable like 12s, 15m...
(cherry picked from commit 364fde5213 )
2017-12-20 04:04:28 +01:00
Naios
a8813fc6fe
Core/Common: Use the std make_unique instead of a custom one
...
(cherry picked from commit ca023fd60a )
2017-12-20 04:04:27 +01:00
Naios
ad3e16c24e
Dep: Update fmt to fmtlib/fmt@f9c97de46b
...
(cherry picked from commit b4a42d1d06 )
2017-12-20 04:04:27 +01:00
Naios
edafb45b79
Build: Experimentally disable the /Zm workaround for MSVC
...
(cherry picked from commit 697b4dbef2 )
2017-12-20 04:04:27 +01:00