Commit Graph
39720 Commits
Author SHA1 Message Date
HannibalRoG a36f34af3d Core/Spells: Fix Priest spell Power Word: Shield
Closes #19199
2017-03-11 15:55:21 +01:00
edreisantafe 8434e87478 Core/Spells: Fix Warrior spell Shockwave
Closes #19102
2017-03-11 15:39:01 +01:00
DoctorKraft e13f82d18d Core/Spell: Fixed mage Ice/Prismatic/Blazing Barrier spells
Closes #19138
2017-03-11 14:57:48 +01:00
HannibalRoG 58b3f94667 Core/Scripts: Implement warrior spell Storm Bolt
Closes #19130
2017-03-11 14:11:26 +01:00
Lopfest 61547cab59 Core/SAI: added new action SMART_ACTION_PLAY_ANIMKIT (#19170) 2017-03-11 13:39:38 +01:00
Shauren fd256884d9 Core/Units: Fixed cherry-pick crash in Unit::GetUnitBlockChance
Closes #19270
2017-03-11 12:51:28 +01:00
Rochet2 80cf4e3070 * Scripts/Commands: Fix guid usage and enhance commands
- Fix targeting gameobjects and creatures for .dist and .gps. The old code used DB guid to search from core generated guid lists.
- Fix some error messages saying 'no player found' even if creatures and gameobjects and players were searched
- Change atoi to atoul when receiving lowguids as string or other uint32 values
- Use ObjectGuid::LowType instead of uint32 for lowguid type
- Allow .gob info to take in gameobject guid link as well as entry link in addition to gameobject entry and update the documentation of the command
- Change .gob delete to post the spawnid (dbguid) instead of the ingame generated guid (which is basically never seen or used by the player in any other commands that I see)
- Allow spawntimesecs to be negative when spawning a gameobject
- Disable searching by ingame spawn id in commands. (it makes little sense for a user to provide a number which is then attempted to be used as DB guid and non DB guid when both could have a match)
- Update .gob turn documentation to tell about possibility to provide orientation in command
- Correct the types in .gob add command result trinity_string
- Correct the creature search for .npc del
- Change .event to .event info
- Add .go offset command
- Remove the .go command for empty string (no subcommand given) because it just used .go xyz
- Extend .gob info to show size, faction, flags and model dimensions
- Remove some unnecessary casts
- Document .wp show better (first and last were not documented)
- Insert spawnid to .wp show info error message
- Fix spawntime printing for .gobject target
- Fix guid targetting for .npc set movetype
- Fix query by spawnid for .wp show info
- Fix deleting of existing waypoints when twice doing the command .wp show on
- Fix deleting of existing waypoints when doing the command .wp show off
- Change wpguid column in DB and in core to uint32, which is what the spawnid type is in core and db.

Closes #18978
2017-03-11 12:29:37 +01:00
Shauren 6067d19dfc Fix linux build 2017-03-08 19:22:48 +01:00
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 6ba0d489adbe2e93d3c9060944bb4c6f0d3d0259)
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 b2fc4c65eda779f880d9fc126d8b7aaef8c2ab25)
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 0c24e4ee0e1f0bbb37f740aa6f0d45c384ee955d)

Core/Unit: fix a copy/paste mistake

(cherry picked from commit 3bd5e0bf2fc3665d32ca08c96e7faccf2363429b)
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 23902ff266c28fa83f3bab5646b3e5b93ab55380)
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 308a2413a147063351fbb3590b367ea71b4dcd3d)
2017-03-05 01:39:26 +01:00
SnapperRy ba93c3b2a9 Core/Wintergrasp: fix leaving Wintergrasp via the minimap button.
(cherry picked from commit b60db6c44ec892c8d5efcf844afeb8bb57208e1b)
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 63215dd15a740b9182a518bb5588ce69153f4e35)
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 ec4c4327bfb24f650dc72ee2d3df2e1a7376ee4a)
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 df36e4b95d96732c038ab6a30af2a398e93d4b08)
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 723c253f8f09d773cd0fd47615c9f424b5c51d9d)

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

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

Update 2016_10_04_03_world.sql
(cherry picked from commit 4891db4a4fb04c221a5223938741f981f1b7ddbc)
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 c22d3886ce9e29941376885b3d814690453a254c)
2017-03-05 01:20:26 +01:00
treeston ee6e27a1d6 Various: Fix coverity reported issues.
(cherry picked from commit 84cf239fdafbe12d7a5a695c57eff1f7a1cb42e3)

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

(cherry picked from commit 9638c1145390b4d9593200af2a96616c4c8370fc)
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 050522a25b1d37a351f3db457277c4b7720ffeeb)
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 c25f7c48b5ba3982fc83b8c88a8cff619f72b162)
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 790844e72d40cd2c99a3a235a7186173af575417)

Rename two SQL files.
(cherry picked from commit 283aec96560f66a72b4d563eefbccdbee2de10ea)
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 5c5b8df6138a94f5bc74d7eda0f894d825b5f63c)

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

(cherry picked from commit ea6911517d38aa8ea493dbe88a33c9734d86bb04)
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 9bca68fb56a48870548d9f27857d3d879eb77adb)
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 f56a18152155183d4a5c344ff9014756cdf4ef1a)
2017-03-05 01:06:43 +01:00
SnapperRy 1c6c72cdfa DB/Quest: end event for Harlan Needs a Resupply.
(cherry picked from commit 02d22d04c1dcf7a90c127e4996c9b13f7ebc3f44)
2017-03-05 01:06:42 +01:00
SnapperRy b4b81d3929 DB/SAI: fix db error introduced in 2a8669d.
(cherry picked from commit e9068afa1d4daf268250c249a18a01ade5efb8a7)
2017-03-05 01:06:42 +01:00
SnapperRy a256f94851 DB/Creature: remove loot and experience for Webbed Creature.
(cherry picked from commit a01f7ad47067af36184c6758401c5fc1b0ade571)
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 cfe4a3cb5a382b7c960bd4faa16b0dee91670d8e)
2017-03-05 01:06:41 +01:00
ariel- 6c099d0c26 Core/Spells: Flag of Ownership shouldn't target creatures
(cherry picked from commit b54042d68f5204758f641f9ddbd0218e773c2ae5)
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 bdf7cf6d50f0ab3409d66cd6bcc1fb783053608b)
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 405167dafd4e08d2f4ae92f73ce55dcd7e7d97a9)
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 64ab5779e1d83f275d7aca9891cafa73bfc4f02c)
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 2a8669d77d07e3e38f592992bf7dc5b1f508ac25)
2017-03-05 01:06:39 +01:00
SnapperRy 4b4c2966ce DB/SAI: Twilight Disciple and Twilight Thug.
(cherry picked from commit 7ec1465af287c5ff61ba2bea1c4f75cfcd5dea7f)
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 517f57c33c86320e8482f8e1b4c29098a42b2727)
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 9b31d1e44ba15e883436362833f3e14058e4d6d4)
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 b2fbd2c75df72034cc613b1a0054916f454f16ce)
2017-03-04 20:19:09 +01:00