Commit Graph

26500 Commits

Author SHA1 Message Date
SnapperRy
b60db6c44e Core/Wintergrasp: fix leaving Wintergrasp via the minimap button. 2016-10-04 19:13:11 +02:00
SnapperRy
63215dd15a Core/Wintergrasp: properly set and remove GO_FLAG_NOT_SELECTABLE from the Wintergrasp Relic, allowing the attacking faction to capture it. 2016-10-04 19:07:46 +02:00
SnapperRy
4891db4a4f Update 2016_10_04_03_world.sql 2016-10-04 18:55:18 +02:00
SnapperRy
ec4c4327bf DB/Creature: Ward of Laze: root and spellcast.
By tkrokli, closes #15304.
2016-10-04 18:53:51 +02:00
SnapperRy
fd620ca7d6 Core/Conditions: partially revert 723c253, replacing CONDITION_WINTERGRASP_HORDE with a ConditionScript. 2016-10-04 18:47:58 +02:00
SnapperRy
c22d3886ce Core/Wintergrasp: give quest credit for southern towers destroyed.
Updates #7953.
2016-10-04 17:23:36 +02:00
SnapperRy
df36e4b95d DB/Conditions: quests Southern Sabotage and Toppling the Towers are only available if the respective faction is defending Wintergrasp.
Also codestyle stealthfix.
2016-10-04 15:51:44 +02:00
ariel-
83771597c1 Core/Scripts: kill whitespace 2016-10-04 10:15:37 -03:00
ariel-
3bd5e0bf2f Core/Unit: fix a copy/paste mistake 2016-10-04 10:11:00 -03:00
treeston
84cf239fda Various: Fix coverity reported issues. 2016-10-04 13:49:05 +02:00
SnapperRy
9638c11453 Core/Wintergrasp: fix victory quests.
By Retriman, updates #7953.
2016-10-04 13:29:12 +02:00
SnapperRy
050522a25b DB/Pool: add pools for Wintergrasp item-gathering weekly quests.
Only one of the four quests will be available at a given time.
2016-10-04 12:22:51 +02:00
SnapperRy
7267a41418 Make travis happy and fix codestyle for previous commit. 2016-10-04 11:44:25 +02:00
SnapperRy
723c253f8f 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.
2016-10-04 11:29:02 +02:00
ariel-
0c24e4ee0e 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
2016-10-04 01:26:34 -03:00
SnapperRy
c25f7c48b5 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.
2016-10-04 00:23:49 +02:00
SnapperRy
283aec9656 Rename two SQL files. 2016-10-03 23:49:33 +02:00
SnapperRy
790844e72d Script/Quest: A Cry For Help: (#18026)
- Add missing dialogue from Cowlen.
- Timers and emotes.
2016-10-03 23:47:41 +02:00
SnapperRy
ea6911517d Core/Loot: limit unique items check in LootItem::AllowedForPlayer() to bind-when-picked-up items only. 2016-10-03 23:44:51 +02:00
SnapperRy
5c5b8df613 Core/Loot: do not show unique items if player already has the maximum allowed quantity. 2016-10-03 23:33:44 +02:00
SnapperRy
9bca68fb56 Core/Quest: send INVALIDREASON_QUEST_ALREADY_DONE if player tries to accept a quest that is already rewarded. 2016-10-03 23:02:50 +02:00
SnapperRy
f56a181521 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.
2016-10-03 19:45:41 +02:00
SnapperRy
02d22d04c1 DB/Quest: end event for Harlan Needs a Resupply. 2016-10-03 18:35:30 +02:00
ariel-
7906bdc15e Build: Added 1.62 Boost version to FindBoost 2016-10-03 09:25:24 -03:00
SnapperRy
e9068afa1d DB/SAI: fix db error introduced in 2a8669d. 2016-10-03 13:49:15 +02:00
SnapperRy
a01f7ad470 DB/Creature: remove loot and experience for Webbed Creature. 2016-10-03 13:34:57 +02:00
SnapperRy
6cef1de8d3 Core/Quest: Gordunni Cobalt:
- Add second gameobject (Gordunni Dirt Mound, containing only junk items) that can spawn in place of the first (same name, but contains the quest item), 50% chance.
2016-10-03 13:30:14 +02:00
tkrokli
cfe4a3cb5a Rename 2016_10_00_00_world.sql to 2016_10_01_00_world.sql 2016-10-03 03:26:42 +02:00
ariel-
b54042d68f Core/Spells: Flag of Ownership shouldn't target creatures 2016-10-02 22:15:09 -03:00
ariel-
bdf7cf6d50 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)
2016-10-02 20:49:29 -03:00
joschiwald
625ca6ec1c Core/Spells: fixed SPELL_ATTR5_USABLE_WHILE_STUNNED 2016-10-02 23:32:14 +02:00
ariel-
405167dafd Core/Spell: Add Dual Wield skill dependency to Dual Wield effect, should remove the skill properly when unlearning spell.
Closes #17196
2016-10-02 15:49:29 -03:00
SnapperRy
64ab5779e1 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.
2016-10-02 19:22:32 +02:00
SnapperRy
2a8669d77d DB/Quest: Supplies to Auberdine:
- Set questgiver to run all the path instead of walking.
- Add missing texts.
2016-10-02 15:01:47 +02:00
SnapperRy
7ec1465af2 DB/SAI: Twilight Disciple and Twilight Thug. 2016-10-02 12:40:44 +02:00
SnapperRy
517f57c33c DB/SAI: use spell instead of direct add item SAI for previous commit's script. 2016-10-02 12:38:18 +02:00
SnapperRy
9b31d1e44b DB/Creature: Raene Wolfrunner:
- Fix gossip texts.
- Add gossip option to restore item Dartol's Rod of Transformation if lost.
2016-10-02 10:51:37 +02:00
ariel-
df0f88eb80 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
2016-10-02 03:32:08 -03:00
ariel-
b2fbd2c75d Core/Spells: SPELL_AURA_SCHOOL_IMMUNITY auras shouldn't remove passive auras (even if negative)
Ref issue #6375
2016-10-02 02:48:02 -03:00
ariel-
a4baef19dd Core/Player: Implemented Titan's Grip damage reduction
Closes #6375
2016-10-02 02:34:23 -03:00
ariel-
03e21d2fad Core/Spells: Implemented SPELL_ATTR6_NOT_RESET_SWING_IF_INSTANT.
Closes #1765
2016-10-02 00:24:47 -03:00
SnapperRy
ddca72509b 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.
2016-10-02 02:09:47 +02:00
SnapperRy
3bf33d1987 DB/Quest: fix offer reward text for Redemption (Part 2, Draenei). 2016-10-02 01:58:04 +02:00
SnapperRy
1fbd52e545 DB/Quest: A Lost Master requires How Big a Threat? (Part 2) rewarded. 2016-10-02 00:52:05 +02:00
SnapperRy
d96968ea06 DB/SAI: fix db errors introduced in 9c6e12b. 2016-10-02 00:49:48 +02:00
joschiwald
8024ae4d26 Core/Spells: use spellinfo helper methods
(cherry picked from commit 12a52595ed)
2016-10-02 00:25:21 +02:00
joschiwald
875844845f Core/Player: fixed math error
(cherry picked from commit cc1e2fd452)
2016-10-02 00:14:11 +02:00
SnapperRy
4147312d29 Script/Quest: fix text for creature Gelkak involved in quest Gyromast's Revenge.
Gelkak is supposed to say it, not The Threshwackonator 4100.
2016-10-01 22:43:43 +02:00
SnapperRy
76e9ccba6a DB/Loot: fix loot for item Message in a Bottle and gameobject Half-Buried Bottle. 2016-10-01 20:28:50 +02:00
SnapperRy
0800c807ac DB/Item: fix loot for Dented Crate.
The crate is supposed to always drop at least one item.
2016-10-01 19:39:10 +02:00