Commit Graph

334 Commits

Author SHA1 Message Date
Hondacrx a3a9ef5259 Core/Spells: Refactor SpellHistory ModifyCoooldowns and ResetCooldowns callbacks to use CooldownEntry argument instead of internal iterator
Port From (https://github.com/TrinityCore/TrinityCore/commit/ace6342aea9e8e3f69af88ca3963fc961ba56f1b)
2025-06-08 15:56:31 -04:00
Hondacrx 57b2c5b550 Core/Items: Fixed item spell charge slot indexing
Port From (https://github.com/TrinityCore/TrinityCore/commit/c85d12fc3f0576163d4ffa91bb38f66894305349)
2025-06-08 15:09:36 -04:00
Hondacrx e098533a27 Core/Spells: Add summoned DynamicObject to casters ChannelObjects if spell is channelled
Port From (https://github.com/TrinityCore/TrinityCore/commit/333aaaaefd4023dcb719f3dbaeab829c3d26e77a)
2025-06-04 09:27:48 -04:00
Hondacrx 600b8ba18c Core/Spells: DynamicObject auras will now use the largest radius found in SPELL_EFFECT_PERSISTENT_AREA_AURA effects of the spell creating them
Port From (https://github.com/TrinityCore/TrinityCore/commit/497cb7df49550c2420ce8729254cc120d3290d2e)
2025-06-04 09:20:03 -04:00
Hondacrx 07e857dd63 Core/Spells: Allow persistent area auras to apply all of their effects upon creation.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d8636d4cc603262da8454231d64bd09b604b25f7)
2025-06-04 09:18:20 -04:00
Hondacrx 52952deee3 Core/Spells: Replace MAX_SPELL_EFFECTS loop limits with correct upper bound depending on how many effects the spell has
Port From (https://github.com/TrinityCore/TrinityCore/commit/561b122364525deaee815ad900a78f1323c37776)
2025-06-03 21:17:25 -04:00
Hondacrx c496da9da0 Core/Auras: Fixed sending amounts for effects that need it, aren't first and don't have SPELL_ATTR8_AURA_POINTS_ON_CLIENT
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a1b81043eaae0e0feba2b693e1f004ac4791c30)
2025-06-02 16:05:19 -04:00
Hondacrx 486d80ceb9 Core/Spells: Don't ignore power costs and reagents for spells triggered by SPELL_EFFECT_TRIGGER_SPELL, SPELL_EFFECT_TRIGGER_MISSILE, SPELL_EFFECT_FORCE_CAST, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PROC_TRIGGER_SPELL and fixed implementation of SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES
Port From (https://github.com/TrinityCore/TrinityCore/commit/54a83b4b689b7d2bbddb91fc79319dd806da8cc0)
2025-05-25 11:04:24 -04:00
Hondacrx 94877fed77 Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/884662a75a901af6f61cab9efc171d052e8042f4)
2025-05-19 11:01:52 -04:00
Hondacrx 6097bf92cc Core/Spells: Implemented SPELL_EFFECT_UPDATE_INTERACTIONS
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad06dcaaec6b55e3c2e6ae8214a44074f343c8ca)
2025-05-18 19:11:40 -04:00
Hondacrx af43ed5519 Core/Spells: Fixed PROC_HIT_DISPEL and PROC_HIT_INTERRUPT on procs using PROC_SPELL_PHASE_HIT phase
Port From (https://github.com/TrinityCore/TrinityCore/commit/0706a114bbfd786434921bf95d0fbd6a5596fcb3)
2025-03-10 21:07:34 -04:00
Hondacrx 519c642cff Core/GameObjects: Fixed gameobject spell casts failing when triggered by SPELL_EFFECT_OPEN_LOCK
Port From (https://github.com/TrinityCore/TrinityCore/commit/3177c410e488866ece2803ddcf9ea09ea4b2b4fb)
2025-02-23 14:29:53 -05:00
Hondacrx 644206f0d5 Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/1fb4acc25ae89360e71d33a8f7cba99bcc028b32)
2025-02-23 14:20:00 -05:00
Hondacrx 4d2dbbcf16 Core/Auras: Implemented mount equipment
Port From (https://github.com/TrinityCore/TrinityCore/commit/6dd5fb9d88e7a8b7da696bbe7b96947217b1ace2)
2025-02-17 15:06:19 -05:00
Hondacrx d46636fc3a Core/Spells: Fix custom load screen for SPELL_EFFECT_TELEPORT_UNITS
Port From (https://github.com/TrinityCore/TrinityCore/commit/29202810705804c1c5ac126195ab7bd60f56849f)
2024-11-17 14:07:41 -05:00
Hondacrx ba80dede79 Core/Summons: Handle summons using SummonProperties.Control type 5 as vehicles
Port From (https://github.com/TrinityCore/TrinityCore/commit/23bb1a56b74191e131e41ad25edbe40ee4e76a96)
2024-11-17 12:09:17 -05:00
Hondacrx 2e2c87090d Core/Items: Implemented ITEM_BONUS_DISENCHANT_LOOT_ID
Port From (https://github.com/TrinityCore/TrinityCore/commit/3238175a62750ea5127feb69ce86d0c3c05dfc52)
2024-11-10 16:56:17 -05:00
Hondacrx ad461858ca Core/SAI: Implemented new action SMART_ACTION_COMPLETE_QUEST
Port From (https://github.com/TrinityCore/TrinityCore/commit/3429871a07c1c1ebe2bd94cb771ef187cb46fd46)
2024-09-08 14:09:45 -04:00
Hondacrx f7b184dd1d Core/Players: Remove duplicated trait configs
Port From (https://github.com/TrinityCore/TrinityCore/commit/dabe1f85df30610c5287ae6d8214d325e6595387)
2024-09-02 22:52:49 -04:00
Hondacrx e440ccd097 Core/Spells: Added missing SummonPropertiesFlags::UseDemonTimeout handling to some summon cases
Port From (https://github.com/TrinityCore/TrinityCore/commit/ceffc2cb2037921af13d8a417b39e407bb7635ac)
2024-09-01 15:57:24 -04:00
Hondacrx 08edf75cd1 Core/Spells: Implemented SPELL_ATTR9_JUMPCHARGE__NO_FACING_CONTROL
Port From (https://github.com/TrinityCore/TrinityCore/commit/486641063e9b88d84e38e4cee3bfc2fb3e0bffc6)
2024-08-31 17:18:19 -04:00
Hondacrx 3c6b3bd455 Core/Movement: Defined and implemented new spline flag - JumpOrientationFixed
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd9fb4a56303e2bd8046e77d425250b9757aa74c)
2024-08-31 17:16:04 -04:00
Hondacrx b38668c7cb Core/Spells: Implemented new trigger flag to cause spells to be instant without also causing other behavior of TRIGGERED_CAST_DIRECTLY (skipping SMSG_SPELL_START, skipping starting GCD)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a885a1fc3c6b894f546b7aee70b5a67932a94486)
2024-08-26 18:11:28 -04:00
Hondacrx 511ac17c55 Core/Spells: Implemented SPELL_ATTR9_FACE_UNIT_TARGET_UPON_COMPLETION_OF_JUMP_CHARGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/5cb4536bd0492b49432b092e7ca4a458010b7d53)
2024-08-26 16:56:29 -04:00
Hondacrx 7a43203e0c Core/Movement: Allow setting position or object facing targets for jump movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac73edc268bc8d5bbda9f4b05168e3e24c25ca45)
2024-08-26 16:48:36 -04:00
Hondacrx e79581f71f Core/Spells: Implemented SPELL_ATTR9_ITEM_CAST_GRANTS_SKILL_GAIN
Port From (https://github.com/TrinityCore/TrinityCore/commit/00efee9ca12d6e625e9954a39768bbec029d0459)
2024-08-25 23:45:44 -04:00
Hondacrx bb26b47824 Core/Spells: Rename more SpellAttr9
Port From (https://github.com/TrinityCore/TrinityCore/commit/56a027131a130bc778ee34ddfa379c42580b510b)
2024-08-25 21:45:49 -04:00
Hondacrx e936c7d099 Core/Spells: Prevent creatures from being able to cast all their spells while moving
Port From (https://github.com/TrinityCore/TrinityCore/commit/f80f931e2bee9dbf08c3edee94d0c79dbbb64072)
2024-08-25 00:12:46 -04:00
Hondacrx e9b21a91be Core/Battlegrounds: Move to scripts And a lot of misc commits i couldn't recover.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0d5d309bb5877dc2fcb27f6cb123707a31ec1e8)
2024-08-04 15:18:22 -04:00
hondacrx 1e421b9f53 Misc fixes 2024-03-19 17:21:32 -04:00
hondacrx 6b25d4b9b6 Core/Battlegrounds: Isle of Conquest Rework
Port From (https://github.com/TrinityCore/TrinityCore/commit/409adfa7a5372dedd40d6f40650c901f6fd646a6)
2024-03-07 16:44:24 -05:00
hondacrx 69d144c399 Core/Battlegrounds: Strand of the Ancients Rework
Port From (https://github.com/TrinityCore/TrinityCore/commit/3d56cdc08413a0682299136a763e13e67d38818b)
2024-03-06 17:19:02 -05:00
hondacrx 536f72d077 Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_IGNORE_SANCTUARY (ignore SPELL_EFFECT_SANCTUARY, used by Vanish)
Port From (https://github.com/TrinityCore/TrinityCore/commit/1369b8708458fb5020b6ab7a9608123459d4eb26)
2024-03-05 18:33:31 -05:00
hondacrx 0325d8b523 Core/Quests: Merged UpdateNearbyCreatureNpcFlags, UpdateVisibleGameobjectsOrSpellClicks and SendQuestGiverStatusMultiple on quest actions
* Fixes quest markers above NPC heads not disappearing when player stops seeing questgiver npc flag
Port From (https://github.com/TrinityCore/TrinityCore/commit/97d7ccd180f96a414f205396261907e1e87d491a)
2024-03-04 12:18:45 -05:00
hondacrx fa5e0f0c14 Core/Creatures: Implemented UNIT_NPC_FLAG_GOSSIP as viewer dependent and update npcflags on quest changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd15d763cc0529afc9b7f077817645d875608626)
2024-02-24 16:07:23 -05:00
hondacrx 6abce678ca Misc fixes 2024-02-06 22:12:17 -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 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 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 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 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 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