Commit Graph

13682 Commits

Author SHA1 Message Date
Langerz82
e840d4967e Spell/Script: Guard's Mark
Closes #16888
2019-03-08 15:13:32 +01:00
PolarCookie
ec3cb05d7f Core/Spell: SpellAura Redux (#22794)
* typo and correction

* spell aura no longer shared between targets

_spellAura isolated

* SPELL_AURA_CONTROL_VEHICLE is not strictly single target spell

Steam Tank Control and Wyrmrest Commander

units can reseat themselves again

* Rename 9999_99_99_99_world.sql to 2019_03_08_00_world.sql
2019-03-08 08:34:16 +01:00
ccrs
3eecadcebf Scripts/Northrend: 482e0da followup 2019-03-07 22:26:22 +01:00
Killyana
e5470ab1ee Spell/Script: Specify a target for Azure Dragon: On Death Force Cast Wyrmrest Defender to Whisper to Controller - Random 2019-03-07 17:37:03 +01:00
Keader
482e0dad30 Creature/Script: Daegarn
Remove the incorrect SAI and move it to cpp
2019-03-06 16:15:03 +01:00
Killyana
0959f3071a Spell/Script: Summon Scourged Captive
Closes #16357
2019-03-05 19:13:16 +01:00
Gustavo
0eacccc2cd Core/Players: Fix logic in CanSeeSpellClickOn (#23090)
Block SpellClick for the npc if there is no entry
2019-03-05 15:06:19 +01:00
ccrs
7fdf9701df Core/Misc: e69570d followup 2019-03-04 16:52:10 +01:00
ccrs
e69570dd76 Core/Misc: use/implement/portfrommaster InitWorldState packet definition
WorldPackets::WorldState::InitWorldStates
2019-03-04 16:33:08 +01:00
Keader
e1aafddc2e Scripts/Trial of the Crusader: Fixed Slime Pool visual effect
Closes #21660
2019-03-03 23:19:03 -03:00
jackpoz
72052aa9a5 Core/Spells: Adjust range checks to GameObject targets 2019-03-03 21:42:07 +01:00
jackpoz
270a144083 Core/Spells: Adjust range checks to GameObject targets 2019-03-03 21:24:39 +01:00
jackpoz
d2841d6b66 Core/LFG: Teleport players to other players instead of dungeon entrance when continuing a LFG dungeon
This feature already existed in current code but was broken by d0334bf948
2019-03-03 21:08:32 +01:00
Sorikoff
34cfa69efd Core/Movement: Allow using run when moving randomly (#23081)
* Allow run when moving randomly
2019-03-03 19:54:07 +01:00
jackpoz
6c5d997161 Core/Misc: Code cleanup 2019-03-03 19:51:42 +01:00
jackpoz
696039cfed Core/MMaps: MMaps logs cleanup
Move MMaps related logs from "maps" category to "maps.mmaps".
Remove newlines in logs, the log system already takes care of newlines.
2019-03-03 16:54:19 +01:00
Keader
990ad000f8 Spell/Script: Freezing Circle
Closes #11312
See the original issue before cherry pick
2019-03-02 19:57:38 +01:00
jackpoz
c602220e02 Core/MMaps: Fix infinite loop in Detour
Fix another infinite loop in Detour caused by degenerated triangles.
Check the result of some previously ignored Detour calls.
Update recastnavigation to 3a619d773deb7e3a15ee215217c825995fe71312 and apply some more custom changes
2019-03-02 19:53:46 +01:00
Killyana
8dec9b97e2 Core/GameObject: Set loot state to Not ready when a gob is deactivated (#23072) 2019-03-02 15:05:28 +01:00
Sorikoff
dbadb6369c Core/Movement: Allow using walk when chasing v2 (#23073)
* Allow walk when chasing
2019-03-02 15:04:01 +01:00
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
jackpoz
f17120cc78 Core/Commands: Don't re-add active quests with ".quest add" command 2019-02-24 18:46:35 +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
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
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
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
Gustavo
2dfea54533 Core/Units: Only update height in SetHover if unit is bellow HoverHeight (#23061) 2019-02-23 11:42:20 +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
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
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
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
Rushor
d69ef2ab1d Creature/Script: Move "Bartleby" script to SAI 2019-02-13 09:30:55 +01:00
Aokromes
2d22c027fe Core/Misc: Add categories to 3 logs 2019-02-08 10:58:33 +01:00
Aokromes
1cba363360 Core/Spells: Add categories to 2 logs 2019-02-08 10:32:11 +01:00
Aokromes
578c796625 Core/Entities: Add categories to 2 logs
Closes #22922
2019-02-08 10:05:33 +01:00
jackpoz
c8ec2dd95d Core/MMaps: Fix infinite loop in Detour
Fix an infinite loop in Detour happening in Dalaran Sewers.
This is more of an emergency patch until we figure out why dtNodes have a circular reference (A -> B -> C -> A) happening quite often in this place
2019-02-06 19:32:31 +01:00