1232 Commits

Author SHA1 Message Date
Shauren
bd2b12fa36 Core: Updated to 11.2.7 2025-12-16 00:09:26 +01:00
Shauren
95ca714824 Core/Movement: Replace MotionMaster::MoveJumpWithGravity with new jump height based MoveJump 2025-11-24 12:07:19 +01:00
Shauren
ed599208ea Core/Movement: Change MoveJump to use min/max height argument instead of vertical speed 2025-11-23 11:54:42 +01:00
Shauren
7c5e6f695d Core/Movement: Use MotionMaster::MoveKnockbackFrom for creatures hit by SPELL_EFFECT_LEAP_BACK, SPELL_EFFECT_PULL_TOWARDS and SPELL_EFFECT_PULL_TOWARDS_DEST 2025-11-18 18:05:33 +01:00
Meji
c4bec744ad Core/Movement: Knockback improvements (#28081)
* Knockbacks with negative speeds will now be validated and processed.
* Creatures that cast knockback spells on themselves will use their orientation to determine the direction of movement.
2025-11-16 20:25:56 +01:00
Shauren
a0c8e0255c Core/Spells: Fix teleports within transports (like Blink) 2025-10-16 19:06:19 +02:00
Shauren
53068a94e8 Core: Updated to 11.2.5.63704 2025-10-10 16:21:55 +02:00
Traesh
b6b0eced74 Core/Spells: Implemented setting spell to cast on arrival from SPELL_EFFECT_JUMP_CHARGE in database (#30210) 2025-09-06 23:05:02 +02:00
Shauren
5cf0c6c8bb Core: Updated to 11.2.0 2025-08-13 00:31:39 +02:00
Shauren
2c9b67f00b Core/Quests: Fixed QuestScript::OnQuestStatusChange incorrectly triggering with QUEST_STATUS_INCOMPLETE when removing items from quest objectives on rewarding quest
Closes #31181
2025-07-30 18:35:39 +02:00
Shauren
6daf472e81 Core/Spells: Fixed Revive Pet not being usable if pet corpse is still in world 2025-07-09 16:01:34 +02:00
Shauren
21712f4753 Core/Objects: Add missing grid workers 2025-07-04 23:56:22 +02:00
Shauren
1e7725c15b Core/Objects: Added grid searchers for SceneObject and Conversation 2025-06-29 00:58:59 +02:00
Shauren
60400d25f5 Core/Players: Implemented PlayerDataElementAccount, PlayerDataElementCharacter, PlayerDataFlagAccount and PlayerDataFlagCharacter 2025-06-27 15:29:30 +02:00
Shauren
ea692f5a24 Core/Spells: Allow removing weapon damage effects by preventing target selection in scripts 2025-06-08 22:18:28 +02:00
Aqua Deus
27c17eb59e Core/Auras: Implement PROC_FLAG_2_SUCCESSFUL_DISPEL (#30953) 2025-05-25 22:52:45 +02:00
Shauren
0fd418eb74 Core/Spells: Start spells triggered by SPELL_EFFECT_FORCE_CAST_2 without any trigger flags 2025-04-30 13:14:22 +02:00
Shauren
e580d39b4f Core/Spells: Remove triggering spell link from SPELL_EFFECT_FORCE_CAST 2025-04-22 16:06:18 +02:00
Shauren
38d5f0d292 Core/Spells: Handle SPELL_EFFECT_FORCE_CAST on spell launch instead of hit 2025-04-21 23:27:25 +02:00
Shauren
9f401946d3 Core/Spells: Fire OnEffectSuccessfulDispel for SPELL_EFFECT_DISPEL_MECHANIC 2025-04-20 16:51:10 +02:00
Shauren
2e79d3524f Core/Spells: Rename confusing SpellState enum values
* SPELL_STATE_CASTING -> SPELL_STATE_CHANNELING (was used for "channel in progress")
* SPELL_STATE_DELAYED -> SPELL_STATE_LAUNCHED
2025-04-20 15:41:58 +02:00
Shauren
f94472572a Core/Spells: Removed dead code and definitions 2025-04-04 19:18:19 +02:00
Shauren
29e0327076 Core/Players: Implement warband scene collection 2025-03-04 13:52:20 +01:00
Shauren
23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
Shauren
adb63648f1 Core/Spells: Skip handling apply aura spell effects if aura was removed earlier in script by PreventHitAura 2025-02-12 21:35:36 +01:00
Shauren
ace6342aea Core/Spells: Refactor SpellHistory ModifyCoooldowns and ResetCooldowns callbacks to use CooldownEntry argument instead of internal iterator 2025-01-30 18:27:38 +01:00
Shauren
c85d12fc3f Core/Items: Fixed item spell charge slot indexing
Closes #30585
2025-01-25 22:48:10 +01:00
Shauren
333aaaaefd Core/Spells: Add summoned DynamicObject to casters ChannelObjects if spell is channelled 2025-01-18 00:03:41 +01:00
Shauren
497cb7df49 Core/Spells: DynamicObject auras will now use the largest radius found in SPELL_EFFECT_PERSISTENT_AREA_AURA effects of the spell creating them
(cherry picked from commit 4bec94451f)
2025-01-13 15:46:25 +01:00
CraftedRO
d8636d4cc6 Core/Spells: Allow persistent area auras to apply all of their effects upon creation. (#30422)
This fixes the issue where the area auras do not instantly apply their effects.
Actually, they were only applying the last SPELL_EFFECT_PERSISTENT_AREA_AURA;
Flare and Frost Trap have 2 and 3 SPELL_EFFECT_PERSISTENT_AREA_AURA effects respectively, so only the last one would be applied.

Co-Authored-By: zana244 <50482785+zana244@users.noreply.github.com>
(cherry picked from commit b6bb35bb9a)
2025-01-13 15:46:06 +01:00
Shauren
561b122364 Core/Spells: Replace MAX_SPELL_EFFECTS loop limits with correct upper bound depending on how many effects the spell has 2025-01-09 17:48:41 +01:00
Shauren
0a1b81043e Core/Auras: Fixed sending amounts for effects that need it, aren't first and don't have SPELL_ATTR8_AURA_POINTS_ON_CLIENT 2025-01-09 12:36:58 +01:00
Shauren
54a83b4b68 Core/Spells: Don't ignore power costs and reagents for spells triggered by SPELL_EFFECT_TRIGGER_SPELL, SPELL_EFFECT_TRIGGER_MISSILE, SPELL_EFFECT_FORCE_CAST, SPELL_AURA_PERIODIC_TRIGGER_SPELL, SPELL_AURA_PROC_TRIGGER_SPELL and fixed implementation of SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES 2025-01-01 19:37:48 +01:00
Shauren
884662a75a Core/Scripts: Added SpellEffectInfo argument to CalcDamage and CalcHealing spell script hooks 2024-12-21 00:40:08 +01:00
Shauren
ad06dcaaec Core/Spells: Implemented SPELL_EFFECT_UPDATE_INTERACTIONS 2024-12-20 11:50:07 +01:00
Shauren
4f7079f471 Core: Updated to 11.0.7 2024-12-18 22:50:33 +01:00
Shauren
0706a114bb Core/Spells: Fixed PROC_HIT_DISPEL and PROC_HIT_INTERRUPT on procs using PROC_SPELL_PHASE_HIT phase 2024-12-14 18:55:25 +01:00
Shauren
3177c410e4 Core/GameObjects: Fixed gameobject spell casts failing when triggered by SPELL_EFFECT_OPEN_LOCK 2024-12-04 20:00:43 +01:00
Shauren
1fb4acc25a Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL 2024-12-02 15:29:02 +01:00
Shauren
6dd5fb9d88 Core/Auras: Implemented mount equipment 2024-11-19 21:40:49 +01:00
Meji
2920281070 Core/Spells: Fix custom load screen for SPELL_EFFECT_TELEPORT_UNITS (#30415) 2024-11-16 14:19:02 +01:00
Meji
23bb1a56b7 Core/Summons: Handle summons using SummonProperties.Control type 5 as vehicles (#30391) 2024-11-05 14:42:35 +01:00
Shauren
3238175a62 Core/Items: Implemented ITEM_BONUS_DISENCHANT_LOOT_ID 2024-09-24 14:40:23 +02:00
Meji
3429871a07 Core/SAI: Implemented new action SMART_ACTION_COMPLETE_QUEST (#30048) 2024-08-15 15:43:17 +02:00
Shauren
dabe1f85df Core/Players: Remove duplicated trait configs 2024-08-05 12:26:46 +02:00
Shauren
df51150381 Core/DataStores: Updated to 11.0.0 2024-08-02 14:40:12 +02:00
Shauren
ceffc2cb20 Core/Spells: Added missing SummonPropertiesFlags::UseDemonTimeout handling to some summon cases 2024-07-13 00:37:14 +02:00
Shauren
486641063e Core/Spells: Implemented SPELL_ATTR9_JUMPCHARGE__NO_FACING_CONTROL 2024-06-30 00:03:55 +02:00
Shauren
bd9fb4a563 Core/Movement: Defined and implemented new spline flag - JumpOrientationFixed 2024-06-29 18:15:43 +02:00
Shauren
a885a1fc3c Core/Spells: Implemented new trigger flag to cause spells to be instant without also causing other behavior of TRIGGERED_CAST_DIRECTLY (skipping SMSG_SPELL_START, skipping starting GCD) 2024-06-25 00:21:27 +02:00