Commit Graph

39720 Commits

Author SHA1 Message Date
jackpoz
37543109f6 Core/Movement: Don't start a spline with just 1 point in FlightPathMovementGenerator
Don't start a spline with just 1 point in FlightPathMovementGenerator. This happens when teleporting to a BG while on a taxi after second last node but closer to last node.
In this case the Player will be teleported to the last node.

(cherry picked from commit ec49576491)
2021-12-30 20:59:20 +01:00
jackpoz
040af829ca Core/Movement: Improve log when starting a spline with invalid arguments
Improve log when starting a spline with invalid arguments, for example when starting a spline with just 1 point.

(cherry picked from commit 296f6aab40)
2021-12-30 20:58:53 +01:00
Shauren
f83dbb254a Core/Misc: Fix invalid utf-8 comments
(cherry picked from commit 6259763469)
2021-12-30 20:46:34 +01:00
Killyana
02c93a0373 DB/Quest: Blueleaf Tubers
Closes #24333

(cherry picked from commit 4be5414c12)
2021-12-30 20:45:51 +01:00
dr-j
d43c20b4ba DB: Argent Tournament Horde/Alliance/Tirion Events
Closes #24262

(cherry picked from commit beac4178ef)
2021-12-30 20:41:26 +01:00
Meji
9354b4ac8e Core/Spells: Implemented battle pet experience related spell effects and auras (#27488)
* Spell effect 286 (SPELL_EFFECT_GRANT_BATTLEPET_EXPERIENCE)
* Aura type 420 (SPELL_AURA_MOD_BATTLE_PET_XP_PCT)
2021-12-30 20:38:29 +01:00
aquadeus
9cc3cd128c Core/Auras: Implement SPELL_AURA_MOD_MELEE_DAMAGE_FROM_CASTER (343) (#27491) 2021-12-30 12:08:02 +01:00
Shauren
6391cf8a35 Core/Networking: Format string fix for previous commit 2021-12-30 11:56:35 +01:00
Shauren
74088e15c1 Core/Networking: Catch ByteBuffer exceptions in WorldSocket::InitializeHandler 2021-12-30 11:53:31 +01:00
Shauren
116a3ab694 Core/Spells: Name more targets (without implementation) 2021-12-29 23:38:09 +01:00
Shauren
f5631b7134 Core/Spells: Implemented target 124 TARGET_UNIT_TARGET_TAP_LIST 2021-12-29 19:08:36 +01:00
Shauren
195457b682 Core/Spells: Implemented target 121 TARGET_CORPSE_TARGET_ALLY 2021-12-29 18:04:27 +01:00
Shauren
b50783ae80 Core/Spells: Implemented target 115 TARGET_UNIT_SRC_AREA_FURTHEST_ENEMY 2021-12-29 17:56:11 +01:00
Shauren
115409f353 Core/Spells: Implemented target 116 TARGET_UNIT_AND_DEST_LAST_ENEMY 2021-12-29 16:03:52 +01:00
Shauren
730fc4665b Core/Spells: Rename targets 110 to TARGET_UNIT_CONE_CASTER_TO_DEST_ENTRY 2021-12-29 15:08:59 +01:00
Shauren
c5b3e536a8 Core/Spells: Targets enum formatting 2021-12-29 14:57:31 +01:00
Shauren
3c11ae4156 Core/Spells: Rename targets 108 and 109 to include CASTER_TO_DEST wording 2021-12-29 14:56:59 +01:00
Shauren
3a26b0b013 Core/Spells: Implemented target 107 TARGET_DEST_NEARBY_ENTRY_2 (the same as target 46) 2021-12-29 14:50:42 +01:00
Shauren
853c58715e Core/Spells: Use orientation given in destTarget instead of always taking casters orientation for all effect types 2021-12-29 14:18:53 +01:00
Shauren
88cf53e54a Core/Spells: Implemented target 62 TARGET_DEST_CASTER_GROUND (the same as target 125) 2021-12-29 13:43:07 +01:00
Shauren
8921d07201 Core/Spells: Rename TARGET_UNIT_CONE_ENEMY_54 to TARGET_UNIT_CONE_180_DEG_ENEMY and add 180 degree fallback for this target type 2021-12-29 11:47:32 +01:00
Shauren
bbdb70ed57 Core/Spells: Implemented target 105 TARGET_UNIT_CASTER_AND_PASSENGERS 2021-12-29 01:18:17 +01:00
Shauren
565ef6a2f4 Core/Spells: Implemented target 136 TARGET_UNIT_CONE_CASTER_TO_DEST_ALLY 2021-12-29 00:12:23 +01:00
Shauren
70f1eaac48 Core/Spells: Rename TARGET_UNIT_CONE_ENEMY_104 to TARGET_UNIT_CONE_CASTER_TO_DEST_ENEMY 2021-12-29 00:12:07 +01:00
Shauren
f515424217 Core/Spells: Implemented target 137 TARGET_DEST_CASTER_MOVEMENT_DIRECTION 2021-12-28 22:19:31 +01:00
aquadeus
108eeea327 Scripts/Spells: Fix shaman talent Nature's Guardian proc (#27482) 2021-12-28 21:18:50 +01:00
Shauren
04b06ab35f Core/Auras: Delete old custom config AllowTrackBothResources, all tracking types can be turned on without it
Closes #27448
2021-12-28 20:35:48 +01:00
Shauren
3c12a189e4 Core/Items: Fixed heirloom items counting for item set bonuses past their max scaling level and implemented new heirloom upgrade levels 2021-12-28 20:13:12 +01:00
Shauren
3c0baab576 Core/Spells: Allow targeting script hooks to work with TARGET_DEST_DYNOBJ_ENEMY, TARGET_DEST_DYNOBJ_ALLY, TARGET_DEST_DYNOBJ_NONE, TARGET_DEST_DEST 2021-12-28 19:25:42 +01:00
Shauren
8029035b80 Core/Spells: Implemented target 138 TARGET_DEST_DEST_GROUND 2021-12-28 19:24:24 +01:00
Shauren
9c90a18ee5 Core/Players: Fixed pvp talents being reset on login if player is below level 110 (pre level squish code) 2021-12-28 14:06:33 +01:00
Matan Shukry
8fabe5a3aa Core/Phasing: Implemented db spawns in personal phases (#26345)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-12-28 13:24:10 +01:00
Shauren
1aad7f8ddd Core/DB: Add missing prepared statement parameters to CHAR_SEL_WAR_MODE_TUNING 2021-12-27 20:42:03 +01:00
Shauren
b2b83d49ad Core/ObjectMgr: Replace manually constructed uint32 map key with pair<mapid, difficulty> 2021-12-27 16:16:58 +01:00
Shauren
792dab8f05 Core/Auras: Implemented SPELL_AURA_TRIGGER_SPELL_ON_EXPIRE 2021-12-27 15:11:06 +01:00
Jeremy
15b9183635 Core/ZoneScript: Add "invoker" param to ProcessEvent (#24758) 2021-12-27 13:55:59 +01:00
Shauren
ff9816ef38 Core/Misc: Fixed outdated cherry-picked file headers 2021-12-26 22:05:54 +01:00
aquadeus
f230af918b Scripts/Spells: Fix shaman talent Downpour (#27477) 2021-12-26 21:46:07 +01:00
aquadeus
fed9d73f66 Scripts/Spells Fix shaman talent Aftershock (#27469) 2021-12-26 20:13:41 +01:00
Matan Shukry
b821a72973 Core/Player: Initial War Mode support (#25926)
* Enable PvP talents
* War Mode buff aura
* Forced PvP flagging

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-12-26 19:14:46 +01:00
Shauren
e00b1df36e Core/Scripts: Allow Get**TargetCountForEffect functions to be used in EffectLaunch script hooks 2021-12-25 22:46:46 +01:00
Shauren
570e882d02 Core/Spells: Fixed Spell::GetUnitTargetCountForEffect incorrectly counting missed targets instead of hit targets 2021-12-25 22:45:59 +01:00
Shauren
e6ba1fbd53 Scripts/Spells: Fixed Lightning Bolt Overload, Chain Lightning Overload, Elemental Blast and Elemental Blast Overload energize effects 2021-12-25 22:45:23 +01:00
aquadeus
47d8b17e9f Scripts/Spells: Fix chain lightning energize (elemental) (#27468)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-12-25 22:15:11 +01:00
aquadeus
c95b1784df Scripts/Spells: Fixed lightning bolt energize (elemental) (#27467)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-12-25 21:55:23 +01:00
Shauren
5be16577f7 Build fix for older boost version 2021-12-25 21:53:47 +01:00
Matan Shukry
a3d06f2f32 Scripts/Spells: Implemented various rogue spells (#26319)
* Ruthlessness
* Mastery: Main Gauche
* Venomous Wounds
* Symbols of Death
* Backstab
* Premeditation
* Grand Melee
* True Bearing
* Slice and Dice
* Roll the Bones
2021-12-25 21:25:54 +01:00
Antonio Martín Berti
b221f4b372 Core/Auras: Implemented SPELL_AURA_TRIGGER_SPELL_ON_HEALTH_PCT (#27455) 2021-12-25 17:01:17 +01:00
Shauren
34ae77ca86 Core/SAI: Reserve action ids 2021-12-25 16:01:56 +01:00
ModoX
bc4e285c21 Core/SAI: added new action type SMART_ACTION_ADD_TO_STORED_TARGET_LIST (#27029) 2021-12-25 16:00:34 +01:00