Commit Graph
30251 Commits
Author SHA1 Message Date
vincent-michael 050f95043a DB/Areatrigger: Fix typo in 21006f82ef 2017-02-19 02:32:05 +01:00
vincent-michael 21006f82ef DB/Areatrigger: Updated areatrigger_template data for 7.0.3 2017-02-19 01:18:17 +01:00
Shauren 8db72348ee Build fix 2017-02-19 00:59:43 +01:00
Shauren 5e437f5d3d Core/Movement: Implement SpellEffectExtraData curve modifiers 2017-02-18 21:55:28 +01:00
ariel- 255dd29562 Core/Spell: no need to bloat existing parameter lists. (f81754a306a8b1f24f0b130ded3c8170e9b146c5 follow up)
(cherry picked from commit 4829cca9fb81b27cd9a057355ee7b03ff71e0a14)

Note to self: drycoding is bad
(cherry picked from commit 7e8a08c3516d8f5e48882a01a2ccdb8881dd8283)

Another build fix.

(it was probably better to just revert the commit instead)
(cherry picked from commit be8d1136994fd5f0a90b03a52d21c9503857f15f)
2017-02-18 18:07:07 +01:00
ariel- ced908d835 DB: Add missing racial mounts to faction change
(cherry picked from commit 54c6fdba3f37e5a255f7c946d6a5f770a481c8fa)
2017-02-18 18:05:46 +01:00
ariel- 33ce2a8c82 DB/Creature: Hardened Steel Skycaller
Fix correct spell, was 52775 Summon Escort
(cherry picked from commit c4cb2d4e35aacd82470d0ca34e7ac079aa7c8da4)
2017-02-18 18:03:19 +01:00
treeston cb5ec8fccf DB/Creature: Make Coldarra Spellweavers cast Arcane Missiles (channel) instead of Arcane Missile (triggered spell).
(cherry picked from commit 69d871fc53f818aba5a2b9c7484833cfa5fa7d88)
2017-02-18 18:02:29 +01:00
treeston b47b9a2913 DB/Creature: More fixes for that poor Cabal Abjurist! Plus bonus content for Bleeding Hollow Darkcaster.
I feel like a DB dev now.

(cherry picked from commit f5cbc17387dcd8ac5d05436d3382053e8a0ab55f)
2017-02-18 18:01:40 +01:00
treeston 39a7a71494 DB/Creature: Fix Cabal Abjurist SAI
(cherry picked from commit 5f43e7b964d48d57ec7fabdbf36a832aee53dca4)
2017-02-18 18:00:37 +01:00
ariel- 163f5b02af Core/Spell: Workaround cobra strikes into a charged aura instead of stacked.
Fixes #754

(cherry picked from commit 65d0a9478dfcd6c503f78bdf91510e671ea0354f)
2017-02-18 17:59:17 +01:00
ariel- 7a971d7ed2 Core/Spells: register SPELLMOD_CRITICAL_CHANCE in casting spell modifiers.
(cherry picked from commit f81754a306a8b1f24f0b130ded3c8170e9b146c5)
2017-02-18 17:57:55 +01:00
ariel- 13562184e3 Core/Spells: Remove spellmods from SpellMod owner instead of caster (needed so pet casts properly remove aura charges)
(cherry picked from commit 3aa145cbe1eec715eb8e0942fe36900bb7d6dc47)
2017-02-18 17:57:38 +01:00
ariel- c71a04d0f0 Core/Spells: fix Bullheaded immunities
Closes #421

(cherry picked from commit 11f6801a5c9c92775864545be7ace85ac1883686)
2017-02-18 17:57:08 +01:00
treeston 7b3b333dd5 Core/Position: Allow implicit casting to G3D::Vector. Also, add a utility overload to MotionMaster.
(cherry picked from commit 9f15482b849d7a77a4a0cc68f18aabb8ee6c58c9)
2017-02-18 17:55:40 +01:00
treeston ebbcd601b9 DB/Creature: Fix random inhabittype that was making an Outland world elite permanently rooted.
(cherry picked from commit b7112d0fbe457043418415f45f68f159896477d4)
2017-02-18 17:55:05 +01:00
treeston 52f400226e Replace a leftover const char* with a std::string const&.
(cherry picked from commit c0de28b045f6c7d31652262c9b96d0739fec8110)
2017-02-18 17:54:11 +01:00
Trond B Krokli 02757118f2 Core/Scripts/DB: remove hardcoded text from npc_beaten_corpse (#16907)
- remove hardcoded text from script npc_beaten_corpse
- remove OnGossipHello() hook, gossip text moved to DB
- use sGossipSelect() hook instead of OnGossipSelect()
- add npc_text 3557 and 3558 as text_id to gossip_menu
- add gossip_menu_option 2871 to NPC 10668 Beaten Corpse
- add condition for gossip_menu_option 2871 in Quest ID 4921

Tested on 4 different characters/classes, male & female.
Thanks to joschiwald for the sGossipSelect() script change.
(cherry picked from commit d82534a7bbd401f4b672786749f10f5a95f6e76c)
2017-02-18 17:53:48 +01:00
treeston bbbf8df8e5 Entities/Gossip: The Big One™ that gets rid of all uses of The Bad™ and The Ugly™, e.g. gossip preprocessor macros, and replaces them with the new-and-shiny gossip functions.
(cherry picked from commit d55426f5b4e431e6d398b1e2dbbd25f7387328f2)
2017-02-18 17:50:00 +01:00
treeston f94dc007ae Fix dynamic build.
(cherry picked from commit 54f923fdee9cf8a17e5eaee8a8f0290dadc9905b)
2017-02-18 17:30:23 +01:00
tkrokli a714fe98f6 Core/Scripts: remove forgotten #define in boss_kalecgos.cpp
This #define was originally supposed to be removed in my PR #17832,
but for some reason it remained undeleted. This commit corrects it.

Also aligned all the enum values to the same column for readability,
based on a common multiple of 4 spaces.

(cherry picked from commit 068656af064db741adf92281fd5a094db66b7d4c)
2017-02-18 17:29:54 +01:00
Gustavo cc39c11d7f Whitespace clean-up
(cherry picked from commit 6ee35734e42a97696056fcb0bf684a11ea4e524c)
2017-02-18 17:25:36 +01:00
Gustavo c4f2012ef5 Core/Spells Make credit for quests "The Grand Melee" and "Among the Champions" a triggered cast (#17870)
Fix a problem where the credit wasn't casted due to CGD
(cherry picked from commit e1761a24ceab167909a71be8d38dda9dc4792932)
2017-02-18 17:23:20 +01:00
treeston a0d48b92d5 Creature/Gossip: offer replacement functions for the existing preprocessor gossip macros
(cherry picked from commit 175db157f76d8a8de42bb53f1b1564f12600616a)

You saw nothing (build fix).
(cherry picked from commit 72a7f4b507f93d575c406f727bf71e3ecaf20bd8)

Build fix. Again. Oops.
(cherry picked from commit 61eb70fd827e79018449f204ce93b9b6bf46eabf)

....right, I actually went through a full rebuild now just to make sure it works.
(cherry picked from commit 8531f012a2d63df7f505507573639be512c2adba)

Last one. For real. Please. (Build fix #5).
(cherry picked from commit a32536d490a32241a3ac1db9b61109f61a47b02c)
2017-02-18 17:22:53 +01:00
Dr-J 00fed3d44f DB/SAI: Ahab Wheathoof
* NPC should turn towards invoker and stay facing for a short duration before turning back towards pillar when says line asking about his dog.
* Npc should only have fork equipped when he turns towards player at all other times has hammer equipped
* Added script for when periodically hammers the notice pillar
(cherry picked from commit 2b992d4cb0c1764c3b3e0f4d314b338fe74a96f6)
2017-02-18 17:22:25 +01:00
jackpoz 3cd6e1dd82 Core/Loot: Fix group loot if player loot recipient disconnects
Fixes #13300

(cherry picked from commit 38f8a03781d98388408f7d4d9f906c311d21bdcc)
2017-02-18 17:21:00 +01:00
ariel- d4a2a725e4 Update SpellEffects.cpp
(cherry picked from commit 5b81f55141791292e438606c9d7d942e2f5a8d2b)
2017-02-18 17:20:42 +01:00
ariel- 27208252ee Core/Spell: Calculate GO rotation for SPELL_EFFECT_TRANS_DOOR
(cherry picked from commit f5a0342913bc569d9b54ab116812094adf67e2e1)

# Conflicts:
#	src/server/game/Spells/SpellEffects.cpp
2017-02-18 17:19:40 +01:00
ariel- 8a3f053a2f Core/GameObject: save spawn GOState and reset to it instead of toggling from whatever current state we have
Prevents exploit of SMART_ACTION_ACTIVATE_GOBJECT

(cherry picked from commit be3199314ab4c8fba31dd29cbc3a79838e5b3138)
2017-02-18 17:17:18 +01:00
ariel- 54b038fe2f Core/Entities: Added possibility to construct a Position using a G3D::Vector3
(cherry picked from commit 17917171f3bb7d8c5727a1611ed017ebeccf5ae7)
2017-02-18 17:16:11 +01:00
ariel- b3f993894a Core/Scripts: Professor Putricide oozes, reapply passive proc auras on reset, and register them as PP summons since they're summoned by a trigger. (f183ed3c50cdcf13cd9fe608e0f4791177f120a4 follow-up)
(cherry picked from commit 27590fbb9856c77af49bcf396e86db8f8f3aec9d)
2017-02-18 17:16:11 +01:00
treeston e0b557c858 Entities/Unit: Add overload to NearTeleportTo taking Position const&.
(cherry picked from commit 211eee0fce0bf9720511ad05fae271512b24f48e)
2017-02-18 17:16:10 +01:00
treeston 5c01d14056 Entities/Creature: Add arg2 to DespawnOrUnsummon to allow overriding respawn time. This matches changes that will be merged as part of dynamic spawning, allowing scripts to transition early.
(cherry picked from commit 4bcc8078d734ccf166533e504db703ded6968339)
2017-02-18 17:16:10 +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
Ryan e20f44146e Core/Instance: Fix GetInstanceSave sometimes checking the wrong map (#17856)
(cherry picked from commit 9c504c8a8ec4db3b75ad35172827457905ede8ee)
2017-02-18 17:16:05 +01:00
ariel- 7f66c730ec Update boss_kelthuzad.cpp
(cherry picked from commit 7e4abce820072966dd060c18c8f9901b6da04c98)

Core/Scripts: fix math error that would not select points on the entire circle
(cherry picked from commit cd9226e755640712b308753a43336fdc43af05f5)
2017-02-18 16:54:56 +01:00
treeston 77ecafaa42 Entities/GameObject: Expose GO rotation to scripting.
(cherry picked from commit bdbe3f22e008b7153384b43bcec56002676cb26b)
2017-02-18 16:53:44 +01:00
Dr-J 5aa7e2a133 DB/Quest: The Journey Has Just Begun
http://www.wowhead.com/quest=7493/the-journey-has-just-begun should become available when either level 60 or 80 version of Onyxias head quest is turned not only the level 60 version
(cherry picked from commit 01e5a5b4e799dc5448dd25ea663288bb3caf8593)
2017-02-18 16:53:29 +01:00
Dr-J 2a105e5c9f DB/Loot: Summoned Zombie
Remove all loot from summoned zombie http://www.wowhead.com/npc=10698/summoned-zombie as these npcs where rather generous on TC as they are meant to drop no loot.
(cherry picked from commit 0a4b4dec0994d80a2409923511771bd662ea8dfb)
2017-02-18 16:52:34 +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
Gustavo accbb587b8 Core/Scripts Boss Skadi the Ruthless rework
(cherry picked from commit 40114cacd37675a9cbe7d2eef15445340d87e814)

Rename 2016_99_99_00_world.sql to 2016_08_25_06_world.sql
(cherry picked from commit 738e3cf0020c16d85e7fdeca55128e71ba3d2aed)

travis is lazy
(cherry picked from commit 92876278fe163ffd8ecf9561f5b0044225559c48)
2017-02-18 16:44:24 +01:00
tkrokli ac88c6ec17 Core/Scripts: move npc_experience hardcoded text to DB
(cherry picked from commit 8df4706992f0fa39af5892dce2c23a0dde5bd9c1)

Rename 2016_08_28_17750_world.sql to 2016_08_25_05_world.sql
(cherry picked from commit 9c41af16cae65c6a7cc97a22fd877993eb9dfa49)
2017-02-18 16:23:19 +01:00
tkrokli d01dbdc528 Core/Scripts: move #define to enum in boss_kalecgos.cpp
(cherry picked from commit 8bc00e8952e5ae35b69edb50785d0a19ebf8e91e)
2017-02-18 16:20:47 +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
tkrokli 89923791b8 Core/Scripts: move forge_of_souls gossip to DB
(cherry picked from commit 537074a8092ae694cf5d797a2a8f0ffa5013d43c)

Rename 2016_08_24_20_world.sql to 2016_08_25_03_world.sql
(cherry picked from commit 8500d0f9e01964531f469e9bbf2f146e03915a8e)
2017-02-18 16:19:17 +01:00
Aokromes 038012d4f8 DB/Gameobject: Fix respawn time of few Quest GameObjects
Closes #17845 closes #17846 by Tauriella
(cherry picked from commit ee204984c25d2a2f6d13ce38587f6ec7d48438a0)
2017-02-18 16:19:17 +01:00
Gustavo a4fc7d9d2d Core/Scripts Implement Pit of Saron Cavern event
(cherry picked from commit b459c6607f80701945cb822d8c7519998cad205f)

Rename 2016_99_99_99_world.sql to 2016_08_25_01_world.sql
(cherry picked from commit 05df3cc98813688247dc2ec0ce3899a1369ec0d5)
2017-02-18 16:16:00 +01:00
Gustavo e8df5babe6 Scripts/Pet Implemented Argent Squire/Gruntling and Argent Pony Bridle
(cherry picked from commit 989aaaa8b5284bc707c94c62e6c50e9df3cbfc84)

Rename 2016_08_15_17779_world.sql to 2016_08_25_00_world.sql
(cherry picked from commit 526dfca8643d3afb9976eb099281547003dffbb1)
2017-02-18 16:00:52 +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
treeston 8a4a51aadf Core/Movement: Properly clear UNIT_STATE_MOVING when reaching chase target.
(cherry picked from commit 6ae887a5a9fd0ac7f4ea7c4fc1dab46f2b1b772c)
2017-02-18 15:57:19 +01:00