Andrew
16fa25b7a9
feat(Core/Maps): Implement dynamic respawn rates ( #21417 )
...
Co-authored-by: r00ty-tc <r00ty-tc@users.noreply.github.com >
Co-authored-by: Jelle Meeus <sogladev@gmail.com >
Co-authored-by Treeston
This is a partial cherry-pick of: 59db2eeea0
2025-02-12 15:06:42 -03:00
Anton Popovichenko
f6a0433297
feat(Core/Arena): Add support for arena seasons completion with progression in runtime. ( #19858 )
...
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com >
2025-02-12 07:09:31 -03:00
Mykhailo Redko
017cfb7b4b
fix(Core/PacketIO): Implemented CMSG_BUSY_TRADE and CMSG_IGNORE_TRADE. ( #21385 )
2025-02-10 17:12:38 +01:00
Andrew
79cbb00075
feat(Core/Creature): Implement HasFlagsExtra() helper to creature ( #21362 )
2025-02-08 14:07:04 -03:00
天鹿
9768cfca3a
fix(Core): Fix After PR#21213 Crash ( #21327 )
2025-02-07 13:52:56 -03:00
Exitare
ff4d1ef053
chore(Core/EventMgr): Align code to Code standard & improve LoadFromDB function ( #21151 )
...
Co-authored-by: Jelle Meeus <sogladev@gmail.com >
Co-authored-by: Ludwig <sudlud@users.noreply.github.com >
2025-02-07 14:25:07 +01:00
iThorgrim
13e3a3c84a
Feat(Core/Player): Add ExtraBonusTalentCount methods ( #21271 )
2025-02-04 07:47:26 +01:00
iThorgrim
c53112d820
Feat(Core/Scripting): Add new hook CanPlayerResurrect to simplify HardCore mod etc. ( #21272 )
2025-02-03 18:28:19 +01:00
Kitzunu
17412174be
feat(Core/SAI): implement SMART_ACTION_DISABLE_REWARD ( #21105 )
2025-02-01 22:49:41 +01:00
Kitzunu
47c5ff904f
refactor(Core/Disables): Convert from Namespace to Class Structure ( #21109 )
2025-02-01 22:48:52 +01:00
Kitzunu
9e9a2fe5e3
refactor(Core/ObjectMgr): Change GetAcoreString from char const* to s… ( #21213 )
...
...ring
2025-02-01 22:46:42 +01:00
Jelle Meeus
00b8a3f419
feat(Core/WorldState): implement Battle for Sun's Reach Event ( #21219 )
...
Co-authored-by: killerwife <killerwife@gmail.com >
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com >
Co-authored-by: MantisLord <sabinprosper@gmail.com >
2025-01-31 13:19:12 +01:00
Kitzunu
0733c30471
refactor(Core/Player): Improve Channel.RestrictedLfg handling ( #21145 )
2025-01-21 19:09:31 +01:00
Kitzunu
847d2156fc
refactor(Core/Loot): Simplify GetFishLoot with for loop and merge Get… ( #21217 )
2025-01-20 14:09:27 +01:00
FlyingArowana
759c912bd1
feat(Core) - Additional "ActionButton" log information. ( #21201 )
2025-01-19 08:14:11 +01:00
Jelle Meeus
5bc20a184d
fix(Player/SpellQueue): bandaid crashfix ( #21103 )
2025-01-10 19:38:24 -03:00
Kitzunu
6ea9b7a9cb
fix(Core/Player): fix output for disabled maps ( #21068 )
2024-12-30 16:42:09 -03:00
Kitzunu
bff594c4f5
feat(Unit/Misc): HasAnyAuras() HasAllAuras() HasAuras() ( #21040 )
2024-12-26 05:51:54 -03:00
Kitzunu
d2b88bdc1e
feat(CI/Codestyle); Check for double semicolons ( #20996 )
2024-12-21 22:19:49 +01:00
Exitare
4d1dba4a09
fix(Core/Player): Quest failure sound when inventory full ( #20970 )
...
* Add quest failure sound when inventory is full or quest failed
* Fix sound being played for all players & move call to correct function
2024-12-18 21:58:32 -03:00
Takenbacon
4d349e87b5
feat(Core/AuctionHouse): Rework auctionhouse search threading ( #20830 )
2024-12-18 15:50:26 +01:00
Jelle Meeus
88eb6fbb2b
fix(Core/Player): SpellQueue fix typo StartRecoveryCategory ( #20944 )
...
fix: typo StartRecoveryCategory
should be category
2024-12-17 10:38:24 -03:00
Exitare
98b426bf3a
feat(Core/Player) Option to adjust max rest bonus via config ( #20836 )
2024-12-14 20:51:28 +01:00
Exitare
6f65f5f22b
feat(Core/Player)Add quest failure sound when inventory is full or quest failed ( #20917 )
2024-12-14 09:46:41 +01:00
Jelle Meeus
993bdcb84e
feat(Core/Player): implement Spell Queue ( #20797 )
2024-12-12 11:59:52 +01:00
IntelligentQuantum
9f37794f5c
Fix(Core/Player): Energy regen rate bonuses ( #20321 )
2024-12-12 06:53:39 +01:00
Tereneckla
8e080f1e60
fix(Core/Pet): Remove unnecessary Pet Class reassignments ( #20614 )
...
remove unnecessary class assignment
2024-12-01 17:16:13 -03:00
gontrannopier
cf7959238a
fix(Core/Players): don't set full heath/mana/rage while Dead ( #20723 )
...
fix level up while dead -> check if player is not dead, then update health/mana/rage/..
Co-authored-by: gontrannopier <gontrannopier@gontrannopier.com >
2024-12-01 17:09:26 -03:00
Kitzunu
ed008a8780
refactor(Core/Spells): Add helpers for HasAuraType ( #20802 )
2024-12-01 08:50:59 -03:00
FingerKnoten
593ca4dae1
fix(Core/Player): properly update m_usedTalentCount ( #20232 )
2024-11-16 22:31:24 +01:00
Jelle Meeus
9f58216383
fix(Core/Spell): EffectQuestComplete, set quest to rewarded instead of complete ( #20358 )
...
set quest to rewarded instead of complete when targetted by SPELL_EFFECT_QUEST_COMPLETE
Prevents people from ending up with strange quests in their quest logs.
https://github.com/TrinityCore/TrinityCore/commit/6d62f852acf3e1a3ee57cde2442832280aee814
Co-authored-by: SnapperRy <snapperryen@gmail.com >
2024-11-15 03:47:41 -03:00
silviu20092
87fbdb7967
feat(Core/Scripting): Add hook for applying weapon damage ( #20350 )
...
Add hook for applying weapon damage
2024-11-14 05:35:26 -03:00
manstfu
21c5575d1a
fix(Core/Player): Nerfing Heirloom Weapons Damage ( #20357 )
...
Fixing heirloom damage
Co-authored-by: ariel- <ariel-@users.noreply.github.com >
2024-11-13 21:53:03 +01:00
Francesco Borzì
a9f0f371e5
refactor(src/server/game): optimise imports ( #20541 )
2024-11-13 11:37:20 +01:00
Jelle Meeus
3565e4a9eb
feat(Core/WorldState): improved WorldState scripting ( #20141 )
...
* implement world state script
based on
0b87ca9d9e
Co-authored-by: killerwife <killerwife@gmail.com >
* refactor to use onleave and onenter instead of spell_area
allows players to right click remove adal's buff
* add MapMgr.h
* refactor: use condition enum instead of uint32, prefix WORLD_STATE where needed
* remove lock from WorldState::Update
sWorldState->Update() is only called from World::Update
* remove unsafe SmartAI action of setWorldState
---------
Co-authored-by: killerwife <killerwife@gmail.com >
2024-11-12 12:15:27 -03:00
Francesco Borzì
2ce2c8cf3a
refactor(src/server/game/*): remove unused imports (big part 3) ( #20315 )
2024-10-27 13:10:28 +01:00
Angelo Venturini
47c61b2576
fix(Core/BG): Fix double method call on removing a player ( #20156 )
2024-10-24 09:12:29 -03:00
Francesco Borzì
784e80668d
refactor(src/server/game/Entities): remove unused imports ( #20096 )
2024-09-29 20:19:02 +02:00
Stefano Borzì
f6de601ddd
new BattlegroundDesertionTypes for hook OnBattlegroundDesertion ( #20039 )
...
* new BattlegroundDesertionTypes for hook OnBattlegroundDesertion
* chore: minor improvements
---------
Co-authored-by: laasker <79991768+laasker@users.noreply.github.com >
2024-09-27 22:19:56 +02:00
Jelle Meeus
6e4a9bbb14
fix(Core/Unit): fix Dual Wield for more creatures, CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK, creature disarm damage ( #20015 )
...
* enable CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK
* sql set CREATURE_FLAG_EXTRA_USE_OFFHAND
* use new HasOffHandWeaponForAttack instead of haveOffhandWeapon
no longer requires m_CanDualwield set to use Offhand attack
requires non-disarmed weapon in Offhand OR creature_flag_extra enabled
Co-authored-by: Ovah <dreadkiller@gmx.de >
Co-authored-by: Warlockbugs <warlockbugs@outlook.com >
* Make shapeshift forms which dont override attack speed use weapon damage
Co-authored-by: killerwife <killerwife@gmail.com >
* SetEquipmentSlots turning off damage update when using template default
Co-authored-by: killerwife <killerwife@gmail.com >
* Setup DualWield & Damage On Equipment Updates, implement Set and GetVirtualItem
Co-authored-by: Yatzii <47720837+Yatzii93@users.noreply.github.com >
* creature disarm damage
set disarm to reduce minmax damage by 50% instead of setting to 0
Co-authored-by: Warlockbugs <warlockbugs@outlook.com >
---------
Co-authored-by: Ovah <dreadkiller@gmx.de >
Co-authored-by: Warlockbugs <warlockbugs@outlook.com >
Co-authored-by: killerwife <killerwife@gmail.com >
Co-authored-by: Yatzii <47720837+Yatzii93@users.noreply.github.com >
2024-09-25 16:53:39 +02:00
IntelligentQuantum
985410f184
feat(Core/Items): Delete old item id from recovery item ( #18332 )
2024-09-22 08:32:16 +02:00
Kitzunu
386aea03ee
chore(Core/Misc): Some cleanup ( #19970 )
...
* remove weird blanks
* update if
* ) ) to ))
* missed some ) )
* now switch
* .
2024-09-21 19:34:31 +02:00
Jelle Meeus
8d7463c670
fix(Core/PlayerStorage): Equip OH, 2H, Titan's Grip weapon swapping ( #19884 )
...
titan's grip, unequip with full bags
2024-09-13 16:15:25 -03:00
天鹿
e7448f2986
fix(Scripts/Commands): .gps formatting transport offset ( #19890 )
...
* Update cs_misc.cpp
* Update PlayerUpdates.cpp
2024-09-07 01:03:41 -03:00
Benjamin Jackson
1edac37ac3
refactor(Core): Make more use of helpers. ( #19835 )
...
* Init.
* Reword.
* Update codestyle script.
Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
* Add gameobject type ID check, reorder checks.
* Add helper/codestyle check for unit type.
* `IsUnit()` -> `IsCreature()`
* Add `IsUnit()` method.
* Use type mask.
https: //github.com/TrinityCore/TrinityCore/commit/cc71da35b5dc74abf71f8691161525a23d870bb5
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-Authored-By: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
* Replace instances of `isType` with `IsUnit`.
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com >
Co-authored-by: Ovahlord <18347559+Ovahlord@users.noreply.github.com >
2024-09-03 14:41:31 -03:00
Anton Popovichenko
9999a80c96
feat(Core/Achievements): Add possibility to complete achievements and update achievement criteria for offline players. ( #19851 )
2024-09-03 13:05:23 -03:00
Grimdhex
221dbd3fdb
chore(Apps/Codestyle): add new codestyle checks for pointers and range loops ( #19841 )
...
* chore(Apps/Codestyle): add new codestyle checks for pointers and range loops
* revert a typo
2024-09-03 13:02:38 -03:00
Kitzunu
9af86553c5
chore(Core/Misc): update floor and ceil to std ( #19837 )
2024-09-03 08:01:00 -03:00
Kitzunu
5d31b9f98f
refactor(Core/Item): Add helpers ( #19828 )
2024-08-31 19:38:50 -03:00
Benjamin Jackson
f88812443d
refactor(Core): Correct typo. ( #19830 )
...
Init.
2024-08-31 17:38:03 -03:00