Commit Graph

107 Commits

Author SHA1 Message Date
hondacrx 511bce7b00 Core/Loot: Prevent loot already looted item
Port From (https://github.com/TrinityCore/TrinityCore/commit/8847f37b5bb8e42068ea10e007216e8abf6189fc)
2022-03-02 09:18:34 -05:00
hondacrx 9587d3ea7d Update GameTime Methods 2022-03-01 17:33:20 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx 2c03f9d1be Core/Items: Reagent bank
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3b2e4d9873874e29291f0c9851ae154029b1b3b)
2022-02-26 23:32:00 -05:00
hondacrx 4679bc9980 Core/Items: Implemented many new enchantment flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/241193cd0287c3d7a2cbaf7f2c5775d414b4d0b3)
2022-02-24 16:16:46 -05:00
hondacrx 3c6e9e7795 Core/Misc: Create new enum for AreaIds
Port From (https://github.com/TrinityCore/TrinityCore/commit/60b48ad0467c4578d9944e53d9c55ed4b970a4ec)
2022-02-23 16:45:12 -05:00
hondacrx 8ba914cb61 Core/Quests: Fixed gameobject sparkle state for lootable quest items by moving ItemAddedQuestCheck/ItemRemovedQuestCheck after item is added/removed
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1a1e552d2acb394ad0d0a2544aeef6ad93ca4fb)
2022-02-22 19:39:43 -05:00
hondacrx 380aeac394 Core/Players: Improve trade exchange calculations
Port From (https://github.com/TrinityCore/TrinityCore/commit/68e1dc8adb84a3df5241358be591400db39e4d62)
2022-02-18 13:09:36 -05:00
hondacrx a1411aef94 Core/Items: Fixed heirloom items counting for item set bonuses past their max scaling level and implemented new heirloom upgrade levels
Port From (https://github.com/TrinityCore/TrinityCore/commit/3c12a189e430b1b6e0a452f272860f58b2dca7bd)
2022-01-28 17:33:49 -05:00
hondacrx 883a3bb990 First try at updating command system to be like TC. Still needs alot of testing/work 2022-01-20 09:57:15 -05:00
hondacrx 6e0becd106 Core/Items: implement some helper methods for easier readability
Port From (https://github.com/TrinityCore/TrinityCore/commit/9124fd1f1fafea19b118eb69c6a35f94376fc7e8)
2022-01-06 10:57:06 -05:00
hondacrx f1a0e55cb5 additional output for additem command
Port From (https://github.com/TrinityCore/TrinityCore/commit/72e61625bca5a8420fc76666db3481673b180a69)
2022-01-05 23:29:15 -05:00
hondacrx 8b23a77c5f Core/Loot: don't allow to regenerate chest loot inside instances and raids.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bfef73b5102201e85a31b39ae595da42d9750c7e)
2021-12-22 20:32:04 -05:00
hondacrx 1bd33fce8e Core/Loot: implement automatic pass in group loot for items that cannot be looted.
Port From (https://github.com/TrinityCore/TrinityCore/commit/1c8f94a14f51e5ddfd0eb277e2b709da274e654d)
2021-12-17 19:33:22 -05:00
hondacrx b349f922b2 Core/Spells: don't allow spells with SPELL_EFFECT_CREATE_LOOT to be cast if there isn't enough space in inventory
Port From (https://github.com/TrinityCore/TrinityCore/commit/59da957165ef7d7529db30f90a30dc401d682052)
2021-12-17 19:26:43 -05:00
hondacrx 613fa25096 Core/Player: allow AutoStoreLoot to specify if the looted item should be shown as if created by the player.
Port From (https://github.com/TrinityCore/TrinityCore/commit/81a8366ce5659f3556a0b910a0437256d95b62f9)
2021-12-17 17:47:14 -05:00
hondacrx 0e8e2b7cc5 Core/Achievement: fix mistake related to ACHIEVEMENT_CRITERIA_TYPE_OWN_ITEM.
Port From (https://github.com/TrinityCore/TrinityCore/commit/238726b8241adea7819fe93f1af7bec8bd77f6e1)
2021-12-07 14:21:57 -05:00
hondacrx 2ded315eaa Core/Object: Range check vol. 2
Port From (https://github.com/TrinityCore/TrinityCore/commit/a13a765610d964a3aa1bab1b41331c05e24a1f78)
2021-12-07 13:53:35 -05:00
hondacrx b3a92137d3 Core/Spells: SpellHistory updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/8cc6520b89583d4bf6549b28fa5b7390fc2b0b9d)
2021-11-23 14:36:54 -05:00
hondacrx b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05:00
hondacrx 5ad5b8ef18 Core/Spells: Implemented SPELL_AURA_SUPPRESS_ITEM_PASSIVE_EFFECT_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e4a90d2749c7675eebbb3eb41cd50ecaab78b7e)
2021-10-16 18:26:30 -04:00
hondacrx b2b482a1fe Core/Player: partial revert of m_items handling as it's cause of a exploit
Port From (https://github.com/TrinityCore/TrinityCore/commit/3d1da4957cd7ee3320eed089ad213af09050ade1)
2021-09-24 10:26:13 -04:00
hondacrx 64e1b9e34f Core/Items: Disable effects on items marked as legacy
Port From (https://github.com/TrinityCore/TrinityCore/commit/c34e0f80a0337ba582aeee17a478081f99a69686)
2021-09-21 20:15:08 -04:00
hondacrx c9b8f09fbc Core/Achievements: Update CriteriaType enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
2021-09-09 14:49:19 -04:00
hondacrx a0952d0776 Core/Player: properly clear m_items array when unequipping items from the bag
Port From (https://github.com/TrinityCore/TrinityCore/commit/4a386b97d2094a6d67039c7068edbf26000bbf5e)
2021-09-09 13:51:36 -04:00
hondacrx 30bd4aa6b1 Core/Entities: cleanup of weapon damage
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf7a624a344f86101b346bc74acd93a017cf3581)
2021-09-09 13:49:46 -04:00
hondacrx 5c4a7511ff Core/Spells: Cleanup spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4e1119ac21e2d1112d1717337597fe073e495f)
2021-09-08 17:40:50 -04:00
hondacrx 607f891fa8 Core/Achievements: Several criteria fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/bca465a5694101c476dc01aeafa95dfb3531e427)
2021-08-22 23:12:19 -04:00
hondacrx 5cf8cff41e Core/Items: Implemented secondary shoulder transmog appearance
Port From (https://github.com/TrinityCore/TrinityCore/commit/03f09ea16ab683fac0f3be3c0656fdb80b63154e)
2021-08-11 20:38:21 -04:00
hondacrx d6dd7acd28 Core/GameObject: implemented gameobject_overrides table to change faction and flags values on a per-spawn basis
Port From (https://github.com/TrinityCore/TrinityCore/commit/67a1a1d29b76acfcda505fe1a38761a335e93bc5)
2021-08-09 10:24:32 -04:00
hondacrx c51c4d443f Core/Spell: SpellValueOverrides encapsulation
Port From (https://github.com/TrinityCore/TrinityCore/commit/5fbddef85f48f6b9140d025d7f2e14faae0af178)
2021-06-22 18:43:40 -04:00
hondacrx 52e43853fe More Cleanups 2021-06-08 12:56:09 -04:00
hondacrx 302a1f293c Some Cleanups 2021-06-07 18:06:16 -04:00
hondacrx 1941148d8f Core/Achievements: Defined all modifier tree types and implemented many of them
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0be92ec0ad0334c38b4073a7e24a571982b17da)
2021-06-07 13:13:46 -04:00
hondacrx fb81030c75 Core/Items: Fixed crash happening when deleting item before it was saved for the first time
Port From (https://github.com/TrinityCore/TrinityCore/commit/3df64ceff4aaada63c598d110156f22dd31f1d2c)
2021-05-18 13:46:30 -04:00
hondacrx 96dc601d37 Core/Player: fix issue with SendLoot when using Disarm Trap at maximum range
Port From (https://github.com/TrinityCore/TrinityCore/commit/b11c1e714184be6abeef61f38117c5c66c5d903e)
2021-05-07 15:37:08 -04:00
hondacrx 48d2765d56 Core/Items: Equipping rings/trinkets/weapons by right clicking them in bags will now swap the lower item level equipped one instead of first slot
Port From (https://github.com/TrinityCore/TrinityCore/commit/90a47188af95fd86f805d5ea61065a4d83c4efe1)
2021-04-21 22:15:24 -04:00
hondacrx da9172430d Core/Items: Don't update average item level when obtaining/destroying non-equippable items
Port From (https://github.com/TrinityCore/TrinityCore/commit/aa826993e2c5870d2aa7d029ea3c0d98687ee884)
2021-04-21 22:11:47 -04:00
hondacrx 897ca11273 Cleanups to cad2a7fa88 2021-04-21 11:00:46 -04:00
hondacrx d0faa12ef6 Core/Spells: CastSpell Cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2021-04-18 18:42:11 -04:00
hondacrx 63f0f919e2 Core/Misc: Replace Time.UnixTime with GameTime.GetGameTime()
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e4e6f0700c7d950e1b2654c217ec8b28ae79e)
2021-04-17 19:28:50 -04:00
hondacrx ff67fd4d38 Core/Items: Fixes saving new EquipmentSets. 2021-04-13 09:49:14 -04:00
hondacrx 084dc44a39 Core/DataStores: Updated db2 structures to 9.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/34a8baba85bdd86f07730e387144954dd64372ad)
2021-04-12 14:11:12 -04:00
hondacrx 9e26d8dad5 Core/Loot: Properly clear tracked looted objects with item loot
Port From (https://github.com/TrinityCore/TrinityCore/commit/0461826689dad8f318e86395ce1060c8f29f7920)
2021-03-29 16:46:09 -04:00
hondacrx 6977599b1b Core/Units: Corrected values of UnitData::Resistances (should be total value)
Port From (https://github.com/TrinityCore/TrinityCore/commit/88f4d30445937b9de42f5cb25acad75fc89bdccb)
2021-03-29 12:18:59 -04:00
hondacrx d93c4fc3cb Core/Spells: Updated spell shapeshift form flags enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/6db27c58b97a028026e0159109fbf20f6132e6b5)
2021-03-28 14:44:49 -04:00
hondacrx cad2a7fa88 Core/Items: Addes support for calculating item level & cleanup iterating over items.
Based on https://github.com/TrinityCore/TrinityCore/pull/26276
2021-03-24 15:44:49 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 0fdab8635d Misc fixes 2021-03-04 12:00:58 -05:00
hondacrx eb18c4ef82 Core/Equipmentset: Fixes crash when trying to save a new equipmentset. 2021-02-22 12:29:11 -05:00