Commit Graph

30674 Commits

Author SHA1 Message Date
sirikfoll
4ea09dfcd4 Fix nopch 2019-02-25 18:12:19 -03:00
sirikfoll
a803342029 Scripts/Ulduar: Mimiron improvements
Closes #23043

Fix Aerial hover
Some visual issues
2019-02-25 17:50:24 -03:00
Sorikoff
c2f2db08aa Allow walk when chasing (#23069) 2019-02-25 09:36:36 +01:00
Killyana
47e1816bf7 DB/Creature: Disable mmaps for Warlord Zol'Maz 2019-02-24 21:04:51 +01:00
Killyana
6428118dac DB/Script: The Key of Warlord Zol'Maz
Closes #20246
2019-02-24 20:57:22 +01:00
jackpoz
f17120cc78 Core/Commands: Don't re-add active quests with ".quest add" command 2019-02-24 18:46:35 +01:00
Killyana
d2bff6dcec DB/Script: Update arcane-containers script to despawn once clicked
Closes #21094
2019-02-24 15:59:09 +01:00
jackpoz
da19ad117e Core/MapScripts: Add support to GameObjects to SCRIPT_COMMAND_DESPAWN_SELF 2019-02-24 15:09:24 +01:00
Aokromes
a2f910fe5c Core/mmaps: add category to 2 logs 2019-02-24 13:41:02 +01:00
jackpoz
a75fbe527a Dep/Recast: Validate input values more consistently and completely, including that points are finite
Merge https://github.com/recastnavigation/recastnavigation/pull/374 .
This should fix infinite loops happening with degenerated triangles with 0 area.
Fix #23028
2019-02-24 12:18:28 +01:00
Aokromes
3157a6c6f3 DB/Commands: Fix typo on chat commands
Closes #23065 by jackpoz
2019-02-23 23:37:51 +01:00
Shauren
f912963b4b Tools build fix
(cherry picked from commit 3c8210a1f3)
2019-02-23 22:00:05 +01:00
jackpoz
7ddbc18aaf Core/MMaps: Add rcMedianFilterWalkableArea() to mmaps generation process
Add rcMedianFilterWalkableArea() to mmaps generation process to simplify some ground/water areas
2019-02-23 22:00:05 +01:00
Shauren
1e2cc147e5 Warning fix
(cherry picked from commit 87278b69f0)
2019-02-23 22:00:05 +01:00
Shauren
7b561373a8 Tools/mmaps_generator: Give land priority during area merges over liquids
Closes #21700

(cherry picked from commit edb2b16f54)
2019-02-23 22:00:05 +01:00
Shauren
8d19fcbc46 Tools/vmapextractor: Improved vmap detail level by extracting wmo doodads (tables, chairs etc)
(cherry picked from commit fb0a1de5c1)
2019-02-23 22:00:05 +01:00
Shauren
0e083a0356 Tools/MMapsGenerator: Cleanup duplicated definitions
* rebuilding is not needed

(cherry picked from commit 60c4c29da5)
2019-02-23 22:00:05 +01:00
Shauren
ecab7db7b0 Warning fix
(cherry picked from commit cfa948193c)
2019-02-23 22:00:05 +01:00
Shauren
8d1bb258fc Tools:
* mapextractor - fixed compressing liquid data
* vmapextractor - fixed extracting liquids inside WMOs
* vmapextractor - implemented new WMO flags
* vmapextractor - store model type for gameobject models
* mmap_generator - fixed processing liquids broken in e5d23103f3

(cherry picked from commit 2c64bb97e6)
2019-02-23 22:00:05 +01:00
Shauren
fd30618f12 Tools/Mapextractor: Fixed determining deep water
(cherry picked from commit 2e648f9eb9)
2019-02-23 22:00:05 +01:00
Shauren
e6bfa71e4d Tools/Mapextractor: Implemented liquid object detection
(cherry picked from commit 82bf263f92)
2019-02-23 22:00:04 +01:00
Shauren
fee666f02f Tools/Misc: Partial cherry-pick of 7b235ce6e4 2019-02-23 22:00:04 +01:00
Shauren
98949b75ed Tools/Misc: Partial cherry-pick of 457c93bc4b 2019-02-23 22:00:04 +01:00
Shauren
2924283f07 Tools/Misc: Partial cherry-pick of fe4d11c65a 2019-02-23 22:00:04 +01:00
DanVS
054914a83b Glyph of Holy Light (#22198) 2019-02-23 20:22:37 +01:00
jackpoz
76cc94f325 Core/Spells: Add range checks to GameObject targets
Close #23062
Patch by robinsch
2019-02-23 18:34:31 +01:00
ZenoX92
809f8c43e5 DB/Quest: Rescue From Jaedenar
Closes  #17227
2019-02-23 14:40:29 +01:00
Gustavo
2dfea54533 Core/Units: Only update height in SetHover if unit is bellow HoverHeight (#23061) 2019-02-23 11:42:20 +01:00
Serpaa
f86d453651 DB/Creature: Dying Blood Elf
Closes #23063
2019-02-23 01:34:10 +01:00
Keader
c8dfab7761 Scripts/Spells: Fixed Demonic Pact not increasing spell healing
Closes #23019
2019-02-22 10:25:11 -03:00
Ovah
c10c8c6bba Scripts/MGT: Kael'thas intro can now be skipped when not killing the trash pack in his room
Scripts/MGT: Kael'thas will now despawn at evade

Cherry picked from
f6e9ff5ca4
ed8c1830f5
2019-02-20 17:43:56 -03:00
Shauren
d63d15c505 Core/Spells: Fixed spells using MovePositionToFirstCollision for selecting target position getting Z coord offset by caster or target collision height (depending on spell target type) 2019-02-20 18:35:35 +01:00
Keader
82a73c577c DB/Spells: Fixed Glyph of Polymorph vs Spell Reflection
Glyph need proc when effect is reflected too
2019-02-20 10:52:03 -03:00
Keader
34f83c68e3 DB/Spells: Fixed proc of Borrowed Time
It fix proc with mana burn, smite and others spells.
2019-02-20 10:43:42 -03:00
Keader
a617cc4097 Scripts/Illidan: Fixed Parasitic shadowfiends reproducing like rabbits 2019-02-20 10:40:19 -03:00
jackpoz
43dec9e4d0 Core/Pet: Add assert
Add additional assert to check if it's possible for a Pet not to have an active AI when the Player owner kills an enemy.
Ref #23036
2019-02-16 19:06:56 +01:00
Shauren
8d57b32938 Core/Units: Prevent taking melee damage while dead and removed incorrect extra DealDamage call (including script hooks) for autoattacks done with a weapon that has only one damage type
Closes #23033
2019-02-16 18:58:55 +01:00
jackpoz
cc0f20f73d Core/Misc: Fix no-pch build 2019-02-16 18:28:25 +01:00
Shauren
cd6d57e2e7 Core/Misc: Improved error message reported by ASSERT_NOTNULL
(cherry picked from commit d184768bbc)
2019-02-16 17:26:57 +01:00
jackpoz
78f70cbff2 Core/Misc: Fix static analysis issues
Fix static analysis issues reported by Coverity
2019-02-16 13:40:39 +01:00
Heaven31415
9db50f05cb Refactor SendSysMessage, SendGlobalSysMessage, SendGlobalGMSysMessage (#23029) 2019-02-16 13:29:22 +01:00
Sorikoff
f0f4d0280d Scripts/Scarlet Enclave: Stable Master Kitrik's spell Repo (#23023) 2019-02-16 13:28:31 +01:00
Killyana
7dc893fcf2 DB/SAI: Shoveltusks
Closes #23040
Closes #23041
2019-02-16 11:50:16 +01:00
Killyana
fc72983463 DB: Fix a DB error 2019-02-16 10:57:08 +01:00
Shauren
ab22619f46 Fix build 2019-02-15 21:55:52 +01:00
Shauren
7515553c29 Fix build for older compilers 2019-02-15 21:37:31 +01:00
Shauren
813f693768 Core/Misc: Added lambda support to EventProcessor
Closes #22909
2019-02-15 21:34:56 +01:00
Giacomo Pozzoni
5b7ead65bb Core/Scripts: Change PlayerScript and CreatureScript inheritance (#23048)
Remove UnitScript from PlayerScript and CreatureScript classes as that's how the original system that was PR'd worked, see https://github.com/TrinityCore/TrinityCore/pull/7867 for reference.
Please note these are used as global hooks and should really just invoke stateless functions.
If you need to hook methods from PlayerScript/CreatureScript and UnitScript, just define 2 different scripts (this is how the original system worked and how it was designed to work)
2019-02-15 20:29:14 +01:00
TheWinchesters
a0056951f7 [3.3.5] Commands: lookup player shows which character is online (#23039)
* Show 'online' for every online player in lookup player commands
2019-02-15 20:18:58 +01:00
Giacomo Pozzoni
cb8ff7976b 3.3.5 threat assert (#23034)
* Core/Creature: Change assert about Threat to log
2019-02-15 20:03:26 +01:00