Shauren
31ef525ecd
Core/Misc: Add container utility function Trinity::Containers::EnsureWritableVectorIndex to replace if (i >= vec.size()) vec.resize(i + 1) copypaste everywhere
2021-06-13 00:59:15 +02:00
ariel-
fccf1a8c62
Core/Auras: removed caster dependency from core
...
- Decoupled Unit logic: split of spell critical chance into done (caster bonuses) and taken (target bonuses), this allows to precalculate caster bonuses on aura apply and then check victim's auras on damage/healing calc
- Made static a bunch of methods (they no longer have this pointer because they are now called from periodic handlers which may or may not have an active caster in world)
- Simplified all AuraEffect bonuses into AuraEffect::_amount, no more duplicated code
- Critical chance and whether or not caster is player owned unit (for resilience calcs) is now saved one level upper, on Aura itself (it's impossible as of 3.3.5 to have different effects with different critical chances)
- Minor cleanup of SPELL_DAMAGE_CLASS_NONE and Arcane Potency (#18813 ) crit handling
Closes #19876
(cherry picked from commit cb9e72e521 )
2021-06-13 00:59:13 +02:00
Shauren
fa4e2d3935
Core/Quests: Fixed quests that should have objectives immediately marked as complete
...
Closes #26566
2021-06-08 00:02:58 +02:00
Shauren
d0be92ec0a
Core/Achievements: Defined all modifier tree types and implemented many of them
2021-06-07 15:37:34 +02:00
Matan Shukry
626c8f5de1
Core/Player: Add helper function to determine if war mode can be enabled in area
2021-06-06 21:06:21 +02:00
Shauren
5134622a75
Core/DataStores: Load QuestLineXQuest.db2
2021-06-06 20:57:09 +02:00
Shauren
2f8e411ac7
Core/Reputation: Corrected sorting of friendship rep reactions
2021-06-06 19:22:47 +02:00
Shauren
8d5356cdea
Core/DataStores: Load PvpTier.db2
2021-06-06 19:06:08 +02:00
Shauren
b607bb0a93
Core/DataStores: Load ItemModifiedAppearanceExtra.db2
2021-06-06 17:56:11 +02:00
Shauren
c2751f9195
Core/Players: Add PlayerExtraFlags for tracking race change, level boost, and raf level grant usage
2021-06-06 14:19:28 +02:00
Shauren
b01fba4bd9
Core/Reputation: Implemented paragon reputation
2021-06-06 00:11:06 +02:00
Shauren
f6b919fafe
Core/Reputation: Named all reputation flags
2021-06-05 23:00:06 +02:00
Shauren
2bfa576b30
Core/DataStores: Fixed SpellLabelEntry structure
2021-06-05 13:24:46 +02:00
Shauren
19990a966b
Core/PacketIO: Named PVPInfo/bracket fields
2021-06-05 13:16:54 +02:00
Shauren
d1ef8f28b0
Core/Achievements: Implemented CRITERIA_TYPE_UPGRADE_GARRISON_BUILDING
2021-06-05 01:06:02 +02:00
Shauren
dd9913d7e3
Core/Players: Name unknown player flags and rename MENTOR to TIMEWALKING
2021-06-04 22:20:15 +02:00
Shauren
8aaf750be1
Core/Conditions: Implemented missing PlayerCondition columns - time and weather
2021-06-04 21:47:43 +02:00
Shauren
9542d221cb
Core/Units: Add std::function overloads to GetAura/GetAuraApplication
2021-06-04 21:20:55 +02:00
Shauren
e1f3f1254c
Core/Spells: Load spell label data for future use
2021-06-04 21:18:29 +02:00
Shauren
a0796179b3
Nopch build fix
2021-06-04 19:59:49 +02:00
Shauren
80a6347b7a
Core/Reputation: Implemented "friendship reputation"
2021-06-04 19:27:26 +02:00
Shauren
ad683a356a
Core/DataStores: Load Achievement_Category.db2
2021-06-03 21:42:12 +02:00
Shauren
239cf1b005
Core/Criteria: Refactor CriteriaTreeOperator as enum class
2021-06-01 22:17:49 +02:00
Shauren
5543908e52
Core/Criteria: Add all values of CriteriaTreeFlags
2021-06-01 22:13:07 +02:00
Shauren
2629015011
Core/Criteria: Add all values of CriteriaFlags
2021-06-01 21:29:00 +02:00
Shauren
0b2087ae41
Core/Criteria: Add all values of CriteriaStartEvent
2021-06-01 21:16:41 +02:00
Shauren
4b6ddfbbcc
Core/Criteria: Add all values of CriteriaFailEvent
2021-06-01 21:04:22 +02:00
KoNicks
cfd4f18885
Core/Misc: Fix build when using libstdc++-11 ( #26565 )
2021-05-30 20:00:34 +02:00
Shauren
b29cc8f31a
Fix build
2021-05-29 22:04:49 +02:00
Kittnz
299746f9f6
Scripts/Outland: Implement Hellfire event in Honor Hold ( #21110 )
...
* Script/Outland: Implement Hellfire event in Honor Hold
This is hourly, event is only 60 seconds long.
(cherry picked from commit acc73d4693 )
2021-05-29 21:27:11 +02:00
ariel-
63f9b52ea1
Core/Misc: kill whitespace
...
(cherry picked from commit f50a333418 )
2021-05-29 21:27:11 +02:00
lachtanek
5e774fc7f1
Core/Pools: Fixed spawning in pools with both explicitly and equally chanced entries ( #21170 )
...
(cherry picked from commit c50aefac96 )
2021-05-29 21:27:11 +02:00
Shauren
6ecfe58cae
Core/Maps & Extractors: Move copypasted map file headers into a single shared file and replace #defines with enums
2021-05-29 21:21:37 +02:00
Shauren
2de6e56d29
Core/Misc: Rename MapDefines.h to MMapDefines.h as it contains mmap defines exclusively
2021-05-29 14:48:18 +02:00
sueastward
28c075765b
Scripts/Spells: Implement mage Alter Time
2021-05-27 12:56:10 +02:00
Shauren
480039f913
Core/Logging: Add functions that allow creating loggers and appenders from other sources than config files
2021-05-27 11:47:51 +02:00
Shauren
3c08eb190f
Core/Misc: Add another boost hack. Fixes bnetserver/worldserver -c command line parameter when path contains spaces
2021-05-24 00:08:03 +02:00
Shauren
ce37c24481
Core/PacketIO: Properly send inventory error when attempting to withdraw guild bank item into "any slot" when bags are full
2021-05-23 01:39:08 +02:00
Luzifix
7f7ccfd6cd
Core/PacketIO: Implement new guild bank item swap opcodes
2021-05-23 01:39:08 +02:00
Luzifix
07ee254b7d
Core/PacketIO: Delete old guild bank swap item structures and handler
2021-05-23 01:39:08 +02:00
Shauren
de59dea83f
Core/Misc: Initialize local variable
2021-05-23 01:39:08 +02:00
Shauren
9d4ccbda34
Core/PacketIO: Add new guild bank interaction opcodes
2021-05-23 01:39:08 +02:00
Shauren
daa09f3346
Core/PacketIO: Fixed swapped values for bank interaction opcodes
2021-05-22 23:35:46 +02:00
MistiX
c22f27a767
Core/PlayerChoice: Fixed loading player_choice_response from db ( #26541 )
2021-05-22 15:13:50 +02:00
Shauren
622cec8a8f
Core/Vmaps: Fixed crash in unloading vmaps
...
Closes #26536
2021-05-21 12:31:21 +02:00
Shauren
3df64ceff4
Core/Items: Fixed crash happening when deleting item before it was saved for the first time
...
Closes #26532
2021-05-18 14:41:06 +02:00
Treeston
ac8ff49274
Core/Unit: Abide UNIT_FLAG2_DISABLE_TURN on creatures. Add that flag to Kologarn (from sniff). Hi sirikfoll.
...
(cherry picked from commit d9c772303c )
2021-05-17 00:36:06 +02:00
Treeston
563188fe4b
3dcd49e v2, slightly cheaper
...
(cherry picked from commit b53cbf467b )
2021-05-17 00:06:52 +02:00
Treeston
7cd61b581c
Core/Threat: fix a potential super edge case iterator invalidation
...
(cherry picked from commit 3dcd49ef90 )
2021-05-17 00:05:47 +02:00
Treeston
4a65dcaecb
Scripts/World: New target dummy AI, because I don't trust the existing one in light of #21187 .
...
(cherry picked from commit a23c97a0fc )
2021-05-17 00:02:27 +02:00