Commit Graph

675 Commits

Author SHA1 Message Date
hondacrx edafd0a270 Scripts/Spells: Fix shaman Earthquake
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e725e1d2521547ea651ef2b4e01c980c9b5ff3e)
2022-03-04 17:35:08 -05:00
hondacrx 30a5bcdb4d Misc fixes 2022-03-02 10:04:24 -05:00
hondacrx 042bfc12e5 Convert alot of methods to use TimeSpan. 2022-03-01 23:47:53 -05:00
hondacrx 9587d3ea7d Update GameTime Methods 2022-03-01 17:33:20 -05:00
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -05:00
hondacrx facb5c89a1 Core/Spells: Check a few aura effects for determining if should be negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/81154a7455fccdcc55e740f98d73face3adc8da4)
2022-02-28 14:06:44 -05:00
hondacrx ce4851a33a Core/Spells: Implement SPELL_EFFECT_ACTIVATE_OBJECT.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e9cf3828bad44cf193d6c9717b392de7346157a5)
2022-02-28 14:04:49 -05:00
hondacrx 561b5a528d Misc fixes 2022-02-28 13:28:57 -05:00
hondacrx 353a12b010 Core/Spells: Check a few aura effects for determining if should be negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/a8edacd20b8250785b649bba22f0e920815885b6)
2022-02-27 23:28:57 -05:00
hondacrx 05c61d9bd5 Core/Spells: SPELL_AURA_MOD_HEALTH_REGEN_PERCENT should be negative if TargetType is enemy and Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/a16c804ea06ec6f8fbae701cf71e19201072478d)
2022-02-27 23:20:13 -05:00
hondacrx f1cfc81fe6 Core/Spells: SPELL_AURA_MELEE_SLOW should be negative if TargetType is enemy or Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/de21d446aac99b6d582acdad922d2c5ed0ada739)
2022-02-27 23:19:13 -05:00
hondacrx e46eb321fd Core/Spells: SPELL_AURA_MOD_MELEE_RANGED_HASTE should be negative if Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc6e616e6106e8eb168f528c74f98afb01a6b482)
2022-02-27 23:18:29 -05:00
hondacrx 11768a594b Core/Spells: implement corpse target type support and properly fix resurrections
Port From (https://github.com/TrinityCore/TrinityCore/commit/8f4db9aa6919e2b3b22ec21ffea4eacb605e9bc2)
2022-02-27 21:12:11 -05:00
hondacrx fc33b8cd20 Core/Auras: Store non-unit caster guids in auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbed5dc3e8327535e3842650b966291dd90c9bc7)
2022-02-27 14:36:44 -05:00
hondacrx 08aae42fe0 Scripts/Spells: Implement OnPrecast scripting hook for spell scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/12d00e2e5f7e2cc7efe1ea8d126f9408055c05f8)
2022-02-27 14:33:22 -05:00
hondacrx 6a2110d548 Core/Spells: Using hearthstone will teleport caster to map again
Port From (https://github.com/TrinityCore/TrinityCore/commit/d342be8c79a126ef01db9423484449d3ba7d97c7)
2022-02-27 13:43:49 -05:00
hondacrx 26deeb7a1e Core/Conditions: Initial support for UnitCondition.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/72286dc5e4fa5db2aff012d9cd496a8a6fc514c3)
2022-02-26 17:32:19 -05:00
hondacrx 6f0b8760e2 Scripts/Spells: Fix shaman Mastery: Elemental Overload + Stormkeeper and Unlimited Power talents
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd19e225137377a0d6925960b715f58ea18652bc)
2022-02-25 14:18:39 -05:00
hondacrx 163e22c308 Core/Spells: Fixed typo in loading serverside spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4b58c563b0848608f20058ea84faa000d04e778)
2022-02-25 13:06:21 -05:00
hondacrx 80a739712b Core/Auras: Fixed sending EstimatedPoints for auras that have only some effects that use it
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf6b3aaed6b87225b970390c45b91a51242206c0)
2022-02-25 13:05:30 -05:00
hondacrx b7cd5b11f2 Core/Spells: Validate spell_proc.AttributesMask on startup
Port From (https://github.com/TrinityCore/TrinityCore/commit/415aaae7f2fa3a5e09a51b0355120bf4138cde41)
2022-02-25 13:02:48 -05:00
hondacrx 4679bc9980 Core/Items: Implemented many new enchantment flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/241193cd0287c3d7a2cbaf7f2c5775d414b4d0b3)
2022-02-24 16:16:46 -05:00
hondacrx 1140ca430a Core/Spells: Added Spell const* constructor overload to CastSpellExtraArgs
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f0f9e6875cda744e9d70b858190825b97d1f047)
2022-02-24 15:55:38 -05:00
hondacrx 5636d23235 Scripts/Spells: Fixed mage talent Chrono Shift
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd60df2ce06ff48e6c1466dda0bf697216978959)
2022-02-24 15:50:29 -05:00
hondacrx a03149d9b4 Core/Spells: Implemented spell effect 225 (SPELL_EFFECT_GRANT_BATTLEPET_LEVEL)
Port From (https://github.com/TrinityCore/TrinityCore/commit/ddc71206de653d05aed479b82260bcf55dd72445)
2022-02-24 15:46:20 -05:00
hondacrx 57bded1def Core/Auras: Implement SPELL_AURA_MOD_BONUS_ARMOR (465)
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a7c0c25cd84a99fc9cd70463859b2211865310f)
2022-02-24 15:39:44 -05:00
hondacrx 722ed3be78 Core/Spells: SPELL_AURA_PERIODIC_DUMMY should be negative if TargetType is enemy
Port From (https://github.com/TrinityCore/TrinityCore/commit/81a5bc597bb1c5937658e0f487ef9a4b254c5cb9)
2022-02-24 10:57:19 -05:00
hondacrx 3c6e9e7795 Core/Misc: Create new enum for AreaIds
Port From (https://github.com/TrinityCore/TrinityCore/commit/60b48ad0467c4578d9944e53d9c55ed4b970a4ec)
2022-02-23 16:45:12 -05:00
hondacrx 3fb2429495 Core/Spells: SPELL_AURA_MOD_HEALING should be negative if TargetType is negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/71ce61cc951c5795b02f11212a392987d4ba0af1)
2022-02-23 16:34:44 -05:00
hondacrx bbd45a1886 Core/Spells: SPELL_AURA_MOD_ATTACK_POWER_PCT should be negative if TargetType or Basepoints are negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc43a95729109286d8ce0e0ecf3a2c3dcdbe2d5b)
2022-02-23 16:30:50 -05:00
hondacrx 99b4a7ea8b Misc fixes 2022-02-23 16:28:45 -05:00
hondacrx c41acd0bc8 Core/AI: refactor SpellHit and SpellHitTarget.
Port From (https://github.com/TrinityCore/TrinityCore/commit/3171cd3fa9dbcec43f5d70b74ab2f54a2aa44173)
2022-02-23 16:02:13 -05:00
hondacrx 19abbbf0b5 Core/Misc: Fixed resistance calculate for Mutated Transformation and Twilight Bloodbolt
Port From (https://github.com/TrinityCore/TrinityCore/commit/4110a06e8193329c31cb9d59d346294835fd51a5)
2022-02-22 20:11:11 -05:00
hondacrx bc52ff717a Core/Units: flight and hover checks will now consider movement template data as well as manually set flight states
Port From (https://github.com/TrinityCore/TrinityCore/commit/294657f7dd4d2db1ca6dcf66f0b0895c6ba92949)
2022-02-22 19:59:03 -05:00
hondacrx 98206ec201 Fixes aura infinite loop
Port From (https://github.com/TrinityCore/TrinityCore/commit/9cb01a79046fce3f76835bb68bf66e4f3079e4bc)
2022-02-22 18:37:01 -05:00
hondacrx 839aad82d9 Removing a duplicate item combat spell handling causing poisons (and others) to proc twice.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e95215e9ae160ef896add877793a9d6aa7dc133b)
2022-02-22 14:27:32 -05:00
hondacrx c27475ae46 Core/MMAPs: Adjust walkable climb and fix a lot of mmap raycast issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/89afeed41b4f040e4852b35183f30291588662d7)
2022-02-22 14:24:29 -05:00
hondacrx c9fa7d22fc Core/Units: Allow mind controlling non-controllable vehicles (for example players that become vehicle during boss encounters or creatures that only are vehicles to show non standard power type)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d56d92fbe7436af00e00b00ca5e7640f852d3485)
2022-02-22 13:43:52 -05:00
hondacrx 14ec7655ad Core/Spells: Relaxed aura exclusivity check to allow casting spells that have other, non-aura effects even if aura will not be applied
Port From (https://github.com/TrinityCore/TrinityCore/commit/6413466693e424ee42744a4cdb8b24502631fa49)
2022-02-22 13:28:18 -05:00
hondacrx 3dbe7259aa Core/Spells: Fixed refreshing stat buff auras that have been improved by talents
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d94bc2f4b23c51a69213a46b28a5e97aa99f5d5)
2022-02-18 17:31:31 -05:00
hondacrx a031530b2a Core/Auras: Prevent getting negative scale with auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/679e9910e09a55dd1743f236dbd99b7fa48fe9c1)
2022-02-18 16:40:32 -05:00
hondacrx e7eba5907d Core/Spells Fixed scroll stacking check when not targeting self
Port From (https://github.com/TrinityCore/TrinityCore/commit/c9443f190abdf2467386c64c0b476e2d6ec545f6)
2022-02-18 16:34:20 -05:00
hondacrx ce5b592d8b Core/Spells: Scrolls should not be consumed, when they fail to apply.
Port From (https://github.com/TrinityCore/TrinityCore/commit/88afe180b404324b3c1a5bfc31fa37c8ded48a78)
2022-02-18 13:44:18 -05:00
hondacrx 01b1b4f296 Core/Spells: Fix assertion triggered
Port From (https://github.com/TrinityCore/TrinityCore/commit/e71352db6f50d33de54b757a6af3cbe077136d65)
2022-02-18 13:19:50 -05:00
hondacrx 246c5c5eeb Core/Spells: Improve check for non damage/heal spells in Spell::TargetInfo::DoDamageAndTriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/aa38443cf388799a5debd9cbcb787f882b840530)
2022-02-18 13:14:59 -05:00
hondacrx e2bbb95a96 Core/Spells: Fixed Ice Block / Divine Shield cast in Cyclone
Port From (https://github.com/TrinityCore/TrinityCore/commit/97ed31fe76e4e240354b1ff1af4405af487dee3b)
2022-02-18 13:13:52 -05:00
hondacrx a604bbd7f9 Core/Gameobjects: Improve stealth detection
Port From (https://github.com/TrinityCore/TrinityCore/commit/60e66621dae44cb832ebb0bdb5e168f9ab114ecb)
2022-02-18 12:51:16 -05:00
hondacrx 9d4096991c Core/Spells: Fixed checking free inventory space for some spells that have bad dbc data
Port From (https://github.com/TrinityCore/TrinityCore/commit/ba69c91f4bfec9999d151ef42f0b522924496264)
2022-02-17 17:05:24 -05:00
hondacrx f84ca3d6d7 Core/Spells: fixed a possible client crash when casting pull towards dest spells with misc value 0
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb7a60d49d1b545e09274e396e3f740359295c23)
2022-02-17 13:33:30 -05:00
hondacrx bd80047a09 Core/Spells: Implemented battle pet experience related spell effects and auras
Port From (https://github.com/TrinityCore/TrinityCore/commit/9354b4ac8ec63f0b2ee5ceb3c8b6a3c6a75bd99f)
2022-02-17 10:40:20 -05:00