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
ariel-
e3eca0c264
Core/Spell: fix creature focus with channeled spells
...
- Remove one not needed ReleaseFocus, this is done at finish already
(cherry picked from commit 88c12b45d0 )
2020-04-27 15:34:38 +02:00
ariel-
71c2fda113
Core/Spell: register spell mod owner properly on spell cast
...
- This fixes pets and totems getting mods from owner
(cherry picked from commit 8b52cf902b )
2020-04-27 14:51:36 +02:00
ariel-
f31e380499
Core/Spell: check aura positivity per effect on spell hit
...
- Fixes applying DR to positive effects, and changing duration of whole aura
Closes #19447
(cherry picked from commit 232e631390 )
2020-04-27 12:25:52 +02:00
Ovah
fb0d2ed2b9
Core/Spells: implement SMSG_MOUNT_RESULT and use it for transformed mounting cases ( #24404 )
2020-04-24 19:00:19 +02:00
Chaouki Dhib
5d076cfe29
Core/Spells: fix wrong distance calculations in AoE spells [Needs testing] ( #16290 )
...
Core/Spells: Fix wrong distance calculations in AoE spells.
Pull request #16290 by chaodhib.
God bless, finally.
(cherry picked from commit a1f2f30c14 )
2020-04-24 17:18:49 +02:00
Shauren
7ef9acd765
Warning fix
2020-04-19 11:59:37 +02:00
Shauren
b702401978
Core/Items: Check required level to use items including any bonuses that modify it
2020-04-19 01:18:17 +02:00
Shauren
3b6e5a87d8
Core/Spells: Fixed Spell::CheckCast for targeting items trade with lockpicking
2020-04-11 11:51:12 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
d934824421
Core/Items: Implement azerite empowered items
2019-12-05 00:12:35 +01:00
Shauren
1238583312
Core/Spells: Fixed value of aura effects for stat mod auras applied by items
2019-11-30 12:11:29 +01:00