Commit Graph

30462 Commits

Author SHA1 Message Date
Shauren
7b235ce6e4 Core/DataStores: Refactor DB2 loaders to be reusable by extractors 2017-03-08 18:10:02 +01:00
ariel-
f585c83124 Update Unit.cpp
Kill an unused parameter warning
2017-03-07 13:40:21 -03:00
Shauren
7257c1b2ec Update PackageList.txt 2017-03-07 17:17:23 +01:00
Shauren
d5133a64f6 Tools/vmapextractor: Fixed extracting gameobject models 2017-03-07 17:15:07 +01:00
Shauren
5e3156e27f Dep/CascLib: Update to ladislav-zezula/CascLib@2313e4aff9
Closes #19237
2017-03-07 17:14:16 +01:00
vincent-michael
c0a2c30a27 Dep/G3D: Fixed Visual Studio 2017 build 2017-03-07 16:43:11 +01:00
ariel-
80a4f3c181 Update Unit.cpp
Kill unused variable warning
2017-03-07 12:16:23 -03:00
ariel-
8998c9ea95 Core/Auras: make transform auras honor creature_template trigger flag and choose always invisible models
Closes #19211

(cherry picked from commit 6ba0d489ad)
2017-03-07 01:30:55 -03:00
ariel-
d20459f00e Core/Creatures: disabled "automatic" monster sparring
- Faction template flags weren't correct.

Closes #19245

(cherry picked from commit b2fc4c65ed)
2017-03-07 01:30:41 -03:00
ariel-
3674356c9e Core/Unit: rewrite of the attack table system
- Removed a bunch of duplicated code
- Fix off-by-one errors in Unit::RollMeleeOutcomeAgainst and Unit::MeleeSpellHitResult (TC's combat table was actually of 100.01%)
- Implemented boss-level hit table (6.5% dodge/14% parry), bosses only had 5.6% of each until now
- Updated formula for chance and damage of Glancing hits

Sources:
- http://wow.gamepedia.com/index.php?title=Attack_table&oldid=2071465
- http://web.archive.org/web/20100903145646/http://www.mmo-champion.com/threads/650071-Expertise-Hit-for-Paladins-%28updated-for-3.3%29?daysprune=60

(cherry picked from commit 0c24e4ee0e)

Core/Unit: fix a copy/paste mistake

(cherry picked from commit 3bd5e0bf2f)
2017-03-06 21:09:57 -03:00
joschiwald
53d535dfc9 Fixed build 2017-03-05 04:02:47 +01:00
Shauren
76a594d8be Core/Spells: Calculate hitMask and store it in DamageInfo/HealInfo structures
(cherry picked from commit 23902ff266)
2017-03-05 03:19:41 +01:00
joschiwald
2ea8b3477c Fixed warning 2017-03-05 02:58:35 +01:00
Aokromes
c170813b96 Scripts/Wintergrasp: Fix vehicle teleporter (#17550)
By WoWErrorDev, closes #5831.
(cherry picked from commit 308a2413a1)
2017-03-05 01:39:26 +01:00
SnapperRy
ba93c3b2a9 Core/Wintergrasp: fix leaving Wintergrasp via the minimap button.
(cherry picked from commit b60db6c44e)
2017-03-05 01:37:22 +01:00
SnapperRy
0aa3aeebae Core/Wintergrasp: properly set and remove GO_FLAG_NOT_SELECTABLE from the Wintergrasp Relic, allowing the attacking faction to capture it.
(cherry picked from commit 63215dd15a)
2017-03-05 01:35:15 +01:00
SnapperRy
1536a92003 DB/Creature: Ward of Laze: root and spellcast.
By tkrokli, closes #15304.
(cherry picked from commit ec4c4327bf)
2017-03-05 01:34:35 +01:00
SnapperRy
c6e6c7d2ab DB/Conditions: quests Southern Sabotage and Toppling the Towers are only available if the respective faction is defending Wintergrasp.
Also codestyle stealthfix.

(cherry picked from commit df36e4b95d)
2017-03-05 01:32:59 +01:00
SnapperRy
b84d0e9fd4 Core/Conditions: implement CONDITION_WINTERGRASP_HORDE to check if Wintergrasp is held by Horde.
Use negative condition to check if it is held by Alliance instead.

Use this condition to fix availability of the Wintergrasp item-gathering weekly quests.
(cherry picked from commit 723c253f8f)

Make travis happy and fix codestyle for previous commit.
(cherry picked from commit 7267a41418)

Core/Conditions: partially revert 723c253, replacing CONDITION_WINTERGRASP_HORDE with a ConditionScript.
(cherry picked from commit fd620ca7d6)

Update 2016_10_04_03_world.sql
(cherry picked from commit 4891db4a4f)
2017-03-05 01:28:45 +01:00
SnapperRy
c00df00cec Core/Wintergrasp: give quest credit for southern towers destroyed.
Updates #7953.

(cherry picked from commit c22d3886ce)
2017-03-05 01:20:26 +01:00
treeston
ee6e27a1d6 Various: Fix coverity reported issues.
(cherry picked from commit 84cf239fda)

Core/Scripts: kill whitespace
(cherry picked from commit 83771597c1)
2017-03-05 01:19:55 +01:00
SnapperRy
70a8b74fe6 Core/Wintergrasp: fix victory quests.
By Retriman, updates #7953.

(cherry picked from commit 9638c11453)
2017-03-05 01:19:01 +01:00
SnapperRy
629442f9c1 DB/Pool: add pools for Wintergrasp item-gathering weekly quests.
Only one of the four quests will be available at a given time.

(cherry picked from commit 050522a25b)
2017-03-05 01:17:42 +01:00
SnapperRy
35eeb76506 Core/Unit: don't reset offhand timer for players when starting attack.
Creatures are unaffected by this change. Not sure how they should behave in this case, so leaving it alone for now.

Closes #945.

(cherry picked from commit c25f7c48b5)
2017-03-05 01:06:45 +01:00
SnapperRy
30153510e8 Script/Quest: A Cry For Help: (#18026)
- Add missing dialogue from Cowlen.
- Timers and emotes.
(cherry picked from commit 790844e72d)

Rename two SQL files.
(cherry picked from commit 283aec9656)
2017-03-05 01:06:44 +01:00
SnapperRy
8c7b3c8a2b Core/Loot: do not show unique items if player already has the maximum allowed quantity.
(cherry picked from commit 5c5b8df613)

Core/Loot: limit unique items check in LootItem::AllowedForPlayer() to bind-when-picked-up items only.

(cherry picked from commit ea6911517d)
2017-03-05 01:06:44 +01:00
SnapperRy
de8aecacbc Core/Quest: send INVALIDREASON_QUEST_ALREADY_DONE if player tries to accept a quest that is already rewarded.
(cherry picked from commit 9bca68fb56)
2017-03-05 01:06:43 +01:00
SnapperRy
f1fd4b5333 DB/PageText: add newlines to some item texts.
Affected items: Cloth Request, Defias Docket, Calor's Note, Covert Ops Plans: Alpha & Beta and Muddy Note.
(cherry picked from commit f56a181521)
2017-03-05 01:06:43 +01:00
SnapperRy
1c6c72cdfa DB/Quest: end event for Harlan Needs a Resupply.
(cherry picked from commit 02d22d04c1)
2017-03-05 01:06:42 +01:00
SnapperRy
b4b81d3929 DB/SAI: fix db error introduced in 2a8669d.
(cherry picked from commit e9068afa1d)
2017-03-05 01:06:42 +01:00
SnapperRy
a256f94851 DB/Creature: remove loot and experience for Webbed Creature.
(cherry picked from commit a01f7ad470)
2017-03-05 01:06:42 +01:00
tkrokli
2f7720755b Rename 2016_10_00_00_world.sql to 2016_10_01_00_world.sql
(cherry picked from commit cfe4a3cb5a)
2017-03-05 01:06:41 +01:00
ariel-
6c099d0c26 Core/Spells: Flag of Ownership shouldn't target creatures
(cherry picked from commit b54042d68f)
2017-03-05 01:06:41 +01:00
ariel-
44d48c80ee Core/Player: correct logic for IsUsingTwoHandedWeaponInOneHand
Fixes penalty not being applied when we are using a 2H in offhand, and a unarmed MH.
MH may do unarmed attacks in this case. (reciprocal of 2H MH, unarmed OH, only uses MH normally, OH doesn't unarmed attack)

(cherry picked from commit bdf7cf6d50)
2017-03-05 01:06:40 +01:00
ariel-
062ca4ac69 Core/Spell: Add Dual Wield skill dependency to Dual Wield effect, should remove the skill properly when unlearning spell.
Closes #17196

(cherry picked from commit 405167dafd)
2017-03-05 01:06:40 +01:00
SnapperRy
bbdf89e694 DB/Loot: remove some wrong items from gameobject and creature loot.
Affected items: Green Linen Shirt, Iron Pommel, Mood Ring, Miniscule Diamond Ring, Cubic Zirconia Ring and Silver Piffeny Band.
(cherry picked from commit 64ab5779e1)
2017-03-05 01:06:39 +01:00
SnapperRy
252a4a338c DB/Quest: Supplies to Auberdine:
- Set questgiver to run all the path instead of walking.
- Add missing texts.
(cherry picked from commit 2a8669d77d)
2017-03-05 01:06:39 +01:00
SnapperRy
4b4c2966ce DB/SAI: Twilight Disciple and Twilight Thug.
(cherry picked from commit 7ec1465af2)
2017-03-05 01:06:38 +01:00
SnapperRy
ce7f962de5 DB/SAI: use spell instead of direct add item SAI for previous commit's script.
(cherry picked from commit 517f57c33c)
2017-03-05 01:06:38 +01:00
SnapperRy
e1d24cb9e0 DB/Creature: Raene Wolfrunner:
- Fix gossip texts.
- Add gossip option to restore item Dartol's Rod of Transformation if lost.
(cherry picked from commit 9b31d1e44b)
2017-03-05 01:06:38 +01:00
joschiwald
ddd58ddcd8 Forgot to press Ctrl+S 2017-03-04 22:54:45 +01:00
ariel-
4c0bed8283 Core/Spells: SPELL_AURA_SCHOOL_IMMUNITY auras shouldn't remove passive auras (even if negative)
Ref issue #6375

(cherry picked from commit b2fbd2c75d)
2017-03-04 20:19:09 +01:00
ariel-
3ce3acf765 Core/Player: Implemented Titan's Grip damage reduction
Closes #6375

(cherry picked from commit a4baef19dd)

Core/Player: unconditionally remove Titan's grip penalty aura on Spell removal

Was causing an issue when switching spec, because off hand weapon was still equipped
(cherry picked from commit df0f88eb80)
2017-03-04 20:18:55 +01:00
ariel-
a3832be8d6 Core/Spells: Implemented SPELL_ATTR6_NOT_RESET_SWING_IF_INSTANT.
Closes #1765

(cherry picked from commit 03e21d2fad)
2017-03-04 20:03:54 +01:00
SnapperRy
c0667acbe1 DB/SAI: fix two events that would never execute because of wrong event_phase_mask set.
Also fix summon parameters for creature Thenan spawned at quest Breaking the Keystone's turn-in.

(cherry picked from commit ddca72509b)
2017-03-04 20:03:26 +01:00
SnapperRy
617765fafc DB/Quest: fix offer reward text for Redemption (Part 2, Draenei).
(cherry picked from commit 3bf33d1987)
2017-03-04 20:02:35 +01:00
SnapperRy
3613587be8 DB/Quest: A Lost Master requires How Big a Threat? (Part 2) rewarded.
(cherry picked from commit 1fbd52e545)
2017-03-04 20:01:06 +01:00
SnapperRy
9b46d114e0 DB/SAI: fix db errors introduced in 9c6e12b.
(cherry picked from commit d96968ea06)
2017-03-04 20:00:14 +01:00
SnapperRy
d80b4ec055 DB/Loot: fix loot for item Message in a Bottle and gameobject Half-Buried Bottle.
(cherry picked from commit 76e9ccba6a)
2017-03-04 19:58:10 +01:00
SnapperRy
36e0843f66 DB/Item: fix loot for Dented Crate.
The crate is supposed to always drop at least one item.
(cherry picked from commit 0800c807ac)
2017-03-04 19:55:33 +01:00