39 Commits

Author SHA1 Message Date
Shauren
95ca714824 Core/Movement: Replace MotionMaster::MoveJumpWithGravity with new jump height based MoveJump 2025-11-24 12:07:19 +01:00
Shauren
ed599208ea Core/Movement: Change MoveJump to use min/max height argument instead of vertical speed 2025-11-23 11:54:42 +01:00
Aqua Deus
5d00e6b4ab Scripts/Mardum: Script Fel Lord Caza for quest Hidden no more (#30949)
Co-authored-by: Naddley <NaddleyTC@gmail.com>
Co-authored-by: ModoX <moardox@gmail.com>
2025-10-18 22:14:53 +02:00
Shauren
5cf0c6c8bb Core: Updated to 11.2.0 2025-08-13 00:31:39 +02:00
Naddley
cd3dd59b53 Scripts/DalaranLegion: Implement Quest "Call of the Uncrowned" (#31126) 2025-07-12 22:14:56 +02:00
Naddley
2a2e09e8f4 Scripts/DalaranLegion: Implement Quest: "Weapons of Legend" (Hunter) (#31099) 2025-07-05 16:13:58 +02:00
Aqua Deus
c4c721cb7d Scripts/BlackRookHold: Implement Amalgam of Souls encounter (#31025) 2025-06-28 15:22:46 +02:00
Naddley
5054c9487e Scripts/DalaranLegion: Implement aura to handle Orderhall Campaign Intro (#31063) 2025-06-14 18:07:11 +02:00
Shauren
069771e22e Core/AreaTriggers: Replace fixed movement times in database for areatriggers with speed 2025-01-10 21:22:28 +01:00
Shauren
d778d5ec7c Core/Misc: Include cleanup - remove MapUtils.h from Containers.h 2024-12-31 18:12:36 +01:00
ModoX
309ba22a15 Core/AI: Implemented conversation ai (#30538) 2024-12-28 23:25:10 +01:00
ModoX
5f5871708f Scripts/MawOfSouls: Implemented Ymiron, the Fallen King encounter (#29987) 2024-05-22 16:00:48 +02:00
Shauren
dad976beb4 Core/Movement: Migrate scripts using GetMotionMaster()->MoveSmoothPath to GetMotionMaster()->MovePath and kill it (they now have the same capabilities) 2024-04-25 00:42:16 +02:00
Naddley
611110be3b Scripts/Mardum: Implement "Hidden No More" quest accept event (#29899)
Co-Authored-By: ModoX <moardox@gmail.com>
2024-04-12 17:30:04 +02:00
ModoX
e8f7d41536 Core/Movement: Added Velocity field to waypoint_path table (#29837) 2024-04-02 04:12:52 +02:00
Naddley
8a271c402d DB/Mardum: Implement Quest "Give Me Sight Beyond Sight" (#29833)
Co-Authored-By: ModoX <moardox@gmail.com>
2024-03-26 00:21:22 +01:00
Shauren
59f92412d0 Core/Movement: MoveRotate improvements
* Allow overriding rotation speed
* Allow limiting rotation using total rotation angle instead of duration
2024-02-28 21:10:05 +01:00
Shauren
605e5f94c0 Core/Creatures: Moved autoattack handling from scripts to game 2024-01-08 22:23:12 +01:00
Meji
c1b36eec56 Core/Units: Update PlayHoverAnim state when flying or hovering (#29434) 2023-11-25 14:04:33 +01:00
Naddley
f58ff3d0f7 Scripts/Mardum: Implement quest: "Enter The Illidari: Shivarra" (#29417) 2023-11-08 23:26:56 +01:00
ModoX
0e2f041728 Core/InstanceScript: Refactored door types to reflect its behavior (#29406) 2023-11-06 00:11:42 +01:00
Teleqraph
9eceff2bc2 Core/Map: Implement several difficulty getters (#29370)
Co-authored-by: ModoX <moardox@gmail.com>
2023-10-22 11:24:48 +02:00
Naddley
3e71d793b4 Scripts/Mardum: Implement Quest: "Set Them Free" (#29369) 2023-10-16 00:56:17 +02:00
ModoX
9223f0cfb4 Scripts/TrialOfValor: Implemented Guarm (#29264) 2023-10-13 02:22:04 +02:00
Naddley
99220af493 Scripts/Mardum: Implement Quest: "Eye On the Prize" (#29352) 2023-10-09 01:11:25 +02:00
Naddley
4537b37738 Scripts/Mardum: Implement Quest "Enter the Illidari: Coilskar" (#29345) 2023-10-02 18:52:34 +02:00
ModoX
122622827f Scripts/Mardum: Fix build 2023-09-23 01:06:16 +02:00
Naddley
7c4f175d3a Scripts/Mardum: Implement Quest "Enter the Illidari: Ashtongue" (#29324) 2023-09-23 00:50:09 +02:00
Naddley
e56fca906f Scripts/Mardum: Implement The Invasion Begins quest (#29302)
Co-authored-by: ModoX <moardox@gmail.com>
2023-09-07 02:20:43 +02:00
Naddley
f2d0857d55 Scripts/Mardum: Implement DH intro event (#29211)
Co-Authored-By: funjoker <funjoker109@gmail.com>
2023-08-16 12:11:40 +02:00
Shauren
d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Maks Szokalski
bc04acb726 Add "On" to some gossip methods in AI (#25415)
* Add "On" to some methods

* Update npc_innkeeper.cpp

* Update zone_borean_tundra.cpp

(cherry picked from commit 41188eb535)
2022-02-05 22:18:19 +01:00
Peter Keresztes Schmidt
2e3c612c80 Core/Unit: Make HandleEmoteCommand typesafe (#25249)
* Scripts/ScarletMonastery: Fix wrong emote during Headless Horseman encounter

* Scripts/HoR: Fix wrong emote during escape event

* Core/Unit: Make improve type safety of HandleEmoteCommand

Change argument type to the expected enum type Emote

* Scripts/CoS: Use SetUInt32Value to set UNIT_NPC_EMOTESTATE

UNIT_NPC_EMOTESTATE is no flag field

(cherry picked from commit 6c7837f947)
2022-01-26 21:46:51 +01:00
Carbenium
310f996b1d Core/WorldObject: Partially std::chrono-ify SummonCreature overloads
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0);
to
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime = 0s);

(cherry picked from commit 1131229ee9)
2022-01-24 11:55:32 +01:00
Giacomo Pozzoni
5f545f5402 3.3.5 gameobject summoner (#23289)
* Scripts/Misc: Change IsSummonedBy(Unit*) to IsSummonedBy(WorldObject*)

* Scripts/Misc: Fix build

* Core/TempSummons: Rename GetSummoner() to GetSummonerUnit()

* Core/TempSummons: Add support to TempSummons::GetSummoner() to return GameObject too

* Fix build

* Core/TempSummons: Allow GameObject to be owner of TempSummon

* Core/TempSummons: Add support to SAI for GameObject owner of TempSummon

* Scripts/Misc: Fix no-pch build

* Core/TempSummons: Implement PR comments

(cherry picked from commit 797fba98e9)
2021-12-07 00:02:03 +01:00
Shauren
33b3ebcae6 Core/Objects: Pass privateObjectOwner guid directly to SummonCreature functions 2021-03-28 20:22:05 +02:00
ariel-
6604849716 Core/Scripts: unified scripted gossip/quest api
- Changed self-accessor on GameObjectAI to "me", like UnitAI
- Moved all related functions to AI, now Unit and GameObject have the same function names with identical behaviour
- Remove "OnUpdate" from CreatureScript/GameObjectScript, was never used and we already have AI Update method
- Quest methods no longer return a bool, the return value was used to call the AI version if the ScriptMgr one returned false
- Implemented GameObjectAI::Destroyed hook (was never called), implemented Damaged method
- Rename OnStateChanged to OnLootStateChanged to reflect when it's really called, and created a new hook OnStateChanged that only gets called on GOState change
- Since the functions are now only getting called from AI, made GetAI methods full virtual. (CanSpawn method is anyways going to be used on creatures with AI)

(cherry picked from commit f913f3bb89)
2020-05-03 03:04:32 +02:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Jeremy
51d6ad4014 Scripts/OrderHall: Spawn some Warrior Order Hall NPC's and script some of them (#19902) 2019-08-25 12:59:21 +02:00