Commit Graph

306 Commits

Author SHA1 Message Date
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
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 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
hondacrx a7a955823d Core/Spells: Handle summon effect on spell launch instead of hit
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d8221d558fc81031bd8f66f4bb83629653f2809)
2023-09-13 21:04:09 -04:00
hondacrx 3f8dedfb7a Core/Creatures: Clean up temporary summon duplicate level initialization
Port From (https://github.com/TrinityCore/TrinityCore/commit/1cae07870b4ff3c33669326756392d9086dac50f)
2023-09-13 21:03:36 -04:00
hondacrx 0e2dd0cda3 Core/Creatures: add TimeSpan to TempSummon
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dd4b38170339e2d1d959c45ecad1b3b8dceb216)
2023-09-13 20:59:45 -04:00
hondacrx d7c2fa52f4 Core/Scripts: Added damage and healing calculation hook to spell and aura scripts allowing to override base damage amount, flat value mod and percent value mod separately
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cdf3530f41e18fc815e7b164e40c01a18c3d757)
2023-09-13 18:18:29 -04:00
hondacrx 8bf185f071 Core/Spells: Fixed target radius logic in spell effects for TargetB
Port From (https://github.com/TrinityCore/TrinityCore/commit/889e88ab8033a78db837e0bb8619d8ce9d64967f)
2023-09-04 07:19:38 -04:00
hondacrx 794ff2bb99 Core/Spells: fixed an underflow in SPELL_EFFECT_INEBRIATE when using drinks that sober the character up (such as Starfire Espresso)
Port From (https://github.com/TrinityCore/TrinityCore/commit/45333fcc8fd8fbd58b6168098a8445b36b9c5248)
2023-07-23 18:09:18 -04:00
hondacrx b1c6c14f0e Core/Spells: Fixed SPELL_EFFECT_TRIGGER_SPELL for spells that require DEST target but their triggering spell does not provide one, for example DH soul cleave damage component
Port From (https://github.com/TrinityCore/TrinityCore/commit/8bb7d90f21663308e29e29d79f8c933843e48064)
2023-06-30 08:37:22 -04:00
hondacrx 0b1d41cc7b Core/AreaTriggers: Add Spell* argument to AreaTriggerAI::OnCreate script
Port From (https://github.com/TrinityCore/TrinityCore/commit/a03455acbbbb6b070c9592a9c5c24c8f109dccc8)
2023-06-30 08:36:13 -04:00
hondacrx 5b7b6c5494 Core/Spells: Corrected effect type implicit targeting for SPELL_EFFECT_CREATE_PRIVATE_CONVERSATION
Port From (https://github.com/TrinityCore/TrinityCore/commit/d419fe5ff4ce9d3227ddcc47cc21ed67732e3d52)
2023-06-13 08:53:51 -04:00
hondacrx e6432f8c97 Core/Quests: Quest flag fixups
* Update flag names
* Implemented QUEST_FLAGS_COMPLETION_NO_DEATH and QUEST_FLAGS_FAIL_ON_LOGOUT
* Started using QUEST_FLAGS_COMPLETION_EVENT and QUEST_FLAGS_COMPLETION_AREA_TRIGGER instead of a custom SpeclalFlag
* Renamed Quest::IsAutoComplete to Quest::IsTurnIn to better describe what it means (a quest that can be turned in without accepting it to quest log)
* Implemented QUEST_FLAGS_UPDATE_PHASESHIFT and removed forced phaseshift updates on every quest status change
* Implemented QUEST_FLAGS_LAUNCH_GOSSIP_ACCEPT - reopens gossip menu with questgiver
Port From (https://github.com/TrinityCore/TrinityCore/commit/4d4c7e68935df9ca40bd5539d602ac4e779f53d5)
2023-06-13 08:52:22 -04:00
hondacrx 4180b6fa3f Core/Spells: Always remove spell target from transport on teleport spells if spell destination does not target a position on the transport
Port From (https://github.com/TrinityCore/TrinityCore/commit/8cfc8e41418c127aa11ef0bbbdd0f1d6388ab0ae)
2023-06-13 05:24:33 -04:00
hondacrx 068ccd990f Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty
Port From (https://github.com/TrinityCore/TrinityCore/commit/06d0b16f158e8793860d9edd11b990f20b1d0dac)
2023-05-30 08:16:40 -04:00
hondacrx 6ee9e0d039 Core/Spells: Implemented new proc hit type PROC_HIT_DISPEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/206369934aecfcac9a49583f3f7e98f0d69ad55b)
2023-05-23 08:45:32 -04:00
hondacrx ef250e0400 Core/Areas: Update AreaFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8f1c3b4f0ca631e76101f8492b9688c6d2dca01)
2023-05-23 08:07:33 -04:00
hondacrx dc0bf68c6f Misc fixes 2023-05-21 19:01:22 -04:00
hondacrx 35961a0121 Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/205aba1ff3a6f1ff92a8b26af646fd25f139c697)
2023-05-21 18:38:55 -04:00
hondacrx d16f24d5c0 Core/Spells: Implemented SPELL_EFFECT_TELEPORT_GRAVEYARD
Port From (https://github.com/TrinityCore/TrinityCore/commit/cdb209fda44eb500a7e8d9a0d4acd048e1ee5eec)
2023-05-21 16:55:47 -04:00
hondacrx 5e5e17e23c Core/Spells: Fixed effects targeting the caster not hitting him immediately on spell launch if the spell targets a dest
Port From (https://github.com/TrinityCore/TrinityCore/commit/295c8f63269d966812f37a8bd8e988a9f2dc1235)
2023-05-02 15:40:21 -04:00
hondacrx 9d955f42aa Core/Skinning: Autolearn skill of skinned mob if not already learned
Port From (https://github.com/TrinityCore/TrinityCore/commit/74c280da9eac16c5d4a875ff2ea5aa30034ff1dd)
2023-04-25 08:53:52 -04:00
hondacrx d3297b96a2 Core/Skinning: Update correct skinning skill according to creature expansion
Port From (https://github.com/TrinityCore/TrinityCore/commit/229a7ac79d38b9db76387f92e846c04c151ad3aa)
2023-04-05 08:22:24 -04:00
hondacrx 351e05104d Core/Movement: Refactor jump speed calculation out of spell code
Port From (https://github.com/TrinityCore/TrinityCore/commit/705d5701bf17f1787d2646c55c994b0404659991)
2023-03-13 03:29:40 -04:00
hondacrx 4003efb9c9 Core/Spells: Implemented SPELL_EFFECT_REMOVE_AURA_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/99320464997a5411b7245cb952eaf6cdf8a2a978)
2023-02-12 01:29:20 -05:00
hondacrx 4b798e7cab Core/Players: Several currency fixes and improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/03918978c166c9fb191117a0cae9ba1285bf0e37)
2023-02-11 23:28:57 -05:00
hondacrx 873a1df596 Core/Reputation: Implemented renown reputation (Dragonflight)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d64d84dfa68da4ff83f0b88ad4e88dccc5ace623)
2023-01-24 23:35:51 -05:00