Andrew
938c637c9a
refactor(Scripts/VioletHold): Move all spells to spelldifficul… ( #20796 )
...
refactor(Scripts/VioletHold): Move all spell scripts to spelldifficultydbc
2024-12-01 08:47:52 -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
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
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
Grimgravy
09c40a8cd3
fix(Scripts/VioletHold): Activation Crystals ( #13176 )
...
* fix(Scripts/Activation Crystals): Instance The Violet Hold
* update
* Update violet_hold.cpp
2023-05-13 14:48:26 -03:00
avarishd
a8a3c4ed10
fix(Scripts/VioletHold): Remove hardcoded text and add some of the missing gossips. ( #15058 )
...
* Remove hardcode and add some of the missing gossip.
* cs
* {}
* ///
2023-04-02 15:37:21 -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
Pedro Antonio
ede34b714b
fix(DB/Script): Violet Hold Door not opening ( #13958 )
2023-01-28 11:04:07 +01: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
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
Maelthyr
dfc6adb081
refactor(Core/Combat): DeleteThreatLists() become ClearAllThreat() ( #11824 )
...
refactor(Chore/Combat): DeleteThreatLists() become ClearAllThreat()
2022-05-23 05:51:52 -03:00
IntelligentQuantum
ab4ee71762
feat(Core/Maps): AreaBoundary ( #10525 )
...
* cherry-picked commit (2da458c56d )
2022-04-15 14:10:41 +02:00
Kitzunu
b41967a067
feat(Core/GameObject): Gob flag helpers ( #11287 )
2022-04-05 13:52:58 +02: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
d1cc65b1c7
refactor(Core/Misc): isEmpty to IsEmpty ( #10011 )
2022-01-13 21:43:15 -05:00
Kitzunu
cb7e355291
refactor(Core/Misc): sin() to std::sin() ( #9795 )
2022-01-06 19:29:40 +01: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
Francesco Borzì
0dfab5d69b
refactor(Scripts/Northrend): code cleanup (part 11) ( #7103 )
2021-08-07 17:48:57 +02:00
Francesco Borzì
4103fca5a4
fix(Core/ObjectGuid): prevent creating copies when looping objects ( #6852 )
2021-07-10 15:54:16 +02:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) ( #4885 )
2021-04-25 22:18:03 +02:00
Kitzunu
f9d708b450
feat(Core/Instance): Add instance validation for creature scripts ( #4596 )
2021-04-05 15:34:26 +02:00
Kitzunu
28f1dc5c0c
refactor(Core): replace NULL with nullptr ( #4593 )
2021-03-02 01:34:20 +01:00
Kitzunu
dbc0ff6554
refactor(Core): sort #includes alphabetically ( #4579 )
2021-02-24 22:34:42 +01:00
Yehonal
c8f43d8584
feat(Core/Movement): Improved pathfinding, collisions and movements ( #4220 )
...
Npc positioning
Implemented slope check to avoid unwanted climbing for some kind of movements (backwards, repositioning etc.)
Implemented backwards movement
Re-implemented circle repositioning algorithm (smartest than retail, but with the same feeling)
Fixed random position of summoned minions
Improved pet following movement. Also, they attack NPC from behind now. Thanks to @Footman
Swimming creatures
Fixed max_z coordinate for swimming creatures. Now only part of their body is allowed to be out of the water level
Fixed pathfinder for swimming creatures creating shortcuts for specific segments, now they swim underwater to reach the seashore instead of flying above the water level.
Creatures with water InhabitType but no swimming flag now, when not in combat, will walk on water depth instead of swimming. Thanks @jackpoz for the original code
UNIT_FLAG_SWIMMING in UpdateEnvironmentIfNeeded to show the swimming animation correctly when underwater
Implemented HasEnoughWater check to avoid swimming creatures to go where the water level is too low but also to properly enable swimming animation only when a creature has enough water to swim.
Walking creatures
Extended the DetourNavMeshQuery adding area cost based on walkability (slope angle + source height) to find better paths at runtime instead of completely remove them from mmaps
improve Z height in certain conditions (see #4205 , #4203 , #4247 )
Flying creatures
Rewriting of the hover system
Removed hacks and improved the UpdateEnvironmentIfNeeded. Now creatures can properly switch from flying to walk etc.
Spells
LOS on spell effect must be calculated on CollisionHeight and HitSpherePoint instead of position coords.
Improved position for object/creature spawned via spells
Improved checks for Fleeing movements (fear spells)
Other improvements
Implemented method to calculate the CollisionWidth from dbc (used by repositioning algorithm etc.)
Improved raycast and collision checks
Co-authored-by: Footman <p.alexej@freenet.de >
Co-authored-by: Helias <stefanoborzi32@gmail.com >
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2021-02-01 01:34:27 +01:00
Kargatum
ea93a5c1a1
feat(CI/Codestyle): added codestyle check ( #3668 )
2021-01-09 11:59:50 +01:00
Francesco Borzì
d4a58700d4
refactor(Core): apply clang-tidy modernize-use-override ( #3817 )
2020-12-06 18:04:55 +01:00
Andrius Peleckas
ab5933effa
fix(Core/Util): EventMap::RepeatEvent when eventId is retrieved by ExecuteEvent() call ( #3426 )
2020-10-17 14:59:22 +02:00
Kargatum
5e20b46812
refactor(Core/Scripts): restyle scripts lib with astyle ( #3467 )
2020-10-11 10:35:34 +02:00
Stefano Borzì
51330f54d8
refactor(Core/Misc): remove the ternary operator when used improperly ( #3327 )
2020-09-10 12:29:23 +02:00
Kitzunu
1f89282b22
refactor(Core): NULL -> nullptr ( #3275 )
...
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
* NULL to nullptr
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com >
Co-authored-by: Stefano Borzì <stefanoborzi32@gmail.com >
2020-08-31 11:55:09 +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
Stoabrogga
7a9f09341f
chore(PCH): remove "ScriptPCH.h" from cpp scripts ( #1423 )
...
remove "ScriptPCH.h" from cpp scripts as it is intended to be used as precompiled header for the build process only
2019-02-10 14:50:44 +01: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