Commit Graph

20557 Commits

Author SHA1 Message Date
jackpoz
ad56299846 Core/Misc: Fix static analysis issues 2017-12-25 16:34:36 +01:00
jackpoz
cbc7642edd Scripts/Trial of Crusader: Fix static analysis issues 2017-12-25 15:32:50 +01:00
jackpoz
2c7e921cdc Core/CreatureAI: Disable PetAI from database 2017-12-25 11:27:02 +01:00
jackpoz
12701cb0c6 Core/Misc: Replace time(NULL) with GameTime::GetGameTime() 2017-12-24 22:50:59 +01:00
Treeston
3a536260f8 Core/Spell: Remove some leftover hack code from ::EffectSanctuary pertaining to vanish. None of this code did anything anymore. 2017-12-24 13:54:15 +01:00
Keader
2362e9c794 Scripts/Trial of Crusader: Northrend Beasts Rework (#21031)
* Rewritten Gormok encounter
* Rewritten Snobold Vassal Script
* Rewritten Jormungars encounter
* Rewritten Icehowl encounter
* Added missing texts
* Added missing spells
* Implemented berserk mechanic on heroic diffs.
* Implemented Achievement requirement to make heroic diffs.
* Rewritten Barrett Ramsay scripts
* Added Barrett gossips and ported everything to DB.
* Added right Barrett in each encounter
* Removed a lot of hacks
* Rewritten Tirion Fordring script
* Rewritten Varian Wrynn script
* Rewritten Garrosh script
* Rewritten Wilfred event
* Rewritten Lich King event
* Updated codestyle
* Added missing spawns
* Fixed combat behavior before Gormok
* Fixed some visual stuff
2017-12-23 22:03:57 -03:00
Teppic1
ecc55c280c Scripts/Deadmines: New script for Edwin VanCleef (#20736)
* Scripts/Deadmines: New script for Edwin VanCleef

- Blackguards are now summoned properly as part of the encounter
- Blackguards will despawn on evade
- Fixed scripted actions/speech on health
- Removed Blackguards from world DB
- Corrected VanCleef's damage
2017-12-23 16:31:40 +01:00
Kittnz
cd88406de9 Core/Movement: Add MovePoint with facing (#20779) 2017-12-23 16:12:24 +01:00
Killyana
b08280fcfe Typo 2017-12-22 21:06:36 +01:00
Killyana
be56a4669e Scripts/Stratholme: Fix a DB error
Ref #20749
2017-12-22 20:20:14 +01:00
Naios
85e460802d Build: Inherit the features and warning flags privately
(cherry picked from commit 1285347518)
2017-12-21 23:31:11 +01:00
jackpoz
9a515c29ba Scripts/Stratholme: Add missing header for no-pch build 2017-12-21 21:17:07 +01:00
jackpoz
828c5d08e7 Scripts/Stratholme: Fix build 2017-12-21 21:12:56 +01:00
jackpoz
a98b2aa8c8 Scripts/Stratholme: Fix build 2017-12-21 21:05:37 +01:00
Riztazz
2a25d9d9a7 Scripts/Stratholme: Few changes to how Ysida behaves during the Baron run (#20749) 2017-12-21 20:57:29 +01:00
ariel-
5e2c5a52cd Core/Spell: implement SPELL_FAILED_AURA_BOUNCED on DR spells
Closes #13695
2017-12-21 02:25:04 -03:00
Rochet2
022575329f Core/Pools: fix pool memory usage (#21075)
Change vector to unordered map to save memory and startup time
2017-12-20 20:04:34 +01:00
ariel-
de9f904269 Core/Spells: fix some DB errors
Ref #18542

- Implemented Choking Vines transformation at 5 stacks
- Implemented periodic Aura of Fear ticks
- Fixed Savage Rend passive proccing on anything (raptor pets)
2017-12-20 02:25:25 -03:00
ariel-
5798fda0a0 Core/Globals: validate creature_template mingold and maxgold fields 2017-12-19 20:11:17 -03:00
ariel-
00c0ec3f27 Core/Creatures: fixed school immunity unapply when updating entry and unified code
- Also use correct data type for SQL (INT <-> uint32)
2017-12-18 10:59:47 -03:00
Keader
143b2aeac0 Scripts/Naxxramas: Fixed blizzards following same player in Sapphiron encounter (#21068)
Closes #18765
2017-12-18 08:39:35 -03:00
Naios
364fde5213 Core/Utilities: Globally enable C++14 chrono literals
* Usable like 12s, 15m...
2017-12-17 20:22:34 +01:00
Naios
ca023fd60a Core/Common: Use the std make_unique instead of a custom one 2017-12-17 20:22:34 +01:00
Naios
92f96fc10e 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
2017-12-17 20:22:34 +01:00
Naios
e60c1f84a7 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
2017-12-17 20:22:33 +01:00
Gogs
fbb2b1650f Core/Accounts: prevent existing account ban from being updated
Signed-off-by: jackpoz <giacomopoz@gmail.com>
2017-12-17 19:11:06 +01:00
jackpoz
657683df7e Core/Misc: Fix clang 6 warnings 2017-12-17 16:42:43 +01:00
Wyreth
ae878e18ef Core/Creature: implement school immunity for creatures in creature_template (#20709) 2017-12-17 16:29:22 +01:00
Andrew Letson
1cedcf0bf3 Scripts/Commands: Add failure state for quest remove (#20611)
Add more verbose messaging to the .quest remove command
2017-12-17 15:51:11 +01:00
Léo Gautheron
e96cf0b242 Core/Unit: make neutral guards attack players involved in PvP
Fix https://github.com/TrinityCore/TrinityCore/issues/17635
2017-12-17 15:29:30 +01:00
jackpoz
45b2bcfaf2 Shared/Metric: Fix crash on shutdown
Fix crash on shutdown with metrics enabled but InfluxDB stopping before worldserver
2017-12-17 14:35:18 +01:00
ForesterDev
661dfee80e Scripts/Commands: modify command .dismount to target any selected player (#19788)
- change security lvl for command .dismount to 2 (gamemasters). For players there is /dismount command

Closes #19788
2017-12-17 04:36:59 +01:00
ariel-
484c681e43 Core/Entities: fixed rage gain from attacking script-invincible targets
Closes #3856
2017-12-16 21:04:20 -03:00
ariel-
98236dfa88 Core/GameObject: refactor dismounting on use 2017-12-16 18:00:02 -03:00
jackpoz
72e97d330b Core/Spells: Fixed Naxx Anub Scarab Summoning Spell
Reduce spell radius of 28864 and 29105 from 100 yards to 10 yards to spawn scarabs closer
2017-12-16 19:00:19 +01:00
ariel-
3722a96f4f Core/Spells: allow auras to proc from partial blocks
Closes #21065
2017-12-16 06:04:14 -03:00
ariel-
2ce3f3a7b8 Core/GameObject: implement dismount on use of certain GOs
- The fact of player dismounting was entirely client-sided, with no server code enforcing it.

Closes #19979
2017-12-16 05:01:37 -03:00
Keader
f560842b59 Build fix 2017-12-15 22:07:24 -03:00
Riztazz
56b0433b6d Scripts/UBRS: The Beast (#20751) 2017-12-15 21:58:45 -03:00
Gustavo
51c4196acf Core/Entities: add extra use of UPDATETYPE_CREATE_OBJECT2 (#20955) 2017-12-15 21:11:02 -03:00
ariel-
deebac9639 Core/Scripts: more nopch 2017-12-15 20:23:50 -03:00
ariel-
7fb70e74f2 Core/Scripts: nopch fix 2017-12-15 20:19:55 -03:00
ariel-
5fc4d36a1f Core/Scripts: fix drink auras 2017-12-15 19:58:12 -03:00
ariel-
7d39ed8119 Core/Auras: travis 2017-12-15 19:22:48 -03:00
ariel-
e6d529a75a Core/Auras: implemented SPELL_AURA_MOD_ATTACK_POWER_OF_ARMOR delay mechanic 2017-12-15 13:26:34 -03:00
ariel-
7dff0e3246 Core/Auras: fixed off by one error in counting SPELL_ATTR5_START_PERIODIC_AT_APPLY ticks
- Made SpellInfo::GetMaxTicks and AuraEffect::GetTotalTicks return the same number without mods (dumped arbitrary default return value of 6 and arbitrary 30 sec limit)
- They should be streamlined whenever SPELL_AURA_48 is implemented
2017-12-15 03:40:36 -03:00
ariel-
2d07d4f7b3 Core/Scripts: more travis 2017-12-15 03:39:42 -03:00
ariel-
ea0224e3bd Core/Scripts: travis fixes 2017-12-15 02:51:48 -03:00
ariel-
a36e804ae4 Core/Auras: periodics refactor part 5: ported periodic trigger spell auras to scripts 2017-12-15 01:46:52 -03:00
ariel-
193bd3b452 Core/Auras: periodics refactor part 4: ported periodic dummy auras to scripts 2017-12-15 01:46:51 -03:00