Commit Graph

30325 Commits

Author SHA1 Message Date
SnapperRy
3e6f3aeaea DB/SAI: add script for creature Megalith.
(cherry picked from commit 32bc901a25)
2017-02-28 19:44:42 +01:00
SnapperRy
eeea58197c DB/SAI: fix event for quest Street "Cred".
(cherry picked from commit d7e97dc0a3)
2017-02-28 19:41:53 +01:00
Shauren
d4d8366131 Proper typo fix, it was too early in the morning 2017-02-28 10:58:35 +01:00
Shauren
5b4820cc0f Typo/build fix 2017-02-28 08:46:11 +01:00
Duarte Duarte
92420ba5ba Update issue_template.md
Attempt to make the issue template clearer. Let's see if it helps...
2017-02-27 23:52:28 +00:00
SnapperRy
46363942c1 DB/Loot: fix drop chance for two quest items.
Fenclaw Hide and Mature Bone Sifter Carcass should always drop.
(cherry picked from commit 79d51e7dd6)
2017-02-27 22:01:14 +01:00
SnapperRy
d70e852731 DB/Quest: remove wrong spell cast for quest The Dead Rise!
(cherry picked from commit 22133804a1)
2017-02-27 22:00:02 +01:00
SnapperRy
9da35aa3bd Core/Achievement: do not consider overkill damage for ACHIEVEMENT_CRITERIA_TYPE_DAMAGE_DONE.
(cherry picked from commit 4eb799560c)

Fix wrong copy-paste from last commit.

Sorry.
(cherry picked from commit c41b4000f9)
2017-02-27 21:59:02 +01:00
tkrokli
766433f504 DB/Quest: fix quest credit target type for Krolmir, Hammer of Storms
By Pitcrawler/Treeston, closes #17930

(cherry picked from commit 96a74aa8d7)
2017-02-27 21:55:15 +01:00
Shauren
c7cd51e8f5 Core/Movement: New names for a few spline flags 2017-02-27 19:30:44 +01:00
SnapperRy
87b6b9c27f Core/Creature: enable pet bar for TempSummons with category SUMMON_CATEGORY_PET.
Thanks @ariel- for helping with the research (although I'm two months late).
(cherry picked from commit 025002b907)
2017-02-26 21:34:05 +01:00
Dr-J
792e414b61 DB/SAI: Teron Gorefiend I am ....
The timed action lists for this script now need event flags so they run while charmed and so that Karsius actually gets summoned.
(cherry picked from commit 79578eab40)

Rename  2016_09_14_03_world.sql to 2016_09_14_03_world.sql
(cherry picked from commit 6913286cb9)
2017-02-26 21:33:52 +01:00
SnapperRy
1b288ebbdd Core/SmartAI: do not target player's group for SMART_ACTION_CALL_AREAEXPLOREDOREVENTHAPPENS.
SMART_TARGET_INVOKER_PARTY or SMART_ACTION_CALL_GROUPEVENTHAPPENS should instead be used to achieve this functionality.

(cherry picked from commit 6586885bca)
2017-02-26 21:31:16 +01:00
SnapperRy
cedd5dcfe5 DB/Quest: improve end event for A Daughter's Love.
(cherry picked from commit 08d88238a6)
2017-02-26 21:30:53 +01:00
SnapperRy
5360874c08 DB/Quest: end event for For Love Eternal.
Texts are already in DB.
(cherry picked from commit e166bb787b)
2017-02-26 21:29:53 +01:00
joschiwald
fa836c3160 Fixed characters_database.sql 2017-02-26 21:19:30 +01:00
vincent-michael
7c12096df0 Core/PacketIO: Re-enabled SMSG_INITIAL_SETUP opcode 2017-02-26 21:06:10 +01:00
treeston
0b6422ab9b Maps/Boundary: Some code style clean-up in AreaBoundary code, as well as adding an additional utility overload to IsWithinBoundary (Position const&).
(cherry picked from commit a7afb47633)
2017-02-26 20:02:25 +01:00
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 2174c5d7dd)
2017-02-26 20:02:15 +01:00
treeston
bd5669ec5e DB/SmartScripts: Fix Jewelcrafting stone statues.
(cherry picked from commit 0f7efc86d0)
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 9d7cd93e0d)
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 271c16fb60)

Rename 2016_09_12_03_world.sql to 2016_09_13_01_world.sql
(cherry picked from commit 43968512ce)
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 3713b4e423)
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 e0ba5f9ed6)
2017-02-26 19:22:21 +01:00
SnapperRy
83257dacf2 Core/Fishing: ignore required skill when fishing in pools.
(cherry picked from commit 4164e0cf88)
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 08e0390d95)
2017-02-26 19:20:36 +01:00
treeston
9039a1c138 Instance/UtgardePinnacle: Fix Svala Sorrowgrave timings (from sniff).
(cherry picked from commit 5d87e4af8c)
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 e84d587ed4)
2017-02-26 19:20:02 +01:00
Aokromes
927a1b3e1e Core/Updater: Clarify more 2 errors
(cherry picked from commit fe9f79780e)

Update DBUpdater.cpp
(cherry picked from commit fb048a4cdb)

Update DBUpdater.cpp
(cherry picked from commit 9250680680)
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 127825ee95)
2017-02-26 16:53:23 +01:00
treeston
e39c582532 Core/Movement: Fix an edge case crash in HomeMovementGenerator.
(cherry picked from commit f2067d3557)
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 927d002998)
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 c5d190a85a)
2017-02-26 16:49:06 +01:00
SnapperRy
bcd076b550 DB/Script: implement event for quest 9542 (Totem of Vark)
(cherry picked from commit 1f9abfd585)
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 adb2d8424b)
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 0e8c2f9032)

Woops. Thanks, clang.

Crash fix.
(cherry picked from commit 1b7eebc7ba)
2017-02-26 15:49:01 +01:00
SnapperRy
5d618e08d4 DB/Gossip: fix gossip text for creature "Admiral Odesyus"
(cherry picked from commit c96fa033db)
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 a261e68aed)
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 0479f08c3c)

Script/Quest: fix and use proper serverside summon spell for quest "Red Snapper - Very Tasty!".
(cherry picked from commit 2f493430c9)
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 c52566a888)
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 3c32086b81)
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 62cffd11d0)
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 b3d44d6c36)

Game/Scripting: Follow-up to b3d44d6. Fix script selection for creatures on difficulty > 0.
(cherry picked from commit 91c2b3162d)

Build fix.
(cherry picked from commit a9f1151f2c)

Fine, this time I actually built it. Promise.
(cherry picked from commit 0c2c88ed50)
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 e69a483aa9)

Derp. Build fix.
(cherry picked from commit 9180bcd404)
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 3219346888)
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 19e757af5c)
2017-02-26 15:30:14 +01:00
ariel-
945bbbfa77 Core/AI: updated SpellTargetSelector::operator() (#17824 follow-up)
(cherry picked from commit 805637cea1)
2017-02-26 15:30:14 +01:00
ariel-
4957a17cb1 Core/Battlefield: container optimization
(cherry picked from commit 932d31598d)
2017-02-26 15:30:13 +01:00