Teleqraph
bfbda8dcce
Core/Creatures: Refactor CreatureEliteType ( #29525 )
...
* Turn into enum class with official names
2023-12-28 19:11:54 +01:00
Shauren
7cafeb46b3
Core/Creatures: Don't require creature.modelid to be one of linked creature_template models
2023-11-26 00:20:13 +01:00
Shauren
73e0b3e77c
Core/Creatures: Taxi improvements
...
* Fixed flight master minimap icon
* Fixed crash on Argus
* Implemented teleport taxi nodes
Closes #29389
2023-10-28 22:13:59 +02:00
ModoX
8c26b9350d
Core/Creature: Fixed logic for npcflag, unitflags when saving creatures to db
...
* 06ea822a31 followup
2023-08-31 16:15:26 +02:00
ModoX
06ea822a31
Core/Creature: Save npcflags and unitflags as NULL in db if they are equivalent to creature_template entry
...
Closes #29297
2023-08-31 13:18:59 +02:00
Shauren
982feb5082
DB/Pets: Removed invalid spells from creature_template_spell
...
Closes #29149
2023-08-16 20:04:20 +02:00
Teleqraph
88ff97c1f9
Core/Units: Added helper functions to modify UNIT_FLAG_UNINTERACTIBLE ( #29159 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2023-07-20 19:09:27 +02:00
Teleqraph
53f9abec14
Core/Unit: Added helper functions to modify UNIT_FLAG2_CANNOT_TURN ( #29160 )
2023-07-20 12:20:15 +02:00
Shauren
074c5da6e4
Core/Pets: Fixed crash when summoning hunter pets
2023-07-05 00:18:55 +02:00
Shauren
3e641606e7
Core/Creatures: Added missing assignment
2023-06-18 21:18:37 +02:00
Meji
bb68fd73b4
Core/Creatures: Drop dynamic flags from creature and creature_template ( #29041 )
2023-06-18 19:18:56 +02:00
Shauren
7282a17725
Core/Creatures: Added db fields to hold creature static flags
2023-06-18 16:36:00 +02:00
Shauren
0fb8765a66
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
2023-06-17 16:29:59 +02:00
Meji
06d0b16f15
Core/Creatures: Move creature difficulty specific data from creature_template table to creature_template_difficulty ( #28931 )
2023-05-29 00:01:23 +02:00
Shauren
7f98b71698
Core/Creatures: Fixed some creatures having 0 max health (and being unkillable)
2023-05-21 13:31:42 +02:00
Shauren
1325e0c4b2
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
2023-05-09 23:16:30 +02:00
Jeremy
205aba1ff3
Core/Battlegrounds: Moved AreaSpiritHealer resurrection handling to respective npc flags ( #28508 )
...
* UNIT_NPC_FLAG_AREA_SPIRIT_HEALER
* UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
2023-05-09 05:20:35 +02:00
ModoX
920b9a99bd
Core/Unit: Named npc flags UNIT_NPC_FLAG_AREA_SPIRIT_HEALER and UNIT_NPC_FLAG_2_AREA_SPIRIT_HEALER_INDIVIDUAL
2023-05-06 14:39:13 +02:00
Meji
d6133c78de
Core/Units: Calculate HoverHeight from model data ( #28899 )
2023-04-09 18:17:08 +02:00
ModoX
209a36424e
Core/Creature: Added missing nullcheck
2023-04-06 01:25:49 +02:00
ModoX
0750b7f845
Core/Creature: Implemented sparring with max health percent thresholds ( #27198 )
...
Co-authored-by: Ovah <dreadkiller@gmx.de >
2023-04-06 01:01:02 +02:00
ModoX
36044a9470
Core/Creature: Added possibility to give creatures multiple gossip menu ids and control them via conditions ( #28159 )
2023-04-05 23:49:46 +02:00
Meji
562f65f3f8
Core/Creatures: Compute the level from ContentTuning ( #28871 )
2023-03-31 01:01:35 +02:00
Meji
81ea6f54d9
Core/Creatures: Compute CombatReach and BoundingRadius using DisplayScale ( #28863 )
2023-03-30 18:54:27 +02:00
Meji
cc57c9dad5
Core/Creatures: Improved movement interruption while casting spells ( #28845 )
2023-03-24 12:27:01 +01:00
Shauren
512f5138d4
Core/Creatures: Use togglable CREATURE_STATIC_FLAG_4_TREAT_AS_RAID_UNIT_FOR_HELPFUL_SPELLS instead of equivalent flag from creature_template.type_flag
2023-03-17 23:02:47 +01:00
Shauren
6e309ed17f
Core/Creatures: Allow flagging creatures to not clear their tap list when evading
2023-03-15 19:42:58 +01:00
Shauren
eb93afffc0
Core/Creatures: Allow toggling creature default root state
2023-03-13 14:52:11 +01:00
Shauren
155cf58236
Core/Creatures: Allow scripts to change creature loot id (must be done before death)
2023-03-13 00:09:18 +01:00
Shauren
91e7401e64
Core/Creatures: Allow turning off experience gain from creatures by scripts
2023-03-12 13:20:25 +01:00
Shauren
0956873613
Core/Creatures: Allow overriding default gossip menu id
2023-03-12 00:13:49 +01:00
Shauren
6bcbc786e5
Core/Creatures: Wrap all creature static flags in a structure
2023-03-11 13:45:16 +01:00
Shauren
379b1ec6ae
Core/Creatures: Added fields for static flags to creature class for future use
2023-03-10 21:50:01 +01:00
Shauren
689d3a667a
Core/Creatures: Allow overriding non-gossip based trainer ids for creatures
2023-03-10 19:09:48 +01:00
Shauren
3df16c12b7
Core/Scripts: Move EvadeReason outside of CreatureAI class
2023-01-19 21:23:06 +01:00
Ovahlord
4119f69b21
Core/Creatures: Split creature_addon and creature_template_addon's byte columns into seperate ones ( #28562 )
...
* Instead of dumping raw byte values into these fields, we now only allow setting values which should be accessible to database devs. The remaining byte values should be handled by core internals and spells (pet talents and shapeshifting for example)
(cherry picked from commit 6f835c233f )
2023-01-12 22:55:19 +01:00
ModoX
25c7656ffd
Core/Creatures: Restore IsMovementPreventedByCasting logic for casting units (non-channeled)
...
* this partly reverts e2ed3e23f8
2023-01-09 23:15:21 +01:00
Meji
e2ed3e23f8
Core/Creatures: Fix IsMovementPreventedByCasting logic ( #28551 )
2023-01-09 23:08:22 +01:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Seyden
61c51b76c0
Core/Creatures: Implement StringId for Creatures, a custom identifier to make finding specific creatures in script easier ( #28500 )
...
Allows targeting specific spawns without hardcoding guids or find a bunch of different creatures with a single search
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-12-27 16:39:05 +01:00
Meji
263ce0cd30
Core/Creatures: Never enable gravity for creatures that can only fly ( #28411 )
2022-12-17 23:48:04 +01:00
ModoX
e275c39586
Core/Items: Dropped deprecated ItemFlag2 ITEM_FLAG2_DONT_IGNORE_BUY_PRICE ( #28382 )
2022-12-17 17:53:37 +01:00
Shauren
de7c03c838
Core/Spells: Extended mechanic mask to uint64
2022-12-04 15:07:36 +01:00
Shauren
879c0cccfc
Core/GameObjects: Implemented per player gameobject state and visibility for looted non-consumable chests
2022-10-21 22:11:00 +02:00
Shauren
133334a902
Core/Loot: Implemented personal loot and tag sharing for non-boss loot
2022-10-17 23:11:46 +02:00
Shauren
3ef5079fee
Core/Loot: Move loot rolls from Group to Loot
...
* Partial port of cmangos/mangos-wotlk@ffdf9a05d6
2022-09-16 16:58:03 +02:00
Meji
8660655de0
Core/Creatures: Don't remove hovering from creatures that can fly ( #28217 )
2022-09-07 14:48:44 +02:00
Shauren
66b03acc47
Core/Auras: Improve aura interactions with immunities on spell effect level
...
* Effects that target is immune to will be suppressed instead of completely removed
Closes #28096
(cherry picked from commit 3306a4d06c )
2022-09-05 22:23:03 +02:00
Shauren
7957e2d380
Core/Loot: Allocate Loot separately from objects
2022-09-01 20:07:58 +02:00
Shauren
94d829c84f
Core/Pools: Implemented pooling for instances
2022-06-11 14:04:56 +02:00