Shauren
47aa69ca32
Core/Conditions: Allow empty (CONDITION_NONE) conditions with just script attached
2022-07-25 20:59:46 +02:00
Shauren
5d27939667
Core/Conditions: Implemented conditions for spawn groups
2022-06-24 22:20:34 +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
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
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
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
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
Carbenium
9969d6e194
Fix non-PCH build
...
(cherry picked from commit 05025d79f3 )
2020-06-24 14:35:10 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
bab99b4054
Core/Conditions: Implement (partially) PlayerCondition LfgValue fields
2019-11-14 00:38:43 +01:00
Traesh
548d79bb06
Core/DataStores: Implemented WorldStateExpression
2019-08-24 17:13:17 +02:00
Shauren
ff334ae707
Core/Conditions: Reimplemented CONDITION_OBJECT_ENTRY_GUID and CONDITION_TYPE_MASK under new values to allow easier porting conditions between branches. Old data is dynamically converted during startup
2019-07-21 17:12:34 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
738f37d3cf
Core/Maps: Replaced spawnmask with difficulty list
2018-09-15 17:55:26 +02:00
Shauren
5bd61e91bf
Core/Misc: Graveyards can now use conditions, SourceType = 27, SourceEntry = graveyard_zone.ID
2018-03-14 23:31:49 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Aokromes
5c2c84fc50
Core/Conditions: Rename CONDITION_SOURCE_TYPE_QUEST_ACCEPT to CONDITION_SOURCE_TYPE_QUEST_AVAILABLE
...
By Malcrom
2017-08-20 12:59:29 +02:00
Aokromes
6b2e262eb4
Core/Conditions: merge CONDITION_SOURCE_TYPE_QUEST_SHOW_MARK with CONDITION_SOURCE_TYPE_QUEST_ACCEPT.
2017-05-26 14:19:50 +02:00
Shauren
c5d3dd90be
Core/Game: Include cleanup
...
* Mostly aimed at removing Log/DatabaseEnv includes from other headers
* Fix most packet headers including other packet headers - moved common structures such as ItemInstance to their own files
* Moved SAI function definitions to source files (massive or requiring many different dependencies)
2017-05-18 23:53:25 +02:00
Shauren
3a418a0bbc
Core/Common: Include cleanup
2017-05-11 22:29:51 +02:00
funjoker
945cfce1f6
Core/Conditions: Implemented new condition type CONDITION_QUEST_OBJECTIVE_COMPLETE ( #18235 )
...
Closes #17863
2017-03-20 08:54:29 +01:00
treeston
31a3f2297b
Core/Conditions: New CONDITION_QUESTSTATE (47). It's the existing quest conditions collapsed into a bitmask value2 because I'm a lazy person that doesn't like having long SQL queries.
...
Then use this new condition to fix Sniffing out the Perpetrator for Horde. Tagging issue #17914 .
(cherry picked from commit 62cffd11d0 )
2017-02-26 15:31:42 +01:00
treeston
3a62ecb516
Core/Conditions: Add new CONDITION_TAXI (46). Does what it says on the tin. Tagging issue #15560 .
...
(cherry picked from commit 08b3833051 )
2017-02-12 16:27:20 +01:00
treeston
d2b5af3a52
Core/Conditions: Add new CONDITION_PET_TYPE (45). Matches target player's pet against specified (value1) bitmask.
...
(cherry picked from commit e9d4bbc74e )
2017-02-11 22:37:07 +01:00
treeston
12b58eae40
Core/Conditions: Add new CONDITION_CHARMED (44). Does what it says on the tin.
...
(cherry picked from commit 9785546967 )
# Conflicts:
# src/server/game/Conditions/ConditionMgr.cpp
2017-02-11 22:36:54 +01:00
SnapperRy
06c7849aa1
Core/Conditions: implement CONDITION_DAILY_QUEST_DONE to check whether or not a daily quest has been completed by a player in that day.
...
Also use it to fix two quest chains broken in commit 7905651 . Should be the only ones of their kind.
(cherry picked from commit b4b3c10c69 )
2017-02-05 21:07:30 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
de2efe0105
Core/Taxi: Implemented PlayerCondition requirements on taxi paths
2016-06-08 21:46:08 +02:00
Treeston
42a01d62e6
Merge pull request #16457 from Treeston/3.3.5-standstatecondition
...
[3.3.5] Add condition for unit sitting/standing
(cherry picked from commit b6720af4cb )
2016-04-08 20:28:55 +02:00
Naios
bf33159a70
Core/Game: Converted the game library to a shared library.
...
* There is still the possibility to static link against game.
2016-03-24 01:31:51 +01:00
Naios
329225b40d
Core/Game: Move singleton instances into compilation units
...
* Fixes issues when building shared libraries
(prevents gcc and clang from providing several instance)
2016-03-11 18:35:49 +01:00
ariel-
3a7f311547
Core/Conditions: fix a memory leak for CONDITION_SOURCE_TYPE_TERRAIN_SWAP
...
Reported by Aokromes.
2016-03-02 23:31:22 -03:00
Shauren
d9849fb87b
Core/DataStores: Implemented checking PlayerCondition for future use
2016-01-03 00:40:18 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
MitchesD
cdb5bd3eb7
Core/Conditions: extended CONDITION_NEAR_CREATURE, condition value 3 is now used to check for dead creature entries (0 - alive, 1 - dead)
...
* I used 0 for alive to avoid touching all conditions with this type
2015-12-03 21:37:33 +01:00
Shauren
db0c48c17f
Core/Conditions: Optimizations part 3 changed ConditionStore to a simple array
2015-10-25 13:35:45 +01:00
Shauren
b09e63e9de
Core/Conditions: Optimizations part 3 removed copying condition containers all over the place
2015-10-25 13:20:28 +01:00
Shauren
e5c1e7d71c
Core/Conditions: Optimizations part 2 removed unneeded code
2015-10-25 12:22:04 +01:00
Shauren
9fa938f3e0
Core/Conditions: Optimizations part 1 - use containers more suited for their role
2015-10-25 12:00:05 +01:00
Shauren
5e0cee85dd
Core/Conditions: Type renaming
2015-10-25 10:59:58 +01:00
Shauren
52d5de1a7f
Core/Conditions: Phase condtion changes
...
* SourceGroup defines which phase should the condition affect
* SourceEntry limits the area of the phase (alternatively 0 means all areas)
2015-10-25 00:22:21 +02:00
Kittnz
21e0880fba
Core/Condition: Add In Water Condition
...
Updates #7019
(cherry picked from commit 5f8db04761 )
Conflicts:
src/server/game/Conditions/ConditionMgr.cpp
src/server/game/Conditions/ConditionMgr.h
Closes #15285
CONDITION_TERRAIN_SWAP (40) has been changed to 41 to keep compatibility with the 3.3.5 branch
2015-08-15 18:34:48 +01:00
joschiwald
355928305a
Core/Conditions: adjust logging code after recent phases changes
2015-03-30 16:08:48 +02:00