ariel-
bebc20b4de
Core/Spell: implement SPELL_FAILED_AURA_BOUNCED on DR spells
...
Closes #13695
(cherry picked from commit 5e2c5a52cd )
2021-04-15 05:53:27 +02:00
Shauren
9619f7c283
Core/Spells: Fixed spell channel object selection
...
Closes #21227
2021-04-14 00:01:35 +02:00
Robingad
f8255b1541
Core/Script: Implement CalcCritChance hooks for spell and aura scripts ( #26116 )
...
(cherry picked from commit AshamaneProject/AshamaneCore@4e0a3f4343 )
2021-03-25 21:28:22 +01:00
Shauren
07a47947e2
Core/Spells: Defined and implemented new spell interrupt flags
2021-03-24 23:36:53 +01:00
Shauren
29169181cd
Core/Spells: Defined more spell attributes
2021-03-21 17:51:23 +01:00
Shauren
9b5a46ca2b
Core/Auras: Defined and implemented many new interrupt flags
2021-03-21 12:05:32 +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
Shauren
16135b5096
Core/Spells: Changed channel triggered spells to inherit positive/negative status from main spells
...
Closes #18259
Closes #21041
(cherry picked from commit 6122006b0c )
2021-03-15 20:17:31 +01:00
Shauren
efdca47aff
Core/Auras: Remove m_effIndex member of AuraEffect and always take it from SpellEffectInfo
2021-03-11 10:32:03 +01:00
Shauren
0960308cfc
Core/Spells: Add Spell::HasPowerTypeCost to check which power types a spell uses
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
624881bef5
Core/Spells: Refactor Player::ApplySpellMod to take SpellInfo argument instead of just spell id
2021-03-02 21:32:48 +01:00
Ovah
b77c9d7a8c
Core/Spells: Gathering no longer fails after patch 3.1.0 ( #21039 )
...
* Core/Skills: gathering items with orange skill level will no longer fail as it has been removed with patch 3.1.0
Closes #21038
(cherry picked from commit 51bcd1a918 )
2021-02-25 18:50:55 +01:00
Matan Shukry
23aa13257a
Core/Spells: Fixed spells using SPELL_EFFECT_POWER_BURN not working when combined with other effect types that hit other units and power burn hits caster ( #26097 )
2021-02-23 00:16:02 +01:00
Shauren
51a9d2a9c2
Core/Auras: Implemented new spell modifier type to change aura stack size on apply
2021-02-21 18:36:18 +01:00
Shauren
dd31b36291
Core/Spells: Fix typo (fixes casting all spells)
2021-02-21 18:07:42 +01:00
Shauren
ac1ef5efbe
Core/Auras: Implemented SPELL_AURA_DISABLE_ATTACKING_EXCEPT_ABILITIES
2021-02-21 16:10:48 +01:00
Shauren
1b8ef46808
Core/Auras: Reimplement SPELL_AURA_DISABLE_CASTING_EXCEPT_ABILITIES to properly allow casting listed spells
2021-02-21 16:10:22 +01:00
Shauren
bd7c714c97
Core/Auras: Rename many old aura types to their new meaning
2021-02-21 15:16:55 +01:00
Matan Shukry
0cae71eac5
Core/Spells: Adding SpellTargetObjectTypes to spell target checker to early-eliminate alive units ( #26028 )
...
* Added object type into checker that is used by grid search to early eliminate alive units when looking for corpses
* Removed script 'spell_hun_pet_carrion_feeder'. Ability doesn't exist anymore
2021-02-05 21:29:00 +01:00
Shauren
d697882dfb
Core/Auras: Renamed a bunch of unknown or changed spell aura types and implemented some of them
2021-02-03 19:25:30 +01:00
Shauren
b2ddf547ff
Core/Spells: Defined new spell attributes
2021-01-15 14:21:02 +01:00
Chaouki Dhib
540678be06
Core/Spells: Core/Spells: Improve teleport destination for a certain class of spells (Killing Spree, Shadowstep, ...) ( #20434 )
...
Close # 8758
(cherry picked from commit 9dbef4b6bb )
2020-12-31 23:23:50 +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
7f6eef37e6
Core/Spells: Use new spell visual structure instead of just SpellXSpellVisualID
2020-12-08 18:16:46 +01:00
Shauren
cab4c87d2d
Core/PacketIO: Updated most packet structures to 9.0.1
2020-12-08 18:16:41 +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
Gustavo
6135ee20a9
Core/Scripts: Rewrite Boss Kalecgos (Sunwell Plateau) ( #19897 )
...
* Core/Scripts: Rewrite Boss Kalecgos (Sunwell Plateau)
Scripted all spells
Corrected behavior of Spectral Blast and Curse of Boundless Agony
Removed wrong wipe behavior
Fix problem where bosses would be stuck with banish
Added Boundaries
Corrected texts
Removed old hacks
Other minor fixes
(cherry picked from commit e9cd7af2df )
2020-08-22 21:13:01 +02:00
treeston
bacc5ef94e
Creatures now release spell focus on projectile launch (for spells that have a projectile portion) as opposed to projectile impact.
...
This should make some very slow projectiles (f.ex. Professor Putricide's Malleable Goo) a lot smoother.
(cherry picked from commit 5d3c69bf44 )
2020-08-18 18:53:13 +02:00
Ovah
71db17220a
Core/Spells: enable and implement SMSG_MISSILE_CANCEL ( #25215 )
2020-08-16 12:07:51 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Treeston
8be23fcbbd
[3.3.5] Combat/Threat rewrite - prep & refactor ( #19966 )
...
* Combat/Threat rewrite (PR #19930 ) prep work. Mostly refactors, and a compatibility layer on ThreatManager/HostileReference that allows scripts to be changed already.
(cherry picked from commit e2a1ccd118 )
2020-08-13 22:46:44 +02:00
treeston
5392212799
So, I came in trying to fix gameobject LoS. So I restructured some stuff.
...
Then it turned out that gameobject LoS is already fixed. So all this does, really, is restructure some stuff.
And remove the hack from Sapphiron because I could.
(cherry picked from commit d57307f63d )
2020-07-16 22:00:28 +02:00
Treeston
51ce3b1c1d
[3.3.5] Get zone/area IDs from vmap data in the liquid update ( #19840 )
...
* Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
* Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject
* Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields
* Clean up liquid state handling on Unit and Player
* Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject.
Closes #16489
(cherry picked from commit f6c849729b )
2020-07-16 22:00:24 +02:00
Treeston
f7a7d02a7f
Pet/Guardian AI hook re-organizing ( #19824 )
...
* Pet/Guardian AI hook re-organizing:
- Adjust OwnerAttacked/OwnerAttackedBy hooks on CreatureAI to fire for all owned units, not just player pets. This should allow guardians to more reliably recognize valid targets.
- Kill off the AttackedBy hook. While it was defined in CreatureAI.h as virtual, it was only ever invoked for player pets in specific situations. This makes it classic developer bait.
- Adjust PetAI to use DamageTaken instead of AttackedBy.
- Adjust behavior of AttackStart on PetAI to compensate.
(cherry picked from commit 1660bb7d27 )
2020-07-16 21:47:28 +02:00
treeston
323e3b9cde
Re-check target evade state on projectile impact and adjust accordingly. This fixes the incorrect message ("Absorb" instead of "Evade"), and also removes the root cause of the original evade follow bug (that was prevented in 1945874).
...
(cherry picked from commit b983ec11bd )
2020-07-16 21:47:27 +02:00
Peter Keresztes Schmidt
bab5fd87a3
Core/Misc: Replace Trinity::make_unique with std ( #24869 )
2020-06-23 08:54:12 +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
ariel-
b1f1cc4514
Core/Spell: in case of immunity, check all effects to choose correct procFlags, as none has technically hit
...
(cherry picked from commit 63e502a67d )
2020-06-14 23:49:04 +02:00
treeston
250aef5186
Quickfix a bug introduced by 2f19d97 which prevented GTAoE from being cast.
...
(cherry picked from commit 1c528c30f8 )
2020-06-14 23:49:04 +02:00
ariel-
25f47e4680
Core/Spell: abort channeling if no valid targets are found after searching
...
Closes #17624
(cherry picked from commit 2f19d97d21 )
2020-06-14 23:49:03 +02:00
Chaouki Dhib
a7e0bd06b3
Core/Spells: Change the radius of PBAoEs following the feedback received on ( #16290 )
...
(cherry picked from commit 2ff76e828f )
2020-06-14 22:51:44 +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
63fba47511
Core/Items: Implemented new bonus type (extra ItemEffect)
2020-06-05 00:27:40 +02:00
Shauren
4d69cc1c56
Core/Misc: GCC build and warning fixes
2020-05-21 22:15:58 +02:00
Shauren
4acae3992b
Core/Players: Only restore spells learned as quest rewards if they have the right AcquireMethod in SkillLineAbility.db2
...
Closes #24645
2020-05-19 00:04:23 +02:00
Shauren
7a68001452
Core/Spells: Revert b711f0bcae, not valid since cata
2020-05-19 00:02:46 +02:00
DuelistRag3
dfdabdb97b
Core/Spells: Fixed initializing spell power costs ( #24579 )
...
Closes #24315
2020-05-07 00:06:33 +02:00
ccrs
8c12f36915
Core/Spell: move creature focus
...
bellow the possible interruptions
(cherry picked from commit df96e053a5 )
2020-04-28 14:59:05 +02:00
ariel-
52ab270768
Core/Spell: don't make creature change orientation to 0 if channeling self
...
(cherry picked from commit 1f4439ece4 )
2020-04-28 12:35:22 +02:00