hondacrx
4bbf49a17a
Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9402c66e8423243d13dbc19e8713e298bea0ac7b )
2024-03-14 11:09:45 -04:00
hondacrx
8f573ee28d
Core/Auras: Update visible aura immediately during spell cast instead of waiting for next update tick
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/62dc916184d5d32b26a2d331d84d3cae481040fb )
2024-03-14 10:56:01 -04:00
hondacrx
b3d880c115
Misc fixes
2024-03-13 21:10:14 -04:00
hondacrx
4b9b81c7e2
Core/Objects: Implemented vignettes
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/fccf6fb72b60b08dfbe6d5fb17fba55239944fca )
2024-03-13 21:09:46 -04:00
hondacrx
ccf73e23e3
Core/vmaps: Removed vmap lookup functions duplicating functionality of each other
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/45ee989c70682c001d4467d97bf1ecedcf7dbcc3 )
2024-03-12 23:04:13 -04:00
hondacrx
536f72d077
Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_IGNORE_SANCTUARY (ignore SPELL_EFFECT_SANCTUARY, used by Vanish)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1369b8708458fb5020b6ab7a9608123459d4eb26 )
2024-03-05 18:33:31 -05:00
hondacrx
e646b8008d
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
Port From (https://github.com/TrinityCore/TrinityCore/commit/c2e36dea6c6af6139bf60454e9299447ec7d9897 )
2024-03-05 18:16:38 -05:00
hondacrx
0325d8b523
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
Port From (https://github.com/TrinityCore/TrinityCore/commit/97d7ccd180f96a414f205396261907e1e87d491a )
2024-03-04 12:18:45 -05:00
hondacrx
3a976b2353
Core/Creatures: Implemented unsummoning and resummoning critter pets on flying mounts and teleports (and related static flags)
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f2ce5072d62e2835c4426220ebf8ade5fa67a79b )
2024-03-04 11:50:36 -05:00
hondacrx
2a4a2d1fdb
Core/Spells: Implemented pausing spell cooldowns
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/a814eb65b15c4fcef6a37adc1b13905d4c13b2a5 )
2024-02-29 22:25:59 -05:00
hondacrx
0eb34a2dc8
Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0139ec41bb3e2348b56fad2b4182b4a7a0494ac9 )
2024-02-29 17:15:52 -05:00
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
30db565fec
Core/Auras: Implemented SpellEffectAttributes::AuraPointsStack
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c76618b19a0c3cac159524779ba66bcdeef6795 )
2024-02-27 13:45:23 -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
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
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
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
6abce678ca
Misc fixes
2024-02-06 22:12:17 -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
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
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
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
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
a46f98642b
Core/Creatures: Refactor CreatureEliteType
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/bfbda8dcce8d19dda0ee3d8f96d176901902e102 )
2024-02-04 14:42:40 -05:00
hondacrx
44705dcc0d
Core/Units: Allow self inflicted damage to bypass CREATURE_STATIC_FLAG_UNKILLABLE
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/53ac8d3ef5621f7137092b7aeeebf42730059181 )
2024-02-04 13:37:19 -05:00
hondacrx
99c931652d
Core/Units: Update PlayHoverAnim state when flying or hovering
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c1b36eec5678090654dfd65a3fef29ea8ada6ef2 )
2024-02-03 13:15:36 -05:00
hondacrx
ee7b89560e
Core/Auras: Fixed crash happening when a periodic aura tick triggers SPELL_AURA_SPLIT_DAMAGE_PCT
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3a50bc50a2a3898013404eb2319508521002984f )
2024-02-03 11:28:50 -05:00
hondacrx
52ea57d5cf
Core/Creatures: Remove stand state when a creature attacks or dies
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/c05466fa0c2dc9b07528ed967d77bf0313fdafff )
2024-02-03 11:04:19 -05:00
hondacrx
4b669cfb5d
Core: Update to 10.2.0
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/1eea1d11b14d2ae065ab0f1888fba3b1ef03874f )
2024-02-02 21:49:02 -05:00
hondacrx
4ff0ccd143
Core/Spells: Store BasePoints as float in SpellEffectInfo
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9b0d347a4f5f51cda083a4dc7ed328530f0b5f6 )
2024-02-02 14:46:09 -05:00
hondacrx
a5bc0d0d9b
Core/Random: Changed random functions returning doubles to return floats
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9894f6b802c974bb36acd7fbb0d083455a1f0f1b )
2024-02-02 14:39:02 -05:00
hondacrx
80f4ece2e5
Core/Players: Don't update mount capability while loading from db - auras are loaded before all known spell sources are processed
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/64a14f13ace1f6c7ac2aedc90ad2b48f57a3920c )
2024-02-02 09:42:46 -05:00
hondacrx
ad4aa7df0c
Core/Spells: SpellAttr8 fixups - use creator instead of owner for SPELL_ATTR8_ONLY_TARGET_IF_SAME_CREATOR and removed cast time requirement for channelled spell predicted healing
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/930a08fe03a033a6bb30fb8c94a8490c4b77fe91 )
2024-02-01 21:10:24 -05:00
hondacrx
5869fbaee0
Core/Spells: Named and implemented most of SpellAttr8
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc9361fcc2eb16a59b52dfd8b0d47dfc1bf639be )
2024-02-01 18:59:34 -05:00
hondacrx
bb2df1c0f9
Core/Spells: Named and implemented most of SpellAttr7
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e87bd7942d932225436940f62e26d48719a42dd )
2024-02-01 15:39:38 -05:00
hondacrx
cfc8a8bfa8
Core/Auras: Registering a new owned aura will now search existing owned auras instead of applied auras to check for unstackable one
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dc661a34b1d1e099e2c1854e8fa9446115e30c96 )
2024-02-01 10:25:03 -05:00
hondacrx
5e46dd951b
Core/AreaTriggers: Implement missing functionality
...
* Scale curves are now taken into account when searching for units inside
* Implemented SpellModOp::Radius for areatrigger radius
* Implemented OverrideMoveCurve updatefields - overrides areatrigger position
* Implemented FacingCurve and AREATRIGGER_FLAG_HAS_ABSOLUTE_ORIENTATION
* Implemented ***Target fields for all shape types
* Fixed facing calculation for areatriggers with spline movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/c676d1477239aec4d0b235a410e5627a7070a86e )
2024-01-30 21:14:55 -05:00
hondacrx
774f211f7a
Core/Spells: Implemented NoImmunity spell effect attribute
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e883b61094c3a5d2e80d2165e53921631e72e33e )
2024-01-30 10:45:14 -05:00
hondacrx
a1cb1d95ee
Core/Achievements: Fixed achievement criteria StartEvent and FailEvent
...
* Criteria using StartEvent cannot be updated without that event triggering first (not only for timed achievements)
* Implemented most StartEvent and FailEvent types
* Fixed saving criteria removed by RemoveCriteriaProgress
Port From (https://github.com/TrinityCore/TrinityCore/commit/41a20b1e4008d450d075847ef1fe367f0e3a240f )
2024-01-30 10:22:01 -05:00
hondacrx
56eefeb54b
Misc cleanup
2024-01-30 09:24:45 -05:00
hondacrx
1c6563718e
More work on scripts
2023-10-20 07:29:05 -04:00
hondacrx
c56e1752f5
More Scripts done.
2023-10-16 12:35:26 -04:00
hondacrx
73fd633065
More Updates to scripts.
2023-10-15 15:17:44 -04:00
hondacrx
33091ed942
More updates to scripts (still wont build)
2023-10-13 16:11:34 -04:00
hondacrx
cda53c8e7f
Some cleanups. (might break build for scripts as they are a WIP)
2023-10-08 10:35:31 -04:00