Commit Graph
861 Commits
Author SHA1 Message Date
treeston 6dfe9d34f3 Merge branch '3.3.5-naxxcleanup' into 3.3.5. (PR #16524)
(cherry picked from commit f37682b7edd0d711e1120cbdd9d627fb5b9dbde1)
2016-04-10 15:27:49 +02:00
jackpoz d9b8125ca5 Merge PR #14824 'tkrokli/spell_mod_stealth_stand_state' into 3.3.5
(cherry picked from commit 1511855fea156123b24b9fd429f25266c4918363)
2016-04-10 12:27:21 +02:00
Shauren 417c19bdad Core/Spells: Don't report spell errors to client when spell was triggered and failed some internal condition
(cherry picked from commit a9b4375bb7ef58ad1f3b46350ef9a0f551dc3cac)
2016-04-09 17:58:24 +02:00
treeston f1b3c9f40c No, Travis, I do not intend to handle SPELL_GROUP_STACK_RULE_MAX. It is not a value that should ever be actually used. Go away.
(cherry picked from commit f8a6ab8ac5420fafb2036a7ab8ccbb8f230ab49b)
2016-04-09 17:32:37 +02:00
treeston 7d8bab240b Entities/Pet: Finally fix pets spamming Blood Pact/Fel Intelligence in some scenarios. Your eardrums will thank me.
(cherry picked from commit 21cfacfba79312febf018b8924c359170569421b)
2016-04-09 17:32:24 +02:00
Vincent-Michael 179b521dce Core: Remove whitespaces
(cherry picked from commit 5e74c2223bff8a467d6f1ce18f6f08aa05e17019)
2016-04-09 17:14:08 +02:00
joschiwald d729fc31c6 Core/Spells: spells with SPELL_ATTR1_NO_THREAT also causes no initial aggro
(cherry picked from commit b4b43d03b3fbff38ebcf84be27388202fc6cb08f)
2016-04-05 20:55:08 +02:00
treeston 009cabb4b9 Merge branch '3.3.5-spellfacing' into 3.3.5-base (PR #15641)
(cherry picked from commit 233297c5c8619af96e2aab4fa5ef6d205b5dc18a)
2016-03-29 19:36:05 +02:00
ShinDarth ed39275675 Core/Spells: fix conflicts between duration and cast time of channeled spells
(cherry picked from commit 246e568bbd1c741af7204e4a4941c113b7d63e60)
2016-03-21 18:11:10 +01:00
DDuarte a07337967b Core/Packets: Updated and enabled SMSG_SPELL_DELAYED 2016-02-29 00:23:23 +00:00
KarrokDC 54ed384452 Create fallback for item-cast spells while character is still in the process of logging in.
closes #16604
2016-02-21 19:47:38 +01:00
Shauren db0b8bf24e Core/Maps: Changed the way area data is stored in maps, it now uses ID field from AreaTable.dbc instead AreaBit used for exploration marker (and is not unique anymore on top of simply being stupidly confusing)
Note: Extracting maps is required
2016-02-02 19:13:04 +01:00
Shauren 044edced9a Core/Spells: Ignore category cooldowns for triggered spells.
* This fixes weird issues where triggered spell fails because it has the same category as the spell triggering it

Closes #15794
Closes #15048
2016-01-22 22:11:11 +01:00
jackpoz 0f157f1eac Merge pull request #16186 from ariel-/spellmodcharges
Core/Spells: Fix redundant mod charge drop and spell crit calc
(cherry picked from commit b39216eed31f587b1bcef88e69a714214304e896)
2016-01-20 21:58:38 +01:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren 9dde78716c Core/Spells: Extended .cheat cooldown command to also affect spells with charges 2015-12-03 00:08:44 +01:00
Shauren d5fb18d3c3 Core/Spells: Implemented scaling spell value with item level 2015-11-24 00:16:42 +01:00
Carbenium 2d7d6f505c Core/Player: Move TradeData to its own file 2015-11-13 10:23:33 +01:00
Shauren b09e63e9de Core/Conditions: Optimizations part 3 removed copying condition containers all over the place 2015-10-25 13:20:28 +01:00
Shauren 5e0cee85dd Core/Conditions: Type renaming 2015-10-25 10:59:58 +01:00
jackpoz 4700b24263 Core/Misc: Remove unneeded ToCreature() casts
Remove some ToCreature() casts not needed anymore after 1ee90e1022 changes that moved IsPet(), IsTotem(), IsSummon(), IsGuardian(), IsHunterPet() and IsVehicle() from Creature to Unit

(cherry picked from commit ea4d9c0d9e3339c96b94f13bbbfc1318bb6b03f9)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Entities/Unit/Unit.cpp
	src/server/scripts/Spells/spell_pet.cpp
2015-09-24 22:06:05 +02:00
jackpoz cacf184822 Core/Misc: Remove unneeded ToCreature() casts
Remove some ToCreature() casts not needed anymore after 1ee90e1022 changes that moved IsPet() from Creature to Unit

(cherry picked from commit d243630acff017f5e50bf0c833a0bbac35ba6c5a)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
2015-09-24 21:04:46 +02:00
jackpoz bfb373ef22 Merge pull request #15119 from robinsch/grounding
Core/Spells: Grounding totem fix

Fixes #15108
(cherry picked from commit 3f3ff8b36b0537d07bf8222226ab88346c689e4b)
2015-09-24 19:59:09 +02:00
jackpoz 8a5d92726a Core/Spells: Fix Charge "no path" error with even bigger targets
Addition to a328a119784252c6d514436f4ceffa693ac65453 , clamp object size to [0,4] in case of very huge Creatures like Lord Marrowgar entry 36612

(cherry picked from commit 0a94382637ba9212a23e224b4ac2df114acb4ca7)
2015-09-24 19:28:00 +02:00
StormBytePP 0bed9d56cb Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert 2015-09-21 15:17:05 +02:00
Shauren 1efb3f08e2 Core/Spells: Improved spell category cooldown handling
* Category cooldown is stored with the spell that started the cooldown (and only resetting cooldown on that spell will clear cooldowns on entire category - this fully mirrors client behavior)
* This significantly reduces the amount of data saved to database for cooldowns
* Spell casts from items that have a different category specified than on spell will now check for cooldown during the cast

Closes #15349
2015-09-10 19:39:30 +02:00
MitchesD 614b5832ba Core/Player: implemented Toybox
* now you can use all the things in toybox - add new toys, set them as favorite and use them
2015-08-26 11:15:00 +02:00
Shauren f0e7ef1f9f Core/PacketIO: Exclude DamageDealt/DamageTaken script hook results from damage sent in SMSG_SPELL_NON_MELEE_DAMAGE_LOG 2015-08-10 17:46:31 +02:00
Shauren fcc8c2d12c Core/PacketIO: Implemented advanced combat logging 2015-08-08 15:15:14 +02:00
Shauren 370f967895 Core/PacketIO: Refactored combat log packet sending in preparation for advanced combat logging config option 2015-08-06 17:08:52 +02:00
Vincent-Michael 2e586bc520 Core: Header cleanup in game/*/*.cpp 2015-07-25 20:18:42 +02:00
Shauren 21df17fd47 Core/Misc: Removed ReadAsPacked/WriteAsPacked methods from ObjectGuid, they are not needed anymore as guids are always written packed 2015-07-25 10:38:45 +02:00
Shauren a22e4e121a Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler 2015-07-21 00:33:36 +02:00
mik1893 0ea0e9ee01 Merge pull request #14883 from tkrokli/omen_of_clarity
[3.3.5] Core/Spells: Avoid losing spell mod auras when check on spellcast fails
(cherry picked from commit 35f0d8e9c1e89c3095c82e0dd89d9f8f08f288a3)
2015-07-19 01:35:41 +01:00
Shauren 1273c0b537 Core/PacketIO: Updated and enabled spell packets 2015-07-19 00:31:11 +02:00
Shauren f45ae7af43 Core/PacketIO: Updated spell packets 2015-07-18 00:45:21 +02:00
Shauren 1b5665597a Core/Spells: Implemented CAST_FLAG_IMMUNITY
(cherry picked from commit efad3a3123aee9347f2aaa3034550cd0b0543e60)

Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
	src/server/game/Spells/Spell.cpp
2015-07-12 13:24:38 +01:00
jackpoz 7cabfc7420 Core/Spells: Fix Charge "no path" error with huge targets
Fix Charge returning "no path found" error when targeting targets with Object Size of 8 like Festergut by changing how the target Z coordinate is set, using only half object size.
It is unclear why the CalculatePath() call in Charge handler is using target object size, maybe for corner cases where the target is slightly below the ground.

(cherry picked from commit a328a119784252c6d514436f4ceffa693ac65453)
2015-07-12 12:43:21 +01:00
Shauren dea6c0b122 Core/DataStores: Updated dbc/db2 structures to 6.2.0 2015-07-07 12:13:14 +02:00
mik1893 ee168cae9b Merge pull request #14797 from czw/3.3.5
Core/Spells: Fix DK Death rune selection
(cherry picked from commit 94bb71e5a1f2b341e94aa6adc661f1200b2b10aa)

Conflicts:
	src/server/game/Spells/Spell.cpp
2015-07-03 01:16:12 +01:00
jackpoz 5254a1e164 Core/Spells: Fix Charge pathing
Fix charge allowing to run to unreachable places
Close #13847

(cherry picked from commit 91c399cad239b20dac68629587e7c8b4ec612be3)
2015-06-26 03:28:39 +01:00
MitchesD 45eaeff553 Core/PacketIO: updated structure of SMSG_SPELL_INTERRUPT_LOG, SMSG_SPELL_ENERGIZE_LOG 2015-06-03 15:02:38 +02:00
DDuarte b8c681c776 Core: Fix multiple Coverity issues 2015-06-01 03:03:05 +01:00
DDuarte eeadf2964e Core/Spells: Fix invalid iterator usages in Spell::SelectSpellTargets()
Closes #14751
2015-06-01 00:27:28 +01:00
Shauren b06cd11496 Core/Spells: Fixed effects with index >= 8 not being handled 2015-05-10 00:07:48 +02:00
Kinzcool 0453fafaec Core/Enums: Defined two unknown item flags, and cleaned the other item flags enums to reflect a better standardization 2015-05-01 21:56:33 -04:00
Shauren 48ee1f0033 Core/Misc: Moved Position to its own file 2015-05-02 00:05:01 +02:00
Shauren ca83e14f8b Core/Entities: Reworked guid scopes
* Added ObjectGuid traits to easily access whether guid type can be generated globally (ObjectMgr) or not
* This adds separate (per map) guid sequences depending on object type
* Ported map object container from cmangos/mangos-wotlk@a2d396eb0b
* Added type container visitor for TypeUnorderedMapContainer
* Implemented helper function to erase unique pairs from multimap containers
* Moved object storage of all objects except players and transports to map level
* Added containers linking database spawn id with creature/gameobject in world
* Renamed DBTableGuid to spawnId
* Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables
* Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update
2015-04-28 21:19:46 +02:00
Naios d37ecf796e Core/Misc: Use boost::in_place() to initialize optionals.
* Improves commit 800d5d8939
* Thanks @Shauren for this great suggestion.
2015-04-27 17:01:30 +02:00
Naios 800d5d8939 Core/Misc: Replace tc's optional with boost::optional.
* benefits from empty optimization (objects are only constructed if needed).
* supports r-value references (move semantics) (boost >= 1.56.0).
* preparation for c++14/17's std::optional and std::none_t.
* add move constructor to CompactArray.
2015-04-26 23:45:52 +02:00