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
hondacrx
0e2b551b06
Core/Object: Implemented helper method PlayObjectSound
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/35e5da37bdbbac355e454c5cbabe5991b7966709 )
2023-09-14 02:51:26 -04:00
hondacrx
ae837fb074
Core/Spells: Validate spellmod array size at startup
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2d8c64d366899d7f3ab22b5abd79f44640a70e7 )
2023-09-14 02:49:50 -04:00
hondacrx
c23045a38d
Core/Spells: Updated default SpellPhaseMask that is generated for procs that do not have entry in spell_proc table
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8f3bb8cba288ee1b5805929355d15606474af34 )
2023-09-14 02:46:42 -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
0482541ac2
Core/Creatures: Allow modifying TempSummon duration after summoning
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/01a09de3197612acdfd2d3d72548c9ae7288faa5 )
2023-09-13 21:00:49 -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
7b2d198832
Core/Auras: Treat auras with more than 1 active stack as using stacks too (max stack could have been changed from 0 to something else using spell mods)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e0ab6330c1ef096b650702633a60181b9ecdd351 )
2023-09-13 20:46:56 -04:00
hondacrx
f7ae161e3d
Core/MMaps: Fixed pathing for objects that have terrain swaps active
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/86725ed9267803506d8a5cab04c2c5641a234dd9 )
2023-09-13 20:46:16 -04:00
hondacrx
3052b1dc23
Core/Misc: Turn ChrSpecialization into enum
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/98007f859b7318570c0c923a00aa32fc485c8ec8 )
2023-09-13 20:33:47 -04:00
hondacrx
a8e62cc07d
Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d2784d4c65ec987fe587718d96b2feb885905e13 )
2023-09-13 19:49:53 -04:00