Commit Graph

23017 Commits

Author SHA1 Message Date
Aokromes
abc8fe123b Core/SmartAI: Missing parts on previous commit
By Malcrom
2017-03-26 01:07:09 +01:00
Krudor
d45f535d30 Update boss state load logic
Reset boss state to NOT_STARTED if state loads as FAIL
2017-03-25 17:54:19 +01:00
DoctorKraft
df56f33a79 Core/Unit: Update Parry/Dodge/Diminishing caps for Monk/DH (#19354) 2017-03-23 15:38:53 +01:00
Shauren
95e10ae82c Removed unintended changes 2017-03-23 11:04:18 +01:00
Aokromes
7b7c90d4fb Core/SmartAI: Implement SMART_TARGET_VEHICLE_ACCESSORY
By Malcrom
2017-03-23 04:12:56 +01:00
Shauren
f097e341f5 Core/Utilities: Rename RandomResizeList->RandomResize as it is no longer restricted to a list
* Also fix gcc build
2017-03-23 00:11:58 +01:00
Aokromes
464ba05dd4 Core/SmartAI: Add check to SMART_ACTION_PLAY_ANIMKIT to allow zero value to remove animKit.
By Malcrom
2017-03-21 23:27:07 +01:00
Traesh
c290fc387b Build fix (#19343) 2017-03-21 22:57:19 +01:00
Shauren
4557aa8a1b Build fix 2017-03-21 21:48:56 +01:00
Shauren
a1e3b54e07 Core/Utils: Changed all Trinity::Containers utilities to work on all container types (including arrays where it makes sense)
* Added MapGetValuePtr to allow writing `if (Val* v = MapGetValuePtr(map, key))`
* Added utility IteratorPair class with begin/end methods and MapEqualRange for use in range for syntax with multimaps
2017-03-21 21:04:01 +01:00
Traesh
9cc5273cd2 Core/AreaTriggers: Areatrigger rework script system + fix priest angelic feather
Closes #19171
2017-03-21 18:14:23 +01:00
AlcDenat
024ae15681 Core/Quests: Implement quest_request_items_locale
Closes #19331
2017-03-21 17:45:07 +01:00
DoctorKraft
76dd3ae368 Core/Spells: Fixed EffectActivateSpec for hunter pets
Closes #19325
2017-03-21 17:36:44 +01:00
Shauren
fcb50c5e65 Core/Movement: Remove PLAYER_FLAGS_IS_OUT_OF_BOUNDS flag if player manages to move back in bounds (pretty much gms only) 2017-03-20 20:30:28 +01:00
funjoker
945cfce1f6 Core/Conditions: Implemented new condition type CONDITION_QUEST_OBJECTIVE_COMPLETE (#18235)
Closes #17863
2017-03-20 08:54:29 +01:00
Shauren
d4176eb2f1 Core/Quests: Fixed loading areatriggers linked to quest by objective and expose ObjectMgr::GetQuestObjective to lookup quest objectives by id (for conditions) 2017-03-19 17:25:00 +01:00
Krudor
27bf4010b8 Core/Pakcets: vs2015/AppVeyor build fix
- missing TC_GAME_API for class PlaySpellVisual caused VS2015/AppVeyor builds to fail
2017-03-19 14:07:21 +01:00
Krudor
940c80e3e8 Core/Creatures: Use broadcast_text sound entry (#19321)
Currently if you use broadcast text, there is no sound because it
doesn't check the broadcast_text entry for it's sound id, it always uses
the creature_text sound entry.
2017-03-18 20:15:38 +01:00
Shauren
51207376b7 Core/Spells: Fixed Charge
* Implemented Glyph of Blazing Charge
* Implemented a way to compute spline position at any given point in time
* Removed incorrect ProgressCurveId handling, it needs to apply to entire spline duration not to each segment separately

Closes #19217
2017-03-18 20:14:26 +01:00
vincent-michael
5b638b76c1 Fixed typo in 182dba61db 2017-03-18 18:40:45 +01:00
vincent-michael
182dba61db Scripts/HowlingFjord: Fixed warning 2017-03-18 18:38:04 +01:00
Alexander
4b51c78ca1 Core/Scripts: Implement druid spells Moonfire & Sunfire and spell_druid.cpp cleanup
Closes #19293
2017-03-18 14:25:26 +01:00
AlcDenat
c5c030ccc0 Core/Quests: Reimplemented quest offer reward locales
Closes #19242
2017-03-18 12:47:46 +01:00
Krudor
5a36a2eb17 Core/Scripts: Add support for spawn specific C++ scripts
Closes #19247
2017-03-18 11:31:31 +01:00
Traesh
01ded93a42 Core/AI: enable SmartScripts on Scenes + add scene related actions/events
Closes #19194
2017-03-17 21:21:35 +01:00
Krudor
77d1080ff5 Core/Criterias: Fix an old criteria condition and added some new ones
Closes #19246
2017-03-17 19:14:13 +01:00
Rochet2
769bc15ba0 Tools/MMapsGenerator: Use system supported threads instead of hardcoded amount (#19255)
- Use unsigned int for thread count
- Use std::thread::hardware_concurrency() to try estimate available threads instead of hardcoded 3 threads by default
- Print thread count always regardless of using --threads switch or not
2017-03-17 19:09:58 +01:00
Chazy Chaz
c7ea1b97c2 Core/Config: Add option CharDelete.DemonHunter.MinLevel
Closes #19285
2017-03-17 19:08:38 +01:00
Chazy Chaz
c31de25627 Core/Players: Rename "heroic character" to "death knight"
Closes #19286
2017-03-17 19:00:56 +01:00
Krudor
3df4135173 Core/Spell: Implement and use SMSG_CUSTOM_LOAD_SCREEN (#19310) 2017-03-17 18:50:11 +01:00
HannibalRoG
8a64f066a0 Core/Spells: Update Warrior Bloodthirst to 7.1.5
Closes #19315
2017-03-17 17:33:32 +01:00
Shauren
bffd48c2f4 Core/Movement: Restored interpolated_* movement flags 2017-03-15 18:55:42 +01:00
Shauren
3731f4087b Core/Movement: Pass SpellEffectExtraData PointMovementGenerator 2017-03-14 16:36:10 +01:00
Shauren
9694d50546 Core/PacketIO: Fixed movement force structure 2017-03-13 19:51:26 +01:00
Shauren
e927ce7385 Warning fix 2017-03-12 10:51:04 +01:00
Shauren
fd0d0f25a9 Core/Spells: Fixed extra charge effect visuals 2017-03-12 00:40:52 +01:00
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
d5133a64f6 Tools/vmapextractor: Fixed extracting gameobject models 2017-03-07 17:15:07 +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