Shauren
8a4e1119ac
Core/Spells: Unify spell effect access api in both branches
2021-09-04 15:13:15 +02:00
Shauren
88f4d30445
Core/Units: Corrected values of UnitData::Resistances (should be total value)
2021-03-21 22:19:43 +01:00
Matan Shukry
b574be08ae
Core/Auras: Implemented aura to increase armor by percentage of primary stat
2021-03-21 22:19:43 +01:00
Shauren
d889b4b0e8
Core/Players: Added Player::GetPrimaryStat retrieving intended primary stat for current specialization
2021-03-21 20:00:22 +01:00
Shauren
bd7c714c97
Core/Auras: Rename many old aura types to their new meaning
2021-02-21 15:16:55 +01:00
Shauren
96d340f70c
Core/PacketIO: Updated packet structures to 9.0.2
2020-12-08 18:16:47 +01:00
Shauren
b82a3a557a
Core/DataStores: Updated db2 structures to 9.0.2
...
* Includes support for new character customization
2020-12-08 18:16:47 +01:00
Shauren
dd21e7ff40
Core/Spells: Implemented using base weapon damage in spell attack power formulas
2020-09-07 20:59:50 +02:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Shauren
6533de3100
Core/Items: Implemented corruption and corruption resistance stats
2020-06-13 00:30:32 +02:00
Shauren
c7306439e7
Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
2020-06-12 01:29:18 +02:00
ariel-
1960a95425
Core/Unit: cleanup and minor fixes of miss and resist calculations
...
- Removed Unit::GetUnitMeleeSkill as it was basically a copy of GetMaxSkillValueForLevel
- Removed static from GetEffectiveResistChance, as this was passed anyways, changed name to CalculateAverageResistReduction, which better reflects what it does
- Fix melee miss chances calculated from attacker maxskill instead of victim maxskill
- Do actual checks if spell can be resisted/missed in MagicSpellHitResult (ie chances > 0)
- Fixed SPELLMOD_RESIST_MISS_CHANCE calculation in MeleeSpellMissChance
- Minor codestyle and cleanup of diminishing returns calcs
(cherry picked from commit e565b34f6d24411e210151d0d03e524f94cdff85)
2020-04-27 12:25:52 +02:00
ariel-
ebc06b1d04
Core/Auras: reworked multiplicative AuraEffects calculation
...
- Splitted containers for flat modifiers and pct modifiers, as they now have different handling
- Amount is now multiplied only on apply; on unapply, iterate through auras and reset the counter
- Fixes many cases of rounding error due to applying/unapplying of small factors
- Allows amounts to be zeroed (ie with an AuraEffect of amount -100)
- Do a partial revert of 6dc37a9add631888fe5fbcd43d19c2b07bed8a57, auras should update amounts only for items allowed (ie no more giving crit to a sword while having an axe in the other hand and being Poleaxe spec'd)
- SPELL_AURA_MOD_SCALE now scales additively, rather than multiplicatively (checked in sniffs)
Closes #18687
(cherry picked from commit c69a7d1223b2ce108a221e5cc70f76cd80ae6675)
2020-04-24 17:18:47 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
d02f3ca7ca
Core/Items: Changed how azerite item bonuses are applied at login to avoid applying them twice
2019-12-03 00:40:04 +01:00
Shauren
5d73b7ac9e
Core/Auras: Update aura type to its new meaning
2019-12-02 00:09:26 +01:00
Shauren
455959c606
Core/PacketIO: Rewrite updatefield handling
2019-06-08 17:06:57 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
7512ffb058
Core/Entities: Update updatefields to 8.0.1.27980
2018-10-10 22:11:41 +02:00
funjoker
6a63748424
Core/Units: Implemented versatility ( #21206 )
...
* Base code taken from https://github.com/AshamaneProject/AshamaneCore
2018-04-28 22:58:25 +03:00
DoctorKraft
6e6482bbcc
Core/Auras: implement Aura 379 (SPELL_AURA_MOD_MANA_REGEN_PCT) ( #20851 )
2018-04-09 00:51:01 +03:00
ariel-
be4670250d
Core/Spell: added some helpers to SpellInfo to reduce code duplication
...
(cherry picked from commit 14c2b2d6cd2303609f1a1859e727ace7b8ea649c)
2018-03-18 00:19:46 +01:00
Shauren
007b5a68c5
Core/DataStores: Fixed db2 structures after 7.3.5
2018-03-12 23:11:49 +01:00
ariel-
f20e53c138
Core/Entities: Replace existing GetAuraEffectsByType + iteration uses with proper helper functions
...
(cherry picked from commit 3a52ad8d38eb33155d4218023149c78afded779e)
2018-03-12 16:39:39 +01:00
ariel-
b9389a5102
Core/Unit: unambiguosly define PLAYER_FIELD_MOD_DAMAGE_DONE_ fields as signed
...
- They were used both signed and unsignedly
- Bonus: some magic number removal with enums
(cherry picked from commit ed5aa4092979e9232f19f7fff93523cf0a0d4cec)
2018-03-12 16:39:34 +01:00
Mihapro
16a7a414ab
Core/Creatures: Updated power type handling ( #20981 )
...
Closes #17476
Closes #12487
2018-03-04 12:48:22 +01:00
joschiwald
78ba1d76dd
Core/Spells: Removed obsolete spell fixes
2018-01-03 18:10:47 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
331c70e695
Core/Players: Fixed DK runes and runic power
...
Closes #19595
2017-11-12 02:42:06 +01:00
Shauren
b453e12423
Core/Game: Include cleanup part 5
...
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Shauren
3a418a0bbc
Core/Common: Include cleanup
2017-05-11 22:29:51 +02:00
Shauren
2a8294031b
Core/Spells: Removed most uses of SpellIcon to identify spells
2017-04-02 23:29:26 +02:00
DoctorKraft
df56f33a79
Core/Unit: Update Parry/Dodge/Diminishing caps for Monk/DH ( #19354 )
2017-03-23 15:38:53 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
5411ca8cdf
Core/Units: Removed attack speed float to int conversion special case in building SMSG_UPDATE_OBJECT
2016-11-25 17:58:48 +01:00
Shauren
b9f7b500a3
Core/Auras: Rewritten conditionally applying SPELL_AURA_MOD_WEAPON_CRIT_PERCENT, SPELL_AURA_MOD_DAMAGE_DONE and SPELL_AURA_MOD_DAMAGE_PERCENT_DONE auras
...
* Now the entire aura is removed when changing equipment
* All aura types can now depend on equipped items
2016-11-20 00:44:49 +01:00
Shauren
39df5e9ead
Core/Stats: Updated handling crit chance - removed school specific crit chances
2016-11-06 00:14:50 +01:00
Shauren
ef29f32965
Core/Items: Defined all item flags
2016-09-09 10:22:57 +02:00
Shauren
df0d8eb9ba
Core/Items: Implemented new item flag ITEM_FLAG3_DUAL_WIELD_NOT_REQUIRED used by feral and bear artifacts
2016-08-18 16:52:33 +02:00
Shauren
4a6cf1b61d
Core/Stats: Fixed feral melee damage calculation
2016-08-16 00:09:24 +02:00
Shauren
cb4b6e8f3f
Build fixes
2016-07-19 20:47:24 +02:00
Shauren
bccdd93f50
Build fixes
2016-07-19 20:23:49 +02:00
Shauren
70137b8f3a
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion
2016-07-06 00:05:13 +02:00
Shauren
420b9045e4
Core/Auras: Fixed SPELL_AURA_OVERRIDE_ATTACK_POWER_BY_SP_PCT to affect ranged attack power as well
2016-06-24 16:00:39 +02:00
P-Kito
11ed9b0b63
Game/Unit: Update shapeshift forms enum to match SpellShapeshiftForm.dbc ( #17407 )
2016-06-17 21:26:51 +02:00
Shauren
d2733eb6f1
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion
2016-06-13 21:00:25 +02:00
Shauren
f14c66b5e4
Core/Players: Updated talent specializations
2016-06-09 21:33:18 +02:00
Shauren
8396dabdad
Core/Misc: Fixed coverity issues
...
Uninitialized fields: CID 1354593, 1354595, 1354738
Unchecked return value: CID 1354558
Out of bounds access: CID 1352989, 1352993
Null pointer dereference: CID 1296286
2016-06-06 09:16:59 +02:00
Shauren
df6d557a4d
Core/Entities: Updated updatefields to 7.0.3.21414
2016-05-20 23:50:20 +02:00
Shauren
70102f32fe
Core/DataStores: Updated opcodes and db2 to 7.0.3.21414
2016-05-20 23:49:53 +02:00