Shauren
e1f3f1254c
Core/Spells: Load spell label data for future use
2021-06-04 21:18:29 +02:00
Treeston
34c7810fe5
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 .
(cherry picked from commit 532ab1c7f8653d1a2e48aa1f1f8a9ba1041d4bb7)
2021-05-16 21:56:01 +02:00
Shauren
a9fa007f83
Core/Auras: FIxed paladin aura stacking
...
Closes #26125
2021-04-12 12:24:52 +02:00
Shauren
34a8baba85
Core/DataStores: Updated db2 structures to 9.0.5
2021-04-09 23:48:59 +02:00
Shauren
3f47939969
Core/Auras: Corrected logic used to determine if a spellmod should affect another spell, empty family name or class mask should not apply to any spell
2021-03-27 00:25:50 +01:00
Shauren
07a47947e2
Core/Spells: Defined and implemented new spell interrupt flags
2021-03-24 23:36:53 +01:00
Shauren
9b5a46ca2b
Core/Auras: Defined and implemented many new interrupt flags
2021-03-21 12:05:32 +01:00
Shauren
6db27c58b9
Core/Spells: Updated spell shapeshift form flags enum
2021-03-19 23:48:33 +01:00
Shauren
69e0b9a985
Core/Auras: Update AuraState enum and implement missing new ones
2021-03-16 20:48:42 +01:00
Shauren
6585666e6e
Core/Spells: Define all spell modifier types and implement ProcCooldown mod and PeriodicHealingAndDamage for melee periodic damage
2021-03-15 21:03:06 +01:00
ariel-
794a3e4388
Core/Auras: fixed off by one error in counting SPELL_ATTR5_START_PERIODIC_AT_APPLY ticks
...
- Made SpellInfo::GetMaxTicks and AuraEffect::GetTotalTicks return the same number without mods (dumped arbitrary default return value of 6 and arbitrary 30 sec limit)
- They should be streamlined whenever SPELL_AURA_48 is implemented
(cherry picked from commit 7dff0e3246f68c39e122e6ccb93b18c29f6df130)
2021-03-15 20:17:31 +01:00
Shauren
2bd70b41eb
Core/Spells: Restore serverside spells fuinctionality
2021-03-12 21:59:10 +01:00
Shauren
ea63cd882c
Core/Spells: Moved power cost RequiredAuraSpellID condition checking to make sure all overloads of SpellInfo::CalcPowerCost take it into account
2021-03-04 22:46:44 +01:00
Shauren
a05fc3ded5
Core/Spells: Updated spell effect type definitions to match latest client version
2021-03-04 20:30:50 +01:00
Shauren
0e3666bfbc
Core/Spells: Fixed calculation spell optional power cost when any modifiers are applied
2021-03-02 23:14:50 +01:00
Shauren
624881bef5
Core/Spells: Refactor Player::ApplySpellMod to take SpellInfo argument instead of just spell id
2021-03-02 21:32:48 +01:00
Shauren
ad479e8fa0
Core/Spells: Implemented spell effect 202 SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS
2021-02-28 22:08:58 +01:00
Shauren
01a3be276f
Core/Spells: Prevent spell power costs from changing their sign (positive cost cannot become negative)
2021-02-21 23:19:18 +01:00
Matan Shukry
a76c08843f
Core/Auras: implement mana cost modification aura ( #26085 )
2021-02-21 23:08:51 +01:00
Shauren
331b9ccd6a
Core/Entities: Regenerated updatefields code with latest generator fixes
2021-02-15 00:19:35 +01:00
Matan Shukry
b4bdc4eea6
Core/Players: - Fixed auto learning class abilities that are rewarded from quests if starting Exile's Reach in case player chose not to start there ( #26036 )
2021-02-09 23:06:45 +01:00
Matan Shukry
b832ed2479
Core/Auras: Implement spell effect attribute NoScaleWithStack (0x40) ( #26029 )
2021-02-05 19:05:06 +01:00
Matan Shukry
e601c6d1f9
Core/Spells: Implemented summoning a personal gameobject effect ( #25917 )
2021-01-23 16:44:47 +01:00
Matan Shukry
e08910deaf
Core/Spells: IsAllowingDeadTargets now checks effects targets as well ( #25914 )
2021-01-22 21:24:07 +01:00
Keader
2cb3d9514d
Typo
...
(cherry picked from commit 04271388f8ba5160de0411451673a67a6828ae8a)
2021-01-21 22:30:40 +01:00
Keader
8a6fdb7a21
Scripts/BlackTemple: Updates on Illidan encounter
...
- Fixed issues related with Parasitic Shadowfiend
- Updated script to new model
- Fixed loop of Parasitic Shadowfiend Summon
- Added a new spell (SPELL_REMOVE_PARASITIC_SHADOWFIEND)
- Fixed illidari elite attacking players
- SPELL_PARASITIC_SHADOWFIEND now is a negative aura
(cherry picked from commit 90f07bd948546595a04d7633eaa95a463f0ce6f9)
2021-01-21 22:30:40 +01:00
Keader
22d5a2a2eb
Core/Spells: Spells with Attribute SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY should dispel snare auras. ( #20621 )
...
(cherry picked from commit b507acf1c04ff6e9d0a075f9663e9549d5b238b4)
2021-01-08 21:12:11 +01:00
Keader
5a82598f03
Core/Spells: Fixed issues with School Immune vs SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE ( #20546 )
...
(cherry picked from commit 98c363154ad6906fb9cfaeb2ac13b77c8540c73d)
2020-12-31 23:23:50 +01:00
Ghaster
2a10668395
Core/Spells: Fixed fallback values for EquippedItemSubClassMask and EquippedItemInventoryTypeMask ( #25521 )
2020-12-23 00:13:59 +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
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
jackpoz
77e6355fba
Core/Misc: Fix static analysis issues
...
(cherry picked from commit 9cf4dd7345b7f05db834fd48a9f0a135f1884d70)
2020-08-19 00:14:06 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
ariel-
68131dbd92
Core/Spell: fix some spells that shouldn't allow stealth or invisibility
...
- Touch of Zanzil
- Glowing Blood
- Lambent Blood
- Vibrant Blood
- Black Blood
- Perpetual Instability
(cherry picked from commit b58a364192ee3e30fa8e58f1aca617780321000b)
2020-07-16 22:00:28 +02:00
Keader
f4ac8146b6
Core/Spells: Allows Dispersion under Freeze (stun by hunter trap)
...
(cherry picked from commit 672bc29df96e67c6588f1f1e75da52ce8b8cdc1d)
2020-07-16 21:47:27 +02:00
Keader
87c5ddeab6
Core/Spells: Allows Dispersion and Barkskin to be used under death coil
...
(cherry picked from commit abc749034eb71b8a7c499541c10c71987c558e4a)
2020-07-16 21:47:27 +02:00
Shauren
87fea85431
Core/Spells: Fixed crash in SpellInfo::GetAuraRankForLevel
2020-07-07 22:27:26 +02:00
Shauren
deca201f77
Core/DataStores: Simplified string memory allocation in db2 files, dropped unneccessary level of indirection
2020-06-27 13:33:17 +02:00
Shauren
176c75e8db
Core/Spells: Include more than first 2 spell effects when determining if a spell is negative
2020-06-26 00:23:46 +02:00
Shauren
c3dcbe04dc
Core/Spells: Assign spell effect handles for new apply aura effects
2020-06-22 11:04:57 +02:00
Shauren
fce9fca900
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
* TARGET_DEST_CASTER_GROUND
* TARGET_DEST_SUMMONER
* TARGET_DEST_TARGET_ALLY
Closes #18558
Closes #18867
Closes #24295
2020-06-21 15:59:43 +02:00
Chaouki Dhib
a7e0bd06b3
Core/Spells: Change the radius of PBAoEs following the feedback received on ( #16290 )
...
(cherry picked from commit 2ff76e828f7c757b5120aba41947a6d63e082e17)
2020-06-14 22:51:44 +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
Shauren
4d69cc1c56
Core/Misc: GCC build and warning fixes
2020-05-21 22:15:58 +02:00
ariel-
05ba662d5d
Core/Spell: implement pvp trinket immunity against Judgement of Justice
...
By Riztazz, closes #19484
(cherry picked from commit 25a449a90e01d7100d482c156fffa3ac2e7730d2)
2020-04-29 22:23:11 +02:00
ariel-
5e32e96278
Core/Spell: define channels without movement interrupt flags as allowed move
...
- Remove script hacks no longer needed
(cherry picked from commit 3a0cb90ea994e82dd8c70888fb847082f738d5dc)
2020-04-28 12:35:16 +02:00
ariel-
92719d1dc9
Revert "Core/Spell: don't set scaleAura for some special spells"
...
This reverts commit 1ca8434b365687dbd12ca232a615d126234eba5e.
Closes #19472
(cherry picked from commit c296d255e25a2d0eb7155f64eea32cc36fed280a)
2020-04-27 15:20:00 +02:00
ariel-
d80350da68
Core/Spell: don't set scaleAura for some special spells
...
Closes #14541
(cherry picked from commit 1ca8434b365687dbd12ca232a615d126234eba5e)
2020-04-27 12:25:52 +02:00