100 Commits
Author SHA1 Message Date
SnapperRy 448ccc2b9e Core/GameObject: spawn linked traps at gameobject creation instead of using DB spawns. (#18172)
Closes #11328.

(cherry picked from commit a38c094a11dc61c8ee1153e0aee6de9a406d6a61)
2017-11-26 22:22:24 +01:00
SnapperRy a2b8940aaa DB/SAI: remove SAI from gameobject Felhound Poo.
Aura apply is now handled by the related trap.

(cherry picked from commit f494aeba9b3771c3c332c4f7fbdf8fbef9d3a465)
2017-11-26 16:07:21 +01:00
Snapper d25a8d42a3 Core/GameObjects: Handle despawning and respawning of nearby linked traps on gameobject despawn and respawn
Closes #12139
Closes #17553

(cherry picked from commit 5d9d25d5960a29d098035f9382a7b022e5294229)
2017-11-11 21:06:58 +01:00
SnapperRy aad25bc01f DB/Gossip: remove wrong gossip text from Hemet Nesingwary (Nagrand).
This needs some more research. Apparently it should show only for people that completed this quest before TBC came out.

(cherry picked from commit 812df2f0f08488da254b4aac857e1ffb7ef920a0)
2017-11-11 20:52:14 +01:00
SnapperRy cc44c5f349 Core/SAI: reset event phase when calling SMART_ACTION_CALL_SCRIPT_RESET.
Now it really does what it says on the tin.

(cherry picked from commit c189e27f39f25982f5b9d808b7af0e11f57074ef)
2017-11-11 20:47:26 +01:00
SnapperRy 7666fbae3e Script/Quest: improvements for Shizz Work:
- Proper cosmetic effects for Fel Guard Hound.
- Spell cast when looting the Felhound Poo.
- Felhound Poo now always contains loot.

(cherry picked from commit 2729eb156f9a6779247b8fa8312c62b372206963)
2017-11-11 20:44:25 +01:00
SnapperRy a73e0aceba DB/Creature: restore ScriptName for Sentinel Sweetspring.
Wrongly removed it in b52e774.

(cherry picked from commit 6801357b8acdfa30ae502ea99822a38d34736c74)
2017-11-11 20:42:53 +01:00
SnapperRy 6042d02349 DB/Event: forgot that Hallow's End is still running.
(cherry picked from commit bc187c136cc546b3a8a95eda5140927b138be807)
2017-11-11 20:13:58 +01:00
SnapperRy 344f4c1c24 DB/Event: fix start date for Winter Veil.
(cherry picked from commit 874c70c88f8ed45b3b5262f3d5c40ea0989fc11f)
2017-11-11 20:13:06 +01:00
SnapperRy 35445d98ef DB/Gossip: Grinkle and Barrus.
(cherry picked from commit cb595f69331bd9f367cd550ef16cae6d76ef5fd4)
2017-11-11 20:11:57 +01:00
SnapperRy ece0c955fc Codestyle.
(cherry picked from commit ec023c3032b55bcfdc83d458ac79204bb25c7aed)
2017-11-11 20:05:40 +01:00
SnapperRy 14372d757d DB/Events: update event start dates and fix some wrong event durations.
Note: with the current event system, start dates for all events have to be updated at least once every four years in order to be correct (thanks to leap years).
(cherry picked from commit 5c06a5e8eb108a3b60c77b10a71e846d82d410a5)
2017-11-11 17:26:50 +01:00
SnapperRy 0afa672077 Core/Script: Messenger Torvus.
(cherry picked from commit 924cdb9a11b1d419080045e6bb7fee164f6f000c)
2017-11-05 12:46:29 +01:00
SnapperRy 5130139733 DB/SAI: Borus Ironbender.
(cherry picked from commit 5858821123ea8dffa43c4c74ec204b30ef66f2c7)
2017-11-05 12:36:31 +01:00
SnapperRy 9a31e7d71f DB/SAI: Zebu'tan and Alys Vol'tyr's conversations.
Also add forgotten creature_template change in 145bf1d.

(cherry picked from commit b52e774ccf324fbdce90f77b58b9b6efaa887ba9)
2017-11-05 11:37:18 +01:00
SnapperRy b63cd1951f DB/SAI: Otonambusi.
(cherry picked from commit 3d9fca1e04d1bf580362da221869fc304780916b)

DB/SAI: Sentinel Sweetspring.
(cherry picked from commit 145bf1d39261c218dc0961bbcf40533b1cbd586b)

Forgot a wild comment, sorry.
(cherry picked from commit b7efd40c301ba1f98f00e3768bf7f1a3d0137f01)
2017-11-05 11:30:10 +01:00
SnapperRy 7e101c69e0 DB/Conditions: add missing data for CONDITION_SOURCE_TYPE_QUEST_ACCEPT and CONDITION_SOURCE_TYPE_QUEST_SHOW_MARK.
Fixes cases where a quest mark was shown without said quest being actually available.

(cherry picked from commit 95f2aedb5a24a7c198c24747a04a5d60ff800fd2)
2017-11-05 11:08:32 +01:00
SnapperRy 748aab737f Core/SAI: remove wrong DB errors.
It is normal to have events applicable only to certain instance difficulties.

Closes #18082.

(cherry picked from commit c42e32e7e4eac7f327f489248219f214b0d0d308)
2017-11-05 11:03:57 +01:00
SnapperRy 3decf93235 DB/SAI: fix Plague Walker's Aura of Lost Hope usage (Ahn'Kahet: The Old Kingdom).
Closes #8675.

(cherry picked from commit dd078873d9dd9d9be1335b0899498a902abe4905)
2017-11-05 11:02:53 +01:00
SnapperRy 07a8ed8242 DB/Quest: event for quests Hallow's End Treats for Spoops/Jesper.
(cherry picked from commit dffb03e420c55843792891d0c4d5396658744caa)
2017-11-05 11:01:01 +01:00
SnapperRy 662c98456d DB/Quest: remove wrong repeatable flag from some quests.
(cherry picked from commit de22843bcbe13ea2ba1ef89605a96aaaac6a3587)
2017-10-15 16:22:32 +02:00
SnapperRy 25c7849262 Script/Spell: remove cosmetic effect for Water Bucket item at login if it expired after the player logged out.
(cherry picked from commit 16cfd59f5b368fd1d05eeeab3afbacfccf0a6870)

Add forgotten override.
(cherry picked from commit c6f94ba42ec7e66419b636ac09aacc1ee7320a77)

Fix non-PCH build.
(cherry picked from commit 02cea9c0bac2f999b461d3679a32672b6f0ac2da)
2017-10-15 16:13:44 +02:00
SnapperRy 1283e21726 DB/Spell: fix cosmetic effect triggered when a Water Barrel is used.
(cherry picked from commit e78cb6ac5c96c41dbded43f7f648ab8642eeac09)
2017-10-15 16:12:30 +02:00
SnapperRy b3dedb11fe DB/Quest: Stinking Up Southshore should not be repeatable.
(cherry picked from commit 005e5537ea5646d1e22f2d6a3d22fe2e443bf2c1)
2017-10-15 16:05:07 +02:00
SnapperRy be1a3884bc DB/Quest: Hallow's End Treats for Spoops! should not be repeatable.
Also the item Hallow's End Pumpkin Treat should only be available from vendor after turning in that quest.

(cherry picked from commit 489e5b60dbe2faeb3fc0c7f4c359d2e75a1c9472)
2017-10-15 15:22:28 +02:00
SnapperRy c784e3a26a DB/Creature: assign core script to creature Magister Aledis.
Forgotten in 94c41c9.

(cherry picked from commit 50011d7e2d8b78f2fc58b5b1048f744f197eed6d)
2017-10-15 14:37:13 +02:00
SnapperRy 8a4bfe94f9 Core/Spell: allow SPELL_EFFECT_QUEST_COMPLETE to set a quest to rewarded only if that quest is used as internal flag by the server (has flag 1024 - QUEST_FLAGS_TRACKING).
(cherry picked from commit 551a8ff8ae4c5949bd5ff47c0544713e405bedce)
2017-10-03 17:48:10 +02:00
SnapperRy f0ddceeff4 Core/Quest: show DIALOG_STATUS_AVAILABLE instead of DIALOG_STATUS_REWARD for non-repeatable autocomplete quests.
(cherry picked from commit 7666296f5460670e075c290778377676a614cc53)
2017-10-03 17:47:19 +02:00
SnapperRy 6df51159c4 Core/Quest: send correct packet when a quest cannot be rewarded for item-related errors.
(cherry picked from commit c067fe544dd57c3ac72f3251b35d6f30e32d835a)
2017-10-03 17:46:17 +02:00
SnapperRy 0794904f52 DB/SAI: improve timers and remove wrong text from Viera Sunwhisper.
(cherry picked from commit 5c7c8202ec86d2d19ac0fb8f71b8b321769b5a10)
2017-10-03 17:42:53 +02:00
SnapperRy c37d6a737a Core/Text: allow GENDER_NONE to use FemaleText in broadcast_text if not empty.
Otherwise it would only use MaleText, which breaks cases where female NPCs change model to one that has no gender.

(cherry picked from commit b54131057875d5bd51420540801d15a516d63eb0)

# Conflicts:
#	src/server/game/Globals/ObjectMgr.h
2017-10-03 17:34:49 +02:00
SnapperRy ab15413aad DB/Conditions: show correct gossip for Baron Revilgaz if event Pirates' Day is not running.
Also fix small typo in npc_text.
(cherry picked from commit 8aa798a9b05a5827613ad0626836cd5123ce1309)

DB/Gossip: Wizlo Bearingshiner.
(cherry picked from commit 718d3e88c42d43106a7883e41bdfa9bf7b755e59)
2017-10-03 17:33:23 +02:00
SnapperRy 2ecd46c58f DB/Misc: fix gossip text for Noth the Plaguebringer and remove wrong quest turn-in from the same npc.
(cherry picked from commit bc78bfdea2f67b969b4fee08421f4d17ed1c6e1d)
2017-10-03 17:28:27 +02:00
SnapperRy 2e79e206af Script/Quest: Arelion's Mistress.
(cherry picked from commit 94c41c92b35e20c47462113ad88b3d382dd9c44d)

Fix warning.

Also, the quest's name is Arelion's Secret, not Arelion's Mistress.
(cherry picked from commit 79acb9fa71bb3016f5aa8f92b257346ed6c17dd7)
2017-10-03 17:26:23 +02:00
SnapperRy 5c7b821e17 Core/Quest: do not set a quest to failed if it's rewarded or has no status at all (not taken).
(cherry picked from commit 97fd0c1b1a6c24b1903736f9e35443bae2495873)
2017-10-03 17:22:48 +02:00
SnapperRy 527c5081f9 DB/SAI: prevent Dawnblade Hawkrider's SAI from targeting players.
Players will not be randomly attacked while in Isle of Quel'Danas anymore.

(cherry picked from commit dfb23cf0be4750d8fb0c539c0c65f78b2883ac93)
2017-10-03 17:20:21 +02:00
SnapperRy 1caba9cafe DB/Misc: add conditions for spell Arrow Assault and remove wrong texts for two Death Knight starting zone creatures.
Closes #16831.

(cherry picked from commit 2161ac6757b94f93c8c57a5ff4b8416f31ab6187)
2017-10-03 17:17:11 +02:00
SnapperRy 879b54a9e7 DB/Gossip: add gossip for creature Deino that is shown after completing the quest A Letter for Home.
(cherry picked from commit ec0a8d58eee35514f99bf8a1e305124959bc2e50)

DB/Quest: Volatility (daily version) requires completion of Volatility (non-daily version).

Also fix comment for condition in previous commit.
(cherry picked from commit 115d2400e451e23589a49b2726e9a6906efc0293)
2017-10-03 17:17:10 +02:00
SnapperRy 7385219565 Creature/AI: prevent Kologarn's arms from attacking.
(cherry picked from commit d77a9588097c52e426ec70a762bfef05924471da)
2017-10-03 16:30:42 +02:00
SnapperRy 53dde7e2ca Core/SAI: always use DespawnOrUnsummon() for SMART_ACTION_FORCE_DESPAWN.
SmartAI uses that same method internally, so there's no need to handle it in two different ways.

Does not affect functionality, but prevents useless SAI error log in case the target creature is not using SAI.

(cherry picked from commit 727f77ec6ab9b507d86ffc482b2801fb5b9b907e)
2017-10-03 15:31:09 +02:00
SnapperRy fdc0e1bc7e DB/Quest: add mail reward for the following quests:
True Believers and Still Believing (leftover from previous commit), A Terrible Purpose, Wrath of Neptulon (still missing the 100 gold attached), A Letter for Home (Alliance and Horde), Tactical Clemency, Abandoned Mail, Hammershout the Elder and various Lunar Festival mails.

(cherry picked from commit 1824347594f3a53fd50c9e7da0d546becd69db0d)
2017-10-03 13:55:45 +02:00
SnapperRy 9ac42bcf74 DB/Quest: fix mail reward for True Believers and Still Believing.
(cherry picked from commit 830594259ead619a6453be02f1f11bf175559ebe)
2017-10-03 13:53:03 +02:00
SnapperRy a2fce3a486 Script/Creature: Scarshield Infiltrator/Vaelan.
(cherry picked from commit fdc4ab4ab4ab99657cb64b42e9e30272aebc5527)
2017-09-06 16:01:55 +02:00
SnapperRy 36b84462f0 Core/Item: fix wrong error message triggered when trying to equip two items with the same ItemLimitCategory.
(cherry picked from commit f9068a02f059f296f04a76262d5f93716819181f)
2017-09-06 13:36:05 +02:00
SnapperRy 08aecc7cb9 Script/Quest: Stop the Ascension!
(cherry picked from commit bdb08fba6ee5b0fcd68b2ec4d68e4b260549bfed)

Forgot to change guid.
(cherry picked from commit f20795ff36e2b72fb3587cc5e7dfe5d5eb345ae2)
2017-09-06 13:07:19 +02:00
SnapperRy df6e7b3097 DB/Creature: add additional text for Chief Plaguebringer Harris.
(cherry picked from commit 00ad5b2d67908354f742c6110c9829bf54ada410)
2017-09-06 12:53:06 +02:00
SnapperRy 27b0905594 Core/Loot: limit unique items check introduced in ea69115 to affect only items that start a quest.
Turns out epic and legendary items are excluded from this limitation (or it could be just instanced content that is immune to this). Other qualities are affected as normal. Sorry for the mishap.

(cherry picked from commit fffeae0da222eb84145880278ee9ac07e6076853)

Core/Loot: revert unique item check introduced in ea69115.

Proven to be wrong in its current form. Will reintroduce later either in the same method or via db conditions.
(cherry picked from commit 41445e0d3eae87a37a1199018afaa0059691965f)
2017-09-06 10:38:52 +02:00
SnapperRy 8f9becaacc DB/Creature: cosmetic lightning effect for quest The Staff of Storm's Fury's location.
(cherry picked from commit b0779cbb0238a2647c84ea11654a940012a1799a)
2017-09-06 10:33:34 +02:00
SnapperRy 760d7a79c0 DB/Creature: Abdul the Insane.
Spawn, waypoints, texts.
(cherry picked from commit 4f200b99d027f8e753fe144a39ce38f5f4303f89)
2017-09-06 10:26:26 +02:00
SnapperRy 2b9e06ca8c DB/Loot: item Abandoned Adventurer's Satchel should always drop from Northrend rares.
(cherry picked from commit 1c94f4c39ede65885c4709ffb6261353a87ce1af)
2017-09-06 10:23:27 +02:00
SnapperRy 13772e20b6 DB/Quest: add vendor conditions for quest items related to A Carver and a Croaker and Parts for the Job.
(cherry picked from commit 10329104be42ded80c5e358a5f0b6e98a68eb897)
2017-09-05 19:35:41 +02:00
SnapperRy 65077985e0 Script/Quest: Apply Heat and Stir.
Enjoy one of the most frustrating quests in Northrend!

(cherry picked from commit 387b18775d6f7b7d6e8cf669d36328867e5f39d5)
2017-09-05 19:34:49 +02:00
SnapperRy d7b9e55aed DB/Gossip: fix gossip for creature Jack Adams.
Involved in quest Gambling Debt (Part 2).
(cherry picked from commit f64041e602dfcf80608402257782ff2627f09384)
2017-09-05 19:29:33 +02:00
SnapperRy 013067edef DB/Conditions: spells Plagued Blood Explosion and Arcane Charges can only hit certain mobs.
(cherry picked from commit 407983f3a372697c497c29b47029c1e9ae3af090)
2017-09-05 19:27:21 +02:00
SnapperRy 8c000605e3 DB/Misc:
- Quest Nessa Shadowsong and following steps are only available to Night Elves.
- Fix offer reward text for quest Elanaria.
- NPC Webwood Spider should be neutral.
- Small cosmetic fix for quest Force Commander Danath's end event.
- Prevent NPCs Gnarlpine Shaman and Elder Timberling from spamming healing spells.
(cherry picked from commit 04618be4279560fd05c8f7ce48895560f2ff39de)
2017-09-05 12:20:59 +02:00
SnapperRy d1c52c1403 DB/SAI: fix quest Gambling Debt (Part 1).
Closes #18063.

(cherry picked from commit 173b33ab734700ecc717626c09aa1d3c95f0b636)
2017-09-05 12:16:56 +02:00
SnapperRy 8cb5368062 Core/SAI: don't reset event phase when npc evades/resets.
The scripts themselves should take care of that.

(cherry picked from commit 5267381e39c23797bfad22c5433910ecf155145c)
2017-09-05 12:14:15 +02:00
SnapperRy 0b37dc3c76 DB/Loot: Dustbringer.
(cherry picked from commit b60b0d927bb1d9f81a650748901293fce93de3cf)
2017-09-05 12:10:28 +02:00
SnapperRy 49c131a57e DB/Loot: Blacktip Shark.
By Exodius, untaught and tkrokli. Closes #9453.
(cherry picked from commit 4870e1265e414c455e1bd954312076bb871d8077)
2017-09-05 12:09:38 +02:00
SnapperRy d9ababbc2c Core/Wintergrasp: fix ownership of workshops at the beginning of a new battle.
Those two, together with the two workshop in the Keep, always belong to the defender team. The SouthEast and SouthWest ones always belong to the attacker team.

(cherry picked from commit b8bb1545ecd9abcca55dc1abaebb0a7eda1d00a3)
2017-09-05 11:49:50 +02:00
SnapperRy fa06aad708 Core/Wintergrasp: cleanup and codestyle.
(cherry picked from commit eb1a7297cfa6cd9e2e516161d4f101f936f78aa2)
2017-09-05 11:43:29 +02:00
SnapperRy 0961b17447 DB/Wintergrasp: availability of different No Mercy for the Merciless and Slay Them All! depends on who is currently holding the keep.
(cherry picked from commit dab2203c1b77d9952bfbd7f034fa5a5da12da7d7)
2017-09-05 11:25:35 +02:00
SnapperRy 8e3237724b DB/Wintergrasp: four more Horde guards in Wintergrasp Keep that should only appear when it is held by Horde.
(cherry picked from commit cf4a4382fa86770ed5bb4dcc8337bf3780c7e64b)
2017-09-05 11:16:27 +02:00
SnapperRy 37d6c2bfff Battlefield/Wintergrasp: improvements:
- Move Wintergrasp Keep guard spawns from core to db, removing all duplicates in the meanwhile.
- Add Alliance Brigadier General inside the relic room.

Closes #7593.
(cherry picked from commit a0c9d33ed6c891901e2fbfb547c615b9bb7ce54f)

Remove unused variable.
(cherry picked from commit 7ce381191363277deb30cd79f900516652a6c5b3)
2017-09-05 10:39:08 +02:00
SnapperRy 62728e7ea5 Core/Wintergrasp: fix Defend the Siege quests.
Closes #7953.

(cherry picked from commit d72b025fcbf67eb58beccc755d910e9707beaf2f)
2017-09-05 10:30:22 +02:00
SnapperRy f2179bdb83 DB/Quest: improvements for quests related to NPC Denalan:
- Timberling Sprouts requires Denalan's Earth rewarded.
- Fix offer reward text for Denalan's Earth.
- Improve scripts for end event of quests Denalan's Earth, The Shimmering Frond and The Glowing Fruit.
(cherry picked from commit 4ec50ecec5ec04c82a8efe189ca11389f74608af)
2017-09-05 10:29:00 +02:00
SnapperRy e24976f813 DB/Gameobject: remove wrong "Greetings, $n" gossip from 256 questgiver gameobjects.
(cherry picked from commit 7d723665218e0881903ff46c39416e4f6405892c)
2017-08-26 23:28:47 +02:00
SnapperRy 2a57471c85 DB/Quest: Covert Ops - Alpha and Covert Ops - Beta require completion of both Ineptitude + Chemicals = Fun and Special Delivery for Gaxim.
(cherry picked from commit b0273837049ffbd99fbea2d71a9d9feb38e70f1f)
2017-08-21 21:16:20 +02:00
SnapperRy 0a2faf51f6 DB/Quest: the two versions of Jonespyre's Request require Morrowgrain Research rewarded.
Also fix ExclusiveGroup typo.
(cherry picked from commit b930d99e599d5d799da726d2e1e5d1e37ef7e14a)
2017-08-21 21:14:37 +02:00
SnapperRy f015642301 DB/Creature: fix faction for Githyiss the Vile.
Should be neutral, like the other nearby spiders.
(cherry picked from commit 71cc1f80a29ed3bb38f12c695ae5d59895da541e)
2017-08-21 21:13:35 +02:00
SnapperRy 6f7cf0a795 DB/Quest: fix quest "Gerenzo's Orders" (Part 1).
Thanks classicdb for coordinates and npc entries. Closes #1724.
(cherry picked from commit 97e70b599ed21c8e6f4df8d819e30780197c2e60)
2017-08-21 20:53:13 +02:00
SnapperRy d3b216a0ac DB/Misc:
- Fix DB error introduced in f7fdc3b5.
- Remove wrong (Cataclysm) gossip for creature Sentinel Selarin.
- Remove questgiver flag from Sentinel Aynasha when accepting quest "One Shot. One Kill."
(cherry picked from commit 5dda529719700640ec0ff12ea922e060091223bb)
2017-08-21 20:52:06 +02:00
SnapperRy 159ae0a7b4 DB/SAI: better handling for Ward of Laze aura.
By Killyana.
(cherry picked from commit 7a821284ea844543f976364ad530ff0d8f3e7719)
2017-08-21 20:49:48 +02:00
SnapperRy bd164b9f97 DB/Quest: fix quest "One Shot. One Kill."
Thanks tkrokli for the initial research.
(cherry picked from commit 12ff6d2f4fc3312eb676194defbcecc2d3998610)
2017-08-21 20:48:50 +02:00
SnapperRy ba93c3b2a9 Core/Wintergrasp: fix leaving Wintergrasp via the minimap button.
(cherry picked from commit b60db6c44ec892c8d5efcf844afeb8bb57208e1b)
2017-03-05 01:37:22 +01:00
SnapperRy 0aa3aeebae Core/Wintergrasp: properly set and remove GO_FLAG_NOT_SELECTABLE from the Wintergrasp Relic, allowing the attacking faction to capture it.
(cherry picked from commit 63215dd15a740b9182a518bb5588ce69153f4e35)
2017-03-05 01:35:15 +01:00
SnapperRy 1536a92003 DB/Creature: Ward of Laze: root and spellcast.
By tkrokli, closes #15304.
(cherry picked from commit ec4c4327bfb24f650dc72ee2d3df2e1a7376ee4a)
2017-03-05 01:34:35 +01:00
SnapperRy c6e6c7d2ab DB/Conditions: quests Southern Sabotage and Toppling the Towers are only available if the respective faction is defending Wintergrasp.
Also codestyle stealthfix.

(cherry picked from commit df36e4b95d96732c038ab6a30af2a398e93d4b08)
2017-03-05 01:32:59 +01:00
SnapperRy b84d0e9fd4 Core/Conditions: implement CONDITION_WINTERGRASP_HORDE to check if Wintergrasp is held by Horde.
Use negative condition to check if it is held by Alliance instead.

Use this condition to fix availability of the Wintergrasp item-gathering weekly quests.
(cherry picked from commit 723c253f8f09d773cd0fd47615c9f424b5c51d9d)

Make travis happy and fix codestyle for previous commit.
(cherry picked from commit 7267a414183fce4e146d464e0a2124f617da9648)

Core/Conditions: partially revert 723c253, replacing CONDITION_WINTERGRASP_HORDE with a ConditionScript.
(cherry picked from commit fd620ca7d620f72276e00be3906da145bdd4a9fd)

Update 2016_10_04_03_world.sql
(cherry picked from commit 4891db4a4fb04c221a5223938741f981f1b7ddbc)
2017-03-05 01:28:45 +01:00
SnapperRy c00df00cec Core/Wintergrasp: give quest credit for southern towers destroyed.
Updates #7953.

(cherry picked from commit c22d3886ce9e29941376885b3d814690453a254c)
2017-03-05 01:20:26 +01:00
SnapperRy 70a8b74fe6 Core/Wintergrasp: fix victory quests.
By Retriman, updates #7953.

(cherry picked from commit 9638c1145390b4d9593200af2a96616c4c8370fc)
2017-03-05 01:19:01 +01:00
SnapperRy 629442f9c1 DB/Pool: add pools for Wintergrasp item-gathering weekly quests.
Only one of the four quests will be available at a given time.

(cherry picked from commit 050522a25b1d37a351f3db457277c4b7720ffeeb)
2017-03-05 01:17:42 +01:00
SnapperRy 35eeb76506 Core/Unit: don't reset offhand timer for players when starting attack.
Creatures are unaffected by this change. Not sure how they should behave in this case, so leaving it alone for now.

Closes #945.

(cherry picked from commit c25f7c48b5ba3982fc83b8c88a8cff619f72b162)
2017-03-05 01:06:45 +01:00
SnapperRy 30153510e8 Script/Quest: A Cry For Help: (#18026)
- Add missing dialogue from Cowlen.
- Timers and emotes.
(cherry picked from commit 790844e72d40cd2c99a3a235a7186173af575417)

Rename two SQL files.
(cherry picked from commit 283aec96560f66a72b4d563eefbccdbee2de10ea)
2017-03-05 01:06:44 +01:00
SnapperRy 8c7b3c8a2b Core/Loot: do not show unique items if player already has the maximum allowed quantity.
(cherry picked from commit 5c5b8df6138a94f5bc74d7eda0f894d825b5f63c)

Core/Loot: limit unique items check in LootItem::AllowedForPlayer() to bind-when-picked-up items only.

(cherry picked from commit ea6911517d38aa8ea493dbe88a33c9734d86bb04)
2017-03-05 01:06:44 +01:00
SnapperRy de8aecacbc Core/Quest: send INVALIDREASON_QUEST_ALREADY_DONE if player tries to accept a quest that is already rewarded.
(cherry picked from commit 9bca68fb56a48870548d9f27857d3d879eb77adb)
2017-03-05 01:06:43 +01:00
SnapperRy f1fd4b5333 DB/PageText: add newlines to some item texts.
Affected items: Cloth Request, Defias Docket, Calor's Note, Covert Ops Plans: Alpha & Beta and Muddy Note.
(cherry picked from commit f56a18152155183d4a5c344ff9014756cdf4ef1a)
2017-03-05 01:06:43 +01:00
SnapperRy 1c6c72cdfa DB/Quest: end event for Harlan Needs a Resupply.
(cherry picked from commit 02d22d04c1dcf7a90c127e4996c9b13f7ebc3f44)
2017-03-05 01:06:42 +01:00
SnapperRy b4b81d3929 DB/SAI: fix db error introduced in 2a8669d.
(cherry picked from commit e9068afa1d4daf268250c249a18a01ade5efb8a7)
2017-03-05 01:06:42 +01:00
SnapperRy a256f94851 DB/Creature: remove loot and experience for Webbed Creature.
(cherry picked from commit a01f7ad47067af36184c6758401c5fc1b0ade571)
2017-03-05 01:06:42 +01:00
SnapperRy bbdf89e694 DB/Loot: remove some wrong items from gameobject and creature loot.
Affected items: Green Linen Shirt, Iron Pommel, Mood Ring, Miniscule Diamond Ring, Cubic Zirconia Ring and Silver Piffeny Band.
(cherry picked from commit 64ab5779e1d83f275d7aca9891cafa73bfc4f02c)
2017-03-05 01:06:39 +01:00
SnapperRy 252a4a338c DB/Quest: Supplies to Auberdine:
- Set questgiver to run all the path instead of walking.
- Add missing texts.
(cherry picked from commit 2a8669d77d07e3e38f592992bf7dc5b1f508ac25)
2017-03-05 01:06:39 +01:00
SnapperRy 4b4c2966ce DB/SAI: Twilight Disciple and Twilight Thug.
(cherry picked from commit 7ec1465af287c5ff61ba2bea1c4f75cfcd5dea7f)
2017-03-05 01:06:38 +01:00
SnapperRy ce7f962de5 DB/SAI: use spell instead of direct add item SAI for previous commit's script.
(cherry picked from commit 517f57c33c86320e8482f8e1b4c29098a42b2727)
2017-03-05 01:06:38 +01:00
SnapperRy e1d24cb9e0 DB/Creature: Raene Wolfrunner:
- Fix gossip texts.
- Add gossip option to restore item Dartol's Rod of Transformation if lost.
(cherry picked from commit 9b31d1e44ba15e883436362833f3e14058e4d6d4)
2017-03-05 01:06:38 +01:00
SnapperRy c0667acbe1 DB/SAI: fix two events that would never execute because of wrong event_phase_mask set.
Also fix summon parameters for creature Thenan spawned at quest Breaking the Keystone's turn-in.

(cherry picked from commit ddca72509b1dbdf0dabe569725511920fb39fc03)
2017-03-04 20:03:26 +01:00
SnapperRy 617765fafc DB/Quest: fix offer reward text for Redemption (Part 2, Draenei).
(cherry picked from commit 3bf33d1987aa36bf5e2436b354a7b0433289757b)
2017-03-04 20:02:35 +01:00
SnapperRy 3613587be8 DB/Quest: A Lost Master requires How Big a Threat? (Part 2) rewarded.
(cherry picked from commit 1fbd52e545750c1b32feac0cdd41d7655199681f)
2017-03-04 20:01:06 +01:00
SnapperRy 9b46d114e0 DB/SAI: fix db errors introduced in 9c6e12b.
(cherry picked from commit d96968ea063722134c10fb534cc04b7c53760d5c)
2017-03-04 20:00:14 +01:00
SnapperRy d80b4ec055 DB/Loot: fix loot for item Message in a Bottle and gameobject Half-Buried Bottle.
(cherry picked from commit 76e9ccba6a3db4ba73e83df6557a9f359754d071)
2017-03-04 19:58:10 +01:00