Commit Graph
7572 Commits
Author SHA1 Message Date
Keader c7d7464a2d Core/Scripts: Cleanup in instance_black_temple and added missing datas (#18246)
* Core/Scripts: Cleanup in instance_black_temple and added missing datas

* Fixed door timing issue

* Remove redundant call

(cherry picked from commit 81edee5648e76ff946269ae10974affc9e334bb2)
2017-12-26 19:23:25 +01:00
Treeston 60c756d3f8 Scripts/Various: Bringing nullptr civilization to the savages of master branch. Merry Christmas.
(2a08556 follow-up)
2017-12-26 01:33:50 +01:00
Treeston 2a08556273 Core/Unit: For convenience, explicitly redirect CastSpell with nullptr as first argument to the Unit* overloads. No more ->CastSpell((Unit*)nullptr, ...) all over the place!
(cherry picked from commits c7896f31026d6bdee189226680705dd7965b2039 and 40c78cac4c430a97386b44b994ec85fbaeda8821)
2017-12-26 01:10:26 +01:00
Keader 2acb7dae1b Core/Scripts: Fixed a typo and removed randtime of Shade of Akama events (#18231)
(cherry picked from commit c4dd6d167601390ad29c0241a30872bd0b5afa5e)
2017-12-25 10:30:08 +01:00
joschiwald 13726438da Core/Spells: Moved applying exclusive aura spells to scripts 2017-12-24 18:31:29 +01:00
joschiwald 439ac5756c Core/Spells: Implemented spells causing Forbearance
Ref #20937
2017-12-23 13:45:50 +01:00
Naios 1285347518 Build: Inherit the features and warning flags privately 2017-12-20 04:04:28 +01:00
Naios 964d6bd1b2 Build: Use the cotire library for precompiled header handling
* Required for handling flags inherited by linked projects
  correctly in the corresponding precompiled header.
* Reduces the maintenance effort for precompiled headers

(cherry picked from commit 92f96fc10e70b2d62cce832837477d958e2afbe3)
2017-12-20 04:04:27 +01:00
Shauren dc4d05c8f2 Core/Spells: Removed outdated disengage script - it can be cast out of combat
Closes #19193
2017-12-19 20:36:06 +01:00
ariel- 70a89debfe Core/Spell: make a distinction between triggered flags with debugging purposes, and don't use them when casting triggered spells
Fixes #9721 (also other spells affected, example Threat of Thassarian, Stormstrike)

(cherry picked from commit 85143f305dd6b82e35639fe026f5f8613a1b96c4)
2017-12-10 18:37:00 +01:00
tkrokli b74eba72f6 Core/Scripts: Archmage Arugal event script (#17922)
Implement boss script for Archmage Arugal
- add yells used in boss event to DB
- use proper spells instead of only melee fighting
- add DataType in shadowfang_keep.h
- add event scheduling in the script

By Riztazz
Closes issue #17916

(cherry picked from commit 2b26894eb1eaf8572f61d303882878659692cdd3)
2017-12-10 17:29:54 +01:00
Traesh 422ad436c7 Core/Scripts: Added new QuestScript hooks (#20950)
* OnQuestStatusChange and OnQuestObjectiveChange
2017-12-04 17:35:37 +01:00
Dr-J 0338421543 DB/Creature: Augustus the Untouched
Move from cpp to db, also added some missing detail
(cherry picked from commit cefed89c38bcd7bb7562df51f9e932878084c5da)

Remove obsolete file
(cherry picked from commit 9be0362606971e40f47543462f133125e995279d)

Remove reference to eastern plaguelands script
(cherry picked from commit 1fc8e2d5f28964bfb69304760e0d9333a45aee28)
2017-11-26 16:18:01 +01:00
Aokromes df6e0538fe Misc: More cleanup 2017-11-25 02:57:49 +01:00
Aokromes 90badf9d7e Misc: More cleanup 2017-11-25 02:50:29 +01:00
Aokromes d5c6a4f20a typo fix 2017-11-25 01:44:48 +01:00
Aokromes c547627d95 Misc: Kill trailing white spaces 2017-11-25 01:40:43 +01:00
Aokromes 8d514fb031 Misc: Kill trailing white spaces 2017-11-25 01:39:02 +01:00
Hadifaren 00f6ca060f Scripts/Spells: Implemented Blinding Light (#20933) 2017-11-19 16:30:13 +01:00
joschiwald f9067f2aab Core/Auras: don't save auras casted by items
* Core/Auras: don't save auras casted by items

- This type of auras (like Water Bucket, Precious Ribbon, etc) will be recasted on login anyways.

This reverts commit 16cfd59f5b368fd1d05eeeab3afbacfccf0a6870

(partial cherry picked from commit e84dfff4cee74baf2c02cc7752df5bf392eae180)

Core/Auras: fix elixir aura saving

(cherry picked from commit 697147a596515c82817a161e7a9a5f07cdf9a8f3)
2017-11-19 16:25:30 +01:00
joschiwald b12b37058c Scripts/Spells: Fixed Rogue Stealth SpellScript
Ref #20883
2017-11-18 21:33:46 +01:00
NoName d295f2d362 Script/Spells: Implemented Chaos Strike energize proc (#20840)
Thx @Ovahlord
2017-11-18 17:53:18 +01:00
funjoker 465012978f Core/Scripting: Implemented Conversation scripts (#20758) 2017-11-18 12:40:56 +01:00
Shauren da2c11ec48 Scripts/Sethekk Halls: Added missing empty check before Trinity::Containers::SelectRandomContainerElement
Ref #20317

(cherry picked from commit 805024a78024ba0d692ed02a0a633600a5030934)
2017-11-16 20:25:50 +01:00
Duarte Duarte ae917e950b Scripts: Fix static analysis issues CID 1381648, 1379869, 1377302 and… (#20748)
* Scripts: Fix static analysis issues CID 1381648, 1379869, 1377302 and 1377300
2017-11-14 11:23:25 +00:00
tkrokli 9c18503959 Scripts/Kalimdor: remove zone_teldrassil.cpp
- single script moved to SAI in commit f85ac27912
  (August 9, 2015)
- no NPCs using this script, removal forgotten in the mentioned commit
2017-11-12 22:25:26 +01:00
Shauren 331c70e695 Core/Players: Fixed DK runes and runic power
Closes #19595
2017-11-12 02:42:06 +01:00
Shauren bf0ae32d18 Core/Commands: Added .modify power command allowing to change any power as long as player class can use it
* Power names are taken from PowerType.db2 (lowercase, using _ is optional)

Closes #20833
2017-11-11 22:41:05 +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 ece0c955fc Codestyle.
(cherry picked from commit ec023c3032b55bcfdc83d458ac79204bb25c7aed)
2017-11-11 20:05:40 +01:00
Paul 733441922b Scripts/Spells: warrior Mortal Strike & Colossus Smash Effect (#19332) 2017-11-05 20:25:41 +01:00
SnapperRy 0afa672077 Core/Script: Messenger Torvus.
(cherry picked from commit 924cdb9a11b1d419080045e6bb7fee164f6f000c)
2017-11-05 12:46:29 +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
Duarte Duarte 7cbb70affc Scripts/Fireland: Fix static analysis issues CID 1379866 and CID 1379865 (#20746) 2017-11-02 10:12:08 +00:00
Duarte Duarte 42321babe6 Scripts: Fix static analysis issues CID 1379870 and 1367941 (#20747) 2017-10-30 21:27:55 +01:00
Aokromes 1f5c4df4d5 Scripts/Scholomance: Lady Illucia Barov spell corrections 2017-10-30 12:36:34 +01:00
joschiwald 9c615059f8 Fixed build 2017-10-15 17:22:30 +02:00
ariel- fe2e3b67a8 Core/Spells: use DamageInfo struct to calc spell absorbs and resists, and use calculated proc hitMask on aura ticks
Closes #18135

(cherry picked from commit d3a71a83387f757f87c7d27e1054498c8cc49c8f)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Spells/Auras/SpellAuraEffects.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/scripts/Commands/cs_misc.cpp
2017-10-15 16:59:56 +02:00
Keader bc9b3b4928 Scripts/Trial of the Crusader: Fixed crash in Snobold Vassal script (#18124)
Closes #18122

(cherry picked from commit cdc5a36dbb8c3498fcdab43ce568548d3b60ccfa)
2017-10-15 16:18:21 +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
Roc13x a6d1b34472 Core/Creature: Refactor and improve vendor items (#20328)
* Implement item bonuses in vendors.
* Implement the PlayerConditionID and IgnoreFiltering DB columns.
* Fix loading referenced vendor items
* Allow adding bonuses in .npc add item command
2017-10-09 21:03:25 +02:00
Shauren 4d5eacd3af Core/Bnet: Added support for -launcherlogin logins (external client launcher required) 2017-10-03 18:03:57 +02:00
joschiwald 0b36d80115 Fixed build 2017-10-03 17:57:59 +02:00
treeston 03a2f0d56a Entities/Creature: Fix an edge case issue where creatures would re-acquire target after respawn if they despawned while spell focusing.
Instance/AzjolNerub: Fix Anub'arak wall and add sequence break info. Fixes and closes #18013.

(cherry picked from commit 0d725e1336f4eb40ab392471af4c2381ea04b9e6)
2017-10-03 17:35:19 +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
treeston f1929df956 Scripts/AzjolNerub: Make pulling Anub'arak a bit cleaner.
(cherry picked from commit 59cbea00bcb698916b442ce0157b2e23f95b7be5)
2017-10-03 17:21:41 +02:00
treeston 10e8b61f90 Fix _DespawnAtEvade for other creatures to actually respawn said other creatures.
Also fix add aggro for Hadronox.
Fixes and closes #18012.

(cherry picked from commit 1ecdea5374f331f0c71e543e713592baa21e6e99)
2017-10-03 17:21:23 +02:00
treeston a8e3654860 Core/Creature: Fix respawn logic to call reset react state BEFORE calling Reset(). Fixes Krik'thir behavior after a wipe (and maybe some others).
Fixes and closes #18011.

(cherry picked from commit aab7abfd045b935e112feec4b192fb7921394766)
2017-10-03 17:17:11 +02:00
tkrokli 8f718043d1 Core/Scripts: move npc_saat to DB (#17813)
The core script only contains gossip handling + conditions.
- remove script from file the_black_morass.cpp
- thereby removing 1 line of hardcoded text
- remove redundant SD2 comments in header
- add SAI, gossip and conditions to DB
(cherry picked from commit 028a7b8e45746c0695a579d7883ea0e5878b827b)

Rename 2016_10_32_17813_world.sql to 2016_10_15_01_world.sql
(cherry picked from commit 13b748c682d0f9a42bc8dfa87c31043db5c06148)
2017-10-03 17:05:25 +02:00
tkrokli c4ec0d8cfc [WIP] Core/Scripts: Gnomish Mind Control Cap and Gnomish Universal Remote (#17374)
(cherry picked from commit b651bf271b047d3c79d7e8fc2c558913d20c9e15)

Rename 2016_09_09_20_world.sql to 2016_10_15_00_world.sql
(cherry picked from commit d03b3e26438e12bda9069969041d50c36119c24b)
2017-10-03 16:56:48 +02:00