Ovahlord
6dfa793567
Core/Spells: define and enable TARGET_UNIT_SRC_AREA_ENEMY_2
2020-11-25 10:07:36 +01:00
Keader
3b2ef0ec45
Scripts/BT: full instance rewrite
2020-11-05 17:42:33 +01:00
Ovahlord
25c980c390
Core/Units: ported spell crit chance updates from 335 branch
2020-08-28 11:46:07 +02:00
Treeston
942c3a77da
Core: Combat/threat system rewrite (PR #19930 )
...
- PvE combat is now always mutual. UNIT_FLAG_IN_COMBAT is backed by actual references to the units we're in combat with.
- PvP combat is now also tracked, and almost always mutual; spells like Vanish and Feign Death can break this rule. That means we can easily determine a list of players we're fighting.
- By extension, IsInCombatWith now has sensible behavior when invoked on nonplayers.
- Threat and combat systems are no longer the same.
- They still have an enforced relationship (threat implies combat - clearing combat clears threat)...
- ...but we can have combat without threat. A creature (with threat list) isn't considered to be engaged until it has an entry on its threat list...
- ...which means we can now faithfully replicate retail engage behavior. Combat on projectile launch - engagement start on projectile impact. Yay for progress!
- AI method refactor, as already ported in 6113b9d - `JustEngagedWith`, `JustEnteredCombat` and `JustExitedCombat`.
- Vehicle threat is now properly pooled on the main vehicle body (fixes #16542 ).
- Various edge case bug fixes for threat redirects (Misdirection "cancelling" Vigilance and similar).
- Target re-selection is now significantly faster.
- Fixed a ton of other smaller edge case bugs, probably.
Closes #7951 and #19998 .
2020-07-22 16:49:37 +02:00
Ovahlord
e1d74d4dc6
Core/Misc: added more fallthrough attributes and added some missing breaks reported by CI
2020-07-19 12:24:58 +02:00
Peter Keresztes Schmidt
a06e5d7d40
Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
2020-07-18 22:43:24 +02:00
Ovahlord
a8d850ef00
Core/Spells: SPELL_EFFECT_KILL_CREDIT2 will follow the same target selection rules such as SPELL_EFFECT_KILL_CREDIT
2020-07-12 02:23:13 +02:00
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