hondacrx
33f3e9d68f
Core/Spells: Implemented SPELL_ATTR8_CAN_HIT_AOE_UNTARGETABLE
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/877ae5b47d56a754b56f1326990f5ae41aa989c9 )
2024-02-21 21:05:21 -05:00
hondacrx
71e03da934
Core/Auras: Allow SPELL_AURA_MECHANIC_IMMUNITY_MASK to apply aoe/chain targeting immunity
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed0b621d1569a14174a9802027b68dbe4329da69 )
2024-02-21 18:00:19 -05:00
hondacrx
5c6027d97f
Core/Spells: Fixed duplicate SMSG_SPELL_EXECUTE_LOG being sent if there are effects handled on spell launch (such as summoning)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e88a88476cc5e22adecda14a3eeacbcfe4eeb197 )
2024-02-21 17:48:07 -05:00
hondacrx
1806eb52a3
Core/Spells: Allow spells with SPELL_DAMAGE_CLASS_NONE to crit
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4064d38c83bc26efa20a248426a9b8cfea6793f )
2024-02-21 17:41:12 -05:00
hondacrx
47a64b8782
Misc cleanups
2024-02-21 00:06:06 -05:00
hondacrx
6abce678ca
Misc fixes
2024-02-06 22:12:17 -05:00
hondacrx
b5a5841c73
Core/Spells: Moved hardcoded immunity data for SPELL_AURA_MECHANIC_IMMUNITY_MASK to database
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6785094fce1bc0d8537cddef73088d30521883a )
2024-02-06 17:23:44 -05:00
hondacrx
7c812ae904
Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f70a5817e1c07891185d716611d45f50b1c73b78 )
2024-02-06 17:21:07 -05:00
hondacrx
aac60cf9a8
Core/Units: moved health and power ordering predicates from Unit header into CommonPredicates
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2f6ed2c203b16a1d1e85f61a8b8e2cf3d1a4e784 )
2024-02-06 10:01:30 -05:00
hondacrx
33cb5faf28
Core/Spells: Kill incorrect attribute implementation
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c5f7e6cbd7354f8e0f0e732f3d1e1093a0640a7a )
2024-02-06 09:51:13 -05:00
hondacrx
80936edeab
Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b5406dd882c6d96bc1be6fd0a78375c3b316415 )
2024-02-06 09:39:26 -05:00
hondacrx
6589712bf3
Core/Spell: Fix target check for TARGET_UNIT_RECT_CASTER_ENEMY
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d7f3a2161b2407d327df3bcdd7df1e5b92773774 )
2024-02-05 18:19:18 -05:00
hondacrx
aa696fb176
Core/Creatures: Added possibility to automatically despawn personal summons on quest remove
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3dce0ac08d4f740505037aff2cad7685444db15 )
2024-02-05 17:36:50 -05:00
hondacrx
9546ef12eb
Core/Spells: Added option to override orientation for target types using spell_target_position table
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e8849ca5a14719e7d395db7907bac26705f25dbf )
2024-02-05 17:27:35 -05:00
hondacrx
34253877b0
Core/AreaTriggers: Refactor
...
* Moved IsServerside to custom flags
* Flags moved from areatrigger_template to areatrigger_create_properties
* New field to create custom CreateProperties (IsCustom)
* New field to reference custom areatriggers (IsAreatriggerCustom)
* Moved fields for shape data to areatrigger_create_properties
Port From (https://github.com/TrinityCore/TrinityCore/commit/37eb2e64a6ad075e9866af6feb72bb4fbccb2adc )
2024-02-05 11:48:37 -05:00
hondacrx
ad880fc6b5
Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4dce6ab228c54319032b346d2d791262eac3d9cd )
2024-02-04 17:13:17 -05:00
hondacrx
5972f3b8a1
Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ef0c045202a6af33fb991f2ff765fa183ce976f )
2024-02-04 16:31:49 -05:00
hondacrx
5ccf33eabc
Core/Spells: Clean up some gameobject types in EffectOpenLock
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/42de312a79b5ce3900d2231d89f5cd716c03ce01 )
2024-02-04 14:44:29 -05:00
hondacrx
0abe183fc9
Core/Spells: Implemented SPELL_AURA_MOD_FIXATE
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b9eaf0bdf9c6ae463c78d6a952330daaa1dcb63 )
2024-02-04 00:35:42 -05:00
hondacrx
4d0362edc6
Core/Spells: Fixed target radius calculation for TARGET_DEST_*_RANDOM
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/87f3ab11d3dd5d362657aaae9c02effa8ee95f21 )
2024-02-03 22:02:40 -05:00
hondacrx
1d4a30cc2d
Core/Players: Learn parent skilllines if they are missing while learning child skills
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9022f2374884b966c3ecf7199c52498140775668 )
2024-02-03 17:39:25 -05:00
hondacrx
55c4650d55
Core/Spells: Pass customArg from missiles to its triggered spell
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/441a102dc3e36e2338f80afc92d3e10af2db9930 )
2024-02-03 13:48:57 -05:00
hondacrx
a5b8efd032
Core/Spells: Implement spell queue
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/27019a62a4294f8dd48d975f85b1907c5adee0e3 )
2024-02-03 13:11:01 -05:00
hondacrx
e32f950be3
Core/Spell: Allow creatures with sparring active to damage themselves
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e4eecf96c616791707f9f1206eb4f8672b0e33f )
2024-02-03 11:03:05 -05:00
hondacrx
d68246c93a
Core/Auras: Fixed SPELL_AURA_CHARGE_RECOVERY_AFFECTED_BY_HASTE_REGEN affecting unrelated spells
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4628622b1ba8904ef1c0d692fe37c5d2f60f1dba )
2024-02-02 14:47:46 -05:00
hondacrx
4ff0ccd143
Core/Spells: Store BasePoints as float in SpellEffectInfo
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9b0d347a4f5f51cda083a4dc7ed328530f0b5f6 )
2024-02-02 14:46:09 -05:00
hondacrx
a5fedc5d69
Core/Spells: Prevent duplicating trait configs for Generic type
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/31da896eb2ea9a18dae7c2fa45c188ebadfc9e3e )
2024-02-02 14:42:01 -05:00
hondacrx
a5bc0d0d9b
Core/Random: Changed random functions returning doubles to return floats
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9894f6b802c974bb36acd7fbb0d083455a1f0f1b )
2024-02-02 14:39:02 -05:00
hondacrx
ad4aa7df0c
Core/Spells: SpellAttr8 fixups - use creator instead of owner for SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR and removed cast time requirement for channelled spell predicted healing
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/930a08fe03a033a6bb30fb8c94a8490c4b77fe91 )
2024-02-01 21:10:24 -05:00
hondacrx
5869fbaee0
Core/Spells: Named and implemented most of SpellAttr8
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc9361fcc2eb16a59b52dfd8b0d47dfc1bf639be )
2024-02-01 18:59:34 -05:00
hondacrx
bb2df1c0f9
Core/Spells: Named and implemented most of SpellAttr7
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e87bd7942d932225436940f62e26d48719a42dd )
2024-02-01 15:39:38 -05:00
hondacrx
c00a8d32ea
Core/Auras: Implemented SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD (suppress aura applications while dead without removing the aura)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0f7dd4eadf90a5407fd232d083485430d725152f )
2024-02-01 10:27:09 -05:00
hondacrx
774f211f7a
Core/Spells: Implemented NoImmunity spell effect attribute
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e883b61094c3a5d2e80d2165e53921631e72e33e )
2024-01-30 10:45:14 -05:00
hondacrx
0b81750b42
Core/Spells: Defined and implemented more spell effect attributes - AlwaysAoeLineOfSight, IsHarmful, PlayersOnly, EnforceLineOfSightToChainTargets
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/69317c25947e682036813aa7f6e9200056232a13 )
2024-01-30 10:39:11 -05:00
hondacrx
a1cb1d95ee
Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
...
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a20b1e4008d450d075847ef1fe367f0e3a240f )
2024-01-30 10:22:01 -05:00
hondacrx
902b217d88
Core/Auras: Implement SPELL_ATTR13_PERIODIC_REFRESH_EXTENDS_DURATION
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e1f345756ba34ccf4d4dd07b90c254097a240b51 )
2024-01-30 09:39:40 -05:00
hondacrx
5010d90d05
Core/Spells: Removed unneccessary checks from skill spell effects
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/77429d679a484379f077c1fe2b50f0fd8f742e78 )
2024-01-30 09:37:07 -05:00
hondacrx
da1ae51736
Core/Skills: Fixed updating riding skill value when learning riding spells automatically
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/68b6d81d4c0fdb35391147725a21e5cfc347dedf )
2024-01-29 22:25:13 -05:00
hondacrx
4c390b363b
Core/Spells: Move all summoning spell effects to launch phase
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c32b8ac7b9cb8b914b61212de0419fc096df94fc )
2024-01-29 14:53:02 -05:00
hondacrx
cda53c8e7f
Some cleanups. (might break build for scripts as they are a WIP)
2023-10-08 10:35:31 -04:00
hondacrx
ccb5341c21
Some misc cleansup.
2023-10-06 17:33:20 -04:00
hondacrx
85f37f6edf
Added some implicit operators to spell casting.
2023-10-01 07:32:38 -04:00
hondacrx
f636ea225f
Messed up the commit history, so here is all the files rip, Credit to TrinityCore
2023-09-16 08:42:35 -04:00
hondacrx
5da5fb1e31
Core/Spells: Merge TRIGGERED_IGNORE_AURA_INTERRUPT_FLAGS functionality into TRIGGERED_IGNORE_CAST_IN_PROGRESS as they are always used together (and missing one of them in scripts is a common enough mistake)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca16d0800c281e87b309c3b695f67c40d5b1d0f8 )
2023-09-14 07:04:22 -04:00
hondacrx
4134796f1b
Core/Battlegrounds: Rework queues
...
* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ede6c155605da602b3bafaa3a1212d9f924759b )
2023-09-14 06:16:30 -04:00
hondacrx
bad3e89ee6
Core/Auras: Implement SPELL_ATTR8_PERIODIC_CAN_CRIT
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/fa2257681726caf16509940ef8c6d427cd85150e )
2023-09-14 04:56:05 -04:00
hondacrx
7e4c0f3aa3
Core/GameObject: Dropped flag should only spawn when debuff is not removed by default
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0367e1afc51916cb38c9ceecf1935fad0ea2d26a )
2023-09-14 04:39:25 -04:00
hondacrx
a862056cc4
Core/Spells: Prevent rerolling gathering skillups until success when mining or gathering herbs
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dce71612efa11bad7f25c65962d455843bd79baf )
2023-09-14 04:30:42 -04:00
hondacrx
6975212812
Core/Spells: Implement sqrt based aoe damage diminishing
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/42a6e0eb1afa431fc1efe7d4c5a62758fed42684 )
2023-09-14 04:24:19 -04:00
hondacrx
a531a99ff3
Core/Spells: Summons with no special title and duration -1ms should use TEMPSUMMON_MANUAL_DESPAWN
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c9e46629c5503b8c1a81cb71b2cd06ec1284fbb )
2023-09-14 02:56:28 -04:00