Commit Graph

318 Commits

Author SHA1 Message Date
Hondacrx 6fcce1a6e4 Core/Objects: More minor refactors for SMSG_UPDATE_OBJECT building - move getting and writing field flags to shared function
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee54ade3975748bf373162b2397328852dec6701)
2024-11-11 12:32:44 -05:00
Hondacrx a3edaf4df6 Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides
Port From (https://github.com/TrinityCore/TrinityCore/commit/067fa31d152ecb10e5bea0419f84f7b79b96abf5)
2024-11-11 12:24:22 -05:00
Hondacrx f38ad4607e Core/PacketIO: Updated to 11.0.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/e59eef5432c7b70679d33f4911c88d0f7d75fd39)
2024-09-02 18:44:55 -04:00
Hondacrx 86447c1692 Core/Instances: New ZoneScript hook - OnCreatureGroupDepleted
Port From (https://github.com/TrinityCore/TrinityCore/commit/ec2631eca3a397dffd2e525b34c131c283beb167)
2024-09-01 15:55:58 -04:00
Hondacrx 87d88de681 Core/Creatures: Validate creature.modelid on startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/ef70cf64814341543fdb8efa403319371d9f3104)
2024-08-25 21:30:13 -04:00
Hondacrx cbb6c97a6e Core/Creature: Implemented CREATURE_STATIC_FLAG_IGNORE_COMBAT
Port From (https://github.com/TrinityCore/TrinityCore/commit/cbddc337083f55980a5bcf5c292a2e95211381a1)
2024-08-25 14:08:48 -04:00
Hondacrx edb6934082 Core/Players: Defined all avg item level slots
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f85fa7470789dbaedac5f3d74d00e1095e24ad1)
2024-08-25 14:05:11 -04:00
Hondacrx fceaff3444 Core/Combat: reset the ThreatManager update interval upon engaging the creature and move ThreatClear packet sending into the update cycle to mimic retail behavior
Port From (https://github.com/TrinityCore/TrinityCore/commit/24bda9c73dcd89d4da4e871e00fd83a24b8275d2)
2024-08-19 19:11:25 -04:00
Hondacrx d231c06b8e Core/Spells: Implemented evoker empower spell mechanic
Port From (https://github.com/TrinityCore/TrinityCore/commit/a39d0db9ec64f6bf38716abaade5b7835f2db338)
2024-08-19 18:48:32 -04:00
Hondacrx 5639a58a11 Core/Creatures: moved combat pulse into heartbeat handling and implemented CREATURE_STATIC_FLAG_2_FORCE_PARTY_MEMBERS_INTO_COMBAT
Port From (https://github.com/TrinityCore/TrinityCore/commit/11f32a2427caf7064947b03f3256e06d27fe6327)
2024-08-19 12:33:21 -04:00
Hondacrx 5f616b95f5 Core/Creature: implement overriding creature static flags based on spawnId and difficultyId
Port From (https://github.com/TrinityCore/TrinityCore/commit/b5ce4a66df0c76583c662056e46619c8fe98f297)
2024-08-19 12:08:42 -04:00
Hondacrx 5a9714a375 Core/SAI: Added support for StringIds to creature and gameobject targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ce40684595a0e49a7b2355012c2806952698ce4)
2024-08-05 17:23:37 -04:00
Hondacrx 54e6b02ffc Core/Entities: Added possibility to inherit StringIds from other entities
Port From (https://github.com/TrinityCore/TrinityCore/commit/88bbd27f8d007dca17bb0d244fcf7e753506734e)
2024-08-05 15:03:26 -04:00
Hondacrx f410597e4c Core/Entities: Update StringId assignment to use StringIdType
Port From (https://github.com/TrinityCore/TrinityCore/commit/9959a1373a1851e484ddef9268d98b116c5d8241)
2024-08-05 14:59:31 -04:00
Hondacrx b8d0b4bf2e Core/Entities: Added GetStringId helper methods
Port From (https://github.com/TrinityCore/TrinityCore/commit/5cea37153eb6675bf0a25320a1c11cd0ec4969b6)
2024-08-05 14:57:21 -04:00
Hondacrx cb16de1f15 Core/Creatures: Changed the spawn health field in creature table to a percentage
Port From (https://github.com/TrinityCore/TrinityCore/commit/def601b4ff82ec8a90af60408a87cac92fdf070d)
2024-08-04 16:31:25 -04:00
Hondacrx e9b21a91be Core/Battlegrounds: Move to scripts And a lot of misc commits i couldn't recover.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0d5d309bb5877dc2fcb27f6cb123707a31ec1e8)
2024-08-04 15:18:22 -04:00
hondacrx 1e421b9f53 Misc fixes 2024-03-19 17:21:32 -04:00
hondacrx 88f24c7791 Fixes alot of little errors. 2024-03-15 15:54:45 -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 e697a32f23 Core/Auras: Feign death will no longer cause creatures immune to it to drop combat (and then reenter it because the unit feigning death is considered valid)
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c32277139a173c31043706d72e1cfe8830aaade)
2024-03-05 18:37:35 -05: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 974ca273ae Core/Creatures: Implemented CREATURE_STATIC_FLAG_6_ALWAYS_STAND_ON_TOP_OF_TARGET
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a46f81fd134c41eb58ea66205ec9100a1013b3b)
2024-03-04 11:55:02 -05:00
hondacrx fecf1c32fa Core/Creatures: Fixed sparring
Port From (https://github.com/TrinityCore/TrinityCore/commit/e1e53ee06e4b88d2f3804cfa53812e2e14d709a3)
2024-03-04 11:40:40 -05:00
hondacrx 784f34beed Core/Creature: corrected swimming toggle behavior for amphibious creatures
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e8e3d8fb8694762668c3d5bc064de006aca5a1a)
2024-02-29 20:46:18 -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 34ffdaa4f6 Core/Creatures: Allow toggling CREATURE_STATIC_FLAG_FLOATING, CREATURE_STATIC_FLAG_SESSILE and CREATURE_STATIC_FLAG_3_CANNOT_PENETRATE_WATER
Port From (https://github.com/TrinityCore/TrinityCore/commit/d3738024587aa618826318fec7bcc6fe15d1f0e2)
2024-02-29 17:12:30 -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 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 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 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 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 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 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 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 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 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 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 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 a46f98642b Core/Creatures: Refactor CreatureEliteType
Port From (https://github.com/TrinityCore/TrinityCore/commit/bfbda8dcce8d19dda0ee3d8f96d176901902e102)
2024-02-04 14:42:40 -05:00
hondacrx 24691c7110 Core/Creatures: Don't require creature.modelid to be one of linked creature_template models
Port From (https://github.com/TrinityCore/TrinityCore/commit/7cafeb46b3b1f3eea3c966c20f9ef1efe68dfbdc)
2024-02-03 13:48:02 -05:00
hondacrx 871928ebb7 Core/Creatures: Taxi improvements
* Fixed flight master minimap icon
* Fixed crash on Argus
* Implemented teleport taxi nodes
Port From (https://github.com/TrinityCore/TrinityCore/commit/73e0b3e77c04a7821f58d79211f344b9129602f1)
2024-02-02 10:20:04 -05:00
hondacrx cda53c8e7f Some cleanups. (might break build for scripts as they are a WIP) 2023-10-08 10:35:31 -04:00
hondacrx ccb5341c21 Some misc cleansup. 2023-10-06 17:33:20 -04:00
hondacrx f636ea225f Messed up the commit history, so here is all the files rip, Credit to TrinityCore 2023-09-16 08:42:35 -04:00
hondacrx fde57f7cf0 DB/Pets: Removed invalid spells from creature_template_spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/982feb5082ab3c30cfb2e1278fd7736e5a02466c)
2023-09-14 03:30:55 -04:00