treeston
e829af4c2b
Common/Utilities: More std::chrono overloads for EventMap. Specifying 2 std::chrono types now gives you a random (to milliseconds) time in that interval (inclusive) for (Re)ScheduleEvent.
...
(cherry picked from commit 2174c5d7dd9669384b2e68b8b406a3173042d7d9)
2017-02-26 20:02:15 +01:00
treeston
bd5669ec5e
DB/SmartScripts: Fix Jewelcrafting stone statues.
...
(cherry picked from commit 0f7efc86d066ed614fa7b192da81c48d586f8b85)
2017-02-26 20:02:00 +01:00
tkrokli
b4083763bc
DB/conditions: add condition Pet Type to Pet Trainers gossip
...
Use ConditionTypeOrReference 45 (PetType in PetDefines.h):
- Show gossip menu 4783 option id 1 if Pet Type is hunter pet
( follow-up to PR #17746 / commit 03bafe3 )
(cherry picked from commit 9d7cd93e0da110546c5a572096773901c54c7f2b)
2017-02-26 20:00:46 +01:00
SnapperRy
cab4ce3a53
Core/Fishing: implement retail-like fishing skill-up functionality ( #17528 )
...
Follow-up to 6f1e823.
Forgot to update base characters database. Sorry.
2017-02-26 19:59:07 +01:00
SnapperRy
29ce69b3ad
DB/Quest: improvements for Test at Sea:
...
- Prevent player from entering combat when using the quest item.
- The targeted NPCs should only yell sporadically.
(cherry picked from commit 271c16fb60f7c0d3ada5d34e0dfc39eb8b1d2cb1)
Rename 2016_09_12_03_world.sql to 2016_09_13_01_world.sql
(cherry picked from commit 43968512ce88f0cbe37e23400437a753a84189ce)
2017-02-26 19:26:43 +01:00
SnapperRy
9dae7a6c5e
DB/Quest: Let's Go Surfing Now
...
By @Rushor and @Killyana, finishing touches by yours truly. Closes #6845
(cherry picked from commit 3713b4e423949f2314a68b531ba7c091d4b64c3a)
2017-02-26 19:25:11 +01:00
ariel-
fecf3b6143
Core/Spell: Updated SpellInfo::GetMaxTicks with all effects capable of periodics
...
(cherry picked from commit e0ba5f9ed6e4677b2999975d18d034a49d1c5745)
2017-02-26 19:22:21 +01:00
SnapperRy
83257dacf2
Core/Fishing: ignore required skill when fishing in pools.
...
(cherry picked from commit 4164e0cf88745a85b5b11587471b047fe0077fbb)
2017-02-26 19:21:19 +01:00
ariel-
bf3570dadb
Core/Spell: do not cast interrupt effect if the spell did not hit
...
(cherry picked from commit 08e0390d9503d4dd2b43dbe3224a70f3e76dec8c)
2017-02-26 19:20:36 +01:00
treeston
9039a1c138
Instance/UtgardePinnacle: Fix Svala Sorrowgrave timings (from sniff).
...
(cherry picked from commit 5d87e4af8cac5da0d6ad57c85c78fde08d7cae5b)
2017-02-26 19:20:13 +01:00
ariel-
f3771f4b7f
DB/Spell: Add some attributes to Horsemen Credit
...
Fixes achievement credit for dead players
(cherry picked from commit e84d587ed47fcdcdbd3482315849d5c5f6fa18d8)
2017-02-26 19:20:02 +01:00
Aokromes
927a1b3e1e
Core/Updater: Clarify more 2 errors
...
(cherry picked from commit fe9f79780e1a6dd14e0876dca54ef4d8c8a0a5ae)
Update DBUpdater.cpp
(cherry picked from commit fb048a4cdbd56102018db5c9149ca2103c1507b2)
Update DBUpdater.cpp
(cherry picked from commit 9250680680399e986736786bb6c3c2ff97ca5b9c)
2017-02-26 16:56:45 +01:00
SnapperRy
21b0132bd8
DB/SAI: fix wrong caster for a spell involved in quest "Towers of Certain Doom"
...
Was easily exploitable for experience, since it's a wide instakill spell. Change confirmed from sniffs.
(cherry picked from commit 127825ee95214f67e217d9aff0c9683ff1aedfa8)
2017-02-26 16:53:23 +01:00
treeston
e39c582532
Core/Movement: Fix an edge case crash in HomeMovementGenerator.
...
(cherry picked from commit f2067d3557ccd7595f15cf526d81d2f19911cf3c)
2017-02-26 16:52:24 +01:00
SnapperRy
0be57d6dcf
DB/Misc: replace wrong spell used in spell_area for Scalawag Point.
...
Also fix a smart script that relied on the old aura's behavior.
(cherry picked from commit 927d00299847eeeebd17b4518e33046bb77ef3d7)
2017-02-26 16:51:17 +01:00
SnapperRy
1f47542db6
DB/Quest: small fixes for The Frost Wyrm and its Master.
...
- Fix wrong spawntime for spellfocus gameobject.
- Add conditions for quest item's spell to prevent exploits, by @sirikfoll
Updates #3541
(cherry picked from commit c5d190a85a2e8f6cec0affa74548e22435eaa449)
2017-02-26 16:49:06 +01:00
SnapperRy
bcd076b550
DB/Script: implement event for quest 9542 (Totem of Vark)
...
(cherry picked from commit 1f9abfd58511a5795ecf15d104a79d23d700a36c)
2017-02-26 16:47:50 +01:00
joschiwald
7ee191578e
Scripts/Spells: Updated two Anraphet SpellScripts
2017-02-26 16:38:22 +01:00
SnapperRy
f29dd0794b
DB/Creature: remove wrong spell from NPC "Venture Co. Saboteur" and add correct one.
...
They have aura "Torch Burn", they don't cast "Thorns". From sniffs.
(cherry picked from commit adb2d8424bf4922f61f28a5a5ce69b6c4346a0b4)
2017-02-26 15:58:05 +01:00
treeston
e9b931e297
Entities/Object: Add some Position const& overloads to distance/angle methods for usability.
...
(cherry picked from commit 0e8c2f90320ad0dd3ef48ae324b64006d47ea0ca)
Woops. Thanks, clang.
Crash fix.
(cherry picked from commit 1b7eebc7ba211723fedcc38ac2adc9223ec2afad)
2017-02-26 15:49:01 +01:00
SnapperRy
5d618e08d4
DB/Gossip: fix gossip text for creature "Admiral Odesyus"
...
(cherry picked from commit c96fa033db23299f60c4e15e2f5f3a3eef507d5b)
2017-02-26 15:47:30 +01:00
SnapperRy
e186a10603
DB/Spell: prevent serverside auras for Paladin talent Pursuit of Justice from vanishing after death.
...
(cherry picked from commit a261e68aed4be53db7b61f601196ef9810da0d39)
2017-02-26 15:46:30 +01:00
SnapperRy
1bb998f406
Script/Quest: replace wrong test spell used for quest "Red Snapper - Very Tasty!" with actual summoning.
...
The spell does not appear in sniffs, and the summoned NPC's spawn time was far too short to be appropriate (15 seconds).
(cherry picked from commit 0479f08c3c07c4de3af4d2293b80d690e4bdf646)
Script/Quest: fix and use proper serverside summon spell for quest "Red Snapper - Very Tasty!".
(cherry picked from commit 2f493430c9f029867eb1699c54de853e06e850d9)
2017-02-26 15:39:00 +01:00
Rochet2
117b45d768
Core/Scripts: Enhance quest status hook by making it catch more status changes ( #17865 )
...
(cherry picked from commit c52566a8881bdcd1cc33279e1a10621648cb664e)
2017-02-26 15:36:01 +01:00
treeston
9710c808d7
Core/Maps: Add override to allow InstanceMap const* -> InstanceScript const*.
...
Also tighten const-ness on CanSpawn method of CreatureScript.
(cherry picked from commit 3c32086b81ea85ddbb5920c11d9f30fbd0953ef6)
2017-02-26 15:33:46 +01:00
treeston
31a3f2297b
Core/Conditions: New CONDITION_QUESTSTATE (47). It's the existing quest conditions collapsed into a bitmask value2 because I'm a lazy person that doesn't like having long SQL queries.
...
Then use this new condition to fix Sniffing out the Perpetrator for Horde. Tagging issue #17914 .
(cherry picked from commit 62cffd11d0e9b33dd60cb5238f06d6dfd06415d8)
2017-02-26 15:31:42 +01:00
treeston
e941d7e04b
Creature/Scripting: Move CreatureAI::CanRespawn to CreatureScript::CanSpawn. Now also applies to initial spawn. Dynamic spawning prep.
...
(cherry picked from commit b3d44d6c366c7e4f12a6ce30ee5cf6b9bff68a06)
Game/Scripting: Follow-up to b3d44d6. Fix script selection for creatures on difficulty > 0.
(cherry picked from commit 91c2b3162d350ab1a09053574ad67f45f089175b)
Build fix.
(cherry picked from commit a9f1151f2ca56394e315d0b07741c240ef59c2ff)
Fine, this time I actually built it. Promise.
(cherry picked from commit 0c2c88ed5025d9b51b6cbdf0603ceaf1ea54c80a)
2017-02-26 15:30:15 +01:00
treeston
9c36dd7e94
AI/SmartAI: Fix an issue where SmartAI creatures would not properly follow their owner on evade. Also fix a bug where creatures with INHABIT_ROOT would get stuck in evade under certain conditions.
...
This allows us to fix quest 12261 (No Place to Run). Closes #16291 .
(cherry picked from commit e69a483aa942c1c6c4bd9b5fa47139f89643b8d5)
Derp. Build fix.
(cherry picked from commit 9180bcd404ff0a89144bbe834a2efe189bd0eb86)
2017-02-26 15:30:15 +01:00
treeston
31eb40439e
DB/Quest: Fix vehicle SAI for quests 12910 and 12855 (Sniffing out the Perpetrator H/A). Tagging issue #17914 .
...
(cherry picked from commit 3219346888ba3beb43424c60764849ec0ea030c5)
2017-02-26 15:30:14 +01:00
ariel-
c229816104
Core/Entities: moved duplicated triggered cast proc check to Unit::ProcDamageAndSpellFor, it was preventing some always triggered auras from proccing.
...
(cherry picked from commit 19e757af5cb6bbde3f9263f0f4aaec87a7e0301c)
2017-02-26 15:30:14 +01:00
ariel-
945bbbfa77
Core/AI: updated SpellTargetSelector::operator() ( #17824 follow-up)
...
(cherry picked from commit 805637cea15470dac4b9417494e4d89f1c1d3239)
2017-02-26 15:30:14 +01:00
ariel-
4957a17cb1
Core/Battlefield: container optimization
...
(cherry picked from commit 932d31598d697bd6cdb4f83ec70018e789984948)
2017-02-26 15:30:13 +01:00
ariel-
4d061e0b49
Core/Battlefield: fix Wintergrasp defender portal logic
...
(cherry picked from commit 43c071d0c88fc546517902dbe0f58fd69bc04b18)
2017-02-26 15:30:08 +01:00
ariel-
a82e9e5150
Core/Scripts: move Icehowl unroot after movement (MotionMaster does not update if unit is Rooted)
...
Closes #17864
(cherry picked from commit 47a43b21c883492c4f3acebf633b5002cf58f4a0)
2017-02-26 15:30:08 +01:00
ariel-
0afe0e536d
Core/Scripts: Implement Flag of Ownership. Closes #12265
...
Core/Spells: Implemented TARGET_CORPSE_SRC_AREA_ENEMY. Closes #12803
(cherry picked from commit bc4b4f656cda98be06c03301f22750804fea8fa0)
2017-02-26 15:30:07 +01:00
Kittnz
a33bc3148a
DB/Instance: Black Temple
...
- Add missing aura's and Ashtongue Stalker's spawns.
- Add paths for Illidari Nightlord's and formations
(cherry picked from commit 0bb9da30d50b0a69bddded8f77b4e3efe89d78ad)
2017-02-26 15:30:03 +01:00
ariel-
934f038753
Core/Scripts: Removed Glyph of Backstab.
...
(cherry picked from commit 31399d5f3466fe26a35194d63ca618168a162867)
2017-02-26 15:30:02 +01:00
Shauren
e9bdcd9d64
Scripts/Naxxramas: Fixed invalid use of std::initializer_list
2017-02-26 15:01:23 +01:00
Shauren
bc2380e105
Core/DataStores: Fixed Meta->Types/TypesString mixup causing crashes when trying to send hotfix for nonlocalized string
...
Closes #18882 (for real this time)
2017-02-26 15:00:46 +01:00
Shauren
047c6f072b
Core/Movement: Handle move stop embedded in spell cast requests
2017-02-25 22:13:00 +01:00
vincent-michael
47b73fefc5
DB/Hotfixes: Added newer tact key for 7.1.5
2017-02-25 18:11:58 +01:00
vincent-michael
a5d270fafd
DB/Quests: Updated quest_template data for 7.1.5 part 6
2017-02-25 17:51:12 +01:00
Aokromes
d7124f0100
Update extractor.bat
2017-02-25 10:37:22 +01:00
vincent-michael
a4c226eecc
Core/Spells: Fixed possible crash
2017-02-25 00:05:21 +01:00
Shauren
bfe4733195
Build fix
2017-02-21 21:05:37 +01:00
vincent-michael
b71b61c3c5
DB/Quests: Updated quest_template data for 7.1.5 part 5
2017-02-20 21:45:34 +01:00
Shauren
3fce636c19
Revert "Fix non-PCH build." and fix it the proper way
...
This reverts commit 438d090c8d .
2017-02-20 17:39:31 +01:00
vincent-michael
dd3dd5991d
DB/Areatrigger: Updated areatrigger_template data for 7.1.0
2017-02-19 16:05:23 +01:00
ariel-
b1b150a419
Core/Transport: do not relocate players on board of vehicles when near teleporting. Vehicle should take care of that
...
(cherry picked from commit 7470bf6b97eed6732fd1e076bb290f4f97e402a3)
2017-02-19 15:34:57 +01:00
ariel-
b239afb0ef
Core/Misc: calculate rotation fields from orientation in some places it's impossible to get:
...
- SmartScripts: SMART_ACTION_SUMMON_GO
- Spell Effects:
* SPELL_EFFECT_DUEL
* SPELL_EFFECT_SUMMON_OBJECT_WILD
* SPELL_EFFECT_SUMMON_OBJECT_SLOT1
* SPELL_EFFECT_SUMMON_OBJECT_SLOT2
* SPELL_EFFECT_SUMMON_OBJECT_SLOT3
* SPELL_EFFECT_SUMMON_OBJECT_SLOT4
- Command Scripts: .gobject add
Closes #17891
(cherry picked from commit 14445d2202de1b58dcb04c5457be682b8e7075ca)
2017-02-19 15:34:57 +01:00