Andrew
8c387fa2b8
refactor(Scripts/UtgardeKeep): Modernize Prince Keleseth script ( #20806 )
2024-12-02 08:17:16 -03:00
Andrew
a4a278a0e7
refactor(Scripts/UtgardeKeep): Upgrade scripts to new register method ( #20795 )
2024-11-30 20:25:27 -03:00
Kitzunu
386aea03ee
chore(Core/Misc): Some cleanup ( #19970 )
...
* remove weird blanks
* update if
* ) ) to ))
* missed some ) )
* now switch
* .
2024-09-21 19:34:31 +02:00
Benjamin Jackson
1edac37ac3
refactor(Core): Make more use of helpers. ( #19835 )
...
* Init.
* Reword.
* Update codestyle script.
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Add gameobject type ID check, reorder checks.
* Add helper/codestyle check for unit type.
* `IsUnit()` -> `IsCreature()`
* Add `IsUnit()` method.
* Use type mask.
https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
* Replace instances of `isType` with `IsUnit`.
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
2024-09-03 14:41:31 -03:00
Grimdhex
643362d697
refactor(Core/Object): adds consistency in the use of type object check ( #19671 )
2024-08-25 09:57:37 -03:00
Grimdhex
61f3a631c3
fix(Server): remove double blank lines at the end of several files ( #19735 )
2024-08-25 07:21:14 -03:00
Francesco Borzì
af769c6c7e
refactor(Scripts/Northrend): remove unused imports ( #19460 )
...
* refactor(Scripts/Northrend): remove unused imports
* chore: wip
2024-07-26 19:56:33 -03:00
Kitzunu
5a4692e45a
chore(Core/Misc): #include cleanup ( #19255 )
2024-07-02 15:52:02 +02:00
Jelle Meeus
cd9dff5032
refactor(Scripts/Northrend): dungeons Spell Scripts registry macros ( #19134 )
...
* instance_azjol_nerub spell:spell_azjol_nerub_fixate
* instance_azjol_nerub aura:spell_azjol_nerub_web_wrap_aura
* boss_hadronox aura:spell_hadronox_summon_periodic_aura
* boss_hadronox aura:spell_hadronox_leech_poison_aura
* boss_argent_challenge spell:spell_eadric_radiance
* boss_argent_challenge spell:spell_toc5_light_rain
* boss_argent_challenge aura:spell_reflective_shield_aura
* fixup! boss_argent_challenge aura:spell_reflective_shield_aura
* instance_drak_tharon_keep aura:spell_dtk_raise_dead_aura
* instance_drak_tharon_keep spell:spell_dtk_summon_random_drakkari
* boss_trollgore spell:spell_trollgore_consume
* boss_trollgore aura:spell_trollgore_corpse_explode_aura
* boss_trollgore spell:spell_trollgore_invader_taunt
* boss_novos spell:spell_novos_despawn_crystal_handler
* boss_novos aura:spell_novos_crystal_handler_death_aura
* boss_novos spell:spell_novos_summon_minions
* boss_tharon_ja aura:spell_tharon_ja_curse_of_life_aura
* boss_tharon_ja aura:spell_tharon_ja_dummy_aura
* boss_tharon_ja spell:spell_tharon_ja_clear_gift_of_tharon_ja
* boss_dred aura:spell_dred_grievious_bite_aura
* boss_dred spell:spell_dred_raptor_call
* boss_moorabi aura:spell_moorabi_mojo_frenzy_aura
* boss_slad_ran aura:spell_sladran_grip_of_sladran_aura
* boss_drakkari_colossus spell:spell_drakkari_colossus_emerge
* boss_drakkari_colossus spell:spell_drakkari_colossus_surge
* boss_drakkari_colossus spell:spell_drakkari_colossus_face_me
* boss_gal_darah spell:spell_galdarah_impaling_charge
* boss_gal_darah spell:spell_galdarah_transform
* boss_malygos spell:spell_eoe_ph3_surge_of_power
* oculus aura:spell_oculus_stop_time_aura
* oculus aura:spell_oculus_evasive_maneuvers_aura
* oculus spell:spell_oculus_shock_lance
* oculus aura:spell_oculus_temporal_rift_aura
* oculus spell:spell_oculus_touch_the_nightmare
* oculus aura:spell_oculus_dream_funnel_aura
* oculus spell:spell_oculus_call_ruby_emerald_amber_drake
* oculus aura:spell_oculus_ride_ruby_emerald_amber_drake_que_aura
* oculus aura:spell_oculus_evasive_charges_aura
* oculus aura:spell_oculus_soar_aura
* oculus aura:spell_oculus_rider_aura
* oculus aura:spell_oculus_drake_flag_aura
* boss_magus_telestra aura:spell_boss_magus_telestra_summon_telestra_clones_aura
* boss_magus_telestra spell:spell_boss_magus_telestra_gravity_well
* utgarde_keep aura:spell_ticking_time_bomb_aura
* boss_keleseth aura:spell_frost_tomb_aura
* boss_svala pair:spell_svala_ritual_strike
* boss_moragg aura:spell_optic_link_aura
* violet_hold aura:spell_destroy_door_seal_aura
* forge_of_souls aura:spell_shield_of_bones_aura
* boss_devourer_of_souls aura:spell_wailing_souls_periodic_aura
* boss_bronjahm spell:spell_bronjahm_magic_bane
* boss_bronjahm aura:spell_bronjahm_soulstorm_channel_ooc_aura
* boss_bronjahm aura:spell_bronjahm_soulstorm_visual_aura
* boss_bronjahm spell:spell_bronjahm_soulstorm_targeting
* boss_krickandick aura:spell_krick_explosive_barrage_aura
* boss_krickandick aura:spell_exploding_orb_auto_grow_aura
* pit_of_saron aura:spell_pos_empowered_blizzard_aura
* pit_of_saron spell:spell_pos_slave_trigger_closest
* pit_of_saron spell:spell_pos_rimefang_frost_nova
* pit_of_saron aura:spell_pos_blight_aura
* pit_of_saron aura:spell_pos_glacial_strike_aura
* boss_forgemaster_garfrost spell:spell_garfrost_permafrost
* halls_of_reflection aura:spell_hor_gunship_cannon_fire_aura
* boss_marwyn aura:spell_hor_shared_suffering_aura
* fixup! forge_of_souls aura:spell_shield_of_bones_aura
* fixup! boss_bronjahm aura:spell_bronjahm_soulstorm_channel_ooc_aura
* fixup! boss_bronjahm aura:spell_bronjahm_soulstorm_visual_aura
* fixup! pit_of_saron aura:spell_pos_empowered_blizzard_aura
* fixup! halls_of_reflection aura:spell_hor_gunship_cannon_fire_aura
* fixup! boss_marwyn aura:spell_hor_shared_suffering_aura
2024-06-23 19:17:19 +02:00
IntelligentQuantum
4ec284577e
chore(Scripts/Northrend): remove useless includes ( #18061 )
2023-12-25 02:15:56 -03:00
Andrew
54fab715a5
refactor(Scripts/UtgardeKeep): Clean up unused variables ( #17985 )
2023-12-11 04:31:24 -03:00
Winfidonarleyan
eb1ecc38a5
feat(Core/Scripting): move all script objects to separated files ( #17860 )
...
* feat(Core/Scripts): move all script objects to separated files
* Apply 5bfeabde81
* try gcc build
* again
2023-12-02 21:13:20 +01:00
Kitzunu
5bfeabde81
chore(Core/Misc): rename spellInfo pointers ( #17914 )
...
* Rename all
2023-12-02 06:03:15 -03:00
Winfidonarleyan
e90d7a2f92
chore(Core/Misc): sort includes ( #17776 )
...
* chore(Cleanup): sort includes
* fix build
* fix build again
2023-11-18 17:51:26 +01:00
avarishd
970aca642e
fix(Scripts/UtgardeKeep): Prince Keleseth not aggroing ( #15523 )
...
* fix(Scripts/Instance): Utgarde Keep - Prince Keleseth not aggroing from proximity.
* update
* zzz
* typo
* remove broadcast_text update
2023-03-23 08:08:29 -03:00
Maelthyr
0200a288cd
refactor(Scripts/Northrend): conversion to std::chrono ( #15269 )
...
Co-authored-by: Maelthyrr <maelthyrr@users.noreply.github.com >
2023-03-07 09:23:33 -03:00
Kitzunu
bd6034e1a9
refactor(Core/AI): Some more refactoring prep for Comat Threat system… ( #15026 )
...
Co-authored-by: Treeston <14020072+Treeston@users.noreply.github.com >
2023-02-13 21:39:40 +01:00
Skjalf
0dbb8c814c
refactor(Core/InstanceScript): refactored load and save methods ( #14977 )
...
Co-authored-by: joschiwald <736792+joschiwald@users.noreply.github.com >
2023-02-12 15:53:48 -03:00
Skjalf
b4e3f1310b
feat(Core/Unit): Add KillSelf overload ( #14785 )
...
Co-authored-by: jackpoz <giacomopoz@gmail.com >
2023-01-28 17:57:23 -03:00
Maelthyr
3024bee3ba
refactor(Core/UnitAI): Update target selector ( #13169 )
...
* refactor(Core/UnitAI): Update TargetSelector.
Cherry-pick:
*https://github.com/TrinityCore/TrinityCore/pull/19930
Co-authored-by: Treeston <treeston@users.noreply.github.com >
* fix GGC/CLang errors in scripts
* .
* missing a file and fix a script error
* .
* fix path changes dude to a miss click in the second commit
* .
Co-authored-by: Maelthyrr <lynethris@protonmail.ch >
Co-authored-by: Treeston <treeston@users.noreply.github.com >
2022-12-06 09:27:13 -03:00
Maelthyr
c1c9dc6105
refactor(Core/ScriptedAI): few improvements with threat methods ( #13146 )
...
improve threat scripts
Co-authored-by: Maelthyrr <lynethris@protonmail.ch >
2022-11-12 13:29:28 +01:00
Angelo Venturini
ad4ce0895f
fix: Qaston revert ( #13320 )
...
* Revert "fix(Core/QAston): fixed shields oneshotting (#13271 )"
This reverts commit e05f61d1b3 .
* Revert "fix(Core): Crash (#13292 )"
This reverts commit a818bcf3e2 .
* Revert "fix: Crash (#13241 )"
This reverts commit be423a91b5 .
* delete sql
* Revert "refactor(Core/Spells): Implement QAston Proc System (#11079 )"
This reverts commit cbd3fd0967 .
* add sql revert
* fix sql
* remove update from world.updates
2022-10-05 21:53:20 +02:00
IntelligentQuantum
cbd3fd0967
refactor(Core/Spells): Implement QAston Proc System ( #11079 )
...
* .
* sql
* .
* .
* 1
* 2
* 3
* 4
* 5
* 6
* 7
* 8
* 9
* 10
* 11
* 12
* 13
* 14
* 15
* Update spell_item.cpp
* Update Unit.cpp
* 16
* 17
* 18
* 19
* 20
* 21
* Update Unit.cpp
* REVERT UltraNIX Commit
* 22
* 23
* .
* .
* .
* warrior
* warlock
* shaman rogue priest paladin mage
* spell item
* hunter
* druid
* dk
* war
* error style
* Update rev_1647677899565690722.sql
* Update rev_1647677899565690722.sql
* Update rev_1647677899565690722.sql
* .
* DOND DEL ME WAD DO DO
* error 2
* .
* .
* .
* FIX
* Update SpellInfoCorrections.cpp
* Update SpellInfoCorrections.cpp
* .
* ja genau
* Update .gitignore
* .
* .
* .,
* .
* .
* .
* .
* Update Unit.cpp
2022-10-02 19:39:34 +02:00
Skjalf
c6ff6005be
fix(Scripts/UtgardePinnacle): Svala Sorrowgrave's sacrifice should o… ( #12069 )
2022-06-20 09:46:05 -03:00
Maelthyr
d928d8d96a
refactor(Core/Unit): PC&NPC Immunity ( #11986 )
...
* initial
* refactor(Core/Unit): PC & NPC Immunities
Cherry-pick TC: 74af880217
Co-authored-by: Treeston <treeston.nmoc@gmail.com >
* fix builds error
Cherry-pick TC: 74af880217
Co-authored-by: Treeston <treeston.nmoc@gmail.com >
* Fix nef combat, and replace SetFlag by SetUnitFlag
* fix combat with jedoga
Co-authored-by: Treeston <treeston.nmoc@gmail.com >
2022-06-18 08:16:45 -04:00
Christopher Galbraith
ac8a6b4328
fix(Script/Skadi): Emotes ( #11625 )
...
* Added Grauf deep breath emote
* Renamed flame visual to properly reflect spell name Freezing Cloud
* Removed defined text, now uses creature_text for emotes
Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com >
2022-05-07 23:20:34 +02:00
IntelligentQuantum
ab4ee71762
feat(Core/Maps): AreaBoundary ( #10525 )
...
* cherry-picked commit (2da458c56d )
2022-04-15 14:10:41 +02:00
Kitzunu
9858773ab6
fix(Scripts/UtgardPinnacle): Implement Beast's Mark ( #11298 )
...
* chery-pick commit (f6409efcf6 )
Co-Authored-By: Lucas Nascimento <keader.android@gmail.com >
Co-authored-by: Lucas Nascimento <keader.android@gmail.com >
2022-04-07 15:55:01 -03:00
Kitzunu
b41967a067
feat(Core/GameObject): Gob flag helpers ( #11287 )
2022-04-05 13:52:58 +02:00
Kitzunu
535c7451a2
feat(Core/Unit): New helpers for DynamicFlags ( #11230 )
...
* feat(Core/Unit): New helpers for DynamicFlags
* cherry-pick commit (d611925dc7 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com >
* oopsie
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-04-01 07:14:29 -03:00
Kitzunu
856aed6fc6
feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 ( #11227 )
2022-03-30 07:59:42 -03:00
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name ( #10591 )
2022-02-14 16:05:45 -03:00
Kitzunu
cb7e355291
refactor(Core/Misc): sin() to std::sin() ( #9795 )
2022-01-06 19:29:40 +01:00
Kitzunu
69683a3472
chore(Scripts/Misc): Cleanup some more JustDied hooks ( #9768 )
2021-12-31 12:00:40 -03:00
Kargatum
c81891fc11
feat(Core/AI): convert SelectAggroTarget to enum class ( #9893 )
2021-12-28 19:13:12 -03:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
Kitzunu
bc82f36f1f
refactor(Core/Unit): clean MonsterText methods ( #6957 )
2021-10-15 10:25:29 +02:00
Kargatum
52aa0e9966
feat(License): add new headers information about license ( #7941 )
...
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
2021-09-30 13:40:52 +07:00
Viste
a9796af174
fix(Core/Misc): bunch of crashfixes ( #7307 )
2021-09-14 14:38:56 +02:00
UltraNix
7406a01ac3
fix(Core/Spells): several improvements to cooldowns ( #7559 )
...
- Reworked spell category cooldowns.
- Implemented category cooldowns for pets.
- Properly shows pet spell cooldowns in player's UI.
- Corrected pet spell cooldowns with infinity duration.
- Do not add/remove infinity spell cooldown on aura apply/remove if casted by item.
- Closes #5263
2021-09-13 20:57:48 +02:00
UltraNix
1b7d3708a6
fix(Core/Loot): ( #7452 )
...
- Players that did not participate in killing dungeon boss are not eligible to get loot.
- Players that are too far away from the looted object are not eligible to get loot.
- Players that released spirit and were outside the dungeon when the loot has been released are eligible to get loot.
- Players that have pending bind are not eligible to get loot.
- Properly get loot recipient for some chests in dungeons.
- All above fixes should work in any loot mode (group loot, master loot, etc.)
- Closes #2104 .
2021-08-24 23:48:22 +02:00
Francesco Borzì
0dfab5d69b
refactor(Scripts/Northrend): code cleanup (part 11) ( #7103 )
2021-08-07 17:48:57 +02:00
Zenslash
06027e3267
fix(Core/Instance): Grauf is spawned in the floor ( #6776 )
...
- Closes #6742
2021-07-08 22:12:22 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
Kitzunu
33aeadf8b6
refactor(Core/Misc): Define & Rename Attributes and flags ( #5193 )
2021-04-15 14:16:39 +02:00
Footman
c32cd06a78
fix(Core/Movement): fix multiple creature movement issues ( #5097 )
2021-04-09 20:56:19 +02:00
Kitzunu
4765ab3d59
fix(Core/Script): Rename Pinnacle & Ramparts scripts ( #5175 )
2021-04-07 21:57:28 +02:00
Kitzunu
f9d708b450
feat(Core/Instance): Add instance validation for creature scripts ( #4596 )
2021-04-05 15:34:26 +02:00
Silker
7a5e4be7a2
fix(scripts/UtgardeKeep): Improve Dalronn & Skarvald ( #5044 )
2021-03-28 15:30:52 -06:00
Kitzunu
28f1dc5c0c
refactor(Core): replace NULL with nullptr ( #4593 )
2021-03-02 01:34:20 +01:00