Commit Graph

2164 Commits

Author SHA1 Message Date
hondacrx cfc5b510ce Core/Spells: Expose corpseTarget to spell scripts with SpellScript::GetHitCorpse()
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7cf9f8c6c59f7fcc61d5f18a4c53302fb450bbd)
2022-02-28 13:09:05 -05:00
hondacrx bd040a1f17 Creature/AI: Remove SetVisible from SmartAI::InitializeAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/77d76ecc1d13069fcff3fd1b609c924bca5ee965)
2022-02-27 23:47:00 -05:00
hondacrx cb58698045 Core/Events: refactored battleground holiday assignments. Instead of going with shitty bitmasks we now accept plain battleground ids instead
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a5529eb58daad9216416c9c632543b1a931ce1f)
2022-02-27 23:44:42 -05:00
hondacrx bb094c585b Core/Pools: Attempt to workaround pools being broken
Port From (https://github.com/TrinityCore/TrinityCore/commit/74923df35afe6f41b94edada701d50fc53bbaf6e)
2022-02-27 23:38:18 -05:00
hondacrx f55e8ae73c Core/PetAI: Validate GetCharmInfo()
Port From (https://github.com/TrinityCore/TrinityCore/commit/8fd7a4b6e5f6b728c4ae40cfd2080c4dae004e8f)
2022-02-27 23:36:55 -05:00
hondacrx 7f86f6ce1e Core/Gameobjects: Improve IsValidAttackTarget faction check for traps that hasn't owner or have NPC owner
Port From (https://github.com/TrinityCore/TrinityCore/commit/054b62be3b20270bac8e36901c3e0ab14f66e58f)
2022-02-27 23:31:47 -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 738ef0b1d5 Core/Gameobjects: Traps shouldn't ignore IsImmuneToNPC/IsImmuneToPC and IsInSanctuary rules if has owner
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb39553831936c589697390e4a1827c977103c22)
2022-02-27 23:22:55 -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 9f72f655ab Core/SAI: Support SMART_TARGET_POSITION in SMART_ACTION_BECOME_PERSONAL_CLONE_FOR_PLAYER
Port From (https://github.com/TrinityCore/TrinityCore/commit/a270005de1122d18ea4b4e01b114a87bc0e7c0eb)
2022-02-27 15:07:03 -05:00
hondacrx d4a339f29a Core/Commands: Fixed wrong field being used to determine instance type in .lookup map id
Port From (https://github.com/TrinityCore/TrinityCore/commit/279744efcd48394edeab2b3ac03fd2dd9a4175ab)
2022-02-27 15:01:18 -05:00
hondacrx be763ea603 Core/Quests: Fixed quest select query
Port From (https://github.com/TrinityCore/TrinityCore/commit/18cc0b2e4a5023adf61aa959b339dd6114865680)
2022-02-27 15:00:27 -05:00
hondacrx 5bf68e4370 Core/Quests: Remove RewardMoney from quest_template as it is not a static value and depends on receiving player
Port From (https://github.com/TrinityCore/TrinityCore/commit/4c5f57d7129bb1e2adfd2d20779c984473421238)
2022-02-27 14:57:19 -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 6df3ca3a3b Core/SAI: Add SMART_ACTION_BECOME_PERSONAL_CLONE_FOR_PLAYER
Port From (https://github.com/TrinityCore/TrinityCore/commit/f383c0ea214cc4da2d02b81e26297d77ff59c7ed)
2022-02-27 14:29:40 -05:00
hondacrx a36cc8ba2e Core/Movement: Fixed possible crash in HomeMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/9c63503527944568e13ae6d8cf9e46bd634f7587)
2022-02-27 14:14:04 -05:00
hondacrx dea572cbed Core/Player: do not consider FLAG_EXTRA_NO_XP_AT_KILL or pet status when deciding if a creature counts as a "gives experience or honor" target.
Port From (https://github.com/TrinityCore/TrinityCore/commit/abc490f677607cbe488557ea859da970686c4c3d)
2022-02-27 13:59:17 -05:00
hondacrx aff47f6501 Core/SAI: do not allow the waypoint pause timer to update while in combat.
Port From (https://github.com/TrinityCore/TrinityCore/commit/381333690b33c9148e994d9f68e7d12f1d5dc31d)
2022-02-27 13:58:30 -05:00
hondacrx 1b28a8260c Core/SAI: implement SMART_EVENT_SUMMONED_UNIT_DIES (82), useable by creatures and gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/d4a1a7a040be0ca0d6428669135bcc64d92be1c2)
2022-02-27 13:57:18 -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 2c03f9d1be Core/Items: Reagent bank
Port From (https://github.com/TrinityCore/TrinityCore/commit/a3b2e4d9873874e29291f0c9851ae154029b1b3b)
2022-02-26 23:32:00 -05:00
hondacrx dfe2303d6f Core/Conditions: Implemented many more UnitCondition types
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf357312e0c4d0a68a95379ecdcbed817b136c31)
2022-02-26 18:33:10 -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 3aad3e7e97 Core/DataStores: Load UnitCondition.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/f2bde40922bf59b95bba74c77390d9d51c750065)
2022-02-25 19:47:39 -05:00
hondacrx b66c37f34e Core/Conditions: Update phases when quest objective is updated
Port From (https://github.com/TrinityCore/TrinityCore/commit/16a80656c51affe44de19940bc519dccbaa3ee3f)
2022-02-25 19:43:56 -05:00
hondacrx 5720b89b7e Core/Player: Added PlayerCreateMode field to playercreateinfo_cast_spell to only cast spells based on related mode
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a61024cfad05279791badf33fcdb5a608ad6e94)
2022-02-25 19:43:04 -05:00
hondacrx fcc371968a Core/Quests: Set quest slot earlier when abandoning a quest
Port From (https://github.com/TrinityCore/TrinityCore/commit/a17944e91e2ceec693c8e286b4eabecbd08493c6)
2022-02-25 17:35:18 -05:00
hondacrx a4195763d0 Core/Items: Change missed enchantment flag checks to use enum instead of raw number
Port From (https://github.com/TrinityCore/TrinityCore/commit/1989c68fb67e967297d3bf804f1b8650b6e8a5a2)
2022-02-25 17:34:28 -05:00
hondacrx 06df87c79a Core/Conditions: Added conditions for object visibility
Port From (https://github.com/TrinityCore/TrinityCore/commit/b987a8968b45b8d5c86ab7e66d3910d2ecfe0963)
2022-02-25 17:23:55 -05:00
hondacrx 92a5c855b9 Core/Phasing: Fixed stack overflow happening when modifying vehicle passenger phases (looping player->vehicle->passenger(player)->vehicle...)
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ca301e8637bc71ff6fb89180bda6a3a8f4db205)
2022-02-25 17:12:42 -05:00
hondacrx bbcebe5790 Core/Groups: Fixed crash in loot rolls happening when looted object despawns before roll expires
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f8d6f5c9bc32bbe11de3377501453da1106f98a)
2022-02-25 14:21:19 -05:00
hondacrx 63be1f8dd5 Core/Units: Fixed crash happening when despawning summoned units whose owner is no longer in world
Port From (https://github.com/TrinityCore/TrinityCore/commit/5889ab893e8252ef46ea00527f5e91bf97371182)
2022-02-25 14:19:54 -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 28175c47b1 Core/SAI: Remove SMART_ACTION_ADD_AURA & actions to change object flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/5ba93a95de911277908596d805e7fa7f38a18c3a)
2022-02-25 12:58:50 -05:00
hondacrx 76ee5fa931 Core/Guilds: Implemented reordering guild ranks
Port From (https://github.com/TrinityCore/TrinityCore/commit/9dc11391c570ebc75a580aceed0c7eeaa1dedcf0)
2022-02-25 10:44:55 -05:00
hondacrx 91c2fedb6e Core/Guilds: Separate guild rank id from guild rank order
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d3235f56969a6e414071edbb669ac63b4398958)
2022-02-25 10:40:47 -05:00
hondacrx f66e622f1d Core/Spells: Added helper function to select random injured healing spell targets
Port From (https://github.com/TrinityCore/TrinityCore/commit/c0f976d23d7fd9ef687d47ae41bed0924bfdd5c7)
2022-02-24 21:04:12 -05:00
hondacrx 67a79c3777 Fixes build. 2022-02-24 20:35:06 -05:00
hondacrx 483123d6cc misc fix 2022-02-24 16:21:55 -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