Commit Graph

5177 Commits

Author SHA1 Message Date
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 (9f5df023b7 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 ca1c4525c7)

Core/Unit: fix build

Ctrl-S failure
(cherry picked from commit f3bdd705c0)
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 361b185ef7)
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 81edee5648)
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 c7896f3102 and 40c78cac4c)
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 c4dd6d1676)
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 92f96fc10e)
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 85143f305d)
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 2b26894eb1)
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 cefed89c38)

Remove obsolete file
(cherry picked from commit 9be0362606)

Remove reference to eastern plaguelands script
(cherry picked from commit 1fc8e2d5f2)
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 16cfd59f5b

(partial cherry picked from commit e84dfff4ce)

Core/Auras: fix elixir aura saving

(cherry picked from commit 697147a596)
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 805024a780)
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 2729eb156f)
2017-11-11 20:44:25 +01:00
SnapperRy
ece0c955fc Codestyle.
(cherry picked from commit ec023c3032)
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 924cdb9a11)
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 b52e774ccf)
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 d3a71a8338)

# 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 cdc5a36dbb)
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 16cfd59f5b)

Add forgotten override.
(cherry picked from commit c6f94ba42e)

Fix non-PCH build.
(cherry picked from commit 02cea9c0ba)
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 0d725e1336)
2017-10-03 17:35:19 +02:00
SnapperRy
2e79e206af Script/Quest: Arelion's Mistress.
(cherry picked from commit 94c41c92b3)

Fix warning.

Also, the quest's name is Arelion's Secret, not Arelion's Mistress.
(cherry picked from commit 79acb9fa71)
2017-10-03 17:26:23 +02:00