Shauren
054723241e
Core/Misc: Reduce number of player spec hardcoded checks
2023-08-07 00:05:36 +02:00
ModoX
f28b4eed3d
Core/Condition: Implemented condition CONDITION_PRIVATE_OBJECT ( #29136 )
2023-07-21 17:54:27 +02:00
Shauren
81f0bf9525
Core/Conditions: Replaced Player argument to world state expression checking with Map
2023-06-26 22:53:07 +02:00
Jeremy
c1df555e16
Core/Graveyards: Drop Faction column and replace it with conditions ( #28965 )
2023-06-01 02:33:46 +02:00
Meji
0327f3ede3
Core/Conditions: Fix log typo
2023-04-08 21:49:33 +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
97d413c9b4
Core/Spawns: Allow spawn groups with MANUAL_SPAWN flag to automatically despawn if conditions are not met ( #28778 )
2023-01-29 19:50:34 +01:00
Meji
03918978c1
Core/Players: Several currency fixes and improvements ( #28676 )
2023-01-29 17:42:23 +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
Shauren
0cc5ab8372
Core/Players: Implemented new talent system
2022-12-16 22:44:55 +01:00
Shauren
e98e1283ea
Core: Updated to 10.0.2
2022-12-04 15:13:20 +01:00
Shauren
de7c03c838
Core/Spells: Extended mechanic mask to uint64
2022-12-04 15:07:36 +01:00
Shauren
2c79ce6791
Core/Conditions: Add const to condition checking functions
2022-10-24 00:15:43 +02:00
Shauren
49709e4273
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
2022-10-09 18:43:35 +02:00
Meji
3a56b914c6
Core/Conditions: Added CONDITION_PLAYER_CONDITION to integrate conditions with db2 data ( #28169 )
2022-08-02 21:18:27 +02:00
Shauren
cb99b08b86
Core/Players: Fixed ExploredZones size and PLAYER_EXPLORED_ZONES_SIZE desync
2022-07-17 20:23:37 +02:00
Shauren
f4951f9031
Core/DataStores: Named WorldStateExpression function 38
2022-07-13 20:51:20 +02:00
Shauren
490b6f88d4
Core/Conditions: Implemented PlayerCondition::CurrentPvpFaction
2022-07-08 00:35:24 +02:00
Shauren
7029b78cab
Core/WorldStates: Migrate conditions and criteria to new worldstate api
2022-06-26 12:18:45 +02:00
Shauren
743308267f
Core/DataStores: Updated WorldStateExpression function enum to 9.2.5
2022-06-26 00:00:34 +02:00
Shauren
5d27939667
Core/Conditions: Implemented conditions for spawn groups
2022-06-24 22:20:34 +02:00
Shauren
33c3ea1013
Core/Conditions: Fixed CONDITION_AURA to allow effect index greater than 2
2022-06-24 21:36:08 +02:00
Antonio Martín Berti
bd401af091
Core/Conditions: Added CONDITION_SCENE_IN_PROGRESS, useful for cases where you need phase things when a scene is in progress. ( #28011 )
2022-06-21 23:26:07 +02:00
Antonio Martín Berti
5002e5d352
Core/Conditions: Added CONDITION_SCENARIO_STEP ( #27928 )
2022-05-09 19:33:55 +02:00
Shauren
d800c87137
Core/Misc: Remove implicit conversions from RaceMask class, fixes racemask check failing during loading from db
2022-05-06 18:45:51 +02:00
Shauren
7260fcb5c6
Core/Conditions: Fixed conditions not working for area auras
...
(cherry picked from commit 8693ee5695 )
2022-03-20 00:29:35 +01:00
Kargatum
373ed8f46b
Core: whitespace cleanup, reduce double blank line to single ( #25795 )
...
* Core/Misc: fix double empty line
* worldserver.conf
(cherry picked from commit a32b6b8ac4 )
2022-03-05 20:07:57 +01:00
Shauren
5bf9a01648
Core/Conditions: Add missing null checks for PlayerCondition
2022-02-08 15:32:12 +01:00
Shauren
7efc3df815
Core/Conditions: Fixed PlayerCondition checking after std::arrayification of DB2Structures
2022-02-08 14:50:44 +01:00
Antonio Martín Berti
b5a67cf17d
Core/Conditions: Implemented new condition type CONDITION_BATTLE_PET_COUNT to check how many copies of a battle pet are collected ( #27689 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2022-02-06 18:57:19 +01:00
Shauren
88659dcebf
Core/Gossip: Sync naming and db structure with 3.3.5
2022-01-26 23:49:42 +01:00
Treeston
fa8ab6eb98
Core/Common: Move old-style pointer+size HexStr methods to Trinity::Impl where they can't hurt anyone
...
(cherry picked from commit 7b8b999516 )
2022-01-26 14:36:42 +01:00
Peter Keresztes Schmidt
44ea32ace4
Build: Enable -Wimplicit-fallthrough on clang ( #25056 )
...
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs
Related: #25006
* Misc: Add some missing breaks (no-ops) to satisfy clang
Related: #25006
Closes #25055
* Build: Enable -Wimplicit-fallthrough on clang
Closes #25006
2022-01-23 22:16:15 +01:00
Peter Keresztes Schmidt
ad340466d0
Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs ( #25054 )
...
Related: #25006
(cherry picked from commit 85b5b842ca )
2022-01-23 22:02:03 +01:00
jackpoz
68faf5bc4b
Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
...
(cherry picked from commit 54c701cf0d )
2022-01-19 22:17:42 +01:00
Shauren
bf357312e0
Core/Conditions: Implemented many more UnitCondition types
2022-01-15 23:30:00 +01:00
Shauren
72286dc5e4
Core/Conditions: Initial support for UnitCondition.db2
2022-01-15 00:52:55 +01:00
ModoX
b987a8968b
Core/Conditions: Added conditions for object visibility ( #27565 )
2022-01-12 21:54:03 +01:00
Wyrserth
edf12fd6a1
Core/Conditions: allow spellclick conditions to properly work for aura apply/remove ( #23527 )
...
(cherry picked from commit 12e545f7e2 )
2021-12-14 20:52:13 +01:00
ForesterDev
27886c7f5d
Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender ( #23520 )
...
* Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender and fix some cases, where we should get player gender, instead of modified by display gender
* fix merge
* Add virtual methods for Unit class
(cherry picked from commit b47bb59e2a )
2021-12-13 00:42:20 +01:00
ccrs
4e6c59dca7
Core/Unit: rename several getters to follow codestyle
...
uint8 GetLevel()
uint8 GetLevelForTarget(WorldObject const* /*target*/)
void SetLevel(uint8 lvl)
uint8 GetRace()
uint32 GetRaceMask()
uint8 GetClass()
uint32 GetClassMask()
uint8 GetGender()
(cherry picked from commit 5c09ff51f7 )
2021-12-13 00:42:20 +01:00
Shauren
3d3d255a47
Core/Conditions: Sync CONDITION_QUEST_OBJECTIVE_PROGRESS implementation with 3.3.5
2021-12-11 16:13:45 +01:00
Meji
0d0f9784a9
Core/Conditions: Added CONDITION_SOURCE_TYPE_TRAINER_SPELL ( #27321 )
2021-12-04 14:42:54 +01:00
ForesterDev
b26c2f5c13
Core/Conditions: implement CONDITION_GAMEMASTER ( #23108 )
...
(cherry picked from commit 262ddaf819 )
2021-11-24 22:56:14 +01:00
PolarCookie
f377dc23f3
Quest: Ruthless Cunning and Returning the Favor ( #22806 )
...
* Ruthless Cunning and Returning the Favor
* no more magic numbers
* now with scripted ai and condition
* travis
* more travis
* jackpoz
* now with no banner spellscripts
* typo
* Rename 9999_99_99_99_world.sql to 2018_12_03_00_word.sql
(cherry picked from commit 9d93504f34 )
2021-11-16 00:51:51 +01:00
ModoX
6ebd5926fb
Core/Conditions: Added conditions for old areatrigger system (AreaTrigger.db2) ( #27174 )
2021-10-26 22:58:49 +02:00
ModoX
03c0f787a1
Core/Conditions: Added conversation line source type ( #27167 )
2021-10-25 16:24:51 +02:00
ModoX
3548467c93
Core/Conditions: Implemented conditions for areatriggers ( #27021 )
...
* also added example fix for Death's Power Grows quest
2021-10-06 10:22:41 +02:00
Shauren
8a4e1119ac
Core/Spells: Unify spell effect access api in both branches
2021-09-04 15:13:15 +02:00
ariel-
08f4f9b324
Core/Conditions: validate object types when conditioning implicit spell targets with CONDITION_OBJECT_ENTRY_GUID
...
Closes #21569
(cherry picked from commit 34c3962b09 )
2021-08-23 20:02:44 +02:00