Commit Graph

201 Commits

Author SHA1 Message Date
hondacrx c14f1eb3dc Remove custom OptionalType and use the default c# nullable type. 2022-03-01 17:27:56 -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 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 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 01b1b4f296 Core/Spells: Fix assertion triggered
Port From (https://github.com/TrinityCore/TrinityCore/commit/e71352db6f50d33de54b757a6af3cbe077136d65)
2022-02-18 13:19:50 -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
hondacrx e2b6adacc3 Core/Spells: Use orientation given in destTarget instead of always taking casters orientation for all effect types
Port From (https://github.com/TrinityCore/TrinityCore/commit/853c58715ee969463721504eb1b0fecc87b04767)
2022-02-17 09:36:16 -05:00
hondacrx 883a3bb990 First try at updating command system to be like TC. Still needs alot of testing/work 2022-01-20 09:57:15 -05:00
hondacrx 860bf84280 Core/ZoneScript: Add "invoker" param to ProcessEvent
Port From (https://github.com/TrinityCore/TrinityCore/commit/15b91836351a61f471865a751d4ff9ab0b5775a0)
2022-01-09 14:12:34 -05:00
hondacrx e0340e7c07 Core/BattlePets: Misc fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/924182f692bde38d8fed85d5dbe7531a09790501)
2022-01-07 13:20:16 -05:00
hondacrx 5b73cb06e7 Core/Spell: SPELL_EFFECT_PULL_TOWARDS correction
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc1c67183f9e35c4495cd19a7fd1c786c653e368)
2022-01-07 12:45:27 -05:00
hondacrx ddbfe81071 Core/Spell: Proper SPELL_EFFECT_PULL_TOWARDS_DEST implementation for players
Port From (https://github.com/TrinityCore/TrinityCore/commit/8ec51bf3b69b2d34607b555f2d52b09f8b73c9e3)
2022-01-07 11:16:51 -05:00
hondacrx 6e0becd106 Core/Items: implement some helper methods for easier readability
Port From (https://github.com/TrinityCore/TrinityCore/commit/9124fd1f1fafea19b118eb69c6a35f94376fc7e8)
2022-01-06 10:57:06 -05:00
hondacrx 5e0fd36ada Core/Spells: Implemented spell effect 204 (SPELL_EFFECT_CHANGE_BATTLEPET_QUALITY)
Port From (https://github.com/TrinityCore/TrinityCore/commit/c4fee8c5cf85aeddc45aad18d7a944efa59022bd)
2022-01-05 20:38:57 -05:00
hondacrx 45ec8fad69 Core/Spells: Fixed SPELL_EFFECT_DISPEL when target has 2 spells with same ID
Port From (https://github.com/TrinityCore/TrinityCore/commit/24281a532365e287f45c679484c6c8d9340d9869)
2022-01-04 17:58:26 -05:00
hondacrx 66df29db11 Scripts/Spells: Runic Healing Injector
Port From (https://github.com/TrinityCore/TrinityCore/commit/66f5275d2683a292afae3acdded4d252e29a2703)
2022-01-04 17:49:24 -05:00
hondacrx 97ce4d6db7 Misc fixes and missed stuff. 2022-01-04 17:37:55 -05:00
hondacrx 81ab3b4080 Don't allow to summon dead hunter pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/92fc09b1b5507c11c9e7ca63e6de0ec7574f0810)
2022-01-02 19:12:50 -05:00
hondacrx a2dcceb4f2 Core/Auras: Implemented ChangeSpec, ChangeTalent and ChangeGlyph interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/05037bd936756b8ae553d17fd920ad8316f27487)
2022-01-01 17:13:41 -05:00
hondacrx df4c537943 Scripts/Spells: Brittle Armor & Mercurial Shield
Port From (https://github.com/TrinityCore/TrinityCore/commit/a947a0e85e301748d32140d76d0a25a1e5997406)
2021-12-27 16:47:12 -05:00
hondacrx 39dd51370f Scripts/Spells: Dimensional Ripper - Everlook
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8d675eba761a5616c7d69a78851ea61af61f4f6)
2021-12-26 19:36:53 -05:00
hondacrx 409be0be01 Scripts/Spells: Ultrasafe Transporter: Toshley's Station
Port From (https://github.com/TrinityCore/TrinityCore/commit/996b7c1f0ebb22b424d7406adf88b43143b2ede4)
2021-12-24 21:34:18 -05:00
hondacrx b835ecddc1 Scripts/Spells: Dimensional Ripper - Area 52
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea4c1ae7d0c4b3420b1d78623c5254466c64f43b)
2021-12-24 21:27:09 -05:00
hondacrx 89661001d5 Core/Spell: fix some issues with taunt spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/575f42089e2014c3df64f0468ed25c45a544f6d8)
2021-12-24 21:18:27 -05:00
hondacrx 2d87d0c75d Core/AI: Remove EnterEvadeMode calls from Guardian/Summon spell handlers. Add follow logic to CreatureAI::JustAppeared.
Port From (https://github.com/TrinityCore/TrinityCore/commit/9f7d3ebd6a474c2e325698b1665ab2939926cab6)
2021-12-23 20:23:16 -05:00
hondacrx 74c88b43b3 Scripts/Spells: Migrate Teleporting to Script
Port From (https://github.com/TrinityCore/TrinityCore/commit/8fc52bc5e542ab5a572343c64e915d01cf363b76)
2021-12-22 20:39:59 -05:00
hondacrx f21472958d Spell/Fishing: ensure that the fishing bobber expires when the Fishing channeling ends, and don't allow fish to be hooked in the instant the spell is cast.
Port From (https://github.com/TrinityCore/TrinityCore/commit/07dcb28f80b958e7dd5784a074f7ed013527d92f)
2021-12-22 20:33:47 -05:00
hondacrx c38509222c Core/Spell: Jump Speed Calculations
Port From (https://github.com/TrinityCore/TrinityCore/commit/f15bcebdbe42acb72d2d9165cd8091e9a61f5909)
2021-12-22 20:22:58 -05:00
hondacrx b349f922b2 Core/Spells: don't allow spells with SPELL_EFFECT_CREATE_LOOT to be cast if there isn't enough space in inventory
Port From (https://github.com/TrinityCore/TrinityCore/commit/59da957165ef7d7529db30f90a30dc401d682052)
2021-12-17 19:26:43 -05:00
hondacrx 5caa50ad4b Core/Logging: Split logs for unknown and zero triggered spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd4da6ce5bc3caf3d176e40303782fd20a98ec1e)
2021-12-17 17:39:33 -05:00
hondacrx da41af6279 Core/BattlePets: Improvements when enabling battle pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a8f79ad5ad5afbf6a6aedc9ad46c3b774877b31)
2021-12-16 13:10:24 -05:00
hondacrx 736892998f Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d865f7536ae6feda6fba77785e4548f95ca5d03)
2021-12-16 12:56:20 -05:00
hondacrx 753faaeee1 Core/Spells: Fix spells with Health Leech effect, now check damage absorb when calculate Heal
Port From (https://github.com/TrinityCore/TrinityCore/commit/9752ef4d6ea311acb6a60317c270cb5c053f951d)
2021-12-07 20:46:01 -05:00
hondacrx c37e1c9f7d gameobject summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f545f540216d3b94c26e4aeda50c8bb8d5c3d74)
2021-12-07 20:42:47 -05:00
hondacrx 8c8b965b7c Core/Spells: Use 3D distance for calculating speed from movement time instead of 2D
Port From (https://github.com/TrinityCore/TrinityCore/commit/768ed2cbdcaadf6a3eefab84ef94ca5029755b5f)
2021-12-07 14:16:21 -05:00
hondacrx 0257f00aab Scripts/Spells: Migrate Some Scripted Spells to Scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/d72e809ecf9349d45127e743d23a8391bddabc41)
2021-12-01 11:29:31 -05:00
hondacrx 5c48c512b5 Core/Spells: Implemented spell effect 254 (SPELL_EFFECT_JUMP_CHARGE)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a809932f5017c98092a02694e86e276add03f8b9)
2021-12-01 10:58:28 -05:00
hondacrx 56f1c3d984 Core/BattlePets: Implemented BattlePetSpeciesFlags::NotAccountWide
Port From (https://github.com/TrinityCore/TrinityCore/commit/93c668ac50a529876054212dfef6544f70259035)
2021-11-29 17:09:03 -05:00
hondacrx 7b5524222b Core/Spells: Use Unit::Kill instead of Unit::DealDamage for SPELL_EFFECT_INSTAKILL
Port From (https://github.com/TrinityCore/TrinityCore/commit/52824eedd374c92f53c772fe6431518a5f30626d)
2021-11-29 16:41:15 -05:00
hondacrx 572ce30138 Core/Item: Item Signature
Port From (https://github.com/TrinityCore/TrinityCore/commit/e182a38b014f5538c42432f871e094dc79c2b131)
2021-11-29 16:20:03 -05:00
hondacrx 6110585521 Core/GameObject: Implement GameObject::Use case for GAMEOBJECT_TYPE_NEW_FLAG
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a9940e17d4e943aa5d9b95f8f5b54783e14d7b2)
2021-11-23 20:48:36 -05:00
hondacrx b3a92137d3 Core/Spells: SpellHistory updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/8cc6520b89583d4bf6549b28fa5b7390fc2b0b9d)
2021-11-23 14:36:54 -05:00
hondacrx a1e0e2e1d0 Core/Scripts: Move some spells to scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/3b1ed434aeacfa57f392387c2176dfb4438b13f8)
2021-11-18 20:13:29 -05:00
hondacrx 3ab092a655 Core/Spells: Implemented SummonPropertiesFlags: UseSummonerFaction & IgnoreSummonerPhase
Port From (https://github.com/TrinityCore/TrinityCore/commit/a832435b9787c1997da87a124ff99bf06251aa07)
2021-11-16 13:23:42 -05:00
hondacrx 0292bb9c09 Quest: Ruthless Cunning and Returning the Favor
Port From (https://github.com/TrinityCore/TrinityCore/commit/f377dc23f3bb54180996d3dc570196af75278d00)
2021-11-15 23:33:45 -05:00
hondacrx 51c292c349 Misc fixes 2021-11-15 22:40:38 -05:00
hondacrx c48696da32 Core/Player: Clean up duel related code. Fix a check for abusive client behavior, code style.
Port From (https://github.com/TrinityCore/TrinityCore/commit/7c062db94b1c2d28329c5f0ddc2fee74a6c07c35)
2021-11-15 19:56:36 -05:00
hondacrx 73709c175c Core/BattlePets: Don't permanently learn battle pet summoning spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebc52afa0ace96cd97968c110f558344bdeba43d)
2021-11-15 19:33:51 -05:00
hondacrx b026ee7ef8 More cleanups of custom classes in favor of .NET runtime types. 2021-11-15 18:04:57 -05:00