Commit Graph
60 Commits
Author SHA1 Message Date
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
SnapperRy 668abbf18b Core/Unit: do not refresh last damaged timer if hit by SPELL_AURA_DAMAGE_SHIELD.
Fixes spells like Retribution Aura, Thorns and Damage Shield that were preventing units from evading.

(cherry picked from commit 42a32a3c7c840a518744381607193405bfba9335)
2017-02-18 17:16:10 +01:00
SnapperRy 565e2555b9 DB/SAI: remove wrong dynamicflag from creature Proto-Drake Egg
Made the tooltip appear as if a Hunter used Beast Lore on them
(cherry picked from commit 59f340b751ba1cc8bd58329db0b16d56933f64f9)
2017-02-18 16:51:22 +01:00
SnapperRy 80b6f54624 DB/Spell: linked spell for Worg Disguise
Allows players to remove it by right-clicking. Confirmed from sniffs.
(cherry picked from commit 69bec9a02232c02fab676eae22305042c0aa9432)
2017-02-18 16:20:34 +01:00
SnapperRy 3e4ca641d3 DB/Conditions: fix target for spell Throw Snowball
Cannot be used to kill friendly targets anymore.
(cherry picked from commit 17e267ed8b70390916f6f2e246499dbfb827466d)

Forgot this
(cherry picked from commit 0be073dacff97bc5ae5215368e28356a03b7767d)
2017-02-18 15:57:19 +01:00
SnapperRy 41ed592d05 Core/Achievements: implement ACHIEVEMENT_CRITERIA_DATA_TYPE_S_ITEM_QUALITY to check if the item with entry miscvalue1 is exactly of the quality specified in achievement_criteria_data's value1 field.
Also ACHIEVEMENT_CRITERIA_DATA_TYPE_S_EQUIPED_ITEM --> ACHIEVEMENT_CRITERIA_DATA_TYPE_S_EQUIPPED_ITEM

(cherry picked from commit 2b48082b9d914e0dc2773447bcba3946f5106a38)
2017-02-18 15:57:18 +01:00
SnapperRy 75701f14c3 DB/Quest: fix reputation and offer reward text for quests "Mission Accomplished"
Closes #17379
(cherry picked from commit 3bc9214391888394671dd4e84809ba40259e85f7)
2017-02-18 15:49:06 +01:00
SnapperRy 3a32b50002 DB/Quest: use the new SMART_TARGET_LOOT_RECIPIENTS for quest "Feeding Arngrim"
By Treeston, closes #16169
(cherry picked from commit c5904a543058095a92b00cf16f8002bdc9f0e8e7)
2017-02-18 15:49:05 +01:00
SnapperRy 2629009bde DB/Quest: fix event for quest "Mimicking Nature's Call"
(cherry picked from commit 91cdbf8edda17046dcffc0b867afbbeb99e6be00)
2017-02-18 15:49:04 +01:00
SnapperRy 8220496be1 Core/SmartAI: allow SMART_TARGET_OWNER_OR_SUMMONER to target a temporary summon's summoner, too (#17851)
Core/SmartAI: allow SMART_TARGET_OWNER_OR_SUMMONER to target a temporary summon's summoner, too
(cherry picked from commit 1fcd03b60a17db5fddef13feb6fe6b8d7178d0f5)
2017-02-18 14:47:01 +01:00
SnapperRy 6ea973adec Core/SmartAI: add param2 to SMART_ACTION_UPDATE_TEMPLATE, allowing to specify if creature's level should remain the same between entry updates.
A value of 0 (default) forces the creature to keep its current level between entry updates.

Fixes #16371

(cherry picked from commit a6ef9d45395be0f4551a55439c7790a288c40df8)
2017-02-18 14:47:01 +01:00
SnapperRy 6a8ca9b0bf Core/Event: prevent seasonal quests from resetting at server restart (#17455)
Closes #16015.
Closes #16413.
(cherry picked from commit fb6d4dd98f66ec67f7c5ddf698b3e6a0b44925b4)
2017-02-18 14:47:00 +01:00
SnapperRy a6209e6d6d Event/Brewfest: implement relay race (#17603)
(cherry picked from commit 894378f86728f54a604f6808b6c34e4f498ddd0c)

Rename 9999_99_99_99_world.sql to 2016_08_23_05_world.sql
(cherry picked from commit 6036b07f2515bec008df3ec02ab71b90e4384229)
2017-02-18 14:47:00 +01:00
SnapperRy 2574667854 Scripts/ArgentTournament: improve training dummy script
Now the ranged and charge target dummies will cast their spells and behave correctly for the related quests
(cherry picked from commit 433beb77e32db097bf15f9faea222e99ad6373e3)
2017-02-18 14:38:42 +01:00
SnapperRy 3b32bfb650 DB/Conditions: allow spell Counterattack! to target Sunreaver Hawkstrider
Used by the Argent Tournament's Melee Targets. Was only working for Alliance players due to wrong entry set for the Horde vehicle
(cherry picked from commit 02df4f840a88626c0a2dd0227126ccfe2589dc59)
2017-02-18 14:38:01 +01:00
SnapperRy a45d43367c DB/Conditions: cosmetic fix for quest "War is Hell"
Fires will appear on the corpses' positions instead of the caster's
(cherry picked from commit aec583ffe9b2a2f75ff8e63ad64d1bfaef7106a1)
2017-02-18 14:31:44 +01:00
SnapperRy f886788a67 Core/SpellArea: only check against spell_area entries for the current quest when updating quest status
Closes #17804

(cherry picked from commit 0b4b0ea3486192dfdf55d057edad913750f57186)
2017-02-12 16:27:43 +01:00
SnapperRy 13bac539d6 Core/Mail: implement a way to specify NPC sender for mails when they should be different from the quest ender (#17601)
(cherry picked from commit d4e15f1aac3159bb5e17808ee06efb847fdd4789)

# Conflicts:
#	src/server/game/Quests/QuestDef.cpp
#	src/server/game/Quests/QuestDef.h

Rename 9999_99_99_99_world.sql to sql/updates/world/3.3.5/2016_07_19_00_world.sql
(cherry picked from commit 3a77dec6e6fac47fedeb0aeddd09dfe12c3817a2)
2017-02-11 15:19:42 +01:00
SnapperRy 06c7849aa1 Core/Conditions: implement CONDITION_DAILY_QUEST_DONE to check whether or not a daily quest has been completed by a player in that day.
Also use it to fix two quest chains broken in commit 7905651. Should be the only ones of their kind.

(cherry picked from commit b4b3c10c69f73a0fd1e8efe4fd8684676f33948d)
2017-02-05 21:07:30 +01:00
SnapperRy 9fcaf60706 DB/Loot: remove wrong loot for item 'Recipe: Savory Deviate Delight'
Reference loot belongs to 'Murloc Warrior' hailing from Westfall, while the item can only drop from The Barrens' residents
(cherry picked from commit 8b5d1935071a55229d1e9c9a08081b23c4a5a696)
2017-02-05 20:07:47 +01:00
SnapperRy 61ac98fce2 DB/Conditions: fix cast conditions for two more spells
(cherry picked from commit c8e9184a4b1404c38e38b1734fc91afd6d9cbd0c)
2017-02-05 20:02:02 +01:00
SnapperRy c5c399e14f DB/Conditions: fix three spells that require a NPC to be nearby
Namely, the Venomhide Hatchling feeding quests
(cherry picked from commit 55ba3bd012220b4b58793d8de5f90b1585c70a04)
2017-02-05 19:59:25 +01:00
SnapperRy 0d7a49aa76 DB/Conditions: fix exploit related to quest Disclosure (ID: 12710)
NPC could be repeatedly summoned by clicking the related gameobject
(cherry picked from commit 11558b3bdc10ad429e8dbb9ab4489e39eb2d6fcc)
2017-02-05 19:58:13 +01:00
SnapperRy 77f490f630 DB/Mail: add Argent Tournament mail sent when reaching level 77
(cherry picked from commit f784c36aa6cc80e16498ce137de47c20a273b881)
2017-02-05 17:52:32 +01:00
SnapperRy 3e74109857 Core/SmartAI: change SMART_ACTION_RISE_UP (114) to SMART_ACTION_MOVE_OFFSET and implement offset movement via target fields. (#17362)
(cherry picked from commit ba0cb53b0214ab3625830f7dac3c68d08a97e084)

Rename 9999_99_99_99_world.sql to 2016_07_15_07_world.sql
(cherry picked from commit 2fd124f9a3cbbd81f2ce6c7154d640175ed71452)
2017-02-05 17:45:07 +01:00
SnapperRy c8e7e68e66 Core/SpellArea: iterate spell_area entries by player's current area instead of quest id. (#17509)
(cherry picked from commit d7e47de264a20dc689b4b30663c2de09613b791f)
2017-02-05 17:38:36 +01:00
SnapperRy 90be9d143b Core/Unit: remove emote state when creature attacks another unit (#17542)
(cherry picked from commit a732749d721eefe7558d23e44c5f8dc18194e6d4)
2017-02-05 17:36:37 +01:00
SnapperRy dd9cff8328 DB/Script: partly script Shadowy Assassin's event in Southshore
Updates #14880
(cherry picked from commit c4cbc4341f3394c5ff04d5eb604e6b08e3be8ae7)

Change creature guid for previous commit

Thanks Aokromes. Also forgot to mention, thanks Rushor for the main script
(cherry picked from commit e9ef43cc205540e17cbd68ef30655533520e58aa)
2017-02-05 17:36:10 +01:00
SnapperRy c9cb63653a Core/Creature: implement INHABIT_ROOT to apply UNIT_STATE_ROOT to creature (#17543)
Add flag 8 to InhabitType for creatures that should appear rooted client-side
(cherry picked from commit f78ab9aba45e3b4189a71bb68de6d5b13f45bbca)
2017-02-05 17:32:10 +01:00
SnapperRy bec8570eb2 DB/Loot: reduce drop chance for many white items
Closes #17578
(cherry picked from commit b5cb96a56adb007a74f77e5be6b93cfaee9fe552)
2017-02-05 17:25:55 +01:00
SnapperRy cfca1896de DB/Quest: fix availability for Alliance's breadcrumb quests to Ashenvale
Onward to Ashenvale can always be done, while only one quest between Trek to Ashenvale and the Draenei-only Travel to Astranaar can be completed.
(cherry picked from commit 4fea1c59e1d2fce1104b5f5b9277edc4a9cb710f)
2017-02-05 17:24:55 +01:00
SnapperRy a390604fb2 Core/Quest: implement usage of QUEST_FLAGS_RAID to allow a quest to be completed while in raid. (#17535)
By @ForesterDev
(cherry picked from commit baf54cff3be034e98874f2e2298f6164f826e2ae)
2017-02-05 16:38:18 +01:00
SnapperRy 8c80ea4251 DB/Loot: increase drop chance for item "Tender Strider Meat"
Source: Wowhead comments
(cherry picked from commit 49d857ce3140ffa51323fea1cf176b8372b84e2b)
2017-02-05 16:36:58 +01:00
SnapperRy 401c6352b9 DB/Loot: fix drop conditions and chance for item "Cracked Silithid Carapace"
(cherry picked from commit 844921a6156d7c08a2a9eec567e25b3d02803d12)
2017-02-05 16:36:01 +01:00
SnapperRy fcbda4c83b DB/SAI: improvements for quest "Verog the Dervish"
Change despawn type, prevent duplicates, and increase chance of spawn. Taken from Wowhead comments
(cherry picked from commit 439ec8835440fbe322f4dcd901924d40e699ef40)
2017-02-05 16:34:56 +01:00
SnapperRy c016de4d14 DB/Texts: fix texts for two quests and one item
(cherry picked from commit 0c15241a35f9e69b5d96678b02d4ac90f87a14cb)
2017-02-05 16:33:04 +01:00
Snapper 81701280e8 DB/SAI: improve script for some ogres in Feralas:
- Fix spam of Healing Wave for Gordunni Shaman
- Use CMC for Gordunni Warlock and Gordunni Ogre Mage

(cherry picked from commit ec919d7b0e244a9893d444280d931c5e64bb089b)
2017-02-05 16:28:57 +01:00
Snapper a3096cc1c1 Core/Misc: use enum for UNIIT_NPC_FLAGS' zero values
(cherry picked from commit ebb33bbfc1f11a16e00e0d84965ad5350267940a)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2017-02-05 16:27:55 +01:00
SnapperRy 030900d1f6 DB/Loot: Tailoring's bolts should not drop from any creature
(cherry picked from commit 8e721e1965861e3b823408b116db3d8a4bf67410)
2017-02-05 16:24:37 +01:00
SnapperRy 66f0e33dc0 DB/Quest: add prevquest to one of the "The Ashenvale Hunt" quests
(cherry picked from commit 66c8bae7be1b4af0abd496cc474161318240a4f3)
2017-02-05 16:23:22 +01:00
SnapperRy 9d0a8c940a DB/Loot: those items should only be dropped by gameobjects
Items 'Silithid Egg', 'Lorgalis Manuscript', 'Broken Tears' AND 'Spotted Hippogryph Down' should not be dropped by creatures
(cherry picked from commit a1a7bca18194842690c267418c140ee25af9d6f0)
2017-02-05 16:21:15 +01:00
Snapper c639153567 Core/Misc: kill whitespace and use enum instead of hardcoded value.
(cherry picked from commit 21797c6c4f1cfee479911f58df9b3e6b6f8a2c4d)
2017-02-05 00:57:20 +01:00
Snapper 3c23a5d075 DB/Conditions: spell "Wretched Tap" can only be cast by creature "Wretched Urchin".
Closes #15586

(cherry picked from commit 4c78a416fede16041867b7a7de310d126517bca3)
2017-02-05 00:57:19 +01:00
SnapperRy 977cccab92 Core/Quest: don't save queststatus for autocomplete quests (#17487)
(cherry picked from commit bf9b89dd2e10f7f083a9fdcf51ef76236836aa9b)
2017-02-05 00:57:19 +01:00
SnapperRy 773b96d842 DB/Creature: fix InhabitType for Skadir Mistweaver and Winterskorn Raider
(cherry picked from commit ee21295dcb7a1c26df8be03560e4c0a0266915f8)
2017-02-05 00:57:17 +01:00
SnapperRy caf744ad02 Core/Script: small improvement for quest "The Hunt is On". (#17537)
Reset emotestate when the event starts.
(cherry picked from commit eb1cd4c90708309a2e3c0e6e7c3e91645f725810)
2017-02-05 00:57:16 +01:00
SnapperRy c9ef848b64 DB/Conditions: spell Cannon Ball can only hit Daggerspine Marauder
Closes #17532.
(cherry picked from commit 2b0e307ee937674c99e6b32079ef4f1888a17b36)
2017-02-05 00:57:15 +01:00
SnapperRy 8c0b56da62 DB/SAI: Webwood Spider and Githyiss the Vile
(cherry picked from commit c797ffc0a8838e0bd934c24e8e22bc81db99d690)
2017-02-05 00:57:15 +01:00
SnapperRy 9f9692427a Core/Fishing: update fishing skill regardless of success or failure (junk items fished) (#17504)
(cherry picked from commit bf30ec9c8efb40e78cc8c123780edf12e7a2a162)
2017-02-04 23:49:42 +01:00
SnapperRy 623215ce31 Event/Midsummer: improve pole ribbon functionality (#17464)
Event/Midsummer: improve pole ribbon functionality:

- Bunny creature should hover, which puts it in the intended position.
- Use correct visual and internal spells to handle cosmetics and timers.
(cherry picked from commit 03b15d968b56b7855693e47e79a320cf9990d73c)

Rename 9999_99_99_99_world.sql to 2016_07_05_03_world.sql
(cherry picked from commit 8edc1caf32635f417aee290811a9ef2860f145b6)
2017-02-04 23:37:59 +01:00
SnapperRy 752c789aaf Core/Quest: do not save/load Dungeon Finder/daily/repeatable quests as completed (#17458)
* Core/Quest: do not save/load Dungeon Finder/daily/repeatable quests as completed
(cherry picked from commit 7905651b0793d47b4ba040ad6ac47231ad3ec9d2)

# Conflicts:
#	src/server/game/Entities/Player/Player.cpp
2017-02-04 23:21:27 +01:00
SnapperRy 8ee0a14c27 Core/Spell: allow use of ground mounts while swimming (#17488)
(cherry picked from commit b20912c8f6972360596c8b52360f6dd1d584c93e)
2017-02-04 23:20:08 +01:00
SnapperRy 101d5ed953 Core/Loading: output error when specified emote id for some quest-related tables is invalid (#17469)
* Core/Loading: output error when specified emote id for some quest-related tables is invalid
* Apply suggested changes (and kill whitespace)

(cherry picked from commit c853a83dd050092a42c0ebbc4cbc0454fd9e8fbb)

# Conflicts:
#	src/server/game/Quests/QuestDef.cpp
2017-02-04 18:06:26 +01:00
SnapperRy 416bcdd852 Script/Quest: Improvements for quest Corrosion Prevention (27347): (#17385)
- Energized! spell should target only the caster and any player around.
- Prevent trigger from gaining threat from beneficial spell casts, getting stuck in a "gaining threat but cannot attack, reset" situation.
- The Power Core Fragment near the zeppelin crash should always be active.
(cherry picked from commit 764daeb9ccdd8c38b53860ae0765e5d3c3c2a538)

Rename 9999_99_99_99_world.sql to 2016_06_18_01_world.sql
(cherry picked from commit ce236d37c8560c86cdc3597e4153f98b2e629fcc)
2017-01-29 21:51:06 +01:00
SnapperRy 2e5550758c Core/Movement: interrupt a creature's current cast when fleeing for assistance, and (if spell is not castable while moving) when running random/fleeing movement generators. (#17271)
Also make sure the creature is alive before updating.

Fixes #12823.
(cherry picked from commit 2db9269ec1c06b5fccc45dc0a5b4f714f9b48804)

DB/Creature: World Trigger (Not Immune NPC) InhabitType update

Closes #17332 by Malcrom
(cherry picked from commit 78d08834c0afe0be09e4ec071a6e6855aa18e2c8)

DB/Item: Fix text in Rune-Inscribed Parchment

Closes #17329 by tkrokli
(cherry picked from commit 8879545f21fe13650872358741b687a524cf8cb9)

DB/Quest: improve chaining for "The Ashenvale Hunt" quests

Closes #17323 by SnapperRy
(cherry picked from commit d034eedb811912546025d11a5e9335bcd6600464)

DB/trinity_string: wrong string about character customization + minor fix

Closes #17306 by lyn1337
(cherry picked from commit 0951e559ebe6b76abdfef55619244578d9917002)

DB/Quest: fix some completion/offer reward quest texts

Closes #17336 by SnapperRy
(cherry picked from commit e9025036b9848a5a684c57e3e066687c29fde321)

DB/Quest: add queststarters for "Regthar Deathgate"

Closes #17337 by SnapperRy
(cherry picked from commit 0b8921a0ef81fb7c4741248301b17a86fa0ffb69)

DB/Quest: fix chaining for "The Real Threat"

Closes #17338 by SnapperRy
(cherry picked from commit c9cb86d6c53ceb7331a1a5c1ff8a69f569cca426)

DB/Quest: fix repeatableness (or lack of) for some quests

Closes #17339 by SnapperRy
(cherry picked from commit b9f2e2a81b7f0a269da3a8f9597a4eca17899781)

DB/Quest: improvements for "Fool's Stout"

Closes #17340 by SnapperRy
(cherry picked from commit 4ec753dc50927e358a63a49a56cef7f5a72f41eb)
2017-01-13 00:07:43 +01:00
Snapper f8ca5fd40e Core/Quest: send SMSG_QUESTGIVER_STATUS_MULTIPLE after a quest is rewarded.
This updates the status of nearby questgivers and prevents them from being stuck in a state that's no longer valid (for example, stuck with yellow question mark until area update).

(cherry picked from commit 114f4c9715dd703f37440ef59fcf864fb8e6612f)
2017-01-12 23:52:56 +01:00
Snapper 36a896e28a Core/SmartAI: delay SMART_ACTION_FLEE_FOR_ASSIST if creature is rooted/stunned.
Prevents creatures from teleporting around when fleeing while stunned/rooted.

(cherry picked from commit aaf10dccb09935e8618389df99b2f8616458cf6b)
2017-01-12 23:17:37 +01:00
Snapper fbb9fc0228 Core/SmartAI: remove unneeded check for SMART_ACTION_FORCE_DESPAWN.
Gameobjects do not need to use SmartAI in order to be targeted by other entities' scripts.

(cherry picked from commit 9803e58392eea0828aac96cd79a794a77323d9d0)
2017-01-12 00:02:29 +01:00
SnapperRy 6444bb9a14 Core/Quests: Remove wrong call to SendQuestComplete(). (#17200)
(cherry picked from commit 9480a210f24a1ebe006b065d7972512882cf3c5a)
2017-01-09 21:40:06 +01:00