Commit Graph

251 Commits

Author SHA1 Message Date
hondacrx 8828e94482 Core/Creatures: Compute the level from ContentTuning
Port From (https://github.com/TrinityCore/TrinityCore/commit/562f65f3f8f271fc52cc428c71a562af22829dc0)
2023-04-21 18:49:58 -04:00
hondacrx 19c484dc5a Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale
Port From (https://github.com/TrinityCore/TrinityCore/commit/81ea6f54d93ee10b03e6432c6071e0d0983796a2)
2023-04-21 18:21:08 -04:00
hondacrx 8178903833 Core/PacketIO: Fixed array size of CMSG_QUEST_POI_QUERY as of patch 10.0.7
Port From (https://github.com/TrinityCore/TrinityCore/commit/6af42ce82da9273eb47a2a53637f1aaf08a63f1d)
2023-04-05 08:03:59 -04:00
hondacrx 4571d4666b Core/Creatures: Use togglable CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS instead of equivalent flag from creature_template.type_flag
Port From (https://github.com/TrinityCore/TrinityCore/commit/512f5138d44408882cb93ae4cff7cc8d1b627503)
2023-03-23 07:10:08 -04:00
hondacrx 5d0d9822e8 Core/Creatures: Allow flagging creatures to not clear their tap list when evading
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e309ed17ff448b971f206c7ea7174c736230299)
2023-03-23 07:04:20 -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 40898d4b9f Core/Creatures: Allow toggling creature default root state
Port From (https://github.com/TrinityCore/TrinityCore/commit/eb93afffc08a45354e1b896adf38d1f8e8b352ac)
2023-03-14 04:30:36 -04:00
hondacrx 1d5d0a32e6 Core/Creatures: Allow scripts to change creature loot id (must be done before death)
Port From (https://github.com/TrinityCore/TrinityCore/commit/155cf58236f7adbd169f57e0578c96fd7ce2173f)
2023-03-14 04:27:22 -04:00
hondacrx 6905c69cfb Core/Creatures: Allow turning off experience gain from creatures by scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/91e7401e64dcc2883f7a42c5e382f901c58b9d00)
2023-03-14 04:20:09 -04:00
hondacrx 40009792c4 Core/Creatures: Allow disabling loot for creatures
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebf799c0f696ec88be66795d4ad0a20fa5ce5e92)
2023-03-14 04:17:18 -04:00
hondacrx bc8dc03724 Core/Creatures: Allow overriding default gossip menu id
Port From (https://github.com/TrinityCore/TrinityCore/commit/09568736134372ec1a79b936a248eec30f071c8d)
2023-03-14 02:22:08 -04:00
hondacrx ccea9d09df Core/Creatures: Wrap all creature static flags in a structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/6bcbc786e50390cd64f634c87a5871178dd9b36f)
2023-03-14 02:19:34 -04:00
hondacrx 89a3cb971a Core/Creatures: Implemented unkillable flag (prevent health from going below 1)
Port From (https://github.com/TrinityCore/TrinityCore/commit/7ea438ebdca93874776e02e9985db1da0a53f2fb)
2023-03-14 02:09:28 -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 74bb5e4541 Core/Creatures: Allow overriding non-gossip based trainer ids for creatures
Port From (https://github.com/TrinityCore/TrinityCore/commit/689d3a667af8c3e2662b77d14edf201771130bee)
2023-03-14 01:55:52 -04:00
hondacrx 149fadccab Make PreparedStatements static for each database. 2023-02-04 20:55:14 -05:00
hondacrx 23e49e96c0 Core/Creatures: Split creature_addon and creature_template_addon's byte columns into seperate ones
Port From (https://github.com/TrinityCore/TrinityCore/commit/4119f69b214d6199b7ab508e305b2958eeffb332)
2023-01-23 00:01:10 -05:00
hondacrx 3b890c1d67 Fixes creature movement. 2023-01-20 09:10:35 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 1dde57b181 Core/Creatures: Restore IsMovementPreventedByCasting logic for casting units (non-channeled)
Port From (https://github.com/TrinityCore/TrinityCore/commit/25c7656ffd1f63a32a7f92fde1dc1649fcfd1323)
2023-01-11 01:26:19 -05:00
hondacrx b5c9ce5b7e Core/Creatures: Fix IsMovementPreventedByCasting logic
Port From (https://github.com/TrinityCore/TrinityCore/commit/e2ed3e23f8241933b4f931e9def7eee69f1abb79)
2023-01-11 01:25:23 -05:00
hondacrx 0c782c60c2 Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier
Port From (https://github.com/TrinityCore/TrinityCore/commit/61c51b76c00d932a9180bc6781a244dc18375ef7)
2023-01-05 16:44:30 -05:00
hondacrx 4354475fb0 Core/Creatures: Never enable gravity for creatures that can only fly
Port From (https://github.com/TrinityCore/TrinityCore/commit/263ce0cd308d508235d0201937b3b29911600722)
2023-01-04 16:28:30 -05:00
hondacrx 2dc12dbb69 Core/Spells: Extended mechanic mask to uint64
Port From (https://github.com/TrinityCore/TrinityCore/commit/de7c03c8385780f05530c2b3cf952a712d5f8f00)
2022-12-17 17:37:07 -05:00
hondacrx 7fc3293fd4 Fixes some errors with loot. 2022-10-25 18:09:05 -04:00
hondacrx 0b2621b348 Core/GameObjects: Implemented per player gameobject state and visibility for looted non-consumable chests
Port From (https://github.com/TrinityCore/TrinityCore/commit/879c0cccfcb9224f9e15cbed926c57a4e010a070)
2022-10-21 17:34:52 -04:00
hondacrx 9b62b83984 Core/Loot: Implemented personal loot and tag sharing for non-boss loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/133334a902b705dae6f7e92bb1009b84cf1c51d2)
2022-10-18 16:07:00 -04:00
hondacrx b76c9571d2 Core/Loot: Move loot rolls from Group to Loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/3ef5079feeedfdafc9d3c1d9f865e96dbc77ecc8)
2022-09-18 17:57:08 -04:00
hondacrx 38b72558ca Core/Creatures: Don't remove hovering from creatures that can fly
Port From (https://github.com/TrinityCore/TrinityCore/commit/8660655de03541e64fd1b2d8290dcb53e6ff4ec8)
2022-09-07 15:40:58 -04:00
hondacrx 7357a98adc Core/Auras: Improve aura interactions with immunities on spell effect level
Port From (https://github.com/TrinityCore/TrinityCore/commit/66b03acc47665cd79646096e13aa8c6b513675aa)
2022-09-07 15:22:28 -04:00
hondacrx efc40de753 Core/Loot: Fixes creatures not having any loot. 2022-09-04 11:37:02 -04:00
hondacrx 7bba4bdd79 Core/Loot: Allocate Loot separately from objects
Port From (https://github.com/TrinityCore/TrinityCore/commit/7957e2d380e08fa831765f610c0e29d2f3e11a04)
2022-09-02 14:14:04 -04:00
hondacrx acb9db8891 Fixes creatures aggro range, Wrong check on pathpoints, and a crash when there is no unitCaster. 2022-07-17 22:49:28 -04:00
hondacrx 4038b93aa1 Core/Pools: Implemented pooling for instances
Port From (https://github.com/TrinityCore/TrinityCore/commit/94d829c84fb184990e26178551d10ecdca049efd)
2022-06-15 22:56:12 -04:00
hondacrx c26e78c902 correctly apply npc pvp flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/45bbbd5acd8b68b98860283d70d17b6ab527dcdf)
2022-06-15 18:21:44 -04:00
hondacrx 40444525b2 Core/GameObjects: Transport (type 11) improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/630b60eb0dcd3d9ce41582664ab822b049365431)
2022-06-03 16:20:41 -04:00
hondacrx 8d55654b73 Core/Creatures: Only use scaling data when it was actually loaded for the creature, not always if it just exists in db
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4fba9b3c461676622079b166a376e29685d2ca7)
2022-06-02 20:26:27 -04:00
hondacrx e9fcfd6f26 Core/Spells: Cleanup movement checks in spells - use correct interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/538fa8e97ff4b4e36a59e37fd74ea8958e6e30d2)
2022-06-01 16:20:48 -04:00
hondacrx 13701dac7c Core/Spells: Rename SpellAttr5 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/738f285432b1ef6109d1c54ab7f40d743a994631)
2022-06-01 13:45:46 -04:00
hondacrx 62c2d34f1a Core/Spells: Rename SpellAttr4 to use official attribute names
Port From (https://github.com/TrinityCore/TrinityCore/commit/8d16a79dea4c0100d36e13b068c42499a3a48154)
2022-06-01 13:37:39 -04:00
hondacrx 442da7511f Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785)
2022-05-30 16:12:11 -04:00
hondacrx f53c4cb009 Core/Misc: Rename SetXXXFlags updatefield functions to ReplaceAllXXXFlags
Port From (https://github.com/TrinityCore/TrinityCore/commit/4eba9786708dd3b22d9053c1a14eac7e6d03242e)
2022-05-30 15:57:56 -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 504da24dd0 Core/Pools: Fix pools with 1 member never spawning anything anymore
Port From (https://github.com/TrinityCore/TrinityCore/commit/9c3dc31a3764681ae641e24ab61cd5256cc3331e)
2022-05-28 17:49:41 -04:00
hondacrx aae2b14bc6 Core/Vehicle: Setting home position of creature passenger on AtEngage
Port From (https://github.com/TrinityCore/TrinityCore/commit/4dbacb69852e3324ddd9abb55a44d93b00679e36)
2022-05-26 16:55:32 -04:00
hondacrx 0368d5c9c3 Core/Quest: Threat From Above
Port From (https://github.com/TrinityCore/TrinityCore/commit/8202dc28c2dae613c14a52ef4e84932d8c1c9e39)
2022-05-26 16:48:38 -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