Commit Graph

1693 Commits

Author SHA1 Message Date
hondacrx db05394d99 Core/Creatures: implemented most movement related static flags and migrated existing movement data into static flags
* 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
Port From (https://github.com/TrinityCore/TrinityCore/commit/c541eda54d7e0dddeec329a6beac2948e0b0a40b)
2024-02-29 17:08:30 -05:00
hondacrx f550c49faf Core/Movement: Fixed MoveRotate not updating orientation
Port From (https://github.com/TrinityCore/TrinityCore/commit/288966e796bfa4309fdcb08b9392b61befc3faab)
2024-02-28 18:08:50 -05:00
hondacrx 6a6d36a151 Core/Units: Added helper function to clear boss emote frame and enable SMSG_CLEAR_BOSS_EMOTES
Port From (https://github.com/TrinityCore/TrinityCore/commit/deb24f3f53540733bef15f0a90a1b7e41e76d60e)
2024-02-27 13:58:28 -05:00
hondacrx 29af2a63b7 Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_ALLOW_MOUNTED_COMBAT and overriding default mount from creature addon
Port From (https://github.com/TrinityCore/TrinityCore/commit/9463933eda630be97e3ab16cf66e419d2f696109)
2024-02-27 13:54:39 -05:00
hondacrx 382ffa093a Core/Items: Fixed possible out of bounds array access when applying enchantments to equipped profession tools
Port From (https://github.com/TrinityCore/TrinityCore/commit/120a19d17939d078c9a2fb63d06fcf144393a3f0)
2024-02-27 13:50:04 -05:00
hondacrx dcfcbd779a Core/Creatures: Implemented CREATURE_STATIC_FLAG_5_NO_LEAVECOMBAT_STATE_RESTORE
Port From (https://github.com/TrinityCore/TrinityCore/commit/be3dc89c32e5b60df4c026d8b19505e529e199b6)
2024-02-27 13:49:15 -05:00
hondacrx 30db565fec Core/Auras: Implemented SpellEffectAttributes::AuraPointsStack
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c76618b19a0c3cac159524779ba66bcdeef6795)
2024-02-27 13:45:23 -05:00
hondacrx 5406d75d0d Core/Players: Drop Player::SaveGoldToDB() and move it's code to Player::SaveInventoryAndGoldToDB()
Port From (https://github.com/TrinityCore/TrinityCore/commit/02b977c98ec26bc21cb3e779e60e16a7587bfcb9)
2024-02-27 13:43:42 -05:00
hondacrx d18e3b4b82 Core/Units: Update facing spline movement immediately after launching
Port From (https://github.com/TrinityCore/TrinityCore/commit/6c15fb00e5b7cf39cd6dc97c302418710bc21212)
2024-02-27 13:38:28 -05:00
hondacrx fa5e0f0c14 Core/Creatures: Implemented UNIT_NPC_FLAG_GOSSIP as viewer dependent and update npcflags on quest changes
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd15d763cc0529afc9b7f077817645d875608626)
2024-02-24 16:07:23 -05:00
hondacrx 9d1589afd4 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)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a748fddfa47216e1f516303e3bca9b5a86823748)
2024-02-24 15:18:07 -05:00
hondacrx f6b1c24297 Fixes crashes when character dies, and when teleporting. 2024-02-22 16:17:27 -05:00
hondacrx 5fce86ac37 Core/Spells: Fixed incorrect switch logic in Unit::SpellCritChanceDone
Port From (https://github.com/TrinityCore/TrinityCore/commit/c8bd6f5da3d03007a9be9bda30aadddb5573ec9d)
2024-02-21 21:10:45 -05:00
hondacrx 7919985741 Core/Creatures: Prevent resetting creature sparring health thresholds on evade if it was changed to a custom value by a script
Port From (https://github.com/TrinityCore/TrinityCore/commit/305cb9a81a1567759e4e3b3adcc4c6ba0b128df7)
2024-02-21 21:10:29 -05:00
hondacrx 33f3e9d68f Core/Spells: Implemented SPELL_ATTR8_CAN_HIT_AOE_UNTARGETABLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/877ae5b47d56a754b56f1326990f5ae41aa989c9)
2024-02-21 21:05:21 -05:00
hondacrx d175373d44 Core/Creatures: Implemented CREATURE_STATIC_FLAG_3_NO_THREAT_FEEDBACK
Port From (https://github.com/TrinityCore/TrinityCore/commit/3fd1a2b78c8791576679e93ce1d43038db2212c5)
2024-02-21 18:03:12 -05:00
hondacrx 71e03da934 Core/Auras: Allow SPELL_AURA_MECHANIC_IMMUNITY_MASK to apply aoe/chain targeting immunity
Port From (https://github.com/TrinityCore/TrinityCore/commit/ed0b621d1569a14174a9802027b68dbe4329da69)
2024-02-21 18:00:19 -05:00
hondacrx a4c19ad82d Core/Gossips: Don't send NpcInteraction for GossipOptionNpc::None
Port From (https://github.com/TrinityCore/TrinityCore/commit/0f5c071099cf1bc58661693bca3741c32b39f600)
2024-02-21 17:46:52 -05:00
hondacrx f99c371a85 Core/Quests: Don't send update of already completed CriteriaTree objectives to the client when accepting quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ac0f7bd1c4260cc7258f23a2f69a38e5ee7606b)
2024-02-21 17:44:48 -05:00
hondacrx 1806eb52a3 Core/Spells: Allow spells with SPELL_DAMAGE_CLASS_NONE to crit
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4064d38c83bc26efa20a248426a9b8cfea6793f)
2024-02-21 17:41:12 -05:00
hondacrx e81d2d4f1f Core/Creatures: Set InteractSpellID for npc spellclick
Port From (https://github.com/TrinityCore/TrinityCore/commit/6543d23a1a70768e9dce89b33ae7bf5fe6cdcc1e)
2024-02-21 17:35:54 -05:00
hondacrx 0f4130704a Core/Calendar: Implement different timezone support for ingame calendar
Port From (https://github.com/TrinityCore/TrinityCore/commit/b888b1b09f71a8b8b4a9d45c804a1f164fb65ac3)
2024-02-21 16:36:19 -05:00
hondacrx 47a64b8782 Misc cleanups 2024-02-21 00:06:06 -05:00
hondacrx 6abce678ca Misc fixes 2024-02-06 22:12:17 -05:00
hondacrx 19e7f86c26 Core/Creatures: Implemented CREATURE_STATIC_FLAG_4_NO_BIRTH_ANIM
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e1eec081f717fc9ca102a22b28a99030415c8aa)
2024-02-06 17:28:30 -05:00
hondacrx 16175b661a Core/Achievements: Fixed BuyItemsFromVendors criteria type
Port From (https://github.com/TrinityCore/TrinityCore/commit/9e02a6ac46b514637ebcd30567de214c8ac2c047)
2024-02-06 17:22:05 -05:00
hondacrx 7c812ae904 Core/Creatures: Move immunities to separate table and implemented setting immunties to dispel, spell effects, aura types, aoe and chain targeting
Port From (https://github.com/TrinityCore/TrinityCore/commit/f70a5817e1c07891185d716611d45f50b1c73b78)
2024-02-06 17:21:07 -05:00
hondacrx 1fc1153f67 Core/Players: Fixed CharacterCache by-name storage holding data for deleted characters
Port From (https://github.com/TrinityCore/TrinityCore/commit/d03e0d69353852636e12911a7f7149cb0bca40ef)
2024-02-06 16:05:00 -05:00
hondacrx 3ec159ebe1 Core/Players: fixed a possible crash in SendInitialPacketsBeforeAddToMap when uninstanced maps don't have a valid MapDifficulty entry
Port From (https://github.com/TrinityCore/TrinityCore/commit/924efc89b2668d390bf768ccd936cc67e4a77f5d)
2024-02-06 16:00:34 -05:00
hondacrx 6c331961a3 Core/PacketIO: Fixed QuestSession QuestCompleted size
Port From (https://github.com/TrinityCore/TrinityCore/commit/608d13bf83aa61570a1ad53938cffe183facb0cf)
2024-02-06 15:52:51 -05:00
hondacrx 95c3dd2a66 Core/PacketIO: Fixed CreateObject packet structure for areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/6a0de41fd2b2e7d2d9478b3d61ae0842013523ed)
2024-02-06 15:35:33 -05:00
hondacrx 0f7674ccd4 Core/Players: Fixed typo preventing OOC regen
Port From (https://github.com/TrinityCore/TrinityCore/commit/77d4adab70308f803a6d7fa8b09a24691cd49357)
2024-02-06 15:34:03 -05:00
hondacrx d1ad9f662e Core: Updated to 10.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4a4d010a0e329d4dbd82c0be5feab1fc06c8834)
2024-02-06 13:07:17 -05:00
hondacrx 1d13b710f9 Core/Creatures: fixed a logic mistake in personal skinning loot that was causing creatures without loot to despawn instantly
Port From (https://github.com/TrinityCore/TrinityCore/commit/ba627c1d1c4289c02252a28196fdf53ce532e390)
2024-02-06 10:03:36 -05:00
hondacrx aac60cf9a8 Core/Units: moved health and power ordering predicates from Unit header into CommonPredicates
Port From (https://github.com/TrinityCore/TrinityCore/commit/2f6ed2c203b16a1d1e85f61a8b8e2cf3d1a4e784)
2024-02-06 10:01:30 -05:00
hondacrx 80936edeab Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b5406dd882c6d96bc1be6fd0a78375c3b316415)
2024-02-06 09:39:26 -05:00
hondacrx c6cd9aa142 Core/Conversation: Implemented conversation flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/de23262c654ff208ae8ed75c815facf017634afe)
2024-02-05 19:31:58 -05:00
hondacrx 437fe2d8fd Core/Creatures: Moved autoattack handling from scripts to game
Port From (https://github.com/TrinityCore/TrinityCore/commit/605e5f94c0d71cad8e83fa5a07eaec4e6bed9cc3)
2024-02-05 18:18:30 -05:00
hondacrx aa696fb176 Core/Creatures: Added possibility to automatically despawn personal summons on quest remove
Port From (https://github.com/TrinityCore/TrinityCore/commit/b3dce0ac08d4f740505037aff2cad7685444db15)
2024-02-05 17:36:50 -05:00
hondacrx c3ae550302 Core/AreaTrigger: Fix areatrigger debug output not printing spawnid properly
Port From (https://github.com/TrinityCore/TrinityCore/commit/711e8a527c0ab589a37aad1468162bb783e29437)
2024-02-05 17:24:15 -05:00
hondacrx 771cbadc69 Core/Waypoints: Refactor to split data into path and node related info in db
Port From (https://github.com/TrinityCore/TrinityCore/commit/12186ef8573f60abeff4747da58767ee71092600)
2024-02-05 17:22:55 -05:00
hondacrx 301d3fb00d Core/Players: Fixed objects not being visible after seamless teleports
Port From (https://github.com/TrinityCore/TrinityCore/commit/390f0be9fb22766638006f43e4d0887108ba49e8)
2024-02-05 13:46:54 -05:00
hondacrx 3ac50cb7f4 Core/Maps: implement LIQUID_MAP_OCEAN_FLOOR to identify units that are on the bottom of a liquid
Port From (https://github.com/TrinityCore/TrinityCore/commit/97af0c31af13de23eabe4eb22ed3e71dd5602531)
2024-02-05 13:45:29 -05:00
hondacrx 3deec204bf Core/Player: Added Player::SkipQuests helper to skip quests (without rewards)
Port From (https://github.com/TrinityCore/TrinityCore/commit/e10f7e6d45a06af8eb809b7d134ed79829c09411)
2024-02-05 13:36:01 -05:00
hondacrx c38133ad57 Core/Unit: Restore function of HandleKillPlayer
Port From (https://github.com/TrinityCore/TrinityCore/commit/78012dadf2bb04398cbe3630d07762bffff82c8b)
2024-02-05 13:32:40 -05:00
hondacrx 35f46bea57 Core/Battleground: Changed HandleKillUnit hook to accept any Unit as killer
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf107e0581c58f767b21f15fe7f75cb7eac95d97)
2024-02-05 13:31:24 -05:00
hondacrx 7e07cd08e7 Core/Player: Rename GetQuestSlotObjectiveData to GetQuestObjectiveData
Port From (https://github.com/TrinityCore/TrinityCore/commit/38a80d7566e7a919ad5ab0bcd8b93aab52174e73)
2024-02-05 13:24:54 -05:00
hondacrx 503e010e53 Core/Conversation: Log error if conversation is started multiple times
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5d2d6e465b619743afa374ff99a7238e685d9e8)
2024-02-05 13:22:12 -05:00
hondacrx 5043b5ca8a Core/Quests: Removed slow queries from daily and weekly resets
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee7b0e82fa076ad4338b1c362235cec6739f00e0)
2024-02-05 13:20:21 -05:00
hondacrx ea2004af89 Core/AreaTrigger: Fallback to CreateProperties script, if ScriptName of static areatrigger is not provided
Port From (https://github.com/TrinityCore/TrinityCore/commit/7e061adffa20323a26c0a489ba70dd098689f6d7)
2024-02-05 13:09:02 -05:00