Commit Graph

318 Commits

Author SHA1 Message Date
Ovahlord
29c332949f Core/Spells: followup fixed for merge conflicts 2020-06-22 12:03:30 +02:00
Shauren
9fe40967b1 Core/Spells: Implemented new target types
* TARGET_UNIT_TARGET_ALLY_OR_RAID
* TARGET_UNIT_CASTER_AND_SUMMONS
* TARGET_UNIT_AREA_THREAT_LIST
* TARGET_UNIT_AREA_TAP_LIST
2020-06-22 11:49:26 +02:00
Warpten
0af44ccc01 Core/Spells: implement DoT clipping
* Core/Spells: Implementation of DoT clipping.
* Core/Utilities: Backport "EnumFlags v3.0" from master.
* Core/Spells: Switch AURA_REMOVE_MODE to a flag set.
2020-06-04 18:16:03 +02:00
Ovahlord
38f2238293 Core/Spells: removed deprecated 500ms cast time delay for spells with attribute SPELL_ATTR0_REQ_AMMO 2020-06-03 00:20:19 +02:00
Ovahlord
b770d2e4d0 Core/Spells: renamed Amplitude and ValueMultiplier to match DBC field names 2020-04-16 14:40:30 +02:00
Ovahlord
6ffd3672c4 Core/Spells: added a additional scaling ratio for SPELL_ATTR0_LEVEL_DAMAGE_CALCULATION spells that are cast by npcs that are level 81 or higher to come closer to retail values. These numbers have been reversed by using sniffed damage log packets 2020-04-10 22:50:42 +02:00
Ovahlord
98b075cb4b Core/Spells: implement TARGET_CORPSE_SRC_AREA_RAID and updated remaining resurrection effect handlers for updated corpse targeting 2020-03-26 22:03:58 +01:00
Ovahlord
f1f00c3ec3 Core/Datastores: refactor DBC storage helpers to use a class and fixed no pch build 2020-03-18 15:24:25 +01:00
Ovahlord
fc12e97cfe Core/Spells: implement SPELL_EFFECT_APPLY_AURA_2 and TARGET_DEST_CASTER_FLOOR 2020-03-14 21:14:07 +01:00
xinef1
d6e7cc52a8 Various quest system fixes (seasonal quests, timed quests and more) (#18940)
- Unify quest status checking function, use dedicated function instead of direct map checks
- Fixed seasonal quest chains and ability to complete the same quests rewarded in past
- Update area dependent auras on quest status change (they often requires specific quest status)
- Send all not stored quest rewards by mail
- When casting quest reward spell, check if it is not self casted, if so - use player to cast this spell
- Perform full db save on quest reward to prevent data desynchronization
- Don't allow to fail completed timed quests, except for quests which are completed right from the start
- Don't allow to share pooled quests, if they are not available in the current pool (eg sharing easy dalaran weeklies, stored at alt character)
- Remove seasonal quest if rewarded quest is removed
- Don't complete whole quest on AreaExplore event, check if there are no more requirements that should be fulfilled
- Quests with flag QUEST_SPECIAL_FLAGS_PLAYER_KILL can be only credited in quest zone

Closes #18913
Closes #11187
Closes #15279
2020-02-20 01:51:14 +01:00
jackpoz
183789053e Core/Misc: Fix GCC 8 warnings 2020-01-31 21:19:25 +01:00
Ovahlord
66a4a9617c Core/Spells: restore player caster check when trying to hit personal summons with spells 2020-01-31 08:00:45 +01:00
Ovahlord
86d479a087 Core/Spells: expand personal spawn handling for summons to all kind of summons
* personal summon target checks for spells will now always happen instead of only if a player is the caster
2020-01-31 07:46:43 +01:00
Ovahlord
a1c415c658 Core/Spells: implement power cost level scaling 2020-01-26 16:04:42 +01:00
Ovahlord
fcb79fee07 Core/Datastores: updated DBC structure names to generated member format 2020-01-25 12:36:32 +01:00
Aokromes
d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
funjoker
6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord
29c0dbd43c Core/Spells: do not allow movement with SPELL_ATTR5_CAN_CHANNEL_WHEN_MOVING and AURA_INTERRUPT_FLAG_MOVE 2019-11-19 18:25:14 +01:00
Ovahlord
dd9b94f284 Core/Vehicles: allow control vehicle auras to be multi-slot auras 2019-11-06 21:59:52 +01:00
Ovahlord
48f2738b30 Core/Spells: removed a wotlk leftover for spell scaling 2019-10-05 20:22:42 +02:00
Ovahlord
cb79782662 Core/Spells: defined and implement TARGET_UNK_112 as TARGET_DEST_TARGET_ANY_2 2019-08-30 13:32:39 +02:00
Ovahlord
c0f6aec8ac Core/Spells: use std::floor instead of floor 2019-07-30 16:55:17 +02:00
Ovahlord
052b431ea2 Core/Spells: round final values for more precise results for small aura values 2019-07-30 16:54:16 +02:00
Ovahlord
4efedd2688 Core/Spells: do not allow players to target personal summons of other players for spells 2019-06-18 20:38:24 +02:00
Ovahlord
9bf40cfee4 Core/Spells: expand the single target aura system to support a specific amount of targets
* limit Living Bomb targets to three per caster
2019-05-12 20:03:17 +02:00
Ovahlord
ab1d57d21d Core/Spells: fixed remaing issues with calculation correct numbers for HOTs and DOTs 2019-05-10 21:28:23 +02:00
Ovahlord
5e56bf085d Scripts/BWD: scripted Electron and Magmatron abilities for Omnotron Defense System encounter 2019-05-09 02:43:01 +02:00
Ovahlord
3fb3ed2954 Scripts/BWD: fixed Magmaw's health sharing aura stacking and cleaned up some obsolete code 2019-04-16 15:14:18 +02:00
Ovahlord
1e4cc2293a Core/Datastores: use generated member names for MapEntry fields
* load all dbc fields of MapEntry
2019-02-24 00:14:44 +01:00
Ovahlord
7d8043e358 Core/Spells: fixed a logic typo in last commit 2019-02-09 00:19:00 +01:00
Ovahlord
89fd5cd408 Core/Spells: define and implement SPELL_ATTR5_DONT_ALLOW_PET_TARGET 2019-02-09 00:11:44 +01:00
Ovahlord
0c5905f2ee Core/Spells: enable a spell scaling calculation for level based amount multiplication. This fixes alot of npc spells dealing way less damage than they should 2018-12-15 17:44:39 +01:00
Ovahlord
2f3f524254 Core/Spells: fixed Combat Resurrections not being unlimited in dungeons 2018-11-02 00:09:22 +01:00
Ovahlord
27d23118e7 Core/Spells: removed a duplicate negative marker for Arcane Missiles 2018-07-14 19:37:46 +02:00
Ovahlord
c26a897e6a Scripts/TotFW: added instance script and implement Jet Stream and Fall Catcher mechanics 2018-06-08 15:04:50 +02:00
Ovahlord
fb465c6953 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2018-04-09 07:29:47 +02:00
Aokromes
cc78ff1291 build fix 2018-03-29 00:57:51 +02:00
ariel-
9f7e1a0673 Core/Spells: fix another regression with arcane missiles being marked positive
Closes #21670
2018-03-29 00:51:50 +02:00
Ovahlord
2cfdd3cbe0 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/CoreAI/PetAI.cpp
#	src/server/game/Battlegrounds/Battleground.cpp
#	src/server/game/Battlegrounds/Zones/BattlegroundTP.cpp
#	src/server/game/DungeonFinding/LFGMgr.h
#	src/server/game/DungeonFinding/LFGQueue.h
#	src/server/game/Entities/Creature/Creature.h
#	src/server/game/Entities/Pet/Pet.cpp
#	src/server/game/Entities/Player/Player.cpp
#	src/server/game/Entities/Player/Player.h
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Globals/ObjectMgr.h
#	src/server/game/Groups/Group.cpp
#	src/server/game/Groups/Group.h
#	src/server/game/Guilds/Guild.cpp
#	src/server/game/Guilds/Guild.h
#	src/server/game/Handlers/GuildHandler.cpp
#	src/server/game/Handlers/LFGHandler.cpp
#	src/server/game/Handlers/MiscHandler.cpp
#	src/server/game/Handlers/NPCHandler.cpp
#	src/server/game/Instances/InstanceScript.cpp
#	src/server/game/Maps/Map.cpp
#	src/server/game/Maps/Map.h
#	src/server/game/Maps/ZoneScript.cpp
#	src/server/game/Server/WorldSession.cpp
#	src/server/game/Spells/SpellEffects.cpp
#	src/server/game/Weather/Weather.cpp
#	src/server/game/Weather/WeatherMgr.cpp
#	src/server/scripts/Commands/cs_reload.cpp
#	src/server/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp
#	src/server/scripts/EasternKingdoms/Deadmines/deadmines.h
#	src/server/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
#	src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
#	src/server/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h
#	src/server/scripts/EasternKingdoms/eastern_kingdoms_script_loader.cpp
#	src/server/scripts/Kalimdor/VortexPinnacle/vortex_pinnacle.h
#	src/server/scripts/Spells/spell_dk.cpp
#	src/server/scripts/Spells/spell_druid.cpp
#	src/server/scripts/Spells/spell_generic.cpp
#	src/server/scripts/Spells/spell_hunter.cpp
#	src/server/scripts/Spells/spell_mage.cpp
#	src/server/scripts/Spells/spell_pet.cpp
#	src/server/scripts/Spells/spell_shaman.cpp
#	src/server/scripts/Spells/spell_warrior.cpp
2018-03-28 12:35:52 +02:00
ariel-
5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
Ovahlord
0729695a56 Core/Battlegrounds: implement base support for Twin Peaks battleground.
*Todo: implement unique flag mechanics
2018-03-19 11:57:35 +01:00
Aokromes
4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
Ovalord
088ce63ac7 Core/Auras: Updated mount capability check and implemented SPELL_AURA_MOUNT_RESTRICTIONS 2017-12-14 01:00:11 +01:00
Ovalord
175e469cb4 Core/Spells: Fixed shapeshift location check 2017-12-13 22:51:32 +01:00
Aokromes
3ba5756c1c Core/Skills: implement Archaeology 2017-11-26 07:32:16 +00:00
Aokromes
91affef0c6 Misc: Kill trailing white spaces 2017-11-25 01:36:21 +01:00
Ovalord
c868e10d9b Core/Skills: implement Archaeology 2017-11-09 03:58:28 +01:00
Ovalord
34b3617184 Core/Spells: merged commits 86275a397a ae070a1b64 and
be7486fddb
2017-10-17 01:06:15 +02:00
Keader
417b300afc Core/Spells: Fixed issues with School Immune vs SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE (#20546) 2017-10-08 12:49:30 +02:00
Aokromes
2b068721e1 Revert Core/Spell: Magic Absorption Calculation
This reverts commit 28a7ce2007
2017-08-20 09:09:32 +02:00