Commit Graph
37772 Commits
Author SHA1 Message Date
Shauren 03cf98152e Core/DataStores: Defined map.dbc flags 2022-10-04 12:32:58 +02:00
Ovahlord ca677544ef Scripts/Grim Batol: use a direct DespawnOrUnsummon call instead of corpse delay for Drahga's Invoked Flaming Spirits 2022-10-03 20:56:36 +02:00
Ovahlord 566b77387d Core/Creatures: simplified and fixed logic in Creature::IsMovementPreventedByCasting 2022-10-03 20:37:11 +02:00
Ovahlord 01de6fc505 Core/Spells: set immunity cast flag in SMSG_SPELL_GO packets as well 2022-10-03 16:15:03 +02:00
Ovahlord 09a1987286 Core/Spells: greatly simplified spell focusing based on new attributes implementations and fixed up interrupt flag checks for movement based interrupts 2022-10-03 16:10:06 +02:00
Ovahlord 7d67f10f77 Core/Spells: added a missing check in Unit::IsMovementPreventedByCasting 2022-10-03 12:22:39 +02:00
Ovahlord af71a8c9c1 Core/Units: fixed a crash in Unit::DealDamage when the attacker is no longer in world (periodic damage auras) 2022-10-03 12:01:01 +02:00
Ovahlord 30328eee9d Core/Spells: fixed a crash in AuraEffect::CanPeriodicTickCrit 2022-10-03 01:38:42 +02:00
Ovahlord 1e4b062b1d buildfix 2022-10-02 19:31:03 +02:00
Ovahlord 2ad8b1ee6f Core/Spells: detached Zanzili Fire from Zanzil's AI script to be usable by Dark Simulacrum 2022-10-02 19:15:07 +02:00
Ovahlord 78a6d84689 Core/Spells: fixed Dark Simulacrum 2022-10-02 17:59:06 +02:00
Ovahlord ba0310ee97 nopch fix 2022-10-01 23:55:47 +02:00
Ovahlord 371ec449a1 DB/Misc: fixed startup errors 2022-10-01 23:43:04 +02:00
Ovahlord ed027ffea9 Core/Spells: re-fix Nature's Bounty 2022-10-01 22:45:46 +02:00
Ovahlord 3d529f2d7d Core/Spells: refactored duration and period calculations
* fixed sending hit targets in spell_go packet
2022-10-01 19:13:01 +02:00
Ovahlord b6f8a68d61 Core/Spells: fixed duration clamping for haste based periodic auras and added support for rolling any tick over
* roll over remaining time until next tick over into a refreshed periodic aura's duration
* this behavior is now being used for stackable spells, all HoTs and DoTs
* fixed adding extra ticks when at certain tick thresholds
* corrected implementation of SPELL_ATTR8_HASTE_AFFECTS_DURATION
* implemented SPELL_ATTR8_MELEE_HASTE_AFFECTS_PERIODIC
2022-10-01 13:47:14 +02:00
Ovahlord b6f0650303 nopch fix 2022-09-30 15:13:32 +02:00
Shauren b4a39d42a8 Core/Auras: Fixed requireImmunityPurgesEffectAttribute logic for school immunities 2022-09-30 12:50:31 +02:00
Shauren c3b52fd29f Core/Auras: Improve aura interactions with immunities on spell effect level
* Effects that target is immune to will be suppressed instead of completely removed
2022-09-30 12:49:31 +02:00
Alan Deutscher 0f4442c630 Core/Auras: Do not remove auras unaffected by invincibility
* Mark WSG's Focused Assault and Brutal Assault as unaffected by immunities
2022-09-30 11:33:04 +02:00
Shauren f35e49b515 Core/Spells: Implemented SPELL_ATTR6_TAPS_IMMEDIATELY 2022-09-30 11:27:56 +02:00
Shauren f93918ef0c Core/Spells: Implemented SPELL_ATTR6_ABSORB_CANNOT_BE_IGNORE 2022-09-30 11:26:38 +02:00
Shauren c78371f321 ore/Spells: Autorepeat casting fixes
* Fixed cast bars of ranged spells not disappearing when canceled while autoshooting
* Replaced hacky 500ms delay on non auto shot autorepeat spells with native spell cast time (wands have 500ms cast time)
* Update cooldowns before attempting to cast autorepeat spells (for cases when cooldown ends on the same server tick as cast attempt)
2022-09-30 11:08:20 +02:00
Shauren dfc6fe6450 Core/Spells: Cleanup movement checks in spells - use correct interrupt flags 2022-09-30 11:02:52 +02:00
Shauren 1f60928a51 Core/Spells: Implemented SPELL_ATTR6_DELAY_COMBAT_TIMER_DURING_CAST 2022-09-30 10:56:37 +02:00
Shauren b394faf376 Core/Spells: Implemented SPELL_ATTR6_NO_PUSHBACK 2022-09-30 10:55:29 +02:00
Shauren 50235ffcbc Core/Spells: Implemented SPELL_ATTR6_AURA_IS_WEAPON_PROC 2022-09-30 10:53:58 +02:00
Shauren 6900a904cb Core/Spells: Implemented SPELL_ATTR6_DO_NOT_RESET_COOLDOWN_IN_ARENA 2022-09-30 10:53:09 +02:00
tisk a7ad67bb63 Core/Spells: Implemented SPELL_ATTR6_ALLOW_EQUIP_WHILE_CASTING 2022-09-30 10:52:24 +02:00
Ovahlord eb0a5b607c buildfix 2022-09-30 10:49:43 +02:00
Shauren 050300771d Core/Spells: Rename SpellAttr6 to use official attribute names 2022-09-30 10:45:17 +02:00
Shauren 818e73dd5f Core/Spells: Implemented SPELL_ATTR5_AURA_UNIQUE_PER_CASTER 2022-09-30 02:15:18 +02:00
Shauren 180836b977 Core/Spells: Implemented SPELL_ATTR5_ALWAYS_LINE_OF_SIGHT and SPELL_ATTR5_ALWAYS_AOE_LINE_OF_SIGHT 2022-09-30 02:14:25 +02:00
Shauren 0f6cac2373 Core/Spells: Implemented SPELL_ATTR5_TREAT_AS_AREA_EFFECT 2022-09-30 02:12:19 +02:00
Shauren 4cfd439d34 Core/Spells: Implemented SPELL_ATTR5_NOT_AVAILABLE_WHILE_CHARMED 2022-09-30 02:08:33 +02:00
Shauren 8fa4b57925 Core/Spells: Implemented SPELL_ATTR5_NOT_ON_PLAYER and SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC 2022-09-30 02:05:54 +02:00
Shauren 86fbfb77f4 Core/Spells: Implemented SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK 2022-09-30 02:01:13 +02:00
Shauren 2c78751b5a Core/Spells: Corrected implementation of SPELL_ATTR5_ALLOW_ACTIONS_DURING_CHANNEL - it allows casting other spells while channeling, not allows movement while channeling 2022-09-30 02:00:04 +02:00
Shauren 75906f3d06 Core/Auras: Added support for SPELL_ATTR5_LIMIT_N limit to other number than just 1 2022-09-30 01:57:52 +02:00
Shauren 70c76a166a Core/Spells: Removed SPELL_SPECIFIC_JUDGEMENT 2022-09-30 01:35:50 +02:00
Ovahlord 8a9f5e297b buildfix 2022-09-30 01:33:59 +02:00
Shauren d1700ba5fa Core/Spells: Rename SpellAttr5 to use official attribute names
* Implemented SPELL_ATTR8_HASTE_AFFECTS_DURATION
2022-09-30 01:30:14 +02:00
Shauren a7dc339a6a SHA-1: 8d16a79dea4c0100d36e13b068c42499a3a48154
* Core/Spells: Rename SpellAttr4 to use official attribute names

* Corrected implementation of SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET
* Implemented SPELL_ATTR4_NO_HELPFUL_THREAT
* Implemented SPELL_ATTR4_NO_PARTIAL_IMMUNITY
* Implemented SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING
* Implemented SPELL_ATTR4_USE_FACING_FROM_SPELL
* Implemented SPELL_ATTR4_BOUNCY_CHAIN_MISSILES
* Implemented SPELL_ATTR4_AURA_NEVER_BOUNCES
* Implemented SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL
* Implemented SPELL_ATTR4_AURA_IS_BUFF
* Implemented SPELL_ATTR5_MELEE_CHAIN_TARGETING

* Implemented SpellEffectAttributes::ChainFromInitialTarget
2022-09-30 01:16:39 +02:00
Ovahlord 62b8db9f6e Core/Spells: cleaned up SpellAuraEffects::SetAmount helper and restore original handing of sending amounts 2022-09-30 00:40:37 +02:00
Ovahlord 34386e2b47 Core/Packets: converted SMSG_PERIODIC_AURA_LOG to packet class 2022-09-29 22:27:57 +02:00
Ovahlord dad7c2c102 Core/Spells: minor refactor for SPELL_AURA_MOD_DAMAGE_FROM_MANA implementation 2022-09-27 12:56:09 +02:00
Ovahlord bf39afaf3a Core/Spells: corrected sending blocked targets in spell_go packet 2022-09-27 00:43:02 +02:00
Shauren 6856c1a0be Core/Spawns: Added startup error for incorrect map assignments in instance_spawn_groups 2022-09-23 20:41:31 +02:00
Ovahlord 3d62f2b44c Scripts/HoL: modernized Loken's script 2022-09-23 14:12:32 +02:00
Ovahlord 0899376714 Scripts/HoL: handle Volkhan's slay texts 2022-09-23 12:41:39 +02:00