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
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