Commit Graph

34734 Commits

Author SHA1 Message Date
funjoker
e22705ceb3 DB/Hotfixes: Update esES broadcast_text_locale 2021-08-16 21:30:42 +02:00
Shauren
c0261468c5 Core/Quests: Fixed quests not working after relogging
Closes #26823
2021-08-16 16:33:43 +02:00
Jeremy
38aa015196 Core/Battlegrounds: Update BattlemasterListFlags (#26819) 2021-08-15 23:41:27 +02:00
Traesh
fb6761c273 Core/Spells Implement targets 133, 134, 135 : TARGET_UNIT_LINE_CASTER_TO_DEST_*** (#26786) 2021-08-15 11:09:46 +02:00
Traesh
4725941567 Core/AreaTrigger Update box searching to handle oriented boxes (#26772) 2021-08-14 20:08:40 +02:00
Jeremy
20d70abb2c Core/Battlegrounds: Change Battleground* argument to BattlegroundQueueTypeId (#26806) 2021-08-14 19:56:30 +02:00
funjoker
3cd89b0323 DB/Locales: Update deDE quest locales 2021-08-12 20:59:45 +02:00
funjoker
d0d7ceff87 DB/Locales: Update deDE creature locales 2021-08-12 20:59:31 +02:00
funjoker
85ecbf3e1f DB/Hotfixes: Update deDE broadcast_text_locale 2021-08-12 20:58:59 +02:00
funjoker
659726c209 DB/Hotfixes: Update deDE hotfixes 2021-08-12 20:58:41 +02:00
funjoker
8cba7fd6b5 DB/Misc: Correct some mistakes 2021-08-12 20:26:56 +02:00
funjoker
c193ec7151 DB/Hotfixes: delete and insert is faster than updating 2021-08-12 20:24:57 +02:00
funjoker
8253f7f202 DB/Hotfixes: Truncate optional_data instead of updating them
Blob update is way too slow
2021-08-12 19:56:26 +02:00
funjoker
7c1a44fd67 DB/Template: Update quest_poi via 39653 bruteforce 2021-08-12 19:36:16 +02:00
funjoker
99d0c7e82a DB/Template: Update quest_template via 39653 bruteforce 2021-08-12 19:35:59 +02:00
funjoker
776effb27c DB/Template: Update creature_template via 39653 bruteforce 2021-08-12 19:35:51 +02:00
funjoker
11f3780a51 DB/Hotfixes: Update broadcast_text and optional_data to 39653 2021-08-12 19:35:12 +02:00
Shauren
03f09ea16a Core/Items: Implemented secondary shoulder transmog appearance 2021-08-11 22:32:14 +02:00
funjoker
2e582e63e8 DB/Scaling: Update creature_template_scaling (2) 2021-08-09 00:10:11 +02:00
funjoker
c12ef1b830 DB/Scaling: Update creature_template_scaling 2021-08-08 23:52:53 +02:00
funjoker
6fbd15a0a9 DB/Hotfixes: Update hotfixes to 9.1.0.39653 2021-08-08 22:24:39 +02:00
Chaouki Dhib
30cfe3741a Core/Movement: Correct distance checking
Distance checking should always be in 3D, independently on if the mover has the ability to fly or not.

(cherry picked from commit 0fb133013c)
2021-08-08 21:21:34 +02:00
Treeston
4b93059ec7 Core/Creature: Temporarily let Creatures violate dynspawn assumptions for pooled creatures. This should fix startup crashes until I can investigate and find a long-term fix. Tag #21519.
(cherry picked from commit 9fc6b13027)
2021-08-08 21:21:34 +02:00
Treeston
8757a80767 Core/Creature: Add another aggressive compatibility mode assertion to catch faulty dynspawn code.
(cherry picked from commit 3eab2d7efc)
2021-08-08 21:21:34 +02:00
ariel-
d2878d47c9 Core/Globals: use proper type for smallint
(cherry picked from commit c9b730c767)
2021-08-08 21:21:34 +02:00
Treeston
552ce7c286 Core/VMap: Use fuzzy equality and gridmap tolerance for floor-finding. Closes #21338. Supersedes #21479.
(cherry picked from commit ec916db294)
2021-08-08 21:21:34 +02:00
Treeston
e47e95b6dc Core/VMap: Add outdoor state to Map::GetFullTerrainStatusForPosition. Add WorldObject::IsOutdoors, basic member access.
Ref #21479.

(cherry picked from commit e79c595b69)
2021-08-08 21:21:34 +02:00
Treeston
74cdf260e1 Core/Threat: Fix taunt logic relying on unspecified behavior by unordered boost heap iterators. Use ordered iterators instead, this is cheap for our use case anyway. This will make taunt behave consistently again.
Closes #21499.

(cherry picked from commit 71b5ed6832)
2021-08-08 21:21:34 +02:00
Killyana
16255112ab DB/GameObject: Make spawned Bountiful Feast not selectable
Closes #20957

(cherry picked from commit acdf7be800)
2021-08-08 21:21:34 +02:00
ariel-
67a1a1d29b Core/GameObject: implemented gameobject_overrides table to change faction and flags values on a per-spawn basis
Updates #20957
Closes #20958

(cherry picked from commit 34967e9c32)
2021-08-08 21:21:34 +02:00
ariel-
4c8a49302f Core/GameObject: kill uninitialized, unused field from GameObjectTemplateAddon struct
(cherry picked from commit 02739c2cbb)
2021-08-08 21:21:34 +02:00
TecDian
ce85aed472 DB/Gossip: Midsummer Fire Festival - Fix wrong gossip option conditions
Closes #21495

(cherry picked from commit 8f66695ac0)
2021-08-08 21:21:34 +02:00
Killyana
bab11efc27 DB/Conditions: Flaming spear could be casted only if the player is in taxi
Ref #15560

(cherry picked from commit e8094badf7)
2021-08-08 21:21:34 +02:00
ariel-
a1a00f823e Core/Entities: kill unused return value from Unit::HandleSpellClick
- AI hook will now receive the result by copy, as modifying it had no effect
- Some renaming: result->spellClickHandled, clickPair is actually clickBounds, the clickPair is the pair <creatureID, SpellClickInfo>

(cherry picked from commit 98d6258efd)
2021-08-08 21:21:34 +02:00
Killyana
30f8adda86 DB: Fix DB errors related to the respawn action
Action 70 will be used only for gobs and requires always an action_param1=respawntime (the time which the gob will remain spawned)
Action 133 will be used for Npcs and in some cases for gobs if they must remain spawned for ever (this action uses always target_type=1 and action_param1=0/1 (npc/gob) and action_param2= guid of the unit

Closes #21494

(cherry picked from commit e24282d41f)
2021-08-08 21:21:34 +02:00
Keader
eb3a93b93f DB/Spells: Fixed Alchemy stones procs with potions like endless mana potion
(cherry picked from commit 19cb62c0bf)
2021-08-08 21:21:34 +02:00
Killyana
fba5a22aa8 DB/Creature: assign SmartAI to Apothecary Keever's test subjects + typo fix
- missing row number in one of the DELETE FROM queries in commit 20a0d27b5b

Closes #21488

(cherry picked from commit 4c791ec376)
2021-08-08 21:21:34 +02:00
ZenoX92
37f0927deb DB/Creature: Deathguard Elite & Stormwind City Guard use Crossbow on ranged attack
- also add some missing emote responses to Stormwind City Guard

Closes #21470

(cherry picked from commit 20a0d27b5b)
2021-08-08 21:21:34 +02:00
ariel-
ffa359c21c Core/Auras: check conditions against referer caster, just as spells do
Closes #21492

(cherry picked from commit 83292cd983)
2021-08-08 21:21:34 +02:00
Treeston
32997a5989 Core/SmartScripts: Rename SMART_ACTION_RESPAWN_TARGET -> SMART_ACTION_ENABLE_TEMP_GOBJ, since that's the only thing it still does in the dynspawn model. Adjust body accordingly to warn on misuse.
(cherry picked from commit 0850b5ff39)
2021-08-08 21:21:34 +02:00
Treeston
65b8dafb53 Core/GameObject: Force compatibility mode for stupid ridiculous junk legacy hack gameobjects, ref 27e7906.
(cherry picked from commit 9f92896c52)
2021-08-08 21:21:34 +02:00
Treeston
de3eb7b298 Core/GameObject: fix stupid ridiculous junk legacy hack code with negative gobj respawn time to work again
(cherry picked from commit 27e7906814)
2021-08-08 21:21:34 +02:00
ariel-
181c671924 Core/Scripts: remove hack that caused aura to not be applied and saved twice on owned auras, causing an error on save
- This is handled by group stack rules actually
- Also reset removed aura counter when cleaning removed auras

Closes #21486

(cherry picked from commit 1074a9b053)
2021-08-08 21:21:34 +02:00
Treeston
61baf6704c AI/SmartAI: New SMART_ACTION_RESPAWN_BY_SPAWNID (hi kilyana)
(cherry picked from commit 691c67f0be)
2021-08-08 21:21:34 +02:00
Treeston
5c80f50734 Core/Spawning: Actually check spawn group state before processing a respawn. It feels like that is something that should've been noticed at some point.
Also remove CreatureScript::CanSpawn since nobody uses it, and spawn groups do the same thing.

(cherry picked from commit 94b5d9bfa1)
2021-08-08 21:21:34 +02:00
ariel-
5e7a11f88d Core/Scripts: apply resilience on Vampiric Touch and Unstable Affliction dispel effect
- Spell with SPELL_ATTR4_FIXED_DAMAGE won't do it by itself to avoid applying resilience twice, but because those are triggered from a periodic aura, those apply resilience on tick, not saved to amount.
- This is one of the cases where you have to call Unit::SpellDamageBonusTaken directly

Closes #21393

(cherry picked from commit 3753ec5647)
2021-08-08 21:21:34 +02:00
ariel-
8e7a12a87a Core/Auras: restrict target map update only to area auras as player requires to have auras registered on load
Closes #21472

(cherry picked from commit 7cff1b540c)
2021-08-08 21:21:34 +02:00
ariel-
b1a76fc756 Core/Unit: clear charmed/possessed state before returning client control. Works like a charm
Closes #21471

(cherry picked from commit fc678bb3c2)
2021-08-08 21:21:34 +02:00
Treeston
8418017188 DB/SpawnGroup: Reserve group IDs 52 through 56 for Culling of Stratholme rewrite
(cherry picked from commit b197529f1e)
2021-08-08 21:21:34 +02:00
ariel-
489b111a8a Core/Vehicles: fix crash
- Aura could be removed in Unit::SetCharmedBy (StopMoving->Relocate->ProcessTerrainStatusUpdate->RemoveAurasWithInterruptFlags)
- By not passing AuraApplication parameter execution continued with a removed application leaving vehicle in a invalid state (m_sharedVision not empty)

Closes #18281

(cherry picked from commit eb7d22d23e)
2021-08-08 21:21:34 +02:00