Commit Graph

31260 Commits

Author SHA1 Message Date
Treeston
e3e4b975ce AI/TotemAI: Tell Shaman Totems to stay put and stop moving. Closes #23498. 2019-06-24 02:30:07 +02:00
Killyana
466e11a60d DB/Creature: Add missing spawns in Onslaught Harbor 2019-06-23 23:36:42 +02:00
Treeston
854a113fc7 AI/SmartAI: Properly forward to inherited CreatureAI::JustAppeared in SmartAI::JustAppeared. Fixes #23491. 2019-06-23 23:32:21 +02:00
Treeston
1158f267df Combat/Threat: Split ThreatManager::NotifyDisengaged off from ThreatManager::ClearAllThreat. NotifyDisengaged signifies intent to clear the engagement flag, and should only be called from AI. Fixes #23490. 2019-06-23 23:31:51 +02:00
jackpoz
00575221e3 Core/Misc: Code cleanup
(cherry picked from commit eeced9ae15)
2019-06-23 22:27:28 +02:00
Killyana
62a0057f25 Rename files 2019-06-23 22:02:13 +02:00
Wyrserth
5fb44f8f74 DB/Creature: make Troll Roof Stalker immune to Mind Control
Closes #23488
2019-06-23 21:21:18 +02:00
Wyrserth
3d8891d393 DB/SAI: add spell Blinding Swarm and associated emote to Nerub'ar Web Lord
Closes #23487
2019-06-23 21:20:50 +02:00
Wyrserth
187e50cb1c DB/SAI: fix out-of-combat event for Warsong Peon in Warsong Hold (Borean Tundra)
Closes #23486
2019-06-23 21:20:17 +02:00
Wyrserth
26287010e8 DB/SAI: add out-of-combat text for Brother Keltan and Absalan the Pious
Closes #23485
2019-06-23 21:19:49 +02:00
Wyrserth
2cd6da0313 DB/Creature: allow Imprisoned Beryl Sorcerer and Archmage Evanor to be visible only after certain milestones in quest chain progress
Closes #23484
2019-06-23 21:19:12 +02:00
Wyrserth
9f07f7945b DB/Quest: The Jig is Up
Closes #23483
2019-06-23 21:18:40 +02:00
Wyrserth
e200c5f676 DB/Creature: NPCs Rork Sharpchin and Olut Alegut can only sell their items if the related quests are rewarded
Closes #23482
2019-06-23 21:17:55 +02:00
Wyrserth
babadce78b DB/Loot: Fix rare (superior) drops for NPC Speaker Mar'grom
Closes #23481
2019-06-23 21:17:15 +02:00
Wyrserth
69a95664cd DB/Loot: remove wrong loot from Young Nightsaber
Closes #23480
2019-06-23 21:16:36 +02:00
Wyrserth
34eb88e41f DB/SAI: script on-low-health behavior for Darkweb Recluse in Drak'Tharon Keep
Closes #23478
2019-06-23 21:16:06 +02:00
Wyrserth
9b0b7a2859 DB/SAI: fix event for the quest Ending the Bloodcurse
Closes #23477
2019-06-23 21:15:28 +02:00
Wyrserth
69d03e3864 DB/Conditions: Lurielle's Pendant should require target to be at 30% health or below
Closes #23476
2019-06-23 21:14:34 +02:00
Wyrserth
a8c3c02ba7 DB/PageText: fix wrong characters in Archavon's Log's first page
Closes #23475
2019-06-23 21:13:57 +02:00
Wyrserth
e298dca20f DB/SAI: fix on-accept event for quest Help for Camp Winterhoof
Closes #23474
2019-06-23 21:13:25 +02:00
Wyrserth
d740b38a32 DB/Quest: fix breadcrumbs for quest Spirits of the Ice
Closes #23473
2019-06-23 21:12:52 +02:00
Wyrserth
bfd952bd9f DB/SAI: Add spell Hoof Strike to Highland Mustang, Frosthorn Ram and Onslaught Destrier
Closes #23472
2019-06-23 21:12:16 +02:00
Wyrserth
1efdca0291 DB/Quest: Add missing request-items text for The Yeti Next Door and Mastery Of The Charge
Closes #23471
2019-06-23 21:11:37 +02:00
Wyrserth
976bc11499 DB/Creature: prevent NPC Geezle from being attackable
Closes #23470
2019-06-23 21:10:27 +02:00
Killyana
6a4c381e86 DB/Creature: Bonechewer Riding Wolf 2019-06-23 19:41:38 +02:00
Treeston
37fc38b917 AI/SmartAI: Move SMART_EVENT_RESPAWN invocation from ::InitializeAI() to ::JustAppeared(). Closes #23313. 2019-06-23 17:37:35 +02:00
Treeston
8499434340 Core/AI: Remove EnterEvadeMode calls from Guardian/Summon spell handlers. Add follow logic to CreatureAI::JustAppeared. Closes #23270. 2019-06-23 17:18:42 +02:00
Treeston
aeed616c22 Entities/Unit: Adjust an overzealous assert to not catch self references, and add the inverse assert too. 396f87c follow-up. 2019-06-23 16:56:15 +02:00
Treeston
f4b06fd0b7 Entities/Unit: Fix an issue where Unit pointers could be left dangling if a channeled Charm was interrupted by a control aura application. Closes #23440. 2019-06-23 16:45:32 +02:00
Treeston
396f87c30d Entities/Unit: Cleanup all the direct accesses to m_unitMovedByMe. Refactor the field to be protected. Add assertions to catch dangling pointers. 2019-06-23 16:44:37 +02:00
Treeston
b3ee407707 Core/Misc: Add static versions of GetGUID and ToX methods to Object. The static versions return Empty/nullptr for null objects. 2019-06-23 16:01:51 +02:00
Treeston
00728cef15 some more cleanup, a5f8c0d follow-up 2019-06-23 13:28:45 +02:00
Treeston
a5f8c0d30c Core/Creature: Attach out-of-combat health regen to the Engaged system, not the Combat flag. Closes #21571. 2019-06-23 13:27:29 +02:00
Treeston
632a300dd2 Core/Misc: Rename Unit::AttackedTarget to Unit::AtTargetAttacked to match naming scheme for these notifiers 2019-06-23 00:32:59 +02:00
Treeston
dbe3bbefe7 Core/Entities: Kick engagement logic upstairs to Unit (from ThreatManager), since all Units with AI need it (not just those with threat list). Fixes #17981. 2019-06-23 00:32:13 +02:00
Treeston
c06330acf2 Revert "Core/AI: Fix Guardians not following the owner after finishing combat (#23466)"
This reverts commit c234604e82.
2019-06-22 22:21:09 +02:00
jackpoz
eeced9ae15 Core/Misc: Code cleanup 2019-06-22 21:07:41 +02:00
Giacomo Pozzoni
c234604e82 Core/AI: Fix Guardians not following the owner after finishing combat (#23466)
CreatureAI::UpdateVictim() was not triggering EnterEvadeMode() after the Creature ended combat because IsEngaged() would return false.
These changes save the value of IsEngaged() to be used next tick to check if the Creature was in combat, is not anymore now and needs to evade (or select another enemy).
EnterEvadeMode() sets the stored previous value to false to ensure the Creature will not try to evade while already evading.
2019-06-22 20:03:49 +02:00
zartech22
678e0e606a Core/Instance : Fix instance resetting exploit (#23263)
* Push offline players out of instance

Push offline players out of instance when reseting dungeon with a raid mode group

* Add SQL request to character

Add a SQL request to update the position of a player in a specified map

* Teleport to graveyard instead
2019-06-22 19:23:42 +02:00
Sorikoff
ac7c72d633 Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind (#23463)
* Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind

* Revert "Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind"

This reverts commit a8055960

* Revert "Revert "Scripts/Spells: Portal to Orgrimmar & Portal to Stormwind""

This reverts commit a5be792b

* Fix NoPCH

* Clean up

* Clean up

* fixup! Clean up

* Caster -> Target

* Rename 9999_99_99_99_world.sql to 2019_06_22_01_world.sql
2019-06-22 16:36:53 +02:00
Sorikoff
40b09e3df1 Scripts/Spells: Ultra-Advanced Proto-Typical Shortening Blaster (#23456)
* Scripts/Spells: Ultra-Advanced Proto-Typical Shortening Blaster

* Fix NoPCH

* Correct header

* fixup! Clean up

* Rename 9999_99_99_99_world.sql to 2019_06_22_00_world.sql
2019-06-22 09:44:23 +02:00
Wyrserth
8163ea60c8 Core/RBAC: add permission that prevents accounts from earning all achievements or only realm firsts (#23459)
* Core/RBAC: add permission that prevents accounts from earning all achievements or only realm firsts.

* Kill evil spaces.

* Rename 9999_99_99_99_auth.sql to 2019_06_21_00_auth.sql

* Update auth_database.sql
2019-06-21 20:17:37 +02:00
Sorikoff
e9d803ccee Scripts/Spells: Migrate Teleporting to Script (#23458)
* Scripts/Spells: Migrate Teleporting to Script

* Rename 9999_99_99_99_world.sql to 2019_06_21_02_world.sql
2019-06-21 19:25:51 +02:00
Sorikoff
a4cd4d8b87 Scripts/Spells: Migrate Lightwell to Script (#23455)
* Scripts/Spells: Migrate Lightwell to Script

* Add newline to SQL file

* Misc

* Rename 9999_99_99_99_world.sql to 2019_06_21_01_world.sql
2019-06-21 19:21:49 +02:00
Wyrserth
fc92bd358c DB/Loot: Fix Mighty Protection Potion recipes drop chances
Closes #23461
2019-06-21 11:15:49 +02:00
Keader
f9a366628a Build fix 2019-06-20 21:20:58 -03:00
Keader
3b0743ea67 Scripts/Icecrown Citadel: Fixed some bugs on Blood Orb object and trash mobs around him
Followup: 394b119664
2019-06-20 21:11:56 -03:00
Killyana
1445b5aa11 DB/Creature: Fix Ick boss Boss Whisper text 2019-06-20 22:59:36 +02:00
Killyana
8d6295559d DB/Quest: "Where Kings Walk" and "Warchief's Blessing"
The script was deleted by 5f928f7949 But it wasn't done properly via the spell_area anyway
2019-06-20 20:57:57 +02:00
Killyana
b8549fe39e DB/GameObjects: Respawn Corrupted plants in Felwood
3.3.5 only
2019-06-20 17:44:10 +02:00