Commit Graph
29437 Commits
Author SHA1 Message Date
Ovahlord fb3e6737da Core/Movement: require a minimum wander_distance value of 0.1 and check the path length of generated random movement (#29766)
this serves as a means to reduce the console spam caused by failed spline validation
2024-02-29 15:52:25 +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 20b29c5ff5 Core/Misc: Allow formatting optionals with Trinity::StringFormat 2024-02-28 20:42:20 +01:00
Shauren 288966e796 Core/Movement: Fixed MoveRotate not updating orientation 2024-02-28 20:41:04 +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
Shauren deb24f3f53 Core/Units: Added helper function to clear boss emote frame and enable SMSG_CLEAR_BOSS_EMOTES 2024-02-27 16:13:23 +01:00
Shauren 9463933eda Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_ALLOW_MOUNTED_COMBAT and overriding default mount from creature addon 2024-02-27 14:05:47 +01:00
Shauren 120a19d179 Core/Items: Fixed possible out of bounds array access when applying enchantments to equipped profession tools 2024-02-27 12:41:17 +01:00
Shauren be3dc89c32 Core/Creatures: Implemented CREATURE_STATIC_FLAG_5_NO_LEAVECOMBAT_STATE_RESTORE 2024-02-27 00:13:11 +01:00
Shauren 1572b8acab Core/Logging: Call Log::instance() only once in each log statement 2024-02-26 22:55:27 +01:00
Jeremy 409adfa7a5 Core/Battlegrounds: Isle of Conquest Rework (#29687) 2024-02-26 22:33:07 +01:00
Shauren 9ecb93f34d Core/Spells: Don't modify item charges in all slots on a single item spell cast 2024-02-26 14:39:16 +01:00
Shauren 0c76618b19 Core/Auras: Implemented SpellEffectAttributes::AuraPointsStack 2024-02-26 00:03:02 +01:00
Mykhailo Redko 02b977c98e Core/Players: Drop Player::SaveGoldToDB() and move it's code to Player::SaveInventoryAndGoldToDB() (#29582) 2024-02-25 18:58:00 +01:00
Razmataz 31236de396 Core/Players: Support race and faction changes for new races (#29755) 2024-02-25 18:49:20 +01:00
Ovahlord 6c15fb00e5 Core/Units: Update facing spline movement immediately after launching (#29494) 2024-02-25 15:12:46 +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
MalcromandModoX c4f896f591 Scripts/ExilesReach: Implemented Ride SE Boar, Re-Deather and Stocking Up quest (#29670)
Co-authored-by: ModoX <[email protected]>
2024-02-24 19:46:46 +01:00
ModoX f664673990 Core/PacketIO: Implemented CMSG_CHECK_IS_ADVENTURE_MAP_POI_VALID and SMSG_PLAYER_IS_ADVENTURE_MAP_POI_VALID (#29626) 2024-02-24 18:44:42 +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
Shauren d30c4d4e73 Core/Position: Allow constexpr use of Position 2024-02-24 12:58:38 +01:00
ModoX c52737852d Core/Vehicle: Don't set players movementInfo on vehicle dismiss (#29744) 2024-02-24 11:44:02 +01:00
NaddleyandModoX 345a08970d Scripts/ForbiddenReach: Added spawn handling for dracthyr intro personal summons (#29682)
Co-Authored-By: ModoX <[email protected]>
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 efedaed6ce Warning fix 2024-02-22 19:02:42 +01:00
Shauren d4dee68c04 Build fix 2024-02-22 18:50:47 +01:00
Shauren cc47fd75b4 Core/Movement: Removed template from FleeingMovementGenerator 2024-02-22 18:21:52 +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 c8bd6f5da3 Core/Spells: Fixed incorrect switch logic in Unit::SpellCritChanceDone 2024-02-21 13:16:55 +01:00
Shauren 305cb9a81a Core/Creatures: Prevent resetting creature sparring health thresholds on evade if it was changed to a custom value by a script 2024-02-20 22:26:29 +01:00
Shauren 877ae5b47d Core/Spells: Implemented SPELL_ATTR8_CAN_HIT_AOE_UNTARGETABLE 2024-02-19 21:05:03 +01:00
Shauren 88242a42ce Core/Movement: MoveCirclePath new features
* Duration limit
* Customizable speed
2024-02-18 15:19:35 +01:00
Shauren 0743a2f7bb Core/CrashHandler: Support dumping variables stored in cpu registers (not accurate for all variables) 2024-02-17 13:15:49 +01:00
Shauren 2441ddbea6 Core/CrashHandler: Support ARM64 2024-02-17 12:03:57 +01:00
Shauren b9c2dca59f Core/Random: Use correct headers to obtain _mm_malloc definitions 2024-02-17 12:03:06 +01:00
Ghaster 9ec1cc07b4 Core/Misc: Defined and implemented CHARACTER_FLAG_RESTING (#29695) 2024-02-16 18:15:03 +01:00
Shauren 888ccd1e44 Core/SAI: Fixed SMART_ACTION_MOVE_TO_POS and SMART_ACTION_JUMP_TO_POS using target coordinates as destination if requested WorldObject target was not found 2024-02-15 19:15:21 +01:00
Shauren 8adcfad6ec Add missing changes for cc7e1bdcae 2024-02-14 15:40:31 +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
Shauren 3fd1a2b78c Core/Creatures: Implemented CREATURE_STATIC_FLAG_3_NO_THREAT_FEEDBACK 2024-02-14 12:14:36 +01:00
Shauren 8dc494c1ae Core/Creatures: ed0b621d15 followup 2024-02-13 01:03:57 +01:00
Shauren ed0b621d15 Core/Auras: Allow SPELL_AURA_MECHANIC_IMMUNITY_MASK to apply aoe/chain targeting immunity 2024-02-13 00:46:42 +01:00