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
Traesh
fb6761c273
Core/Spells Implement targets 133, 134, 135 : TARGET_UNIT_LINE_CASTER_TO_DEST_*** ( #26786 )
2021-08-15 11:09:46 +02:00
Shauren
8aaf750be1
Core/Conditions: Implemented missing PlayerCondition columns - time and weather
2021-06-04 21:47:43 +02:00
Shauren
91b91b502f
Core/Quests: Quest improvements
...
* Add quest log slot argument to functions dealing with objective progress
* Implemented QUEST_OBJECTIVE_FLAG_SEQUENCED (prevent progressing hidden objectives)
2021-05-09 20:21:32 +02:00
Shauren
14098b28b3
Core/Chat: Allow incorrect spell/skill language assignments to mirror client behavior
2021-05-03 23:53:24 +02:00
Matan Shukry
3b578fc6b9
Core/Chat: Load chat language data from db2 and implement serverside chat translations
2021-05-03 23:53:24 +02:00
Aokromes
93552510ab
Core/Logs: Fix more logs
...
the others have exit,so they continue to be error because they are critical
(cherry picked from commit b68484cfb0 )
2021-01-21 22:30:40 +01:00
Shauren
b82a3a557a
Core/DataStores: Updated db2 structures to 9.0.2
...
* Includes support for new character customization
2020-12-08 18:16:47 +01:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
r00ty-tc
03b125e6d1
Dynamic Creature/Go spawning:
...
- True blizzlike creature spawn/respawn behavior - new creature = new object
- Toggleable spawn groups (with C++/SAI/command options to use them)
- Custom feature: dynamic spawn rate scaling. Accelerates respawn rate based on players in the zone.
- Backward compatibility mode (set via group and for summons)
to support creatures/gos that currently don't work well with this
(this should be removed once the exceptions are fixed)
Fixes and closes #2858
Tags #8661 as fixable.
Fixes and closes #13787
Fixes #15222 .
(cherry picked from commit 59db2eeea0 )
2020-08-22 12:59:57 +02:00
Shauren
c7306439e7
Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
2020-06-12 01:29:18 +02:00
Shauren
4d69cc1c56
Core/Misc: GCC build and warning fixes
2020-05-21 22:15:58 +02:00
Shauren
aedab76a11
Core/Misc: Add extra ByteBuffer and WorldPacket constructors allowing to set size immediately
2020-05-20 17:28:38 +02:00
Shauren
3cc50e69f1
Core/Players: Fixed racemasks usage for new races
2020-03-30 19:06:11 +02:00
Shauren
4746331f49
Core/Misc: Removed references to item_template in logs
2020-01-25 14:15:20 +01: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
Shauren
3ac790287a
Core/DataStores: Updated db2 structures to 8.2.5
2019-10-27 00:12:45 +02:00