天鹭
53238a68d3
refactor(Core): DespawnOrUnsummon ( #23141 )
2025-10-13 03:36:23 -03:00
@cgrahamseven
fa9e34de88
fix(Scripts/Oculus): Fix oculus npc belgaristrasz gossip menu ( #22765 )
...
Co-authored-by: cgrahamseven <chris.graham@protonmail.com>
2025-09-03 20:25:18 -03:00
Kitzunu
ceefd89a06
feat(CI/Codestyle): check for curly brackets before/after if/else statements ( #20977 )
...
* feat(CI/Codestyle): check for braces after if/else statements
* right need to edit a cpp file to trigger cpp check
* Revert "right need to edit a cpp file to trigger cpp check"
This reverts commit 2e34d8c52f35216549107a3476e79e79ea2ae077.
* fix codestyle in cpp
* Update oculus.cpp
* Update codestyle.py
* Update codestyle.py
* Update codestyle.py
* Update codestyle.py
2024-12-19 21:14:58 +01: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
61f3a631c3
fix(Server): remove double blank lines at the end of several files ( #19735 )
2024-08-25 07:21:14 -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
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
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
cctvzj
1805cc269e
fix(Script/Nexus/EOE/Oculus) The Scion of Eternity(EOE) target wrong and player can not ride the dragon in Oculus ( #14830 )
...
Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-02-05 16:03:35 -03:00
Skjalf
bf30c66ba4
feat(Core/GameObject): Expand IsSummonedBy() to GameObjects ( #14789 )
...
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-29 09:44:33 -03:00
Kitzunu
edb7cac19b
feat(Core/Unit): NPCFlags helpers ( #11286 )
...
* cherry-pick commit (TrinityCore/TrinityCore@d611925 )
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
2022-04-05 13:52:42 +02:00
Kitzunu
856aed6fc6
feat(Core/Unit): New helpers for UnitFlag and UnitFlag2 ( #11227 )
2022-03-30 07:59:42 -03:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup ( #9259 )
2021-11-22 17:24:39 +07:00
Skjalf
1e57b6fb99
fix(Core/Spells): add several missing null checks for the DamageInfo struct to fix a crash ( #8322 )
2021-10-10 16:07:14 +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
Francesco Borzì
0dfab5d69b
refactor(Scripts/Northrend): code cleanup (part 11) ( #7103 )
2021-08-07 17:48:57 +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
Kitzunu
f9d708b450
feat(Core/Instance): Add instance validation for creature scripts ( #4596 )
2021-04-05 15:34:26 +02:00
Kitzunu
dbc0ff6554
refactor(Core): sort #includes alphabetically ( #4579 )
2021-02-24 22:34:42 +01:00
Kitzunu
0d52b4ca4a
feat(Core/Spell): Implement ValidateSpellInfo ( #4323 )
...
* feat(Core/Spell): Implement ValidateSpellInfo
* cherry-pick from 2b5d7eef3a & a0a158b5b8
* sLog->outError
* cleanup
* convert to ValidateSpellInfo
* fix error log
* improve sLog->outError
* remove non related spells stuff from Validate
* remove the last
* build
* build x2
2021-02-01 18:57:25 +01:00
WiZZy
b9375ffff7
fix(Core/The Oculus) Drakos dragon keepers ( #3531 )
2021-01-12 14:46:16 +01:00
Francesco Borzì
d4a58700d4
refactor(Core): apply clang-tidy modernize-use-override ( #3817 )
2020-12-06 18:04:55 +01:00
Kargatum
5e20b46812
refactor(Core/Scripts): restyle scripts lib with astyle ( #3467 )
2020-10-11 10:35:34 +02:00
Kaev
999d588c37
fix(Core): Fixed a few crashes/bugs that were found via static code analysis ( #2617 )
2020-01-25 14:26:38 +01:00
Kargatum
b6cb9247ba
Refactor(Core/Gossip): Replacing old macros with new ( #1338 )
...
* Correct support new macro
2019-03-25 21:10:57 +07:00
Alan
cd9e8716d8
Fix(Scripts/Instances/Oculus): improvements ( #1498 )
...
* I removed the blank
* I made some changes to correct Travis's error.
* Update oculus.cpp
* Removed the unused method parameter
Renamed Unit::SetSpeed to SetSpeedRate
* added an improvement
* Correct Drakes flight error
* duplicate removed
* Travis Error Fixing
2019-03-14 23:48:59 +03:00
Nefertumm
dd300003e2
Update license links ( #783 )
2018-03-12 10:54:57 +01:00
Yehonal
17332304fd
Using TC structure allowing easier patches importing
2017-12-21 00:20:29 +01:00
Yehonal
0f85ce1c54
Big re-organization of repository [W.I.P]
2016-08-11 20:25:27 +02:00
Yehonal
f6eefedcd5
converted all tabs to 4 spaces
2016-06-26 19:23:57 +02:00
Yehonal
e8e94a0a66
First Commit
...
For Azeroth!
2016-06-26 10:39:44 +02:00