Commit Graph
373 Commits
Author SHA1 Message Date
Ovahlord a51d331e9a Core/Spells: do not save Priest's T11 Chakra Flow bonus to database to fix an exploit that was causing it to permanently last on the player 2020-09-13 22:24:02 +02:00
Keader 2159703022 Core/Spells: Implemented PROC_ATTR_CANT_PROC_FROM_ITEM_CAST 2020-09-08 20:58:11 +02:00
Shauren fb11c148c8 Core/Spells: Removed PROC_ATTR_DISABLE_EFF_* attributes and store that in a separate column 2020-09-08 20:56:11 +02:00
Warpten 2b2fc5fb8a Core/Spells: remove PrepareSpellScript and PrepareAuraScript macros and make Hooklist use emplace behaivior (#174) 2020-08-28 15:40:26 +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 2a8fe49a73 Core/Packets: changed amount storage for aura update packets from vector to array to improve performance 2020-07-16 17:42:08 +02:00
Ovahlord 961144d82d Core/Packets: converted SMSG_AURA_UPDATE and SMSG_AURA_UPDATE_ALL to packet class 2020-07-16 17:28:49 +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 b770d2e4d0 Core/Spells: renamed Amplitude and ValueMultiplier to match DBC field names 2020-04-16 14:40:30 +02:00
Ovahlord fc12e97cfe Core/Spells: implement SPELL_EFFECT_APPLY_AURA_2 and TARGET_DEST_CASTER_FLOOR 2020-03-14 21:14:07 +01:00
jackpoz 183789053e Core/Misc: Fix GCC 8 warnings 2020-01-31 21:19:25 +01:00
funjoker 590ad14856 Core/Spells: Allow skipping automatic removal of auras from spell_area when condition is no longer met (mostly used for cosmetic cutscenes after quest completion) 2020-01-11 03:38:28 +01:00
jackpoz 131986d1c2 Core/Misc: Replace time(nullptr) with GameTime::GetGameTime() 2020-01-11 03:30:41 +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 abb62cc76f Core/Spells: reverted proc behaivior for pets and fixed applying spell mods for hunter pets and minions 2019-12-09 16:10:54 +01:00
Ovahlord 7ec720ef22 Core/Spells: spells of controlled units will now trigger their owner's proc auras as well and benefit from their proc chance modifiers 2019-12-08 23:05:41 +01:00
Ovahlord 3ec0f92fc7 Core/Spells: fixed sending reduced cooldowns of cooldown modded spells 2019-09-25 21:23:22 +02:00
Ovahlord c074c3a9c6 Revert "Core/Misc: Replace time(NULL) with GameTime::GetGameTime()"
This reverts commit 5fe3a1f7f9.
2019-07-08 15:56:29 +02:00
Ovahlord 5fe3a1f7f9 Core/Misc: Replace time(NULL) with GameTime::GetGameTime()
(ported commit: 12701cb0c6c45eb105ad449eb9a56e76d84d691e)
2019-07-08 12:19:19 +02:00
Wyrserth 2848c4f536 Core/Spell: do not allow auras from dynamic objects to stack if they come from the same spell cast by the same caster. 2019-07-08 09:35:24 +02:00
Wyrserth 2c5dc57d22 Core/Spell: don't send duration for auras caused by dynobjects. 2019-07-08 09:34:53 +02:00
Ovahlord 1323ae116c Core/Vehicles: fixed a crash caused when changing vehicle seats via spell
*cleaned up some code for aura target limits
2019-05-27 14:56:46 +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 a11513051b Scripts/Gilneas:
* the horses involved in Sacrifices and Save Krennan Aranas will now make their attackers go into evade mode when reaching their end
* corrected transition from chapter 1 to chapter 2 by using spell_area in duskhaven to handle the corresponding summon properly and also to make sure that players who have disconnected during the intro will also be able to get back into the intro event
2018-11-23 09:14:48 +01:00
Ovahlord 6816cc1653 Core/Spells: do not save triggered Chakra auras 2018-07-10 00:47:46 +02:00
Ovahlord d9b31003e3 Core/Spells: implement ResetProcCooldown helper 2018-07-08 17:42:59 +02:00
Ovahlord e7620785e2 Core/Spells: do not save Sunfire's override aura 2018-07-08 01:07:27 +02:00
Ovahlord ecf95b1a28 Core/Spells:
* fixed Swiftment heal calculation
* dropped Nature's Grace spellscript and use a proper spell_proc entry instead
* fixed Efflorescence talent
* fixed Nature's Bounty talent
2018-06-24 16:37:16 +02:00
Ovahlord ebb779653e Core/Spells: merged an aura crashfix that was needed to prevent asserts when trying to cast spells while on a vehicle 2018-05-28 11:39:35 +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 395ad03cd4 Adding atrribute custom SPELL_ATTR0_CU_LIQUID_AURA 2018-04-06 07:52:42 +02:00
Aokromes 4da3cbf3aa improved fix 2018-04-06 07:49:59 +02:00
Gooyeth ffc5e87f3d tab2space 2018-04-06 07:47:40 +02:00
Aokromes 53690d1f7f Core/Spells: don't save Magma aura. 2018-04-06 07:47:30 +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 f6d3b214c2 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/Spells/SpellMgr.cpp
2018-03-06 13:03:29 +01:00
ariel- 0321955726 Core/Auras: added sanity checks for area auras having a different owner unit than caster
Closes #21517
2018-03-05 14:19:22 +01:00
Ovalord d89bc43f28 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2018-02-26 02:14:11 +01:00
ariel- 30e0c87ff9 Core/Auras: restrict target map update only to area auras as player requires to have auras registered on load
Closes #21472
2018-02-24 13:13:47 +01:00
Ovalord c9b5bf9534 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2018-02-18 20:55:31 +01:00
ariel- a858e9937e Core/Auras: remove obsolete check that was preventing some auras to proc even if they met conditions otherwise 2018-02-17 16:00:29 +01:00
ariel- 25675405b2 Core/Auras: skip target map update for one world tick if owner is not yet in world
Closes #21426
2018-02-16 03:44:43 +01:00
Ovalord 0d3daf1120 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2018-02-08 22:28:13 +01:00
Ovalord 315ccb4f9f Core/Spells: fixed mage Flame Orb summon and Frostfire orb summon
*todo: the core has a bug that prevents the orb from slowing down
*frostfire orb handling
2018-01-26 01:00:18 +01:00
ariel- fd92fa7451 Core/Auras: fixed EquippedItemClass check
follow-up to 29c3b7d8f60c18e52ec22fec6de9abc3dc468166
2018-01-21 12:57:07 +01:00
ariel- f2a3a356be Core/Auras: define and implement attribute SPELL_ATTR3_IGNORE_PROC_SUBCLASS_MASK
Closes #20148
2018-01-21 12:56:05 +01:00
Aokromes 90033ee748 Core/Spells: Defined and implemented some new spell attributes 2018-01-14 06:53:36 +01:00