Commit Graph

62 Commits

Author SHA1 Message Date
Hondacrx 7d351406f5 Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/68db469ee1f992bcdc81de64d6af1007d303be05)
2024-11-11 21:11:21 -05:00
Hondacrx 4fd0430eb0 Core/Unit: Allow UNIT_FLAG2_FEIGN_DEATH and UNIT_FLAG3_FAKE_DEAD setting in db
Port From (https://github.com/TrinityCore/TrinityCore/commit/1b4c324fe1946ad1b595e947ba43e71341adad15)
2024-11-09 23:30:09 -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 46377f0716 Core/Units: Name new spline flag and linked npc flag
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c0b031c07e45c37d0244fd0679c62a59f92ebd9)
2024-08-18 21:37:11 -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 f208e62e91 Core/Units: Set UNIT_FLAG3_FAKE_DEAD as disallowed flag for database column
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5a2f5af2ddd1ea7166d3e1ee177534fbfbeef3f)
2024-03-05 18:18:06 -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 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 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 a46f98642b Core/Creatures: Refactor CreatureEliteType
Port From (https://github.com/TrinityCore/TrinityCore/commit/bfbda8dcce8d19dda0ee3d8f96d176901902e102)
2024-02-04 14:42:40 -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 7b3b757745 Core/Creatures: Allow UNIT_FLAG2_INTERACT_WHILE_HOSTILE to be set in database
Port From (https://github.com/TrinityCore/TrinityCore/commit/112e60003f626ade053b2f17bd66087f2f145c72)
2024-01-30 10:24:03 -05:00
hondacrx d96f7fb821 Core/Instances: Kill instance_encounters table, it is no longer neccessary
Port From (https://github.com/TrinityCore/TrinityCore/commit/47fc3cb852324119e81c01015b7cc4f39d43e559)
2024-01-29 15:22:25 -05:00
hondacrx 12c53d6182 Core/Unit: Named npc flags UNIT_NPC_FLAG_AREA_SPIRIT_HEALER and UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
Port From (https://github.com/TrinityCore/TrinityCore/commit/920b9a99bdd2d7eb9b7a787c4872a38b862f75c8)
2023-05-21 17:09:28 -04:00
hondacrx d0b7bcb2fe Core/Creatures: Allow disabling melee attacks for all creatures, not just the ones using SAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/d26d38075cdb56dcef77f05276a360e717cc5032)
2023-03-14 04:34:51 -04:00
hondacrx 4d1337eed9 Core/Creatures: Added fields for static flags to creature class for future use
Port From (https://github.com/TrinityCore/TrinityCore/commit/379b1ec6ae83229ed2c5b82480d73d509c47be33)
2023-03-14 02:07:49 -04:00
hondacrx cd249ac67a Core/Spells: Updated silence flags for 9.0 and rename unit flag to its new meaning
Port From (https://github.com/TrinityCore/TrinityCore/commit/3400c5a52c8ea35e56d57326f904dc0127c33048)
2023-03-13 02:36:50 -04:00
hondacrx 5c22dca105 CreatureAI Cleanups 2023-01-24 23:18:14 -05:00
hondacrx b84ca5dc20 Core/Units: Named new unit flag
Port From (https://github.com/TrinityCore/TrinityCore/commit/2fdd45c99039dd6dda032da4f924dded65ff6d2e)
2023-01-24 23:17:50 -05:00
hondacrx df78d547ab Cleanups 2023-01-18 17:28:36 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx e8ff7bfa67 Core/Units: Set UNIT_FLAG2_*_AOI dynamically according to the VisibilityDistanceType set on the creature
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b06b8ec1e3ccc153a44b3eb2e8487641cfae98d)
2022-10-01 17:00:55 -04:00
hondacrx eb7f0862f8 Core/Units: Set UNIT_FLAG2_UNTARGETABLE_BY_CLIENT as allowed flag for database column
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc18b72d803cdbc548f69c929b88393317ecfbee)
2022-10-01 16:34:38 -04:00
hondacrx 6d294143c6 Core/Units: Defined many UnitFlags3 and implemented UNIT_FLAG3_ALTERNATIVE_DEFAULT_LANGUAGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a5329847636ddc080c461bda06375edfbf3815d)
2022-07-02 20:35:56 -04:00
hondacrx 14aa18ae65 Core/Creature: Disallow nearly all non-static flags on DB side
Port From (https://github.com/TrinityCore/TrinityCore/commit/47bcacd00a3124e801672f57afd4557ccbbe93b6)
2022-05-30 00:32:32 -04:00
hondacrx 965aeb7425 Updates some enums
Port From (https://github.com/TrinityCore/TrinityCore)
2022-05-29 22:53:33 -04:00
hondacrx ccf3198c7e Core/Misc: Rename UNIT_FLAG_NOT_SELECTABLE to UNIT_FLAG_UNINTERACTIBLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/c4906ce60be52c9a678287672a6461c3068beea3)
2022-05-29 22:48:47 -04:00
hondacrx 4de86618f3 Core/Creature: rename CREATURE_FLAG_EXTRA_IGNORE_COMBAT into CREATURE_FLAG_EXTRA_CANNOT_ENTER_COMBAT
Port From (https://github.com/TrinityCore/TrinityCore/commit/53d19b09f4de7c092747663ae7e1a01c0df553bf)
2022-05-29 16:18:29 -04:00
hondacrx 30aaad290f Core/Creature: Create & use CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH
Port From (https://github.com/TrinityCore/TrinityCore/commit/baa374a76bb753e4b7fb904a0febffc099881ed1)
2022-05-26 16:44:21 -04:00
hondacrx 3cacc1ff68 Core/Misc: Define / rename attributes and flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/e72264cfbd4b3bd925a634d99ab1717a1c0a6b91)
2022-05-26 16:25:16 -04:00
hondacrx 746aaab0dd Core/Units: Renamed unknown unit flag (UNIT_FLAG_UNK_29 -> UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT)
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc456f7512b3a5f1f5fdc5b17877018892070e4d)
2022-05-25 14:01:08 -04:00
hondacrx 9ee18f2c9e Core/Misc: Update various enums for 9.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/ce49d5615bd041700a253239c864a18f87e79216)
2022-05-10 09:31:05 -04:00
hondacrx 6f1b2f5cd5 Core/Combat: Disable triggers entering combat
Port From (https://github.com/TrinityCore/TrinityCore/commit/1dfcb7086e17902f0904ee6c09bc55a229b65cc1)
2022-03-01 17:38:12 -05:00
hondacrx 64b23b9de9 Core/Units: Named unit flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4952db4640ee3ec6a7df8545b5c582202f36405)
2022-02-28 13:16:41 -05:00
hondacrx 4b255ad8ea Core/Defines: define UNIT_FLAG_SWIMMING
Port From (https://github.com/TrinityCore/TrinityCore/commit/4a47e1c6be02608d8df2ec1b6267a31dcd0c41fa)
2022-01-05 17:18:28 -05:00
hondacrx 736892998f Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d865f7536ae6feda6fba77785e4548f95ca5d03)
2021-12-16 12:56:20 -05:00
hondacrx 8fbecac008 Core/Movement: Allow using run when moving randomly
Port From (https://github.com/TrinityCore/TrinityCore/commit/a57ca5cea2d13bc5d5ddee11e7b8100c7afd68e1)
2021-11-29 14:21:33 -05:00
hondacrx 9cdccb9a08 Core/Movement: Allow using walk when chasing v2
Port From (https://github.com/TrinityCore/TrinityCore/commit/956158d299b3264f883f49ac647154179182fbea)
2021-11-29 13:29:51 -05:00
hondacrx a1e0e2e1d0 Core/Scripts: Move some spells to scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/3b1ed434aeacfa57f392387c2176dfb4438b13f8)
2021-11-18 20:13:29 -05:00
hondacrx 87146f02bc Core/Creatures: Defined new npc flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/85a23f2ad1f2da1f70c4c6091f61296acf919514)
2021-11-15 22:35:59 -05:00
hondacrx 5de61110b3 Core/Unit: Name and implement UNIT_FLAG_NON_ATTACKABLE_2
Port From (https://github.com/TrinityCore/TrinityCore/commit/de326d789ed955de819e0cbf37676716a038ad10)
2021-10-08 10:36:08 -04:00
hondacrx 025595cba1 Core/Vendors: Support for vendors with empty inventory list
Port From (https://github.com/TrinityCore/TrinityCore/commit/bedc0503578b220b19d23559f670f65d26c8bc87)
2021-10-03 22:27:11 -04:00
hondacrx 9afc755dec Core/Unit: UNIT_FLAG renames
Port From (https://github.com/TrinityCore/TrinityCore/commit/f1ac141f25500a0f6ffd3c32b1185de2d9f9c940)
2021-09-26 14:00:30 -04:00
hondacrx 2b08c49bbf Core/Creatures: implement CREATURE_FLAG_EXTRA_NO_SELL_VENDOR
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8dda8a4fc696d07bb6007e49140cec1b7f60dd5)
2021-09-21 20:04:54 -04:00
hondacrx 5ff5fb7d3f Core/Spells: rework part 2: Split up target selection logic
Port From (https://github.com/TrinityCore/TrinityCore/commit/52ae3c89d1d4dbcff309d940fd41c7212edc77b7)
2021-08-28 14:40:52 -04:00
hondacrx e4240fcd94 Core/Creatures: Reworked setting move types in database
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8c03a90661610e289029c78d2055d7b73a5ad98)
2021-08-24 12:23:39 -04:00
hondacrx 1d5337d3f7 Fixed a crash with AISpellInfoType having cooldown default to 0 should be default 5000. 2021-07-03 11:37:20 -04:00
hondacrx ad2d0f912e Core/Formations: update codestyle and fix crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/861cf261c5dfc29d6980908ec36ebe7aad68a462)
2021-06-23 14:05:41 -04:00
hondacrx 5a9ff185b9 Core/Creature: improve DB linked_respawn handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/1206e815cd9785e4671f30548140f038567811a2)
2021-05-18 12:55:23 -04:00
hondacrx 2949a2514c Core/Creatures: Implemented extra flag to use offhand attacks
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a51edc5bcebe40c114e37ef3b24da6c8f095892)
2021-03-04 12:00:39 -05:00