Treeston
bb04fbcbe8
Core/Log: Clean up some log output to include spawnId instead of lowguid.
2018-02-24 19:46:27 +01:00
Killyana
e24282d41f
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
2018-02-24 19:12:23 +01:00
Keader
19cb62c0bf
DB/Spells: Fixed Alchemy stones procs with potions like endless mana potion
2018-02-24 11:34:16 -03:00
Killyana
4c791ec376
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
2018-02-24 15:01:50 +01:00
jackpoz
16b5f39de6
Core/DBUpdater: Code cleanup
2018-02-24 14:54:42 +01:00
ZenoX92
20a0d27b5b
DB/Creature: Deathguard Elite & Stormwind City Guard use Crossbow on ranged attack
...
- also add some missing emote responses to Stormwind City Guard
Closes #21470
2018-02-24 14:39:07 +01:00
jackpoz
ff04121c83
Core/DBUpdater: Fix error message
...
Fix error message when trying to populate the database showing free'd memory data instead of the sql file name
2018-02-24 13:09:00 +01:00
ariel-
83292cd983
Core/Auras: check conditions against referer caster, just as spells do
...
Closes #21492
2018-02-24 02:55:49 -03:00
Treeston
0850b5ff39
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.
2018-02-24 02:26:35 +01:00
Treeston
9f92896c52
Core/GameObject: Force compatibility mode for stupid ridiculous junk legacy hack gameobjects, ref 27e7906.
2018-02-23 19:58:22 +01:00
Treeston
27e7906814
Core/GameObject: fix stupid ridiculous junk legacy hack code with negative gobj respawn time to work again
2018-02-23 19:52:56 +01:00
ariel-
1074a9b053
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
2018-02-23 13:16:42 -03:00
ZenoX92
31f14dadde
DB/Text: Flight Master NPC racial language on Aggro
...
* Many or all Flight Masters / Wind Rider Masters yelled in Dwarvish before this change.
Closes #21413
2018-02-23 08:12:53 +01:00
Treeston
691c67f0be
AI/SmartAI: New SMART_ACTION_RESPAWN_BY_SPAWNID (hi kilyana)
2018-02-23 03:20:03 +01:00
Treeston
94b5d9bfa1
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.
2018-02-22 20:31:42 +01:00
ariel-
3753ec5647
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
2018-02-22 02:37:00 -03:00
ariel-
7cff1b540c
Core/Auras: restrict target map update only to area auras as player requires to have auras registered on load
...
Closes #21472
2018-02-22 01:35:01 -03:00
ariel-
fc678bb3c2
Core/Unit: clear charmed/possessed state before returning client control. Works like a charm
...
Closes #21471
2018-02-21 23:24:25 -03:00
Treeston
b197529f1e
DB/SpawnGroup: Reserve group IDs 52 through 56 for Culling of Stratholme rewrite
2018-02-21 20:54:00 +01:00
ariel-
640dd138a5
DB/Spells: fix proc regression with Missile Barrage
...
Closes #21466
2018-02-21 10:33:50 -03:00
ariel-
eb7d22d23e
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
2018-02-20 19:34:58 -03:00
ariel-
ba27711145
Core/Entities: unit states cleanup
...
- Added new UNIT_STATE_FOCUSING for creature focus system, this will stop creatures adding/clearing the UNIT_STATE_CANNOT_TURN mask (eg UNIT_STATE_STUNNED if stunned while focusing a spell)
- Added UNIT_STATE_CHARMED that gets set/removed on any charm type (UNIT_STATE_POSSESSED is only for possess as it's name suggests)
- The new states are checked against mask to know whenever client needs to regain character control
Closes and fixes #21460
2018-02-20 17:34:12 -03:00
Teppic
1cc3d33cfe
DB/Loot: Reference template 24048 & 24050 corrections
...
Closes #21457
2018-02-19 20:21:57 +01:00
ZenoX92
9b600103ba
DB: Mordent Evenshade and Sentinel Stillbough event
...
Closes #10124
2018-02-19 20:20:36 +01:00
ZenoX92
51d4ff7531
DB/Quest: Betrayed (Part 3)
...
Closes #21458
2018-02-19 20:14:37 +01:00
ZenoX92
b362de2db6
DB/Quest: Improve some quest events (Part 2)
...
Closes #21456
2018-02-19 20:13:47 +01:00
ZenoX92
034e49eba1
DB/SAI: Arkkoran Clacker
...
Closes #21454
2018-02-19 20:12:54 +01:00
ZenoX92
f9382d272c
DB/Quest: Improve some quest outro events
...
Closes #21453
2018-02-19 20:11:06 +01:00
ZenoX92
72a4bc148f
DB/SAI: Un'Goro Crater
...
Closes #21452
2018-02-19 20:09:40 +01:00
ZenoX92
b49d7ca41a
DB/SAI: Blasted Lands
...
Closes #21451
2018-02-19 19:46:10 +01:00
ZenoX92
65656dff59
DB/Quest: The Temple of Atal'Hakkar
...
Closes #21450
2018-02-19 19:45:32 +01:00
ZenoX92
16b23213eb
DB/Quest: The Corruption Abroad (Breadcrumb quest)
...
Closes #21449
2018-02-19 19:45:00 +01:00
ZenoX92
d25f8d6a41
DB/Quest: Nothing But The Truth (Part 2)
...
Closes #21448
2018-02-19 19:44:19 +01:00
ZenoX92
4241705b6d
DB/Gossip: Torwa Pathfinder
...
Closes #21447
2018-02-19 19:36:37 +01:00
ZenoX92
5988a3d136
DB/Gossip: Northern Crystal Pylon, Eastern Crystal Pylon & Western Crystal Pylon
...
Closes #21446
2018-02-19 19:35:52 +01:00
ZenoX92
17ddc47577
DB/Gossip: Karna Remtravel
...
Closes #21445
2018-02-19 19:35:08 +01:00
ZenoX92
eec8b68b9e
DB/Creature: Un'Goro Thunderer
...
Closes #21444
2018-02-19 19:34:24 +01:00
ZenoX92
e2b087a2a3
DB/Creature: A-Me 01
...
Closes #21443
2018-02-19 19:05:38 +01:00
ZenoX92
d78b62f437
DB/Gossip: J.D. Collie
...
Closes #21442
2018-02-19 19:04:35 +01:00
ZenoX92
6a68102f2a
DB/Gossip: Jediga
...
Closes #21440
2018-02-19 19:03:33 +01:00
DDuarte
01386cf447
SQL: Update revision_data with new TDB
2018-02-18 23:45:55 +00:00
tkrokli
9163ad55ff
SQL: Updates to the 335.64 auth & characters updates tables
...
- added missing lines in the `updates` tables for the new TDB 335.64 files
2018-02-18 23:31:03 +01:00
tkrokli
d21cb8fe16
DB/SQL: typo fix (Update base files follow-up)
2018-02-18 23:07:59 +01:00
DDuarte
93357631fa
SQL: Update base files
...
Missing changes to ed63d15
2018-02-18 19:52:58 +00:00
DDuarte
ed63d15dfe
TDB 335.64 - 2018/02/18
TDB335.64
2018-02-18 18:56:29 +00:00
DDuarte
3945a010d2
Core/DBUpdater: Improve message when base SQL file is missing
...
(cherry picked from commit 844755aa07 )
GCC build fix
(cherry picked from commit a15985edc6 )
2018-02-18 16:23:47 +00:00
jackpoz
e482d9f303
Core/Spells: Revert SPELL_ATTR2_IGNORE_ITEM_CHECK to unknown
...
Revert SPELL_ATTR2_IGNORE_ITEM_CHECK to unknown, too many spells unrelated to items have this attribute and the current handling was causing exploits with "Mote of Water" and other elements.
Fix #19547
2018-02-18 12:20:25 +01:00
Wilcalaf
2dd5735bd9
Scripts/Nexus: Fixed a rare bug when sometimes Magus telestra managed to die while invisible preventing players from looting. ( #21436 )
2018-02-17 23:02:58 -03:00
jackpoz
db5c9867e2
Core/Misc: Add PERFORMANCE_PROFILING CMake option
...
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance.
This option is unsupported, do not report any issue happening when enabling this option.
2018-02-17 23:29:34 +01:00
jackpoz
572eab1c35
Core/Misc: ASSERT() cleanup
...
Move some functions calls out of ASSERT() calls. ASSERT() should only apply checks without modifying any object and without having any side effect.
2018-02-17 23:26:50 +01:00