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
sirikfoll
076bd11002
Scripts/Icecrown Citadel: Prevent Lady Deathwhisper movement during first phase.
2018-02-17 20:11:37 -02:00
ariel-
1ac87b6c60
Core/Auras: fixed Drain Mana breaking early if caster has Mana Feed talent but no active pet
2018-02-17 17:50:05 -03:00
ariel-
a6673f6aa7
Core/Scripts: implement Drain Mana breaking some auras on hit
...
Updates #20234
2018-02-17 17:46:38 -03:00
Cannix
7e71b4535a
Core/Spells: Execute item casts immediately instead ( #21396 )
2018-02-17 16:46:26 +01:00
Wyreth
56874b44f0
Core/Entities: remove grid-wide visibility from setActive and implement another method for it ( #20725 )
2018-02-17 15:09:54 +01:00
jackpoz
d3d0640a8d
Core/Misc: Fix static analysis issues
...
Fix static analysis issues reported by Coverity
2018-02-16 21:39:52 +01:00
Jeremy
9e0faace9a
Core/Entities: Reduce the probability of units dropping under the map ( #21322 )
...
Reduce the probabilty of going under the map
2018-02-16 20:59:19 +01:00
Killyana
8aa10f6c65
Core/SAI: Move enum to the correct file
2018-02-16 18:39:50 +01:00
ariel-
5b4287e683
Core/Events: update holiday code and remove misleading log (event date is the one from game_event)
...
- add siign to DBC struct member CalendarFilterType as it was being used as such
- kill localtime usage as it's deprecated
Closes #18542
2018-02-16 03:02:10 -03:00
ariel-
7dc78d8e3f
Core/Scripts: implemented Fungal Decay & Tail Sting
...
Refs #18542
2018-02-16 00:54:53 -03:00
ariel-
ab1aa8e384
Core/Scripts: fix Glyph of Renew interaction with Empowered Renew
...
- Get actual ticks from aura, because glyph reduces them by 1
2018-02-16 00:54:53 -03:00
ariel-
5f38b92340
Core/Auras: remove obsolete check that was preventing some auras to proc even if they met conditions otherwise
2018-02-16 00:54:53 -03:00
Keader
f609589e22
Scripts/Ulduar: Fixed amount of Mole Machines in Razorscale 10 man
2018-02-16 00:03:40 -03:00
Killyana
ca4f1e334a
Core/SAI: Add an action_param3 to "summon gob" to control when the object will despawn
...
0 - For despawn when creature dies or time runs out
1 - For despawn after time
Closes #11601
2018-02-16 02:19:19 +01:00
Treeston
789f3c5d37
Scripts/TotC: Reduce Twin Val'kyr berserk timer from 10 minutes to 8 minutes on normal mode (match DBM). This closes #15367 , no matter what ccrs' bong says.
2018-02-16 00:13:43 +01:00
ariel-
29f7258dc8
Core/Spells: prevent creatures to focus channeled spells without SPELL_ATTR1_CHANNEL_TRACK_TARGET
...
- Creatures stuck here wouldn't try attacking because of this
- Remove one workaround in halion script, now it's unneeded
Ref #11311
2018-02-15 17:50:15 -03:00
ariel-
a36be9ebdb
Core/Auras: skip target map update for one world tick if owner is not yet in world
...
Closes #21426
2018-02-15 13:53:41 -03:00
Gooyeth
42a11e97d5
Scripts/Commands: add AI/ScriptName to .gobject info (PR #21419 )
2018-02-15 16:11:28 +01:00
Treeston
4da9321d2b
Core/Combat: Unify combat permitted checks between CvC and PvC - only require "not friendly" in all cases. Fixes Yogg-Saron encounter. Closes #21380 .
...
Also some bonus cleanup to Yogg's script to make transition cleaner.
2018-02-15 12:23:05 +01:00
Treeston
cfc77fd843
Scripts/SmartAI: SetData now has an invoker (if the setting is done by something using SmartAI).
...
Also, some refactors. SMARTAI IS SUCH A FUCKING CLUSTERFUCK I SWEAR.
2018-02-15 11:44:37 +01:00
Gooyeth
b9aec3b4d3
Core/Scripts: Add bossId in state error log. ( #21421 )
2018-02-15 09:00:48 +01:00
ariel-
f1f6976f91
Core/Auras: make area and dynauras condition compliant by using the spellarea searcher instead of script searchers
...
Closes #17317
2018-02-15 03:07:41 -03:00
ariel-
a145a14166
Core/Handlers: fix bogus check that skipped CMSG_CAST_SPELL packet under certain conditions, missing a target change
...
Closes #21390
2018-02-14 23:11:38 -03:00
ariel-
93cbe815cb
Core/Spells: fixed server being too overzealous with autoshot
...
- Interrupting it when casting another spell and switching targets
Ref #21390
2018-02-14 23:10:41 -03:00
ariel-
1edd81f9d5
Core/Scripts: fix Healing Stream Totem coefficient and animation
2018-02-14 22:07:06 -03:00
Keader
63c436f5fb
Core/Scripts: Fixed some delayed enrage
...
Closes #15367
2018-02-14 17:32:29 -03:00
ariel-
a93d74c8df
Core/Scripts: fix nopch
2018-02-14 16:36:56 -03:00
ariel-
4101bc287d
DB/Spell: clear spell_bonus_data of redundant entries, now read from DBCs
...
Ref #21415
2018-02-14 05:58:56 -03:00
ariel-
df5afca278
Core/Scripts: implemented Seed of Corruption scaling damage tolerance
2018-02-14 05:58:56 -03:00
ariel-
1826437c09
Core/Spells: implemented bonus SP coefficient from DBC
...
Ref #21415
2018-02-14 05:58:56 -03:00
Treeston
264d4e1d30
Entities/GO: Add forceRespawnTimer support to DespawnOrUnsummon. Use it in SAI.
2018-02-14 02:24:13 +01:00
Treeston
f071fa9e93
Entities/GO: GameObjects now support (delayed) despawning in a reasonable manner. Closes #21406 .
2018-02-13 22:08:49 +01:00
Treeston
2cd5992f37
oops, now it builds (and a bonus refactor that annoyed me)
2018-02-13 18:42:28 +01:00
Treeston
6fb0bc1038
Scripts/SmartAI: Forward invoker to invoked action list actions. Also JustAppeared -> InitializeAI.
2018-02-13 18:29:38 +01:00
Treeston
0e401c7d96
Scripts/TheBarrens: Fix "The Escape" (863) - I don't think this one ever worked, honestly.
2018-02-13 17:49:40 +01:00
Treeston
482328bddf
Scripts/SmartAI: SMART_TARGET_INVOKER cleanup step 1. The core will now log errors on start-up if SMART_TARGET_INVOKER abuse is found, but will continue to load the scripts as deprecated for now.
...
Note that a lot of these scripts may either not currently work, not work reliably, or may be prone to breaking unexpectedly when core internals change. SMART_TARGET_INVOKER is undefined behavior on any event that doesn't directly specify its invoker.
(We are considering options for allowing INVOKER to make sense in timed action lists in a reliable fashion, so they are exempted at this time.)
2018-02-13 16:59:32 +01:00
Treeston
ac8b9be5d6
Core/Spell: Properly remove REACT_PASSIVE on permanent feign death unapply. Fixes and closes #21156 .
2018-02-13 15:47:44 +01:00
Treeston
fe3b4de1cd
Scripts/AzjolNerub: Clean up Hadronox to hopefully avoid any further evade issues. Tag #20310 .
2018-02-13 15:47:04 +01:00
ccrs
28c6db0807
Core/Movement: fe1ba18905 followup
...
ref fe1ba18905 (r27507316)
plus I noticed a logic error on speedchange call
2018-02-12 23:44:18 +01:00
ariel-
59fb0a581c
Core/Spells: fix Vampiric touch dispel effect inheriting damage done pct twice
2018-02-12 19:32:59 -03:00
ariel-
bc2a4c816d
Core/Scripts: fix Tenacity Aurascript (target is null on UpdatePeriodic)
...
- also aura amount increases with stack so we lose spellid info, calculate it from basepoints directly
- aura should be SPELL_AURA_MOD_HEALING_PCT instead of SPELL_AURA_MOD_HEALING_DONE_PERCENT (ie taken instead of done, confusing names)
2018-02-12 19:04:01 -03:00
ariel-
c7095375c3
Core/Unit: kill unused parameter from SpellxxxBonusTaken
2018-02-12 18:36:10 -03:00
ariel-
404240fb68
Core/Scripts: remove Tenacity hack, implemented with proper aura
2018-02-12 18:35:06 -03:00
tkrokli
57553ed96a
Build fix (unused parameter 'stack' in Unit.cpp)
...
Ref. commit 4d14f613f3
2018-02-12 22:22:34 +01:00
Wilcalaf
0c1aaac219
Archaedas should properly start now when clicking on the altar. ( #21401 )
2018-02-12 21:38:08 +01:00