Commit Graph

2913 Commits

Author SHA1 Message Date
Benjamin Jackson
e6a29d96c8 fix(Core/Creature): Use home position for leash distance check for creatures with no movement. (#22245) 2025-05-30 10:35:28 -03:00
Benjamin Jackson
db18d5b035 refactor(Core): Use database tables for Shaman totems and Druid shapeshift forms. (#22104)
Co-authored-by: DoctorKraft <25483209+doctorkraft@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: ForesterDev <11771800+ForesterDev@users.noreply.github.com>
2025-05-27 14:40:57 +01:00
avarishd
d6a21a53db fix(DB/SAI): Portal Keepers now uses the correct Arcane Missiles spell (#22209) 2025-05-27 14:37:52 +01:00
avarishd
2a45d1a26f fix(Core/Spells): Siphon Bloodgem now channels no matter the player's orientation. (#22143) 2025-05-24 19:53:27 +01:00
avarishd
f79c0292eb fix(Scripts/ScarletEnclave): Devour Humanoid castable without target … (#22196)
Co-authored-by: Rocco Silipo <108557877+Rorschach91@users.noreply.github.com>
2025-05-24 20:41:37 +02:00
Jelle Meeus
c6d2249d92 fix(Scripts/Spells): re-add startDelay for some traps (#22102) 2025-05-23 18:24:08 +02:00
Benjamin Jackson
f710fb8d9f refactor(Core/Worldstate): Remove redundant worldstate usage. (#22126)
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-05-23 18:23:34 +02:00
Benjamin Jackson
93ac73a4d1 fix(Core/Creature): Leashing improvements. (#22129)
Co-authored-by: killerwife <killerwife@users.noreply.github.com>
Co-authored-by: 天鹭 <18535853+PkllonG@users.noreply.github.com>
2025-05-23 18:22:56 +02:00
Jelle Meeus
22b1d072c2 fix(Core/Player): aura removal logic to equipped "Use" items (#22164)
Co-authored-by: itslovelol <robin.schriever.hude@web.de>
Co-authored-by: VladimirMangos <vladimir@getmangos.com>
2025-05-21 19:26:28 -03:00
Jelle Meeus
6cdf185412 fix(Scripts/Spells): Kil'Jaeden Fire Bloom AoE pet damage (#22133) 2025-05-17 08:36:47 +02:00
Jelle Meeus
2883160086 fixup! refactor(Core/World): Move various worldstate related function… (#22119) 2025-05-13 21:03:42 +02:00
Tereneckla
7df7f2610e fix(Core/Spells) reimplement SPELL_ATTR3_CAN_PROC_FROM_PROCS (#22072) 2025-05-10 18:52:06 +01:00
Tereneckla
83adff44e4 fix(Spells/Paladin) remove custom cooldown and procFlags from Judgement of Wisdom/Light (#22018) 2025-05-10 18:51:30 +01:00
Benjamin Jackson
52799d76f6 refactor(Core): Add definition file for area table entries. (#22054) 2025-05-09 15:48:02 +02:00
Benjamin Jackson
e6b203f184 refactor(Core/World): Move various worldstate related functions to worldstate class. (#22086) 2025-05-09 12:29:09 +02:00
Jelle Meeus
2ad7cccb0a fix(Core/Spells): Heart of the Crusader (#22070) 2025-05-09 11:15:03 +01:00
avarishd
93f08a8a70 Revert "fix(Core/Spells): Allow glyphed PS to be casted while Seduced… (#22067) 2025-05-06 18:19:09 +01:00
avarishd
041d39279f fix(Core/Spells): Allow glyphed PS to be casted while Seduced (#22047)
While having Glyph of Pain Suppression the player now (correctly) can cast it while being charmed.
2025-05-05 20:18:30 +01:00
Tereneckla
a8b982dca8 refactor(Core/AI) don't add currentTarget to the front of the SelectTargetList for MaxThreat/Random (#21965) 2025-05-05 20:17:10 +01:00
Jelle Meeus
297f16820e fix(Core/Player): smooth energy regeneration with SPELL_AURA_MOD_POWER_REGEN_PERCENT mods (#22041)
Co-authored-by: r4dish <ovitnez@gmail.com>
2025-05-04 13:20:59 +01:00
Jelle Meeus
8358e17ac1 Revert "Fix(Core/Player): Energy regen rate bonuses (#20321)" (#22032) 2025-04-30 20:54:37 -03:00
Jelle Meeus
b2a810f96c chore(Core/Spells): move db spell_dbc corrections to SpellInfoCorre… (#21819) 2025-04-30 14:46:36 +01:00
Benjamin Jackson
5686f1e87a fix(Core/Creature): Implement respond to call for help faction flag. (#21959) 2025-04-30 02:19:58 +01:00
Jelle Meeus
775b9ff29a fix(Core/Player): correct SpellPriority logic (#21052)
Co-authored-by: killerwife <killerwife@gmail.com>
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2025-04-30 02:09:20 +01:00
Rocco Silipo
025b579822 fix(DB/Creature) Solve various issues on dk starting area (phase 4). (#22017) 2025-04-29 15:40:46 +02:00
Tereneckla
7503a24266 fix(Core/Player) internally handle expertise as float (#21967)
The core will no longer truncated the expertise (from float to int) value on the server side.
2025-04-26 19:37:05 +01:00
Benjamin Jackson
da55f05cfc refactor(Core/WorldState): Initial addition of world state definition file. (#21875)
Many world states had their enums from script's header and hardcoded values to their respective header file (WorldStateDefines.h)
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
2025-04-26 19:31:30 +01:00
blinkysc
d23e61b721 fix(SmartAI): Ensure immediate combat engagement (#21854)
NPCs will stop their current waypoint and start combat.
2025-04-26 19:24:35 +01:00
Jelle Meeus
38ff8bae28 fix(Core/Maps): Do not allow entering an instance if the player is (#21973)
Co-authored-by: Gildor <gildor55@gmail.com>
2025-04-23 19:59:32 -03:00
Benjamin Jackson
9ced420849 fix(Core/AI): Ignore PvP flagged players for aggressive pets if owner is not PvP flagged. (#21922) 2025-04-21 09:40:56 +02:00
Jelle Meeus
534d07ec1b fix(Core/Spells): Suppress Crystal Spire of Karabor procs (#21961) 2025-04-19 19:12:17 -03:00
NoxMax
cc05127276 fix(Battlefield/WG): set default maxplayer 120, minlevel 75 (#21937) 2025-04-19 06:59:06 +02:00
Vincent Vanclef
575283f46c fix(Core/AutobroadcastMgr): correctly check for existing textId in SendWorldAnnouncement (#21911) 2025-04-17 21:39:05 +02:00
Jelle Meeus
4b64c4ed25 fix(Core/Player): Force UpdateZone on resurrect to apply Zone auras (#21888) 2025-04-12 13:38:32 -03:00
Jelle Meeus
756c6c9001 fix(Scripts/BlackTemple): Shahraz Fatal Attraction Teleport (#21858) 2025-04-09 11:34:53 +02:00
Tereneckla
dda1fe87ca feat(Core/World) add an error message when closing due to not finding the starting area map files (#21879)
Server no longer will close without displaying an error message.
2025-04-08 22:13:26 +01:00
Andrew
51f0495621 fix(Scripts/SunwellPlateau): Fix Darkness spawning midair (#21851) 2025-04-04 16:17:31 +02:00
blinkysc
5562d722d6 fix(Warden) Warden Anti-Cheat Timing Attack Protection MAC (#21824) 2025-03-31 18:50:48 +02:00
blinkysc
f1f56bf1db fix(Warden) Warden Anti-Cheat Timing Attack Protection WINDOWS (#21823) 2025-03-31 18:50:28 +02:00
天鹿
0cb6a03acf Fix(Core/Wintergrasp): Retrieve the missing Tower Cannon (#21752)
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
2025-03-29 21:03:13 +01:00
Jelle Meeus
094c15a323 fix(Core/Spells): implement SPELL_ATTR7_TREAT_AS_NPC_AOE (#21787)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2025-03-28 11:18:40 +01:00
Jelle Meeus
6ed7e0fe5c fix(Scripts/SunwellPlateau): Felmyst Strafe strafe spells (#21745)
Co-authored-by: killerwife <killerwife@gmail.com>
2025-03-22 09:04:00 +01:00
Anton Popovichenko
9520b25155 fix(Core/Spell): Prevent Blink from causing character to fall through ground (#21537) 2025-03-19 17:46:00 +01:00
sudlud
4459afc98d fix(Core/Movement): Allow MoveFollow to not inherit speed of the target (#21711) 2025-03-15 21:47:11 +01:00
Anton Popovichenko
e0a2622138 fix(Core/Calendar): Fix crash on deletion while iterating through calendar events. (#21667) 2025-03-14 06:41:04 -03:00
Vincent Vanclef
dd42f7a673 feat(Core/Entities): Add OnPlayerSendListInventory script hook (#21676) 2025-03-11 15:01:55 +01:00
sudlud
2e9b40e21a fix(Core/Group): fix group loot for quest items (#21683)
Co-authored-by: EricksOliveira <ericksoliveira258@gmail.com>
2025-03-10 22:48:04 +01:00
Vincent Vanclef
ffe03f6e14 feat(Core/Entities): add OnPlayerCanGiveLevel script hook (#21666) 2025-03-10 08:44:33 +01:00
p-tkachuk
f7778ccaf5 fix(Core/SpellInfoCorrections): Fix "Throw Bomb" spell (#21463)
Co-authored-by: Hexadecimal <hd@hd.hd>
2025-03-09 11:14:06 +01:00
Kitzunu
231096132c refactor(Core/ServerMail): Refactor to Dedicated Manager Class with Multi-Item & Condition Support (#21590)
1. Core Cleanup
    - Move all ServerMail logic from `ObjectMgr` into a new dedicated `ServerMailMgr` class
    - Move faction logic for money from SendServerMail into the script
2. Separation of items into a new table
    - Create a new `mail_server_template_items` table
    - Allows to send multiple items in one mail
    - Separate items per faction Alliance/Horde
3. Separation of conditions into a new table
    - Create a new `mail_server_template_conditions` table
    - Allows to use multiple conditions for one mail
    - Available condition types
        - Minimum playtime (playerLevel >= condition)
        - Minimum playtime (playerPlayTime >= condition)
        - Rewarded quest
        - Earned achievement
        - Earned reputation (playerReputation >= conditionState)
        - Faction
        - Race
        - Class
4. Updated ServerMail loading
    - Move item and condition loading to their own functions
        - LoadMailServerTemplateItems()
        - LoadMailServerTemplateConditions()
5. Reworked eligibility check
    - Player needs to pass all conditions to be eligible for the mail
    - All players are automatically eligible if no conditions exist for a server mail template.
6. Updated foreign keys
    - For table `mail_server_character`, `mail_server_template_conditions`, `mail_server_template_items` foreign key with on delete cascade is added for automatic removal of entries if mail_server_template.id is deleted.
7. Database changes
    - See the PR
2025-03-09 09:18:01 +01:00