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
Naios
964d6bd1b2
Build: Use the cotire library for precompiled header handling
...
* Required for handling flags inherited by linked projects
correctly in the corresponding precompiled header.
* Reduces the maintenance effort for precompiled headers
(cherry picked from commit 92f96fc10e )
2017-12-20 04:04:27 +01:00
Naios
ff35262a3a
Build: Use interface targets for inheriting flags and definitions
...
* Remove the usage of global flags and definitions
set through the CMAKE_CXX_FLAGS variable.
* Use cmake target compile features for setting the
CXX standard automatically.
* Make C++14 globally available in the project
* Closes #21033
(cherry picked from commit e60c1f84a7 )
2017-12-20 04:04:27 +01:00
Naios
af7352118b
Build: Set the minimum required compiler version to GCC 6.3
...
* This is the current GCC version of debian 9
(cherry picked from commit 5a9ccae3e1 )
2017-12-20 04:04:27 +01:00
Shauren
dc4d05c8f2
Core/Spells: Removed outdated disengage script - it can be cast out of combat
...
Closes #19193
2017-12-19 20:36:06 +01:00
Shauren
e86a2c439a
Core/Auras: Implemented using all aura interrupt flag fields
2017-12-17 16:45:50 +01:00
Aokromes
e573607ccd
DB/Misc: Make base files more read-able
...
for future mysql dumps run this after dump before push:
sed -i 's/),(/),\n(/g' auth_database.sql
sed -i 's/),(/),\n(/g' characters_database.sql
2017-12-17 12:34:06 +01:00
Aokromes
4a85797a1e
DB/Misc: Add spawns for gilneas starting zone chapter 1
...
By Ovahlord
Cherry pick of 446832ae03
2017-12-16 01:37:59 +01:00
Shauren
55350b1f4e
Core/Auras: Updated mount capability check and implemented SPELL_AURA_MOUNT_RESTRICTIONS
2017-12-12 23:53:15 +01:00
Shauren
9b6be90b2b
Core/Spells: Fixed shapeshift location check
2017-12-11 20:40:32 +01:00
joschiwald
2362abbce0
Fixed build
2017-12-10 20:26:05 +01:00
ariel-
54d0b31c40
Core/Spell: reimplemented TRIGGERED_DISALLOW_PROC_EVENTS trigger flag
...
Triggered spells shouldn't chain-trigger other spells
Closes #18217
(cherry picked from commit bb8763534e )
2017-12-10 18:42:40 +01:00
ariel-
4b1165af45
Core/Entities: add yet another utility overload to CastSpell, fixes AppVeyor build
...
Ninja NULL->nullptr cleanup
(cherry picked from commit 44ea63e34d )
2017-12-10 18:40:18 +01:00
ariel-
a1ebc312ec
Core/Spell: fix interaction of on taken damage procs with triggered casts
...
DB/Spell: Seal of Righteousness proc
- Lightining and Water Shield should proc with triggered
Closes #18211
(cherry picked from commit ed49626c22 )
2017-12-10 18:39:49 +01:00
ariel-
70a89debfe
Core/Spell: make a distinction between triggered flags with debugging purposes, and don't use them when casting triggered spells
...
Fixes #9721 (also other spells affected, example Threat of Thassarian, Stormstrike)
(cherry picked from commit 85143f305d )
2017-12-10 18:37:00 +01:00
ariel-
35219e098b
Core/Gameobject: remove immune flags from trigger used to cast GO spells
...
Spells were failing flags check in Unit::_IsValidAttackTarget
Closes #18206
(cherry picked from commit 1ae3da101c )
2017-12-10 18:35:14 +01:00
joschiwald
906f3e459c
Core/Spells: Fixed typo in SpellMgr::LoadSpellInfoCorrections
2017-12-10 18:32:28 +01:00
ariel-
eb2b0151a4
Core/Spells: do not add PROC_HIT_NORMAL/PROC_HIT_CRITICAL flags if damage is fully nullified
...
- Aka: full absorbs/full resists/full blocks/immune
(cherry picked from commit 2e457b3be4 )
2017-12-10 18:25:47 +01:00
Dr-J
d5f94a24e2
DB/SAI: Misc Summon spells
...
Update some sql scripts to summon creatures via spell instead of just summoning and kill the startup errors caused by my last commit to fix the spells.
(cherry picked from commit c70edcfcea )
2017-12-10 18:25:02 +01:00
ariel-
02b4dc5512
Core/Spell: apply SPELLFAMILY_GENERIC mods to all spells by default
...
Closes #18160
(cherry picked from commit 4f1ef6985e )
# Conflicts:
# src/server/game/Spells/Auras/SpellAuraEffects.cpp
# src/server/game/Spells/SpellMgr.cpp
2017-12-10 18:16:47 +01:00