Commit Graph

112 Commits

Author SHA1 Message Date
hondacrx 6abce678ca Misc fixes 2024-02-06 22:12:17 -05:00
hondacrx 27d825ddce Core/Conditions: Fixed typo in worldstate expression evaluation
Port From (https://github.com/TrinityCore/TrinityCore/commit/7b88faf672ef664e23d0012cbe81612ff00eda3b)
2024-02-06 17:24:41 -05:00
hondacrx d1ad9f662e Core: Updated to 10.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/a4a4d010a0e329d4dbd82c0be5feab1fc06c8834)
2024-02-06 13:07:17 -05:00
hondacrx 9668e07c16 Core/Conditions: Added stringid condition type
Port From (https://github.com/TrinityCore/TrinityCore/commit/151dd67e2eb22e49ce84c2eb28b08985bcce7602)
2024-02-06 09:50:23 -05:00
hondacrx 80936edeab Core/Conditions: Refactor ConditionMgr internals to get rid of separate containers for some condition source types
Port From (https://github.com/TrinityCore/TrinityCore/commit/0b5406dd882c6d96bc1be6fd0a78375c3b316415)
2024-02-06 09:39:26 -05:00
hondacrx 5972f3b8a1 Core/Battlegrounds: Clean up some Team/TeamId parameters to use enums instead of raw integer types
Port From (https://github.com/TrinityCore/TrinityCore/commit/1ef0c045202a6af33fb991f2ff765fa183ce976f)
2024-02-04 16:31:49 -05:00
hondacrx 446d819eba Scripts/Conditions: Fallback to other targets to get map if first target is invalid
* fixes crash in Ulduar when reaching Assembly of Iron / Kologarn / Algalon area
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1c5e3809ca92ba6f172fefd9711788a7b2a8df8)
2024-02-03 13:50:09 -05:00
hondacrx 150b978ead Core/Conditions: Allow battleground maps to use CONDITION_INSTANCE_INFO
Port From (https://github.com/TrinityCore/TrinityCore/commit/f4e4e62aea79ff478dbc0f2bb2c5ab7f412a8a66)
2024-02-02 14:53:57 -05:00
hondacrx febab9baed Core/Misc: Use DB2Manager::IsInArea for area-related criterias and conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f68215bb61e46265c6667b6c71f0d2376835686)
2024-02-01 10:22:15 -05:00
hondacrx a436f7b2d1 Core/Objects: Treat areas that have ParentAreaID filled but dont have IsSubzone flag as zones instead of areas
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ce96adb7a8ae29a577cce268c8bd3742253cf69)
2024-02-01 09:51: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 3052b1dc23 Core/Misc: Turn ChrSpecialization into enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/98007f859b7318570c0c923a00aa32fc485c8ec8)
2023-09-13 20:33:47 -04:00
hondacrx 7cb343e4f9 Core/Misc: Reduce number of player spec hardcoded checks
Port From (https://github.com/TrinityCore/TrinityCore/commit/054723241eaf1abe7d45a96460e84b9ff113ffb2)
2023-09-13 19:47:12 -04:00
hondacrx 296e818f77 Core/Condition: Implemented condition CONDITION_PRIVATE_OBJECT
Port From (https://github.com/TrinityCore/TrinityCore/commit/f28b4eed3d875ccedde574b0abc7258290b4c0a3)
2023-09-04 08:06:51 -04:00
hondacrx f6807e152c Core: Update to 10.1.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cea730fa23473a85c47451c3bd13df816f2b6e4)
2023-08-21 07:22:33 -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 1edb0d07d3 Core/Conditions: Replaced Player argument to world state expression checking with Map
Port From (https://github.com/TrinityCore/TrinityCore/commit/81f0bf9525cdf2e06b709a9c4259ba620138ebd0)
2023-06-30 08:43:57 -04:00
hondacrx 31ffbf3512 Core/Graveyards: Drop Faction column and replace it with conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/c1df555e1691d788918845f95252358f25e54bb5)
2023-06-13 04:20:54 -04:00
hondacrx 24b0836710 added some missing code. 2023-05-06 07:21:37 -04:00
hondacrx 7e31dfce4a Core/Conditions: Fix log typo
Port From (https://github.com/TrinityCore/TrinityCore/commit/0327f3ede31a2ece7b359bcd25c421de8074a730)
2023-04-25 17:06:39 -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 da283244ca Core/Spawns: Allow spawn groups with MANUAL_SPAWN flag to automatically despawn if conditions are not met
Port From (https://github.com/TrinityCore/TrinityCore/commit/97d413c9b4be6af296490580f7acc1d66e606ca9)
2023-02-11 23:30:57 -05:00
hondacrx 4b798e7cab Core/Players: Several currency fixes and improvements
Port From (https://github.com/TrinityCore/TrinityCore/commit/03918978c166c9fb191117a0cae9ba1285bf0e37)
2023-02-11 23:28:57 -05:00
hondacrx 7d4bbd78fc Some startup fixes and cleanups 2023-02-10 22:14:58 -05:00
hondacrx f73e64396f Update license headers for all files. 2023-01-18 17:25:32 -05:00
hondacrx 55da7dc549 Core/Players: Implemented new talent system
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cc5ab8372f19dad7412038d52dcd39db5e0e171)
2023-01-04 02:50:40 -05:00
hondacrx 989b80b056 Core: Updated to 10.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/e98e1283ea0034baf6be9aa2ffb386eb5582801b)
2022-12-28 15:25:15 -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 006d47a955 Core/Gossip: Remove gossip menu option fallback code, all menus are now required to have options defined instead of trying to get them from menuid = 0
Port From (https://github.com/TrinityCore/TrinityCore/commit/49709e427360006186744ca52116f9ee35092b83)
2022-10-11 19:55:30 -04:00
hondacrx e92d1ee4e9 Core/Conditions: Added CONDITION_PLAYER_CONDITION to integrate conditions with db2 data
Port From (https://github.com/TrinityCore/TrinityCore/commit/3a56b914c64dd44303f63fe8f6cb9ac4865e5a59)
2022-08-04 18:19:37 -04:00
hondacrx a3bd0f274a Core/Conditions: Allow empty (CONDITION_NONE) conditions with just script attached
Port From (https://github.com/TrinityCore/TrinityCore/commit/47aa69ca32c79dfdab9cd2cdbd64e69c9716e413)
2022-07-25 22:17:46 -04:00
hondacrx cea897a772 Fixed another crash, and enabled tilelist reading again. 2022-07-25 14:38:31 -04:00
hondacrx 31d207c2ab Core/Players: Fixed ExploredZones size and PLAYER_EXPLORED_ZONES_SIZE desync
Port From (https://github.com/TrinityCore/TrinityCore/commit/cb99b08b86f8773563276bf16ccc2210003b056b)
2022-07-18 22:01:10 -04:00
hondacrx 5648dc959d Fix build and one DB file 2022-07-13 19:16:39 -04:00
hondacrx 6f0aa96c50 Core/Conditions: Implemented PlayerCondition::CurrentPvpFaction
Port From (https://github.com/TrinityCore/TrinityCore/commit/490b6f88d4ceae982da8877e50b20070a8f4f978)
2022-07-09 12:38:24 -04:00
hondacrx e5d325bf82 Core/WorldStates: Migrate conditions and criteria to new worldstate api
Port From (https://github.com/TrinityCore/TrinityCore/commit/7029b78cab620b861818fab4f94c7810caf109de)
2022-06-27 15:54:38 -04:00
hondacrx 9422b62dca Core/DataStores: Updated WorldStateExpression function enum to 9.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/743308267fe18677f07878a8d4814ef800660661)
2022-06-25 22:58:22 -04:00
hondacrx e56f3792de Core/Conditions: Implemented conditions for spawn groups
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d27939667cf3ca985a33b93646fa4e34445c8d3)
2022-06-24 22:08:58 -04:00
hondacrx 4154d41d6b Core/Conditions: Fixed CONDITION_AURA to allow effect index greater than 2
Port From (https://github.com/TrinityCore/TrinityCore/commit/33c3ea1013787b15ff5eacc556bb0f0b41c8ec37)
2022-06-24 21:48:38 -04:00
hondacrx c81639bf56 Core/Conditions: Added CONDITION_SCENE_IN_PROGRESS, useful for cases where you need phase things when a scene is in progress.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd401af0912eca2c938b6dd93fdb7689b9146c89)
2022-06-24 21:43:24 -04:00
hondacrx a99d430a9c Core/Conditions: Added CONDITION_SCENARIO_STEP
Port From (https://github.com/TrinityCore/TrinityCore/commit/5002e5d3524eab201c6c219cd60a9f7d6188ed54)
2022-06-01 17:06:38 -04:00
hondacrx c355c2967c Core/Conditions: Fixed conditions not working for area auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/7260fcb5c63ff1de397100cd46eda50ffc8b3025)
2022-05-30 13:04:57 -04:00
hondacrx fd9501dbe0 Core/Conditions: Add missing null checks for PlayerCondition
Port From (https://github.com/TrinityCore/TrinityCore/commit/5bf9a016480c22278beec2620743a664ede3773f)
2022-05-05 10:06:59 -04:00
hondacrx 1a2251e58d Core/Conditions: Implemented new condition type CONDITION_BATTLE_PET_COUNT to check how many copies of a battle pet are collected
Port From (https://github.com/TrinityCore/TrinityCore/commit/b5a67cf17dbf18369a2a3370d9d45ca6c56e8cc7)
2022-05-04 10:31:48 -04:00
hondacrx 6b0fb6766e Misc fixes 2022-03-04 17:23:44 -05:00
hondacrx dfe2303d6f Core/Conditions: Implemented many more UnitCondition types
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf357312e0c4d0a68a95379ecdcbed817b136c31)
2022-02-26 18:33:10 -05:00
hondacrx 26deeb7a1e Core/Conditions: Initial support for UnitCondition.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/72286dc5e4fa5db2aff012d9cd496a8a6fc514c3)
2022-02-26 17:32:19 -05:00
hondacrx 06df87c79a Core/Conditions: Added conditions for object visibility
Port From (https://github.com/TrinityCore/TrinityCore/commit/b987a8968b45b8d5c86ab7e66d3910d2ecfe0963)
2022-02-25 17:23:55 -05:00
hondacrx 7a47eaeb24 Core/Conditions: allow spellclick conditions to properly work for aura apply/remove
Port From (https://github.com/TrinityCore/TrinityCore/commit/edf12fd6a1b989d7785bc0619002eda1ccc87368)
2021-12-27 15:23:22 -05:00
hondacrx 6d73a59f63 Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender
Port From (https://github.com/TrinityCore/TrinityCore/commit/27886c7f5d6cfc221ea67aab210f96859d725e05)
2021-12-26 19:51:26 -05:00