Commit Graph

29085 Commits

Author SHA1 Message Date
ZenoX92
f7fa04b8fa DB/Gossip: Witch Doctor Uzer'i
Closes #21209
2018-01-10 18:48:53 +01:00
Treeston
9104144766 kologarn unit_flags2 for difficulty_entry 2018-01-10 13:36:12 +01:00
Treeston
d9c772303c Core/Unit: Abide UNIT_FLAG2_DISABLE_TURN on creatures. Add that flag to Kologarn (from sniff). Hi sirikfoll. 2018-01-10 00:19:00 +01:00
Treeston
b53cbf467b 3dcd49e v2, slightly cheaper 2018-01-09 23:56:17 +01:00
ZenoX92
2c0f12602a DB/Quest: Return to Witch Doctor Uzer'i
Closes #21210
2018-01-09 23:54:28 +01:00
ZenoX92
dede2503e0 DB/Quest: Emotes for Horde & Neutral quests in Desolace, Thousand Needles and Stranglethorn Vale
Closes #21211
2018-01-09 23:48:20 +01:00
Treeston
3dcd49ef90 Core/Threat: fix a potential super edge case iterator invalidation 2018-01-09 23:42:22 +01:00
Treeston
a23c97a0fc Scripts/World: New target dummy AI, because I don't trust the existing one in light of #21187. 2018-01-09 23:34:50 +01:00
tkrokli
b8edb89028 DB/Quest: Seeping Corruption (Part 1, 2 & 3)
Closes #21213
2018-01-09 23:32:23 +01:00
Treeston
45168f9612 nopch fix 2018-01-09 22:04:35 +01:00
tkrokli
e2666fff35 Update copyright note for 2018 follow-up
File missed in main 2018 copyright update, commit f6b6f57a6d

- revert link from collab.kpsn.org back to www.trinitycore.info for branch consistency
- also some minor whitespace edits
2018-01-09 21:02:38 +01:00
Treeston
d283f96f70 missing return 2018-01-09 18:23:50 +01:00
Treeston
a9bfc3b70d add update to auth_database base 2018-01-09 18:11:24 +01:00
Treeston
f45c211987 Scripts/Commands: New command: .debug threatinfo 2018-01-09 18:09:24 +01:00
Chaouki Dhib
274dede3dc Core/Movement: Correct the allowed distance to target before a repositioning is necessary. #20173
Also getting rid of the wordserveur config parameter 'TargetPosRecalculateRange' since it is no longer needed.
2018-01-08 22:31:30 +01:00
Shauren
c01d4ceadc nopch build fix 2018-01-08 20:40:53 +01:00
xinef1
23823f5147 Core/Spells: Defined and implemented some new spell attributes (#18950) 2018-01-08 20:31:21 +01:00
Keader
57672fdf25 Core/Spells: Fixed Shapeshift using macro
Close #21197
Author: lineagedr
2018-01-07 20:51:30 -03:00
kelno
70eb18d0e5 Core/Creature: improve DB linked_respawn handling (#21172)
* Fixed SetCreatureLinkedRespawn function possible erasing/replacing a GameObject link (instead of a creature one)
2018-01-08 00:32:22 +01:00
Treeston
f0a394753a 9ad11e6 follow-up, prevent Halion respawn without loot
tagging #21198
2018-01-07 23:13:20 +01:00
offl
b847f32b58 DB/Creature: Harbinger Skyriss
Closes #21168
2018-01-07 21:58:05 +01:00
Treeston
663a6f2f23 typo fix 2018-01-07 20:35:24 +01:00
Treeston
9ad11e67fb Core/Threat: Fix a potential exploit allowing players to damage a boss without them taking damage.
Scripts/Halion: General cleanup of old hacks no longer needed under new combat system.
2018-01-07 20:32:30 +01:00
Treeston
3bb33e3108 Core/Map: New Map::ForceRespawn to override objections and force a respawn (equivalent to force = true). Use this to fix various GM commands.
Scripts/Valithria: Fix an issue that could get the encounter stuck in an unloaded state.
2018-01-07 19:53:39 +01:00
offl
38d0c1e940 DB/Creature: Skulking Witch invisibility
- Greater Invisibility missing in Heroic mode
- replace Normal spell ID with sniff value

Closes #21166
2018-01-07 14:18:14 +01:00
Killyana
6345c1ca7f DB: Remove a wrong linked respawn 2018-01-07 13:13:46 +01:00
Keader
9e9253d92b DB/Creature: Ruby Sanctum boss/mini-boss white damage updates
Closes #11834
2018-01-07 12:37:20 +01:00
DanVS
01b18182c0 Core/Spells: Mana potions in druid forms (#21160)
* Fix mana potions in druid forms
2018-01-07 11:26:57 +01:00
meji46
509edd4312 DB/Creature: Fix mount condition for Stabled Argent Warhorse 2018-01-06 21:46:00 +01:00
Teppic1
1f0210bfe5 DB/Loot: Reference template 24077 corrections
Closes #21181
2018-01-06 20:47:15 +01:00
Treeston
a08ad9aac1 Core/Threat: only send periodic threat list updates while unit is engaged 2018-01-06 17:49:54 +01:00
Treeston
cbf5535b74 Revert "Scripts/Commands: Allow to use .tele in combat only to GMs"
This reverts commit 3ae5b72075 - see discussion on commit.
2018-01-06 13:32:11 +01:00
Shauren
b2b4f9d1e4 Core/Misc: Added compatibility layer for boost 1.66 and future std:: networking stuff
* Based on work done by @dimiandre in PR #21173

Closes #21171
Closes #21173

(cherry picked from commit dfd2660a85)
2018-01-06 12:30:28 +01:00
Shauren
6da6f1b415 Core/Networking: Activate single threaded optimization for io_service running in NetworkThread
(cherry picked from commit 9711dd3f70)
2018-01-06 12:29:23 +01:00
jackpoz
3ae5b72075 Scripts/Commands: Allow to use .tele in combat only to GMs
Allow to use .tele in combat only to players who can be GMs (even if they have .gm off)
2018-01-06 10:34:54 +01:00
Treeston
fdacf12739 Core/Combat: Some more sanity check asserts to try and track down #21187.
Also, some anti-annoyance treatment for dot tele.
2018-01-06 01:40:31 +01:00
Treeston
5a9fddaa5a Core/Combat: some more detailed assertions to possibly shed light on #21187. 2018-01-06 00:49:04 +01:00
Treeston
e0b609a178 Core/Map: Fix a crash that could happen if a player moved very far away from a creature they were in combat with. Closes #21177. 2018-01-04 15:19:37 +01:00
Moein
18f5eae835 MovementInform should overrides 2018-01-04 09:52:48 +01:00
Treeston
9f9507e6a1 Core/Misc: A variety of clean-up changes, mostly following up on 532ab1c to fix legacy bugs exposed by it:
- Triggers can no longer have a threat list (this may expose some ugliness in old legacy scripts)
- Threat entries are forced to OFFLINE if the AI refuses to attack the target
- Clean up passive creature evade behavior to be more consistent
- Fix a months old issue in spawn group management that would cause "Inactive" to incorrectly show in .list respawns for system groups outside of map 0
- Valithria script cleanups, remove old hacks and make it work with the new system. Closes #21174.
- Some strings cleanup
2018-01-04 04:46:41 +01:00
ariel-
e245113660 Core/Spells: fix casting NO_TARGET event spells
Closes #19978
2018-01-03 22:49:13 -03:00
Treeston
08277f589e nopch fixes 2018-01-03 20:53:01 +01:00
Treeston
532ab1c7f8 Core: Combat/threat system rewrite (PR #19930)
- PvE combat is now always mutual. UNIT_FLAG_IN_COMBAT is backed by actual references to the units we're in combat with.
- PvP combat is now also tracked, and almost always mutual; spells like Vanish and Feign Death can break this rule. That means we can easily determine a list of players we're fighting.
- By extension, IsInCombatWith now has sensible behavior when invoked on nonplayers.
- Threat and combat systems are no longer the same.
  - They still have an enforced relationship (threat implies combat - clearing combat clears threat)...
  - ...but we can have combat without threat. A creature (with threat list) isn't considered to be engaged until it has an entry on its threat list...
  - ...which means we can now faithfully replicate retail engage behavior. Combat on projectile launch - engagement start on projectile impact. Yay for progress!
- AI method refactor, as already ported in 6113b9d - `JustEngagedWith`, `JustEnteredCombat` and `JustExitedCombat`.
- Vehicle threat is now properly pooled on the main vehicle body (fixes #16542).
- Various edge case bug fixes for threat redirects (Misdirection "cancelling" Vigilance and similar).
- Target re-selection is now significantly faster.
- Fixed a ton of other smaller edge case bugs, probably.

Closes #7951 and #19998.
2018-01-03 20:04:19 +01:00
joschiwald
425b181544 DB: Made timestamp columns, those can have no date, nullable instead of saving invalid date '0000-00-00 00:00:00'
* This makes our tables mysql strict mode conform

Ref #21113

(cherry picked from commit c2aead1da5)
2018-01-03 15:14:49 +01:00
ariel-
4e9d346919 DB/Spell: fix Improved Stormstrike proc when you OHKO 2018-01-02 19:31:40 -03:00
Serpaa
c11d6dbac9 DB/Gossip: Thassarian
Closes #21165
2018-01-02 21:39:01 +01:00
Treeston
137955d0d2 missing override 2018-01-02 19:26:31 +01:00
Treeston
129dd33067 Scripts/ZulGurub: Fix an issue that was causing Bloodlord Mandokir to keep casting Frenzy after a wipe despite Oghan being alive. Closes #21158. 2018-01-02 19:23:10 +01:00
Treeston
7570bf4d4a DB/Creature: Remove a stray CIVILIAN flag from Cabal Agent. Tagging #19998. 2018-01-02 19:10:48 +01:00
DanVS
f76dd2f4ab DB/Creature: Dream Vision
Closes #21161
2018-01-02 18:04:43 +01:00