Commit Graph
5179 Commits
Author SHA1 Message Date
Mihapro 8199eef81c Core/Misc: Added helper function Unit::SetFullPower
* Also renamed Unit::getPowerType and Unit::setPowerType to follow style guidelines

Ref #20981
2018-01-03 16:39:32 +01:00
vincent-michael 7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Traesh 89c91c271b Core/Quests: Implemented player choices
* Implemented SPELL_EFFECT_LAUNCH_QUEST_CHOICE
* Script hook for player choices
2017-12-31 23:22:55 +01:00
joschiwald 299fad57fc Core/Misc: Fixed type mismatch 2017-12-30 23:09:45 +01:00
ariel- 5bcf14cdb8 Core/Unit: damage immune improvements (9f5df023b746d324588f175e264c62205b69e165 follow up)
- Handling checked in sniffs: Spell 63710 Void Barrier vs 49143 Frost Strike
  * Send spell miss immune only if spell consists of damage effects
- Checked with 348 Immolate:
  * No packets sent if damage immune, aura is applied normally

Also... who the fuck uses 0 to compare against pointers

(cherry picked from commit ca1c4525c7da320da2c0a55bfd803879e3cf60b2)

Core/Unit: fix build

Ctrl-S failure
(cherry picked from commit f3bdd705c0e3ab28585406ae8e08da44a09b14df)
2017-12-30 22:56:48 +01:00
ariel- e5a21fb6ce Core/Scripts: add checks to Master's Call script
Closes #8403

(cherry picked from commit 361b185ef7bfb0eff3e82c0b12deaf5b597bebee)
2017-12-30 21:32:08 +01:00
Shauren 965f4de083 Core/Units: Encapsulate UNIT_CHANNEL_* fields 2017-12-29 12:57:55 +01:00
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