Exitare
7fd8b04a56
feat(Core/Motd): Allow localized motd ( #20542 )
...
* Initial commit for localized motd
* Rename function that created world packages
* Update to satisfy code check
* Update code to accomodate localized motd
* Update command to support multiple optionales & adjusted db
* Code cleanup
* Update sql name
* Fix codestyle issues
* Remove hardcoded schema
* Add check for valid player in reload command
* Update to better code style
* Add missing include
* Fix redundant code usage
* Add missing include
* Remove sql files and create new rev sql files
* Address minor code reviews
* Fix code style
* Update code to address code revisions.
- Remove two unused functions
- Remove map
- Use available function to resolve LocaleConstant
* Fix code style
* Add check for base motd and update locale to DEFAULT_LOCALE
* Code docs
* Removed some docs, readd defaultd motd formatting
* Fix oversight in variable declaration
* Code style fix
* Update code based on code review
* ready for merge
* Fix set motd command due to changes to DEFAULT_LOCALE
* Fix CI
* Fix trailing whitespace
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-12-15 19:50:02 +01: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
Grimdhex
a4e2b1d743
feat(Core/WorldObjects): implement Heartbeat timers ( #20872 )
2024-12-13 08:50:45 +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
Andrew
d94dda9d93
feat(Core/SAI): Implement SMART_ACTION_DISMOUNT (206) ( #20899 )
2024-12-12 06:11:42 +01:00
Benjamin Jackson
2654ec83cd
fix(Core/AI): Increase movement leash extension interval. ( #20867 )
...
Init.
2024-12-08 21:04:41 +01:00
Jelle Meeus
00eeb0051a
fix(Core/SpellAuraEffects): use caster's level to scale amount to break crowd control auras ( #20153 )
2024-12-06 12:19:03 +01:00
Andrew
02cacd2341
feat(Core/Unit): Implement GetCompanionPet() helper ( #20819 )
2024-12-02 16:34:24 -03:00
Andrew
0f1618faf5
feat(Core/Scripting): Implement SetAutoAttackAllowed() to disable aut… ( #20805 )
...
* feat(Core/Scripting): Implement SetAutoAttackAllowed() to disable autoattacks
* Update ScriptedCreature.cpp
2024-12-02 08:11:18 -03: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
490c90bdd7
feat(Core/SAI): Add pet variable to SMART_TARGET_INVOKER_PARTY ( #20804 )
...
* feat(Core/SAI): Add pet variable to SMART_TARGET_INVOKER_PARTY
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/15755
* mb
2024-12-01 13:57:39 -03:00
Kitzunu
ed008a8780
refactor(Core/Spells): Add helpers for HasAuraType ( #20802 )
2024-12-01 08:50:59 -03:00
Kitzunu
10a79441b6
fix(Core/Spells): Logic misstake for spells that can be cast on dead … ( #20800 )
2024-12-01 11:11:33 +01:00
Kitzunu
5e4f6ac576
fix(Script/Commands): tele add should only check exact match ( #20785 )
...
* fix(Script/Commands): tele add should only check exact match
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/20268
* better describe the variable
2024-11-30 20:06:26 -03:00
Riley S.
e9137d4d4d
fix(Core/Spells): Resolve invalid spell casts on dead players when the cast is valid. ( #20712 )
...
* Initial fix for #20509
* small revert
* Two way visibility between ghosts.
* clean up temporary changes.
* clean up debug code.
* small typo
* revert .gitignore
* fix codestyle
* Add missing flag, resolve issue where cast was failing while alive.
* Update SpellInfo.cpp
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
---------
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com >
2024-11-30 20:18:32 +01:00
Andrew
afc81098f2
fix(Scripts/ZulAman): Fix Vortex not following players and also spell… ( #20780 )
...
* fix(Scripts/ZulAman): Fix Vortex not following players and also spell missing
* Update boss_zuljin.cpp
2024-11-30 12:28:19 -03:00
Jelle Meeus
6b5f50cdbe
fix(Core/Database): prevent crash due to special chars in branch name ( #20776 )
...
add prepared statements to escape special characters in branch name
2024-11-30 12:26:57 -03:00
sudlud
9d422136f6
fix(Core/LootMgr): add startup error for unsupported reference minCou… ( #20725 )
2024-11-30 11:31:02 +01:00
Andrew
2649ca2d65
feat(Core/Spells): Allow modifying MiscValues during cast ( #20731 )
2024-11-26 12:17:02 -03:00
sudlud
b2c04603f7
feat(Core/SmartAI): add startup error for non existent SmartAI entries ( #20694 )
2024-11-24 21:25:02 +01:00
Grimdhex
9874a47de5
refactor(Core): fix few static analysis ( #20566 )
...
* refactor(Core): fix few static analysis
* fix builds
* revert FacingInfo change and fix GraveYard ID use in a log
2024-11-24 17:02:32 -03:00
Andrew
c5876bff6f
fix(Scripts/ZulAman): Fix Amani Hatcher behaviour ( #20687 )
2024-11-24 07:56:18 -03:00
Andrew
0b771cbc92
fix(Core/Creature): Don't call reset if still in combat ( #20675 )
2024-11-23 10:57:26 +01:00
Jelle Meeus
4b03e97a63
fix(Core/Creature): Set RespawnTime before AI Reset ( #20684 )
...
fix(Core/Creature): Set RespawnTIme before AI Reset
2024-11-22 12:23:21 -03:00
Jelle Meeus
640f84e280
feat(Core/SmartAI): introduce new SMART_EVENT_IS_IN_MELEE_RANGE ( #20575 )
2024-11-20 06:36:17 -03:00
FingerKnoten
593ca4dae1
fix(Core/Player): properly update m_usedTalentCount ( #20232 )
2024-11-16 22:31:24 +01:00
Jelle Meeus
28696e4ff8
fix(Core/Spells): implicit target selection for chain spells that should ignore crowd controlled targets ( #20068 )
...
replace free to move with ownerGUID check with crowd control check
2024-11-16 09:30:53 -03:00
Andrew
e1d0cf9a15
feat(Core/Instances): Implement SummonData ( #20582 )
2024-11-15 10:49:02 -03: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
Benjamin Jackson
53cd41b938
feat(Core/Scripting): Add hook during command security evaluation. ( #20564 )
2024-11-14 17:14:28 -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
Andrew
7746287ee1
fix(Core/Spells): Fix Lay on Hands healing bypassing Cyclone ( #20552 )
...
* fix(Core/Spells): Fix Lay on Hands healing bypassing Cyclone
* and mana as well
2024-11-14 03:37:23 -03:00
Andrew
587762ca36
fix(Core/Instance): Save persistent data to DB on updates ( #20555 )
2024-11-14 00:01:22 -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
cc03798123
fix(Core/Spells): Jump Speed Calculations ( #20479 )
...
Core/Spell: Jump Speed Calculations
0197a2f990
Co-authored-by: DanVS <33371360+DanVS@users.noreply.github.com >
2024-11-12 12:16:41 -03: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
Andrew
e741a9a87f
feat(Core/Scripting): Implement SetInvincibility() to prevent creatur… ( #20508 )
2024-11-11 00:22:03 -03:00
Andrew
734bcb5d10
chore(Core/Creature): Fix typo ( #20510 )
2024-11-10 15:21:58 +01:00
Andrew
d73ebe2e38
fix(Core/SAI): Don't try to reposition Rooted inhabit type creatures ( #20504 )
2024-11-10 04:54:01 -03:00
Andrew
138a2ca974
refactor(Scripts/ZA): Update Zul'jin ( #20456 )
2024-11-08 21:05:30 -03:00
Anton Popovichenko
12a41df8bc
fix(Core/Unit): Fix crash during Judgement of Light/Wisdom proc ( #20467 )
2024-11-06 12:13:19 -03:00
avarishd
fa4dc2cd47
fix(Core/Spells): 'Black Qiraji Battle Tank' being removed on map change/teleport ( #20455 )
...
fix(Core/Spells): Black Qiraji Battle Tank being removed on map change/teleport
2024-11-06 01:26:40 -03:00
avarishd
1c22cdcab2
fix(Core/Spells): Luffa removing bleeds over level 60 ( #20411 )
...
* fix(Core/Spells): Luffa
* Update spell_item.cpp
* Update spell_item.cpp
* Update spell_item.cpp
2024-11-04 21:09:10 +01:00
Benjamin Jackson
1bff305ad4
fix(Core/Spells): Adjust logic for removing/applying auras related to areas. ( #20299 )
...
* Init.
* Use apply instead of variable.
2024-11-03 21:39:56 -03:00
Benjamin Jackson
3c6273a9dd
fix(Core/Unit): Only allow Judgement of Light/Wisdom to proc for targets friendly to caster. ( #20374 )
...
Init.
2024-11-03 21:39:26 -03:00
Grimdhex
08bfecdbea
fix(Core/Movement): remove unecessary reset() ( #20419 )
...
Co-authored-by: Ovahlord <18347559+ovahlord@users.noreply.github.com >
2024-11-03 17:36:48 -03:00