Commit Graph

287 Commits

Author SHA1 Message Date
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
hondacrx fb44221203 Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/88ff97c1f96381565c47f8ca1993bdc7fce19fd6)
2023-09-04 07:50:01 -04:00
hondacrx 15fe47e0cb Core/Unit: Added helper functions to modify UNIT_FLAG2_CANNOT_TURN
Port From (https://github.com/TrinityCore/TrinityCore/commit/53f9abec14613c0823b1ee5363b3f873cc23ece9)
2023-09-04 07:22:22 -04:00
hondacrx fe9519f3b6 Core/Pets: Fixed crash when summoning hunter pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/074c5da6e43796a88ad34e8724362433d5109f88)
2023-07-18 07:51:23 -04:00
hondacrx 74d8682426 Core/Creatures: Implement CREATURE_STATIC_FLAG_4_IGNORE_LOS_WHEN_CASTING_ON_ME
Port From (https://github.com/TrinityCore/TrinityCore/commit/815e158a3ec5f5e173376ff4273913990e9bce10)
2023-07-01 09:09:57 -04:00
hondacrx 3389b03b06 Core/Creatures: Added missing assignment
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e641606e7931a4362830648e38b81fb0a460d50)
2023-06-24 09:12:05 -04:00
hondacrx 219db87e6a Core/Creatures: Drop dynamic flags from creature and creature_template
Port From (https://github.com/TrinityCore/TrinityCore/commit/bb68fd73b498f6d6fc2c4414352c6e073a184304)
2023-06-24 09:11:35 -04:00
hondacrx 55b91302ec Core/Creatures: Added db fields to hold creature static flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/7282a1772568111f95a1fb85e95f92421439c097)
2023-06-24 09:02:05 -04:00
hondacrx 49a07ebcce Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
Port From (https://github.com/TrinityCore/TrinityCore/commit/0fb8765a6638fd947b59fce44d5c31251d0cdadd)
2023-06-21 09:19:40 -04:00
hondacrx 068ccd990f Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty
Port From (https://github.com/TrinityCore/TrinityCore/commit/06d0b16f158e8793860d9edd11b990f20b1d0dac)
2023-05-30 08:16:40 -04:00
hondacrx 6f2f65cc27 Core/Creatures: Fixed some creatures having 0 max health (and being unkillable)
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f98b71698eca5b136676991026de1d0d212f9fb)
2023-05-23 08:13:25 -04:00
hondacrx d55f4f836f Core/Units: Power handling improvements
* Don't include creature_template power multipliers in CreateMana updatefield
* Allow NPCs to have power types other than mana
* Add missing Essence config regeneration rate
* Fixed demon hunter powers not decaying immediately after combat
* Fixed some powers decaying immediately out of combat after energizing (for example holy power)
* Replace hardcoded list of powers to set to full on levelup with a db2 flag check
* Updated Creature::GetPowerIndex for 10.1 new power types
Port From (https://github.com/TrinityCore/TrinityCore/commit/1325e0c4b279d590acbcbb05d6abdf5fdb66a882)
2023-05-23 05:44:42 -04:00
hondacrx 35961a0121 Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/205aba1ff3a6f1ff92a8b26af646fd25f139c697)
2023-05-21 18:38:55 -04: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 1ba4f55eec Core/Units: Calculate HoverHeight from model data
Port From (https://github.com/TrinityCore/TrinityCore/commit/d6133c78de9e2272765c2cfda82c440663acd254)
2023-04-25 17:23:24 -04:00
hondacrx c186c76103 Core/Creature: Added missing nullcheck
Port From (https://github.com/TrinityCore/TrinityCore/commit/209a36424eb9affc2ac3af2682fc9169a37d494f)
2023-04-25 08:39:54 -04:00
hondacrx bd2eb5baab Core/Creature: Implemented sparring with max health percent thresholds
Port From (https://github.com/TrinityCore/TrinityCore/commit/0750b7f8455df39a64462636ca296c6f2aa2b048)
2023-04-25 08:38:55 -04:00
hondacrx 9d4be0003b Core/Creature: Added possibility to give creatures multiple gossip menu ids and control them via conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/36044a9470e9c39a71916e908ab6cf4f95677793)
2023-04-25 08:02:18 -04:00
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