Commit Graph

3578 Commits

Author SHA1 Message Date
hondacrx 65048a8357 Core/Achievements: Send both SMSG_ACCOUNT_CRITERIA_UPDATE and SMSG_CRITERIA_UPDATE if the same criteria is used by account and character achievements
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d907da00eb6d926103bb633220d3d51e017c5e4)
2024-01-29 15:26:14 -05:00
hondacrx 3080eac1ce Core/Quests: Fix questgiver status for trivial and future quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d9dd75fe2112bcc119ee0209eef00eabfbe0bce)
2024-01-29 15:24:56 -05:00
hondacrx d96f7fb821 Core/Instances: Kill instance_encounters table, it is no longer neccessary
Port From (https://github.com/TrinityCore/TrinityCore/commit/47fc3cb852324119e81c01015b7cc4f39d43e559)
2024-01-29 15:22:25 -05:00
hondacrx c36e0d7f73 Core/Instances: Removed deprecated field from InstanceScript
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e29c0066efe1157a10e74efef4554de26a984de)
2024-01-29 15:04:01 -05:00
hondacrx 341291870e Core/Players: Fix environmental damage from lava
Port From (https://github.com/TrinityCore/TrinityCore/commit/911e9da2bb6c8e244828dc52c89f935ecc7c2526)
2024-01-29 14:57:56 -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 dbf63667ae Misc fixes 2024-01-28 15:23:54 -05:00
hondacrx 6f4b7ddd9d Fixes build. Scripts are still being updated. 2024-01-24 12:02:23 -05:00
hondacrx 1c6563718e More work on scripts 2023-10-20 07:29:05 -04:00
hondacrx c56e1752f5 More Scripts done. 2023-10-16 12:35:26 -04:00
hondacrx 73fd633065 More Updates to scripts. 2023-10-15 15:17:44 -04:00
hondacrx 50cda96b45 More work on scripts. 2023-10-13 20:25:10 -04:00
hondacrx b2ac8035f2 Disable warning 8981 (lowercase first letter) for proto files. 2023-10-13 16:12:29 -04:00
hondacrx 33091ed942 More updates to scripts (still wont build) 2023-10-13 16:11:34 -04:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx fa10b981bd Updated all spell scripts. 2023-10-07 14:04:50 -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 4cbee1a6bb Updated command system to use new generic type with attribute class. 2023-10-01 07:29:47 -04:00
hondacrx a942ff86b4 Remove unneeded generic type and renamed base class for updatefields. 2023-09-17 12:12:36 -04:00
hondacrx 0287a481ee Make it so you can use any name for a cert file and not just a default one. 2023-09-16 14:42:16 -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 87284bbded Core/Spells: Define new cast flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac43e68b534dd0ba5db459097e679efd5b4bf9a3)
2023-09-14 07:07:00 -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 76c928cd2c Core/Scripts: Add multiple "Pass parameters between AI" methods on AreaTriggerAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/2cdf0a44b22c783a150f0774eb0917a8db69b162)
2023-09-14 07:01:50 -04:00
hondacrx b99f574f64 Core/Spells: Allow cancelling spell missiles without cancelling the entire spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed98146d317f9b956e8ca23524631cdd2388492b)
2023-09-14 06:59:49 -04:00
hondacrx 25b27dcc72 Core/Auras: Allow effects of SPELL_AURA_SCHOOL_ABSORB_OVERKILL to be prevented by setting absorb value to 0 in script
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b9493eec7c937642243c5ab0367f5ac8643879e)
2023-09-14 06:57:52 -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 967624c664 Scripts/AreaTrigger: Added CanCaptureFlag and CaptureFlag hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/30f57de184fb96dfb6c548201e7717fa293682e1)
2023-09-14 04:53:47 -04:00
hondacrx 3c28432a49 Core/Quest: Allow quests flagged as QUEST_FLAGS_AUTO_COMPLETE to be valid in CMSG_QUESTGIVER_REQUEST_REWARD
Port From (https://github.com/TrinityCore/TrinityCore/commit/a9d459962b221fd2033efa02f059b602c5a546f6)
2023-09-14 04:50:51 -04:00
hondacrx 0bb8152623 Core/GameObject: Skip setting state of NewFlag, if new state is equivalent to old state
Port From (https://github.com/TrinityCore/TrinityCore/commit/6175467c3e66fa09d8ff1e0f091375c26f7529e5)
2023-09-14 04:48:19 -04:00
hondacrx dbd3a16c11 Core/GameObject: Expose several NewFlag fields for future purposes
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e618278141cce1a1fcfc2f1b0e8997367ca9848)
2023-09-14 04:47:43 -04:00
hondacrx 165f2d7f9b Core/GameObject: Added additional checks for GAMEOBJECT_TYPE_NEW_FLAG and GAMEOBJECT_TYPE_NEW_FLAG_DROP for potential exploits / lag issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/28c5d71b284a19657a602590cc6fcc2f1746b124)
2023-09-14 04:43:15 -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 06eed955de Core/GameObject: Mark some pvp related gameobjects as active
Port From (https://github.com/TrinityCore/TrinityCore/commit/1336370b4583400abb93d6e306814b05f3c7553b)
2023-09-14 04:38:38 -04:00
hondacrx ac8086eda2 Core/AreaTrigger: Handle unit exit after OnRemove hook has been called
Port From (https://github.com/TrinityCore/TrinityCore/commit/b10b97b35bed07742b3989fa99fe932d77bd7fd2)
2023-09-14 04:37:12 -04:00
hondacrx 79cdb32e43 Core/Players: Remove player from group on faction change if two side interaction group is not allowed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f108a50abf82abd0973878ef88fdab47a408238c)
2023-09-14 04:36:13 -04:00
hondacrx af4661330a Core/Mail: Reorder mail attachment checks to be able to report nonempty bag error to client.
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b48268e2cfc7fddeba8fe55721aaab4234cc152)
2023-09-14 04:33:14 -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 da4c05aad3 Core/Arena: Correctly update the stats of the members of each team when the week ends and the arena points are distributed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0728d194d9d8fa6c91e6c7dfbc9e06c02963d7fe)
2023-09-14 04:29:23 -04:00
hondacrx 8c2d3496fb Core/Units: Fixed possible use after free in ThreatManager
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e3968b63c4192b766de69c8f4744adba406c94b)
2023-09-14 04:28:04 -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 572bab53e4 Core/Spells: Rewrite SelectRandomInjuredTargets to make extending it with additional requirements easier and allow it to prioritize group members
Port From (https://github.com/TrinityCore/TrinityCore/commit/d4d28d27f8322d6c07a6c384de1b4aecd1bb8a92)
2023-09-14 04:03:00 -04:00
hondacrx fde57f7cf0 DB/Pets: Removed invalid spells from creature_template_spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/982feb5082ab3c30cfb2e1278fd7736e5a02466c)
2023-09-14 03:30:55 -04:00
hondacrx c8c75431bf Core/Scripts: Add ZoneScript hook for AreaTrigger creation/deletion
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ab7050cb72544faa6a7fa17a0bf644e22538ff3)
2023-09-14 03:29:15 -04:00
hondacrx 45c95d22ed Core/Creatures: Updated totem slot assignment logic
* Implemented SUMMON_SLOT_ANY_TOTEM
* Fixed showing totems on player frames
* Fixed removing totems from player frames
* Fixed being able to summon unlimited windfury totems
Port From (https://github.com/TrinityCore/TrinityCore/commit/fefc7192631764245396cd2622aa11f649411946)
2023-09-14 03:27:06 -04:00
hondacrx 0449c88951 Core/Spells: Damage and healing bonus calculation fixes
* Spells with SPELL_DAMAGE_CLASS_NONE are now allowed to benefit from spellmods
* Fixed SPELL_AURA_MOD_DAMAGE_DONE_VERSUS_AURASTATE and SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH not working for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/ac1c0419441a6c0b1a049a3197a35c754e00ea6e)
2023-09-14 02:59:06 -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 dca7931fa2 Scripts/Commands: Implemented .debug play objectsound command
Port From (https://github.com/TrinityCore/TrinityCore/commit/95893cf53cdc9ab2ca3ec26cfd85793e63e97317)
2023-09-14 02:53:58 -04:00