Commit graph

67 commits

Author SHA1 Message Date
Andrew
01ebb1f193
fix(Scripts/Dragonblight): Fix Rescue Villager cast conditions (#23822) 2025-11-21 02:16:56 -03:00
Francesco Borzì
50b36e842a
fix(docs/license): use GPLv2 as MaNGOS-based project (#23655) 2025-11-14 08:44:25 -03:00
killerwife
a8976aa6e7
fix(Scripts/Misc): Adjust points from old wrong 0 based indexing to smart ai indexing (#23472) 2025-10-30 06:44:34 -03:00
killerwife
6292f80219
feature(SmartAI/Movement) - Unify waypoint systems (#23251) 2025-10-26 17:52:59 +01:00
天鹭
058f7acac6
refactor(Core): AddEventAtOffset (#23140) 2025-10-17 06:09:57 +02:00
天鹭
53238a68d3
refactor(Core): DespawnOrUnsummon (#23141) 2025-10-13 03:36:23 -03:00
天鹭
8e2e30328f
refactor(Core): Make ObjectGuid const (#23170)
* cherry-pick commit (a7883380ce)

Co-Authored-By: Lucas Nascimento <keader.android@gmail.com>
2025-10-12 23:13:12 -03:00
天鹭
9c49349e1e
refactor(Core/EventMap): Refactor EventMap and related scripts (#23121)
Co-authored-by: Kelno <3866946+kelno@users.noreply.github.com>
Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com>
2025-10-12 22:19:24 -03:00
Andrew
42d49d1b6a
fix(Core/Vehicles): Fix issue with Wyrmrest Vanquisher and other issues with On Ruby Wings (#22989) 2025-09-23 10:44:35 +02:00
Andrew
bb9aa574f3
refactor(Scripts/Dragonblight): Move Strengthen the Ancients quest sc… (#22983) 2025-09-20 14:48:58 -03:00
Andrew
add49b7723
fix(Scripts/Dragonblight): Script Wyrmrest Vanquisher Flame Fury spell (#22940) 2025-09-16 06:53:49 -03:00
Jelle Meeus
79278aa504
fix(Scripts/Dragonblight): quest Fresh Remounts (#22846) 2025-09-09 02:40:01 -03:00
Takenbacon
73317b2706
feat(Core/Grids): Remove WorldObject separation in grid containers (#22595) 2025-08-09 06:36:24 +02:00
Benjamin Jackson
b73bdb3adc
chore(Core): Remove unused and inaccurate comment headers for various script-related files. (#22263) 2025-06-05 15:49:20 -03:00
Benjamin Jackson
52799d76f6
refactor(Core): Add definition file for area table entries. (#22054) 2025-05-09 15:48:02 +02:00
Andrew
d340ae029b
fix(Scripts/Dragonblight): Fix Torturer Leclaft spamming abilities (#20130)
fix(Scripts/Dragonblight): Fix Toturer Leclaft spamming abilities
2024-10-05 11:02:31 +02: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
Jelle Meeus
2763625498
refactor(Scripts/Northrend): spell scripts registry macros (#19346)
* zone_sholazar_basin spell:spell_q12726_song_of_wind_and_water

* zone_sholazar_basin spell:spell_q12620_the_lifewarden_wrath

* zone_sholazar_basin spell:spell_q12589_shoot_rjr

* zone_sholazar_basin spell:spell_shango_tracks

* zone_borean_tundra aura:spell_q11919_q11940_drake_hunt_aura

* zone_borean_tundra spell:spell_arcane_chains_character_force_cast

* zone_borean_tundra spell:spell_q11719_bloodspore_ruination_45997

* isle_of_conquest aura:spell_ioc_repair_turret_aura

* isle_of_conquest spell:spell_ioc_bomb_blast_criteria

* isle_of_conquest spell:spell_ioc_gunship_portal

* isle_of_conquest aura:spell_ioc_parachute_ic_aura

* isle_of_conquest spell:spell_ioc_launch

* zone_dragonblight spell:spell_q12478_frostmourne_cavern

* zone_dragonblight aura:spell_q12243_fire_upon_the_waters_aura

* zone_dragonblight spell:spell_q24545_aod_special

* zone_dragonblight spell:spell_q12096_q12092_dummy

* zone_dragonblight spell:spell_q12096_q12092_bark

* zone_storm_peaks aura:spell_q13003_thursting_hodirs_spear_aura

* zone_storm_peaks spell:spell_q13007_iron_colossus

* zone_storm_peaks aura:spell_close_rift_aura

* zone_wintergrasp spell:spell_wintergrasp_force_building

* zone_wintergrasp spell:spell_wintergrasp_create_vehicle

* zone_wintergrasp spell:spell_wintergrasp_rp_gg

* zone_wintergrasp spell:spell_wintergrasp_portal

* zone_wintergrasp spell:spell_wintergrasp_water

* zone_wintergrasp aura:spell_wintergrasp_hide_small_elementals_aura

* zone_wintergrasp spell:spell_wg_reduce_damage_by_distance

* zone_icecrown spell:spell_switch_infragreen_bomber_station

* zone_icecrown pair:spell_charge_shield_bomber

* zone_icecrown spell:spell_fight_fire_bomber

* zone_icecrown spell:spell_anti_air_rocket_bomber

* zone_icecrown spell:spell_onslaught_or_call_bone_gryphon

* zone_grizzly_hills spell:spell_shredder_delivery

* zone_grizzly_hills aura:spell_infected_worgen_bite_aura

* zone_grizzly_hills spell:spell_vehicle_warhead_fuse

* zone_grizzly_hills spell:spell_warhead_detonate

* zone_grizzly_hills aura:spell_z_check_aura

* zone_grizzly_hills aura:spell_warhead_fuse_aura

* fixup! zone_icecrown pair:spell_charge_shield_bomber
2024-07-09 13:07:41 -03:00
Kitzunu
5a4692e45a
chore(Core/Misc): #include cleanup (#19255) 2024-07-02 15:52:02 +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
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
Anton Popovichenko
1a1a320ea1
fix(Scripts/Dragonblight): Fix crash from Wintergarde Gryphon. (#17032)
fix(Vehicle): Fix crash on ExitVehicle from Wintergarde Gryphon.
2023-08-19 22:30:39 +02: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
IntelligentQuantum
23fbdd0fe3
fix(Core/Scripts): Zort's Protective Elixir (#14365) 2023-03-04 12:22:22 +03:30
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
bf30c66ba4
feat(Core/GameObject): Expand IsSummonedBy() to GameObjects (#14789)
Co-authored-by: jackpoz <giacomopoz@gmail.com>
2023-01-29 09:44:33 -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
Grimgravy
8c369ef865
fix(Core/Quest): improved flight of the wintergarde defender (#12437)
* fix(Scripts/Quest): Flight of the Wintergarde Defender

* .

* update

* update
2022-08-27 09:51:40 -03:00
avarishd
9aa3fef4a8
fix(Script/Quest): Mystery of the Infinite minor adjustments & zone_dragonblight move to db from hardcode (#11810)
* Update zone_dragonblight.cpp

* add IsFlying check to Future/past NPC & better randomizer

* ocd ( align =)

* Add Nozdormu "phasing"

* cs
2022-06-08 08:32:57 -03:00
avarishd
634b2e101c
fix(Script/Quest): Conversing With the Depths adjustments & zone_dragonblight move to db from hardcode (#11795)
* Update zone_dragonblight.cpp

* Update zone_dragonblight.cpp
2022-05-21 23:29:28 +02: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
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
Kitzunu
455899dc75
fix(Core/Misc): Change const to be after type name (#10591) 2022-02-14 16:05:45 -03:00
IntelligentQuantum
93520f6466
feat(Core/Position): own file (#10505) 2022-02-08 05:12:42 -03:00
Kargatum
f62664c987
refactor(Core/Misc): headers cleanup (#9259) 2021-11-22 17:24:39 +07:00
Malcrom
f106de8788
refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01: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
Kitzunu
7152ddc82c
refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457 (#6113)
* refactor(Core/Grids): Ported cmangos/mangos-wotlk@ea99457

(cherry picked from commit d6201e5dbb)
Co-Authored-By: Shauren <shauren.trinity@gmail.com>
Co-Authored-By: SilverIce <slifeleaf@gmail.com>

* Update CellImpl.h

* w

* more more brackets

* ew

* fix build
2021-06-03 05:27:51 +02:00
Kitzunu
897a02bb75
refactor(Core/Misc): acore to Acore (#6043) 2021-05-31 14:21:54 +02:00
UltraNix
44babc3c3a
fix(Core/Pooling): Fixed less and less objects from pools being spawned the longer the server is running (#5572) 2021-05-08 12:39:09 -06:00
UltraNix
f4c226423d
feat(Core/Misc): implement ObjectGuid class (port from TC) (#4885) 2021-04-25 22:18:03 +02:00
Francesco Borzì
f6a17164be
fix(Core/License): issue with old files license (#4762) 2021-03-17 09:46:01 -06:00