Shauren
4e54a4ffb9
Core/Scripts: Removed script calls from constructors and destructors
...
(cherry picked from commit 783f9c0ea3 )
2024-03-14 21:15:39 +01:00
Shauren
303ecbbf4e
Core/Objects: Cook the copied pasta
...
(cherry picked from commit 6224036efd )
2024-03-14 21:04:42 +01:00
Shauren
0dcff2624e
Core/Objects: Added ToWorldObject and ToItem
...
(cherry picked from commit 6f6af6a1a1 )
2024-03-14 21:04:24 +01:00
Shauren
b64e261e94
Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name
...
(cherry picked from commit 9402c66e84 )
2024-03-14 20:49:49 +01:00
Shauren
a79b42bf68
Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently)
...
(cherry picked from commit 4779fa5048 )
2024-03-14 00:14:16 +01:00
Shauren
75cbafd83a
Core/Spells: Don't modify item charges in all slots on a single item spell cast
...
(cherry picked from commit 9ecb93f34d )
2024-02-26 14:42:12 +01:00
Shauren
d3fcc9efea
Core/Misc: Warning fixes
2024-02-26 12:51:20 +01:00
Shauren
45d7a44555
Build: Reuse PCH file between all script modules
...
(cherry picked from commit eac4bf825a )
2024-02-26 12:29:16 +01:00
funjoker
ad44ddab34
Dep/Boost: Drop windows boost hacks ( #29358 )
...
(cherry picked from commit 17c69368a3 )
2024-02-26 12:29:16 +01:00
Mykhailo Redko
949d82e4d1
Core/Units: Fix some cases where server was not sending power updates to client on time ( #29573 )
2024-02-26 11:37:28 +01:00
r4dish
a7dab01c2d
Core/Players: Move power regeneration calculations to Player::UpdatePowerRegen
2024-02-25 13:36:50 +01:00
r4dish
1a3006b20d
Core/Players: Auras that change the rate of energy regeneration should have an effect on client prediction.
2024-02-25 13:36:50 +01:00
r4dish
4a2210d63b
Core/Players: Adjusting the amount of rage and runic power lost over time.
...
Client/server sync issues have also been fixed.
2024-02-25 13:36:50 +01:00
CraftedRO
72c421f50b
Scripts/Blackrock Depths: Replace player spells used by High Interrogator Gerstahn with correct ones for that creature ( #29637 )
2024-02-25 13:25:00 +01:00
CraftedRO
534a03644a
Core/Battlegrounds: Removed Honorable Defender from Alterac Valley ( #29740 )
...
Closes #12860
2024-02-25 11:09:18 +01:00
bibi
75e38a5d8f
Scripts/Stratholme: Portcullis Trap ( #29596 )
...
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2024-02-24 21:55:13 +01:00
Shauren
454998f553
Scripts/Zul'Gurub: Corrected brazier of madness boss despawn time
2024-02-24 12:46:38 +01:00
bibi
3085b897c1
Scripts/Zul'Gurub: Fixed Edge of Madness ( #29593 )
2024-02-23 23:08:21 +01:00
Mykhailo Redko
6c181a00d5
Scripts/Pets: Implemented Elwynn Lamb minipet feature. ( #29635 )
2024-02-23 21:33:55 +01:00
bibi
a666bdfc31
Scripts/Sunken Temple: fix Shade of Eranikus and Jammal'an the Prophet ( #29663 )
...
* Also minor modernization for instance script
Co-authored-by: 14shagov <14shagov>
Co-authored-by: Shauren <shauren.trinity@gmail.com >
2024-02-23 20:05:03 +01:00
Shauren
e835ab5014
Core/Chat: Control CHAT_MSG_PARTY_LEADER serverside
...
Closes #14868
Closes #29689
2024-02-23 14:21:05 +01:00
Shauren
39fd26ef41
Core/PacketIO: Removed wrong error packet used when trying to leave party in battleground
...
Closes #29726
2024-02-23 14:19:30 +01:00
Shauren
c5d63ee1fc
Core/PacketIO: Implemented SMSG_REAL_GROUP_UPDATE, used to access information about original group data while being in a lfg/bg group at the same time
...
Fixes GetRealNumPartyMembers, GetRealNumRaidMembers and IsRealPartyLeader lua functions
2024-02-23 14:18:38 +01:00
Ovahlord
6d81f226a0
Core/Spells: allow players to absorb fire damage from environmental damage spell effects
2024-02-22 21:54:32 +01:00
Shauren
ccafdfa93c
Core/Spells: Fixed incorrect switch logic in Unit::SpellCritChanceDone
2024-02-21 13:15:52 +01:00
Shauren
08664aa07f
Core/Spells: Allow spells with SPELL_DAMAGE_CLASS_NONE to crit
...
(cherry picked from commit b4064d38c8 )
# Conflicts:
# src/server/game/Entities/Unit/Unit.cpp
# src/server/game/Spells/SpellMgr.cpp
2024-02-21 12:20:11 +01:00
Mykhailo Redko
4ed1cc5cf0
Core/Spells: Changed unintuitive behavior of SPELLVALUE_CRIT_CHANCE ( #29730 )
2024-02-21 11:38:37 +01:00
Shauren
ca8db8e65c
Core/DBUpdater: Changed autoupdater created databases to use utf8mb4 instead of utf8mb3
...
(cherry picked from commit 65e787d18b )
2024-02-16 18:17:43 +01:00
Shauren
66a3e96851
Core/SAI: Fixed SMART_ACTION_MOVE_TO_POS using target coordinates as destination if requested WorldObject target was not found
...
(cherry picked from commit 888ccd1e44 )
# Conflicts:
# src/server/game/AI/SmartScripts/SmartScript.cpp
2024-02-15 19:21:40 +01:00
Shauren
1fcb55d8f4
Core/Instances: Name unknown EncounterFrameType ENCOUNTER_FRAME_PHASE_SHIFT_CHANGED
2024-02-14 15:42:17 +01:00
Shauren
16f555f79e
Core/MMAPs: Sprinkle master branch thread safety on mmap loading code
2024-02-13 23:49:51 +01:00
Mykhailo Redko
ca1560f043
Core/Players: Improvements for talent reset logic. ( #29580 )
...
* Clean up Player::ResetTalents() from unnecessary logic, such as withdrawing money. Move it to more suitable places.
* Implemented SMSG_TALENTS_INVOLUNTARILY_RESET and use it instead of old trinity_string.
* Do not reset the accumulated talent reset cost if CONFIG_NO_RESET_TALENT_COST is enabled.
2024-02-13 15:55:37 +01:00
Gildor
1b87820935
Core/Spells: Implement visual aura duration of Rogue talents Overkill and Master of Subtlety ( #29693 )
2024-02-13 14:54:24 +01:00
Mykhailo Redko
86551ba716
Core/Spells: Immune a reflected spell if the original caster cannot be it's target. ( #29645 )
2024-02-09 20:28:54 +01:00
Jan125
e7ff4fe613
Fix typo in Player.cpp ( #29638 )
...
copseReclaimDelay -> corpseReclaimDelay
This should not break anything.
2024-02-04 15:08:44 +01:00
ModoX
7e28ee4421
Core/Conditions: Added conditions for AreaTriggers (AreaTrigger.dbc) ( #27174 )
...
Cherry-picked from 6ebd592
2024-01-26 22:31:08 +01:00
Mykhailo Redko
420cbd7396
Core/PacketIO: Implemented CMSG_BUSY_TRADE and CMSG_IGNORE_TRADE ( #29570 )
...
Closes #29308
2024-01-24 21:09:01 +01:00
Mykhailo Redko
75016bf4da
Scripts/Commands: .account set seclevel command will update security level for online session ( #29600 )
2024-01-22 13:58:31 +01:00
Shauren
8b183ddac3
Core/Spells: Kill incorrect attribute implementation
2024-01-13 22:52:24 +01:00
Fraxinus94
7d9933150f
Scripts/TempleOfAhnQiraj ( #29571 )
...
Fix The Eye of C'thun spell Dark Glare not being updated visually with the correct orientation
2024-01-08 19:31:41 +01:00
r4dish
c2831bafde
Scripts/Commands: Implemented .bg start and .bg stop commands.
2024-01-06 23:43:59 +01:00
r4dish
554fc8eee0
Core/Misc: Add permission that allows player to be AFK on the battleground.
2024-01-06 23:43:59 +01:00
r4dish
1dc9b83a25
Core/Misc: Do not apply Deserter debuff to players teleported from the battleground by gm command (.appear/.summon).
2024-01-06 23:43:59 +01:00
r4dish
196dd226df
Core/RBAC: Add permission that prevents getting a battleground deserter debuff.
2024-01-06 23:43:59 +01:00
Demolitionist Legoso
0c1e5fea69
Scripts/Bloodmyst Isle: Add missing Legoso Talk target (fixes $n) ( #29554 )
...
Updates #21586
2024-01-04 20:55:19 +01:00
Meji
4ac2241403
Core/Misc: Reserve trinity_string ids 1997-1998 for master branch
2023-12-30 22:56:07 +01:00
HelloKitty
013a5710ca
Core/Items: Fix BuyItemFromVendorSlot slot validation ( #29511 )
...
Closes #29510
2023-12-28 18:44:46 +01:00
Gildor
acf5ce58a7
Core/Creatures: Update HomePosition upon ExitVehicle only if the creature was inside a vehicle ( #29491 )
2023-12-13 13:08:36 +01:00
Shauren
8a619460e2
Core/Cells: Improve cell copy constructor and argument passing codegen (now fully done through a single register)
2023-12-11 21:23:55 +01:00
Gosha
6ff8ce5bff
Core/Cells: align Cell.data.Part fields by 8 bits and enlarge Cell structure to 8 bytes
...
8-bits align removes unneded shift operations
2023-12-11 21:23:55 +01:00