Commit Graph

290 Commits

Author SHA1 Message Date
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
hondacrx 357d9a4294 Core/Spells: Fixed accessing freed memory by Spell::EffectTriggerSpell
Port From (https://github.com/TrinityCore/TrinityCore/commit/f0fa05773f9b4880b130ee245391a8ec34163587)
2023-01-22 23:28:48 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx b4d6607c18 Core/Spells: Fixed crashes with spells cast by gameobject that summon creatures
Port From (https://github.com/TrinityCore/TrinityCore/commit/fa361a40c81c5b1623fe2ff8f9a206868a6604f0)
2023-01-06 17:32:11 -05:00
hondacrx 404842681c Core/Spells: Added missing changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/14c48272fbdf29075152471f2bd8dfb2eac2e548)
2023-01-05 17:13:45 -05:00
hondacrx 55da7dc549 Core/Players: Implemented new talent system
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cc5ab8372f19dad7412038d52dcd39db5e0e171)
2023-01-04 02:50:40 -05:00
hondacrx 989b80b056 Core: Updated to 10.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e98e1283ea0034baf6be9aa2ffb386eb5582801b)
2022-12-28 15:25:15 -05:00
hondacrx 2dc12dbb69 Core/Spells: Extended mechanic mask to uint64
Port From (https://github.com/TrinityCore/TrinityCore/commit/de7c03c8385780f05530c2b3cf952a712d5f8f00)
2022-12-17 17:37:07 -05:00
hondacrx 77bb4dec2e Core/Spells: Corrected effect handle mode for SPELL_EFFECT_SEND_CHAT_MESSAGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/734babc6e9c5b9e742934fd5465c4064c9a0f4e8)
2022-10-31 13:43:19 -04:00
hondacrx d4c95916e7 Core/Spells: Removed unitTarget requirement from SPELL_EFFECT_CREATE_PRIVATE_CONVERSATION as it is executed in SPELL_EFFECT_HANDLE_HIT mode where no units are targeted
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffd112ce6c1b8d8b7121b86160868bcf79c30530)
2022-10-31 13:42:33 -04:00
hondacrx 572cdc1483 Misc fixes. 2022-10-28 21:58:31 -04:00
hondacrx 66ad9f4ce0 Core/GameObjects: Implemented gathering nodes (gameobject type 50)
Port From (https://github.com/TrinityCore/TrinityCore/commit/1011cb73c92ddb90589452f70a1dd33830689e32)
2022-10-22 22:24:44 -04:00
hondacrx 9b62b83984 Core/Loot: Implemented personal loot and tag sharing for non-boss loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/133334a902b705dae6f7e92bb1009b84cf1c51d2)
2022-10-18 16:07:00 -04:00
hondacrx 80009bfa8d Missed a file 2022-10-17 18:17:06 -04:00
hondacrx d1f5ca2f49 Core/Spells: Take SummonProperties into account for SPELL_EFFECT_SUMMONs with default SummonTitle
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6ec81fff808388d934f098546c7faad9105c975)
2022-10-11 20:06:25 -04:00
hondacrx 86fa768ef3 Core/Loot: Set loot dungeon encounter id before generating
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f1a4cf9044d9ad65b49eb859ec36e1f62c2be10)
2022-10-05 16:21:19 -04:00
hondacrx 87fdd30072 Core/Loot: Send DungeonEncounter id in SMSG_ITEM_PUSH_RESULT
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a516fb6549e460e68b45005a17ec1b6217fefa5)
2022-10-04 19:59:15 -04:00