Shauren
0ca955897f
Core/Spells: Remove all hardcoded restrictions for pick pocket spell effect and rely only on presence of pickpocket loot in db
2022-10-04 12:42:10 +02:00
Shauren
cf2bf7f77f
Core/Spells: Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED and SPELL_ATTR2_ALLOW_WHILE_INVISIBLE to use DispelType instead of checking effect types
2022-10-04 12:36:58 +02:00
Shauren
03cf98152e
Core/DataStores: Defined map.dbc flags
2022-10-04 12:32:58 +02:00
Shauren
b4a39d42a8
Core/Auras: Fixed requireImmunityPurgesEffectAttribute logic for school immunities
2022-09-30 12:50:31 +02:00
Shauren
c3b52fd29f
Core/Auras: Improve aura interactions with immunities on spell effect level
...
* Effects that target is immune to will be suppressed instead of completely removed
2022-09-30 12:49:31 +02:00
Shauren
f35e49b515
Core/Spells: Implemented SPELL_ATTR6_TAPS_IMMEDIATELY
2022-09-30 11:27:56 +02:00
Shauren
f93918ef0c
Core/Spells: Implemented SPELL_ATTR6_ABSORB_CANNOT_BE_IGNORE
2022-09-30 11:26:38 +02:00
Shauren
c78371f321
ore/Spells: Autorepeat casting fixes
...
* Fixed cast bars of ranged spells not disappearing when canceled while autoshooting
* Replaced hacky 500ms delay on non auto shot autorepeat spells with native spell cast time (wands have 500ms cast time)
* Update cooldowns before attempting to cast autorepeat spells (for cases when cooldown ends on the same server tick as cast attempt)
2022-09-30 11:08:20 +02:00
Shauren
dfc6fe6450
Core/Spells: Cleanup movement checks in spells - use correct interrupt flags
2022-09-30 11:02:52 +02:00
Shauren
1f60928a51
Core/Spells: Implemented SPELL_ATTR6_DELAY_COMBAT_TIMER_DURING_CAST
2022-09-30 10:56:37 +02:00
Shauren
b394faf376
Core/Spells: Implemented SPELL_ATTR6_NO_PUSHBACK
2022-09-30 10:55:29 +02:00
Shauren
50235ffcbc
Core/Spells: Implemented SPELL_ATTR6_AURA_IS_WEAPON_PROC
2022-09-30 10:53:58 +02:00
Shauren
6900a904cb
Core/Spells: Implemented SPELL_ATTR6_DO_NOT_RESET_COOLDOWN_IN_ARENA
2022-09-30 10:53:09 +02:00
Shauren
050300771d
Core/Spells: Rename SpellAttr6 to use official attribute names
2022-09-30 10:45:17 +02:00
Shauren
818e73dd5f
Core/Spells: Implemented SPELL_ATTR5_AURA_UNIQUE_PER_CASTER
2022-09-30 02:15:18 +02:00
Shauren
180836b977
Core/Spells: Implemented SPELL_ATTR5_ALWAYS_LINE_OF_SIGHT and SPELL_ATTR5_ALWAYS_AOE_LINE_OF_SIGHT
2022-09-30 02:14:25 +02:00
Shauren
0f6cac2373
Core/Spells: Implemented SPELL_ATTR5_TREAT_AS_AREA_EFFECT
2022-09-30 02:12:19 +02:00
Shauren
4cfd439d34
Core/Spells: Implemented SPELL_ATTR5_NOT_AVAILABLE_WHILE_CHARMED
2022-09-30 02:08:33 +02:00
Shauren
8fa4b57925
Core/Spells: Implemented SPELL_ATTR5_NOT_ON_PLAYER and SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC
2022-09-30 02:05:54 +02:00
Shauren
86fbfb77f4
Core/Spells: Implemented SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK
2022-09-30 02:01:13 +02:00
Shauren
2c78751b5a
Core/Spells: Corrected implementation of SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL - it allows casting other spells while channeling, not allows movement while channeling
2022-09-30 02:00:04 +02:00
Shauren
75906f3d06
Core/Auras: Added support for SPELL_ATTR5_LIMIT_N limit to other number than just 1
2022-09-30 01:57:52 +02:00
Shauren
70c76a166a
Core/Spells: Removed SPELL_SPECIFIC_JUDGEMENT
2022-09-30 01:35:50 +02:00
Shauren
d1700ba5fa
Core/Spells: Rename SpellAttr5 to use official attribute names
...
* Implemented SPELL_ATTR8_HASTE_AFFECTS_DURATION
2022-09-30 01:30:14 +02:00
Shauren
a7dc339a6a
SHA-1: 8d16a79dea4c0100d36e13b068c42499a3a48154
...
* Core/Spells: Rename SpellAttr4 to use official attribute names
* Corrected implementation of SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET
* Implemented SPELL_ATTR4_NO_HELPFUL_THREAT
* Implemented SPELL_ATTR4_NO_PARTIAL_IMMUNITY
* Implemented SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING
* Implemented SPELL_ATTR4_USE_FACING_FROM_SPELL
* Implemented SPELL_ATTR4_BOUNCY_CHAIN_MISSILES
* Implemented SPELL_ATTR4_AURA_NEVER_BOUNCES
* Implemented SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL
* Implemented SPELL_ATTR4_AURA_IS_BUFF
* Implemented SPELL_ATTR5_MELEE_CHAIN_TARGETING
* Implemented SpellEffectAttributes::ChainFromInitialTarget
2022-09-30 01:16:39 +02:00
Shauren
6856c1a0be
Core/Spawns: Added startup error for incorrect map assignments in instance_spawn_groups
2022-09-23 20:41:31 +02:00
Shauren
946f928ee2
Core/Spells: Rename SpellAttr3 to use official attribute names
...
* Implemented SPELL_ATTR3_NO_AVOIDANCE
* Implemented SPELL_ATTR3_ONLY_PROC_OUTDOORS
* Implemented SPELL_ATTR3_ONLY_PROC_ON_CASTER
* Implemented SPELL_ATTR3_PVP_ENABLING
* Implemented SPELL_ATTR3_SUPPRESS_CASTER_PROCS
* Implemented SPELL_ATTR3_SUPPRESS_TARGET_PROCS
2022-09-13 15:40:25 +02:00
Shauren
ea4bc6c02a
Core/Spells: Rename SpellAttr2 to use official attribute names
...
* Corrected implementation of SPELL_ATTR1_ALLOW_WHILE_STEALTHED
* Implemented SPELL_ATTR2_RETAIN_ITEM_CAST
* Implemented SPELL_ATTR2_ALLOW_WHILE_INVISIBLE
* Implemented SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE
* Implemented SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE
* Implemented SPELL_ATTR2_NO_TARGET_PER_SECOND_COSTS
* Implemented SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE
* Implemented SPELL_ATTR1_REQUIRE_ALL_TARGETS
* Implemented SPELL_ATTR2_CHAIN_FROM_CASTER
* Implemented SPELL_ATTR2_NO_ACTIVE_PETS
* Implemented SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY
2022-09-13 14:36:32 +02:00
Shauren
ca7d36873f
Core/Spells: Rename SpellAttr1 to use official attribute names
...
* Implemented SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_DISPEL_ALL_STACKS
2022-09-12 09:15:31 +02:00
Shauren
16aef47f61
Core/Spells: Fixed implementation of Spell::EffectRechargeManaGem when it is not the first effect on a spell (0 cases, sync code between branches)
2022-09-12 09:15:30 +02:00
Shauren
39b5168dbb
Core/Auras: Changed aura dot stacking rule to not ignore aura type of "existingAura"
2022-09-12 09:15:30 +02:00
Shauren
b28ff89c5d
Core/Spells: Prevent manual cancelling of channelled spells that have SPELL_ATTR0_CANT_CANCEL
2022-09-12 09:15:28 +02:00
Shauren
eeef100e08
Core/Spells: Fixed checking free inventory space for some spells that have bad dbc data
2022-09-12 09:15:27 +02:00
Shauren
e395af341a
Core/Spells: Fixed crash with some gameobject spell casters
2022-09-12 09:15:22 +02:00
Shauren
54b65fc2ac
Core/Objects: Properly ASSERT when trying to access invalid updatefields
2022-09-12 09:15:22 +02:00
Shauren
96c4a1b1f9
Core/Spells: Fixed unapplying rockbiter weapon
2022-09-12 09:15:21 +02:00
Shauren
5ceba73504
Core/Spells: Corrected haste affecting GCDs to match 3.3.5 client logic
2022-09-12 09:15:21 +02:00
Shauren
dc8bf301bb
Core/Auras: Fixed saving auras with same spell id but different item source
2022-09-12 09:15:21 +02:00
Shauren
adfeaa7666
Core/PacketIO: Fixed SMSG_SPELLNONMELEEDAMAGELOG structure
2022-09-12 09:15:20 +02:00
Shauren
d448ea4370
Core/Spells: Rename SpellAttr0 to use official attribute names
2022-09-12 09:15:04 +02:00
Shauren
dcd46b8b1a
Core/Phasing: Fixed terrain swaps appearing on incorrect maps when player is added to a map wilth not meeting its condition but later condition gets satisfied
2022-08-14 18:15:27 +02:00
Shauren
4b92f09fec
Core/Transports: Initialize stoppable transports at start of path
2022-07-15 22:21:07 +02:00
Shauren
279f1cccae
Core/GameObjects: Fixed crash when GameObject::Delete was used for transports
2022-07-10 01:15:57 +02:00
Shauren
16f699b049
Tools/mmaps_generator: Fixed loading db2 stores on linux
...
* Author @rapsys
Closes #21898
# Conflicts:
# src/tools/mmaps_generator/PathCommon.h
2022-07-05 20:02:29 +02:00
Shauren
5931ab55f6
Core/Maps: fixed a typo in world state loading that caused all world states to become realm wide
2022-06-25 19:50:07 +02:00
Shauren
412f166561
Core/Items: Fixed logic mistake in ItemTemplate::IsRangedWeapon
2022-06-24 21:08:37 +02:00
Shauren
338e9d8033
Core/GameObjects: Use all axis rotations for gameobject model collision, not just orientation
2022-06-20 15:21:55 +02:00
Shauren
8733f6fafa
Core/Utils: Added helper function to make creating unique_ptr with custom deleters more convenient
...
# Conflicts:
# src/server/game/World/World.cpp
2022-06-19 21:42:45 +02:00
Shauren
440aecfe7b
Core/Battlegrounds: Replace manual criteria timer starts in battlegrounds with new GameEvents api
2022-06-19 18:47:51 +02:00
Shauren
786131a162
Core/Transports: Localized transport objects within each map
...
Transports no longer move between maps, each map gets a separate copy of the transport object and players are moved between them when transferring to another map
This means they can no longer be globally looked up in HashMapHolder
2022-06-19 18:11:20 +02:00
Shauren
acb599823e
Core/Transports: Fixed stoppable elevator position calculation when going from first floor to third or higher
...
# Conflicts:
# src/server/game/Entities/GameObject/GameObject.cpp
2022-06-19 16:15:44 +02:00
Shauren
5a236799c2
Core/Transports: Path generation rewrite v2
...
* No TaxiPathNode row is skipped anymore (events/delays on first node now work)
* Fixed transport animation synchronization with client
* Fixed stoppable transports randomly resuming their path after relogging
2022-06-18 22:37:46 +02:00
Shauren
c682680a2f
Core/Movement: Allow overwriting number of steps for spline length calculations
...
* Also minor cleanup of non-virtual functions in spline derived classes
2022-06-18 22:21:22 +02:00
Shauren
e212f92161
GCC warning fix
2022-06-18 22:16:26 +02:00
Shauren
5c0c2e3f25
Core/Objects: Remove restriction on what object types can be set as active
2022-06-18 21:43:24 +02:00
Shauren
25465699f7
Core/GameObjects: Transport (type 11) improvements
...
* Fully synchronize serverside animation progress with client
* Implemented updating passenger positions on elevators
* Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-06-18 21:36:17 +02:00
Shauren
b596675c3b
Core/Transports: Extracted transport and vehicle passenger relocation to shared function
2022-06-18 19:13:38 +02:00
Shauren
79aa6e2456
Core/GameObjects: Implement more gameobject gameevent uses
2022-06-18 19:08:44 +02:00
Shauren
2b7b0b0db1
Core/Scripts: Begin unifying triggering gameevents (not the game_event db stuff)
2022-06-18 19:05:57 +02:00
Shauren
43c1876970
Core/Transports: Store information about continent transports
2022-06-18 18:53:25 +02:00
Shauren
30d6f97567
Core/DBLayer: Fixed false positive msvc analysis warning
2022-06-15 14:03:21 +02:00
Shauren
b070267898
Core/Misc: Remove uses of std::aligned_storage (deprecated in future c++ standard)
...
# Conflicts:
# src/common/Threading/MPSCQueue.h
# src/server/game/Server/Packets/AuctionHousePackets.cpp
2022-05-18 13:52:21 +02:00
Shauren
76fc64b038
Core/PacketIO: Stop WorldSession packet processing loop immediately when AntiDOS kicks/bans the player
...
# Conflicts:
# src/server/game/Server/WorldSession.cpp
2022-04-17 01:28:59 +02:00
Shauren
62368ec93e
Core/World: Allow specifying minimum world updates diff in config
2022-04-17 01:26:21 +02:00
Shauren
eff7e72c97
Core/CrashHandler: Support retrieving windows version names for all future versions
2022-04-17 01:23:52 +02:00
Shauren
f442c684cc
Dep/zlib: Upgrade embedded zlib to 1.2.12
2022-04-14 11:40:00 +02:00
Shauren
c307969695
Core/Spells: Changed channel triggered spells to inherit positive/negative status from main spells
2022-02-22 21:24:49 +01:00
Shauren
93259bc282
Build: Never automatically link any boost library with a #pragma comment(linker) encountered in boost headers
2022-02-20 20:27:55 +01:00
Shauren
5ad23e61e4
Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions
...
# Conflicts:
# dep/boost/CMakeLists.txt
2022-02-20 20:27:35 +01:00
Shauren
73bae7c5e5
Core/Spells: Correct implementation of SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC, SPELL_ATTR3_TRIGGERED_CAN_TRIGGER_PROC_2, SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED and rename them (SPELL_ATTR2_ACTIVE_THREAT, SPELL_ATTR3_NOT_A_PROC, SPELL_ATTR3_CAN_PROC_FROM_PROCS)
2022-02-02 17:45:23 +01:00
Shauren
f2b4f2208e
Core/Objects: ported master branch handling for properly destroying objects via out of range and destroy object opcode
...
# Conflicts:
# src/server/game/Entities/Creature/Creature.cpp
2022-02-02 16:24:42 +01:00
Shauren
f4c39d1aa9
Build: Disable Visual Studio 2022 MSBuild resource manager to make compile take only as much time as it does in Visual Studio 2019
2022-01-28 21:14:47 +01:00
Shauren
29fc3d55b4
Build: Enable some msvc warnings that are enabled for other compilers
...
# Conflicts:
# cmake/compiler/msvc/settings.cmake
2022-01-21 13:56:39 +01:00
Shauren
9ab7c6e8f6
Fixed -Wdeprecated-copy warning in G3D
2022-01-16 19:37:03 +01:00
Shauren
a06b3cea3c
Core/Spells: Fixed caster unit validation for players that have charmed (not possessed) units
2022-01-16 18:45:07 +01:00
Shauren
6252bd9fa8
Core/Groups: Fixed crash in loot rolls happening when looted object despawns before roll expires
2022-01-12 15:56:48 +01:00
Shauren
171e6adf19
Tools/mmaps_generator: Made loading vmaps by mmaps_generator threadsafe
2022-01-04 22:18:43 +01:00
Shauren
267cd04e57
Core/Time: Remove artificially high minimal update intervals
...
(cherry picked from commit 3a67e376811743be208da4aab8a9e452e1ae637e)
2022-01-04 19:23:46 +01:00
Shauren
8acf90d115
Core/Units: Sync ProcessTerrainStatusUpdate code with master branch
2022-01-01 16:49:48 +01:00
Shauren
a322e4eb37
Core/Spells: Implemented target 124 TARGET_UNIT_TARGET_TAP_LIST
2021-12-30 20:16:33 +01:00
Shauren
383e7c1315
Core/Spells: Implemented target 121 TARGET_CORPSE_TARGET_ALLY
2021-12-30 20:14:29 +01:00
Shauren
58d257c7a5
Core/Spells: Targets enum formatting
2021-12-30 20:11:01 +01:00
Shauren
84c7434b8b
Core/Spells: Rename targets 108 and 109 to include CASTER_TO_DEST wording
2021-12-30 20:10:09 +01:00
Shauren
5fcf5bdee5
Core/Spells: Implemented target 107 TARGET_DEST_NEARBY_ENTRY_2 (the same as target 46)
2021-12-30 20:08:10 +01:00
Shauren
adfc991f02
Core/Spells: Use orientation given in destTarget instead of always taking casters orientation for all effect types
2021-12-30 20:06:10 +01:00
Shauren
28f79765ca
Core/Spells: Implemented target 62 TARGET_DEST_CASTER_GROUND (the same as target 125)
2021-12-30 20:00:42 +01:00
Shauren
7ef17f416c
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-30 19:57:50 +01:00
Shauren
8e657a9b7c
Core/Spells: Implemented target 105 TARGET_UNIT_CASTER_AND_PASSENGERS
2021-12-30 19:55:29 +01:00
Shauren
0ef0498d13
Core/Spells: Rename TARGET_UNIT_CONE_ENEMY_104 to TARGET_UNIT_CONE_CASTER_TO_DEST_ENEMY
2021-12-30 19:46:50 +01:00
Shauren
fbf2a2e531
Core/Spells: Allow targeting script hooks to work with TARGET_DEST_DYNOBJ_ENEMY, TARGET_DEST_DYNOBJ_ALLY, TARGET_DEST_DYNOBJ_NONE, TARGET_DEST_DEST
...
# Conflicts:
# src/server/game/Spells/Spell.cpp
2021-12-30 19:40:19 +01:00
Shauren
fb428c9c4a
Core/Spells: Implemented SPELL_ATTR1_CAST_WHEN_LEARNED
...
# Conflicts:
# src/server/game/Miscellaneous/SharedDefines.h
# src/server/game/Miscellaneous/enuminfo_SharedDefines.cpp
2021-12-26 09:51:44 +01:00
Shauren
e936255728
Core/Misc: Exclude boost 1.78 and newer from boost_1_73_process_windows_nopch hack
...
(cherry picked from commit a93776728987e3ffa220e8fe5be73a34c5e3f965)
2021-12-22 17:40:03 +01:00
Shauren
df2f390aab
Dep/gSOAP: Upgrade to 2.8.117
...
(cherry picked from commit 172e5c3577f99331743f7d3c81de738811781552)
2021-12-22 17:38:45 +01:00
Shauren
34c2da7bd9
Core/Auras: Properly clean up partial charm applications
...
Ref #24876
2021-11-28 12:19:38 +01:00
Shauren
c56703e1bd
Core/Vehicles: Add additional logging to track issue #24876
2021-11-28 12:18:35 +01:00
Shauren
b1f16bceb0
Core/Phasing: Fixed inverse phaseshift logic
2021-11-22 22:51:46 +01:00
Shauren
f768ac2341
CI: Remove git tagging from build scripts
...
(cherry picked from commit 9e840da13ef3dd9f7ff73458125cc021e73fcf1f)
2021-09-10 10:22:21 +02:00
Shauren
d255fb3dbd
Build: Fixed branch name displayed by appveyor binaries
...
(cherry picked from commit 85671f20d866797a5a401d714b183d07c55f8d83)
2021-09-10 10:22:18 +02:00
Shauren
1d9d14e3f5
CI: Update boost version used on appveyor
...
(cherry picked from commit 05f188ae2b3a431624eebbf8a44cb6dc0e977c0c)
2021-09-10 10:21:57 +02:00
Shauren
8c8111976a
Build: Replace git describe with more script friendly alternative, git rev-parse and git diff-index
...
(cherry picked from commit 29659b4192dc114540379e92a5cc915a465821d8)
2021-09-01 20:33:59 +02:00