Shauren
bb67a42791
Core/Spells: Fixed spells that scale value with master not being affected by SpellModOp::Points and SpellModOp::PointsIndex spellmods
2025-03-21 00:07:16 +01:00
Shauren
97f58a59f1
Core/Auras: Make iteration over Aura::GetAuraEffects safe by automatically skipping nullptr elements
2025-01-09 13:23:48 +01:00
Meji
4913d027bf
Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION ( #29832 )
2024-03-27 21:38:08 +01:00
Teleqraph
bfbda8dcce
Core/Creatures: Refactor CreatureEliteType ( #29525 )
...
* Turn into enum class with official names
2023-12-28 19:11:54 +01:00
Shauren
98007f859b
Core/Misc: Turn ChrSpecialization into enum class
2023-08-07 00:05:36 +02:00
Meji
06d0b16f15
Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty ( #28931 )
2023-05-29 00:01:23 +02:00
Shauren
1325e0c4b2
Core/Units: Power handling improvements
...
* Don't include creature_template power multipliers in CreateMana updatefield
* Allow NPCs to have power types other than mana
* Add missing Essence config regeneration rate
* Fixed demon hunter powers not decaying immediately after combat
* Fixed some powers decaying immediately out of combat after energizing (for example holy power)
* Replace hardcoded list of powers to set to full on levelup with a db2 flag check
* Updated Creature::GetPowerIndex for 10.1 new power types
2023-05-09 23:16:30 +02:00
Shauren
ba9bbbc9d0
Core/Misc: Fixed deprecation warnings for c++20
2023-01-01 00:26:53 +01:00
Shauren
e98e1283ea
Core: Updated to 10.0.2
2022-12-04 15:13:20 +01:00
Aqua Deus
6e9a6700d8
Core/Auras: Implement SPELL_AURA_MOD_BONUS_ARMOR_PCT and rename HandleModStatBonusArmor ( #28226 )
2022-09-07 14:50:50 +02:00
ForesterDev
9124fd1f1f
Core/Items: implement some helper methods for easier readability ( #24113 )
...
(cherry picked from commit 573ddf4d22564d022e30807c5ba2c6eb1a2c8b2e)
2021-12-21 00:46:13 +01:00
ccrs
4e6c59dca7
Core/Unit: rename several getters to follow codestyle
...
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
(cherry picked from commit 5c09ff51f7015b775def8d5cc1f678eaef37200f)
2021-12-13 00:42:20 +01:00
ccrs
a8ec1ba9bc
Core/Unit: rename & cleanup GetCreatePowers
...
it hurted my eyes too much
(cherry picked from commit 954fd2639a5745c8f5165f329f64a143c6ffc5f7)
2021-11-21 19:28:17 +01:00
ariel-
a6e84ebfab
Core/Entities: completely remove 60% melee miss cap as there is no proof of its existence
...
- Auras modifying hit chance should have full effect now
Ref issue #21629
(cherry picked from commit a35d0a5f56c224ea081cdd5e16eb7bd181e70ab0)
2021-09-06 21:32:47 +02:00
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