Commit Graph

866 Commits

Author SHA1 Message Date
Shauren
00640dee97 Core/Auras: Implemented aura 481 - SPELL_AURA_CONVERT_CONSUMED_RUNE
Used by: Blood Rites, Reaping and Glyph of the Ice Reaper
2016-05-13 21:46:32 +02:00
Shauren
c75fcbe20b Core/Achievements: AchievementMgr refactoring
* Extracted base CriteriaHandler class that deals with criteria only and will be reused for future scenario implementation
* Fixed players earning guild achievements
2016-05-07 01:16:29 +02:00
Shauren
a49b348d62 Core/Spells: Removed code for handling SPELL_AURA_OVERRIDE_CLASS_SCRIPTS whose miscvalue cases were removed from the game 2016-05-04 18:25:30 +02:00
Incorrect
c28e6a8c16 Core/Spells: Fixed overwriting summon requests
Closes #17049
2016-05-01 12:53:39 +02:00
joschiwald
3b9c78a176 Core/SpellScripts: allow to modify target destination of all target type
(cherry picked from commit 25da16ba44)
2016-04-23 16:55:15 +02:00
treeston
6dfe9d34f3 Merge branch '3.3.5-naxxcleanup' into 3.3.5. (PR #16524)
(cherry picked from commit f37682b7ed)
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 1511855fea)
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 a9b4375bb7)
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 f8a6ab8ac5)
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 21cfacfba7)
2016-04-09 17:32:24 +02:00
Vincent-Michael
179b521dce Core: Remove whitespaces
(cherry picked from commit 5e74c2223b)
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 b4b43d03b3)
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 233297c5c8)
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 246e568bbd)
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 b39216eed3)
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 ea4d9c0d9e)

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 d243630acf)

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 3f3ff8b36b)
2015-09-24 19:59:09 +02:00
jackpoz
8a5d92726a Core/Spells: Fix Charge "no path" error with even bigger targets
Addition to a328a11978 , clamp object size to [0,4] in case of very huge Creatures like Lord Marrowgar entry 36612

(cherry picked from commit 0a94382637)
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 35f0d8e9c1)
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 efad3a3123)

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 a328a11978)
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 94bb71e5a1)

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 91c399cad2)
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