Commit Graph

7406 Commits

Author SHA1 Message Date
Shauren
33eb662bcc Scripts/Items: Updated Amalgam's Seventh Spine script - fixed auras lingering after removal and added new case for evokers
(cherry picked from commit 250984a7b7)
2024-05-28 16:45:37 +02:00
Ovahlord
cbc6aed437 Core/Auras: Implemented OnHeartbeat AuraScript hook and refactored an aurascript to use it as example (#29945)
* Updated Amalgam's Seventh Spine dummy aura script to use the new AuraScript hook

(cherry picked from commit 55ce5b150f)
2024-05-28 16:45:30 +02:00
Aqua Deus
2ee8c63d93 Scripts/Spells: Fix Crusader's Might cooldown reduction effect (#29938)
(cherry picked from commit a361d3f587)
2024-05-28 16:45:07 +02:00
Shauren
0d65725551 Core/Movement: Migrate scripts using GetMotionMaster()->MoveSmoothPath to GetMotionMaster()->MovePath and kill it (they now have the same capabilities)
(cherry picked from commit dad976beb4)

# Conflicts:
#	src/server/scripts/BrokenIsles/zone_orderhall_warrior.cpp
2024-05-28 16:44:37 +02:00
Shauren
78805e49c0 Core/Misc: Support boost 1.85
(cherry picked from commit cfa838df5d)
2024-05-28 16:43:54 +02:00
Aqua Deus
3f6153f9d9 Scripts/Spells: Add new script for spells with feign death with all flags except uninteractible (#29922)
(cherry picked from commit f4ef6f769b)
2024-05-28 16:43:50 +02:00
Shauren
651f71b138 Core/Movement: Store delay in WaypointNode as Milliseconds instead of raw integer and revert c5097114d1
(cherry picked from commit e1f43900d1)
2024-05-28 16:43:09 +02:00
Jeremy
d80fb502f6 Scripts/Battlegrounds: Implement Twin Peaks (#29924)
Closes #8894

(cherry picked from commit 091094aa13)
2024-05-28 16:42:50 +02:00
Shauren
125b6d2ed7 Core/Entities: Fixed m_stringIds[0] invalidation when reloading creature_template with a gm command
(cherry picked from commit bec5bdb61b)
2024-05-28 16:40:48 +02:00
Jeremy
e6af1c591c Scripts/Battleground: Implemented Battle for Gilneas (#29877)
(cherry picked from commit 90f390f9b8)
2024-05-28 16:32:34 +02:00
Meji
382eb5063f Core/Creatures: Changed the spawn health field in creature table to a percentage (#29801)
(cherry picked from commit def601b4ff)
2024-05-28 16:31:42 +02:00
Jeremy
d0d5d309bb Core/Battlegrounds: Move to scripts (#29799)
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground

(cherry picked from commit be11f42a16)
2024-03-28 20:38:55 +01:00
Meji
46b35d3082 Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832)
(cherry picked from commit 4913d027bf)
2024-03-28 20:36:23 +01:00
Jeremy
8589ece4f4 Core/GameObjects: Implement destructible_hitpoint table to store health info about destructible buildings (#29836)
(cherry picked from commit 1f855ef563)
2024-03-28 20:28:14 +01:00
Shauren
18b7199a47 Core/Players: Slightly improve neutral player faction support
(cherry picked from commit 94b78ebc8b)
2024-03-28 20:23:12 +01:00
Shauren
c6cff20258 Core/Logging: Improved generated code for log statements (length of text is computed at compile time)
(cherry picked from commit e121ed81d1)
2024-03-25 20:22:58 +01:00
Shauren
6f9a5933a5 Core/Objects: Added ToWorldObject and ToItem
(cherry picked from commit 6f6af6a1a1)
2024-03-25 20:22:23 +01:00
Shauren
6472446440 Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently)
(cherry picked from commit 4779fa5048)
2024-03-25 20:21:24 +01:00
Ovahlord
cc6fb98595 Scripts/Commands: fixed build 2024-03-19 20:02:35 +01:00
Ovahlord
9daf5e66e0 Core/Packets: fixed structure of SpellCastVisual 2024-03-14 21:33:01 +01:00
MaxtorCoder
cfc9cc9ec2 Core/PacketIO: Update to 4.4.0.53627 (#29805)
* Core/PacketIO: Update to 4.4.0.53627

* Core/IO: Remove duplicate declaration of PetSpellDataID

* Core/IO: Assign STATUS_UNHANDLED to some azerite packets
2024-03-13 21:16:18 +01:00
Ovahlord
51daca7cbf Scripts: dropped most post Cataclysm PvE scripts 2024-03-13 12:25:37 +01:00
Ovahlord
8dea56b9db Core/Maps: dropped Garrison implementation 2024-03-12 22:27:47 +01:00
Ovahlord
7dfdeb7fd7 Core/Players: updated inventory slots 2024-03-12 12:55:23 +01:00
Ovahlord
d9ffc33724 Core/DataStores: duc-taped build 2024-03-10 02:39:59 +01:00
Shauren
45ee989c70 Core/vmaps: Removed vmap lookup functions duplicating functionality of each other 2024-03-07 00:23:52 +01:00
Shauren
c2e36dea6c Core/Creatures: Implemented serverside checks for UNIT_FLAG2_INTERACT_WHILE_HOSTILE and UNIT_FLAG3_ALLOW_INTERACTION_WHILE_IN_COMBAT
* Also stop sending npc flags for hostile creatures
2024-03-03 00:51:51 +01:00
Shauren
97d7ccd180 Core/Quests: Merged UpdateNearbyCreatureNpcFlags, UpdateVisibleGameobjectsOrSpellClicks and SendQuestGiverStatusMultiple on quest actions
* Fixes quest markers above NPC heads not disappearing when player stops seeing questgiver npc flag
2024-03-03 00:50:38 +01:00
Ovahlord
c541eda54d Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags (#29541)
* implemented CREATURE_STATIC_FLAG_AQUATIC - creatures cannot leave liquids
* implemented CREATURE_STATIC_FLAG_AMPHIBIOUS - creatures can enter and leave liquids but remain on the ocean floor when swimming is not enabled until engaged
* implemented CREATURE_STATIC_FLAG_FLOATING - creatures have their gravity on spawn / reset disabled
* implemented CREATURE_STATIC_FLAG_SESSILE - creatures are rooted in place
* implemented CREATURE_STATIC_FLAG_CAN_SWIM - creature can swim in liquids
* implemented CREATURE_STATIC_FLAG_3_CANNOT_SWIM - Amphibious creatures cannot toggle on swimming
* implemented CREATURE_STATIC_FLAG_3_CANNOT_TURN - Creatures cannot turn at all
* implemented CREATURE_STATIC_FLAG_4_PREVENT_SWIM - Amphibious creatures won't toggle on swimming until their victim starts leaving the ocean floor
* partially implemented CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
* deprecated CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE as this flag was a hackfix to a wrong implementation that is now gone
2024-02-29 14:43:37 +01:00
Shauren
792a4d6c8b Scripts/Serpentshrine Cavern: Removed Spout hack and use correct spell ids 2024-02-28 21:10:51 +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
c70bd6f5e4 Scripts/Forge of Souls: Fixed Devourer of Souls achievement worldstate expression requirement and rotate beam tick timing 2024-02-28 20:40:22 +01:00
Aqua Deus
24539e8d27 Scripts/Spells: Fix DK talent Permafrost (#29759) 2024-02-27 18:49:09 +01:00
Jeremy
409adfa7a5 Core/Battlegrounds: Isle of Conquest Rework (#29687) 2024-02-26 22:33:07 +01:00
Shauren
0c76618b19 Core/Auras: Implemented SpellEffectAttributes::AuraPointsStack 2024-02-26 00:03:02 +01:00
Aqua Deus
b8d3aea216 Scripts/Spells: Fix energize for spell Doom (Warlock) (#29748) 2024-02-25 11:04:54 +01:00
Aqua Deus
d7d382ea43 Scripts/Spells: Fix Shield of the Righteous armor bonus (#29749) 2024-02-25 11:03:22 +01:00
Shauren
eac4bf825a Build: Reuse PCH file between all script modules 2024-02-25 00:05:19 +01:00
Malcrom
c4f896f591 Scripts/ExilesReach: Implemented Ride SE Boar, Re-Deather and Stocking Up quest (#29670)
Co-authored-by: ModoX <moardox@gmail.com>
2024-02-24 19:46:46 +01:00
Aqua Deus
cf026aa627 Scripts/Spells: Update Vampiric touch script implementing the talent Misery and the dispel fleeing (#29743) 2024-02-24 16:35:42 +01:00
ModoX
dd15d763cc Core/Creatures: Implemented UNIT_NPC_FLAG_GOSSIP as viewer dependent and update npcflags on quest changes (#29646) 2024-02-24 15:05:21 +01:00
Shauren
7751d278b1 Scripts: Removed unused global variables 2024-02-24 13:44:20 +01:00
Naddley
345a08970d Scripts/ForbiddenReach: Added spawn handling for dracthyr intro personal summons (#29682)
Co-Authored-By: ModoX <moardox@gmail.com>
2024-02-24 06:01:49 +01:00
Jeremy
9c5b8927f8 Core/Battlegrounds: Move some areatrigger handling to scripts (#29700) 2024-02-23 18:09:57 +01:00
Mematoru23
89438607ae Scripts/Spells: Implemented Priest talent Pain Transformation (#29720) 2024-02-22 21:43:47 +01:00
Shauren
a748fddfa4 Core/Creatures: Implemented CREATURE_STATIC_FLAG_4_NO_MELEE_APPROACH and fixed CREATURE_STATIC_FLAG_NO_MELEE_FLEE implementation (should cause fleeing from melee range) 2024-02-22 15:47:11 +01:00
Shauren
cc7e1bdcae Core/Instances: Added back missing cases to InstanceScript::SendEncounterUnit that are supported in 3.3.5 branch 2024-02-14 15:33:59 +01:00
Mematoru23
99bce5be73 Scripts/Spells: Implemented Priest talent Indemnity (#29669) 2024-02-11 15:21:53 +01:00
Mematoru23
9267ac27dd Scripts/Spells: Implemented Priest talent Train of Thought (#29676) 2024-02-11 00:56:33 +01:00
Mematoru23
69f2f8cd8c Scripts/Spells: Implemented Priest talent Crystalline Reflection (#29677) 2024-02-10 22:13:09 +01:00