Commit Graph

1650 Commits

Author SHA1 Message Date
hondacrx 5156f559ec Scripts/Commands: Cleanup and trinity_string for .go instance.
Port From (https://github.com/TrinityCore/TrinityCore/commit/af8b4853da9e7464d75623bc06851e3290e23d11)
2021-11-02 16:59:53 -04:00
hondacrx 3335ae937d Core/Threat: Fear no longer suppresses threat. All confuse effects now suppress threat, even ones that wouldn't break on damage.
Port From (https://github.com/TrinityCore/TrinityCore/commit/55cb4f9a6d614943ffe70b7e17ca74aeeafe3a18)
2021-11-02 14:29:49 -04:00
hondacrx 7a6670c61c Core/Maps: Fix a crash when spawning a spawn group
Port From (https://github.com/TrinityCore/TrinityCore/commit/19f24b3e40c5dd56939824a50846fcb437f4a8cd)
2021-11-02 14:25:36 -04:00
hondacrx dad2f6c5a5 Core/Scripting: Delay zone script's OnCreatureCreate until the creature has been added to map stores
Port From (https://github.com/TrinityCore/TrinityCore/commit/d57e74b3b592536ffd32a92a342eb0abc6e05e62)
2021-11-02 14:22:09 -04:00
hondacrx d76e1918aa Core/Maps: Properly re-create map on login for ephemeral player saves. Because it bugged me to no end when testing anything ever.
Port From (https://github.com/TrinityCore/TrinityCore/commit/fd930d4c830c36bddc9b2a5fd3650b41a914ed38)
2021-11-02 14:21:20 -04:00
hondacrx 4d14f2f992 Core/Spells: Clean up some assist checks (no behavior change)
Port From (https://github.com/TrinityCore/TrinityCore/commit/8760b7322e2d6417956fe5ddf08bb7b1268c734e)
2021-11-02 14:19:45 -04:00
hondacrx 6a159b90a1 Core/Spells: Fix an incorrect check that was exempting negative spells from _IMMUNE_TO_x checks.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d81a74bc98533d6c443b59a945b7e92cc7e87295)
2021-11-02 14:17:30 -04:00
hondacrx 5e29a231c9 Core/Entities: Fixed an issue where creatures would not properly assist formation members in certain scenarios.
Port From (https://github.com/TrinityCore/TrinityCore/commit/00b9c23e28dc19a3a9f45d1d5b86d203f55b2a7e)
2021-11-02 14:16:25 -04:00
hondacrx 78a466e5b6 Core/Unit: Some charm fixes:
Port From (https://github.com/TrinityCore/TrinityCore/commit/34f9666f209ab3f281bf81de92c4bc1a164b0059)
2021-11-02 14:14:58 -04:00
hondacrx 430d163dee Core/LFG: fixed random dungeon cooldown
Port From (https://github.com/TrinityCore/TrinityCore/commit/e88536f258dd187f1ee6855602501897138cf8b9)
2021-11-02 14:06:31 -04:00
hondacrx aebbc968eb Scripts/Commands: .npc info now includes react state info
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd239e8b0f945a70c9d738024bdc2d75d54575f4)
2021-11-02 14:03:25 -04:00
hondacrx 6f27d79873 Core/CreatureTexts: Added new field SoundPlayType to enable usage of ObjectSounds within creature_text
Port From (https://github.com/TrinityCore/TrinityCore/commit/437fb2aaba8850dd81a15d661c82403be9170c4e)
2021-11-02 14:00:01 -04:00
hondacrx 55746b1007 Core/Instances: Drop allowMount column in instance_template as it is already handled properly by SPELL_ATTR0_OUTDOORS_ONLY
Port From (https://github.com/TrinityCore/TrinityCore/commit/8b171d7c019f0010ec05af92466261d4be78bfff)
2021-11-02 13:34:29 -04:00
hondacrx ed85016d00 Core/Threat: Only send SMSG_THREAT_UPDATE if the threat list actually changed
Port From (https://github.com/TrinityCore/TrinityCore/commit/b6f4b5340792bfdf5f73c6bccd3a5f4a926f00fa)
2021-11-02 13:30:59 -04:00
hondacrx 0e1eeba55a Misc fixes 2021-11-02 13:24:16 -04:00
hondacrx 9edca0bd50 Core/Threat: Further tweak to assist threat, all CC now prevents assist threat splitting (not just damage-breakable CC)
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a503ff597bf07c12202c510de8245b76755b668)
2021-11-01 12:10:04 -04:00
hondacrx 1e4fa35ac2 Core/Unit: Random code style/naming adjustments
Port From (https://github.com/TrinityCore/TrinityCore/commit/05119fd90949340cad4a700d12069154a2faf5f6)
2021-11-01 12:09:07 -04:00
hondacrx 3f684eadf9 Core/Threat: Threat system adjustments
Port From (https://github.com/TrinityCore/TrinityCore/commit/392a644dc8562ea54b9c185a2776fceb1006e2cd)
2021-11-01 12:04:49 -04:00
hondacrx 9b99019d44 Core/Unit: Inline some unnecessary helpers.
Port From (https://github.com/TrinityCore/TrinityCore/commit/395f58d651c7c370522ead6ba9a3c684d91e3a66)
2021-11-01 11:26:40 -04:00
hondacrx ffb04bffc0 Core/Unit: Store charmer and charmed pointers on Unit directly, no more map lookups for Unit::GetCharmer and Unit::GetCharmed
Port From (https://github.com/TrinityCore/TrinityCore/commit/a5989dcee9150565e7f4b8e3f7a62a414a484a3f)
2021-11-01 11:19:47 -04:00
hondacrx fd24603aea Core/Creatures: Restored old initialization order: AI after movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/ab95c5e9d7b848716e1c9432754f29c65cdb9382)
2021-10-31 14:06:18 -04:00
hondacrx 1e1364b379 Core/Unit: Acquire GetControllingPlayer. Use to fix duel bugs.
Port From (https://github.com/TrinityCore/TrinityCore/commit/070bbb6707028d8c445c8e408d391f80df011d53)
2021-10-31 14:04:49 -04:00
hondacrx 26940fa650 Core/AI: Clean up charm AI handling.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e4e8c1c59c8b37216814526b4d2551f23934f465)
2021-10-31 13:55:26 -04:00
hondacrx 7050fda482 Core/Creature: Fall back to combat list if calling for help without threat list
Port From (https://github.com/TrinityCore/TrinityCore/commit/6a91fe3fbe28e3bf36ab6107b9c6cbb842f65262)
2021-10-30 20:22:04 -04:00
hondacrx faa2360995 Scripts/SmartScripts: _SET_IN_COMBAT_WITH_ZONE and _CALL_FOR_HELP no longer use a target. Because that feature made no sense and was unused.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f6ceb4bf0c5f95c043e90708e9369f7199a4201b)
2021-10-30 20:21:02 -04:00
hondacrx deea079d07 Core/Creature: Some adjustments to Creature.CallForHelp. Now works even if the Creature hasn't selected a victim yet.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b8329f6af801dae065a15322f07b95e83ed34fc)
2021-10-30 20:18:02 -04:00
hondacrx 0275a1405f Core/LFG: Order group members before creating LFG group (leader > tank > healer > dps).
Port From (https://github.com/TrinityCore/TrinityCore/commit/fff5a32a13ae896ecd4288838f6678ce484f7e23)
2021-10-30 20:16:25 -04:00
hondacrx e86e640c5a Core/Loot/Gameobject: Tempspawned Gameobjects after looting
Port From (https://github.com/TrinityCore/TrinityCore/commit/8c9e5cd3f3200b378ff09a6822ceb2b5bd223e3c)
2021-10-30 20:10:17 -04:00
hondacrx 1578935f08 Core/AI: Remove unnecessary parameter from DoZoneInCombat
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d48e8db7d0175af807e77214583058bf6e9c790)
2021-10-30 20:08:11 -04:00
hondacrx fc68f3e528 Core/AI: Some cleanup to DoZoneInCombat and Malygos' AI.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6a5edf04725502d749636fc6c6bb3935d83c222f)
2021-10-30 20:05:09 -04:00
hondacrx 5675589bd2 Core/Movement: Prevent NO_PATH evades from incorrectly happening in a few places.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6f0e58cce0088dd030d5bf85ae03e9d942241800)
2021-10-30 20:01:28 -04:00
hondacrx 5d94082841 Core/SmartAI: SetRun fix for SAI
Port From (https://github.com/TrinityCore/TrinityCore/commit/0c3690db917016461f4c94b7e75bd16e67b5b0f0)
2021-10-30 19:59:16 -04:00
hondacrx 6ea312d748 DBError follow-ups:
Port From (https://github.com/TrinityCore/TrinityCore/commit/45766c3d6eb4f70dfa6fe58f99d046e280664480)
2021-10-30 19:57:59 -04:00
hondacrx 4d03ced335 Core/AI: EscortAI::SetRun now also adjusts already-in-progress waypoint paths, as opposed to only affecting future path loading.
Port From (https://github.com/TrinityCore/TrinityCore/commit/58000148d321d1f0dde96667974ea912e0a8356e)
2021-10-30 19:57:05 -04:00
hondacrx f2eb6a9044 Scritpts/Commands: Fix area name display if no area present.
Port From (https://github.com/TrinityCore/TrinityCore/commit/abaf5d80685ff0dbfc766a074aa89b3481092f47)
2021-10-20 22:33:39 -04:00
hondacrx 4ea48fdff0 Scripts/Commands: Fix .quest complete to properly work with PvP kill quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a309542ce73cd53382bef574ecce6cbfd421615)
2021-10-20 22:28:50 -04:00
hondacrx c9ea148490 Spells/Auras: Properly handle negative health modifiers on application.
Port From (https://github.com/TrinityCore/TrinityCore/commit/d3f93bcc2632ed334ddf7acd1f068734bd507877)
2021-10-20 22:27:36 -04:00
hondacrx 612ebb506e Fixes attempted to divide by zero when transport has no path. 2021-10-18 15:46:53 -04:00
hondacrx d21b9e1858 AI/SmartScripts: Replace SMART_ACTION_INVOKER_CAST with SMART_ACTION_SELF_CAST in action 85. SMART_ACTION_INVOKER_CAST moves to 134.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0aee79dfb8027e8b35472f5f61eb4f318528c951)
2021-10-17 18:49:09 -04:00
hondacrx 7c360aae68 Some cleanups 2021-10-17 17:13:53 -04:00
hondacrx 9a41de7593 AI/SmartScripts: Warn on startup for ACTION_INVOKER_CAST without invoker (same as invoker targets)
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2d266edf3da950ac4aeaf48b6778f8bbc7bcdd4)
2021-10-17 17:02:08 -04:00
hondacrx 78421960db Core/Spells: added a helper to reset proc cooldowns
Port From (https://github.com/TrinityCore/TrinityCore/commit/7084e0c3601cef86d01d2162c77623feef9fc8f2)
2021-10-17 16:58:00 -04:00
hondacrx 4a6da800fe Core/Entities: Ethereal Soul-Trader
Port From (https://github.com/TrinityCore/TrinityCore/commit/3503e9dc929692bc9a8e9a23de2bae9cad24497f)
2021-10-17 10:01:25 -04:00
hondacrx 8a976ee972 Scripts/Pets: Some cleanup for Snake Trap.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d08e13108431e3facc3246f46740fe54e9f6884)
2021-10-17 09:39:41 -04:00
hondacrx dbbfee4ab0 Core/Maps: Continue updating creatures that own auras applied to players.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f7e5931b4947d2b0590b073381a4acb10056366c)
2021-10-17 09:27:41 -04:00
hondacrx a4f115366b Core/Movement: Properly resume chase/follow movement if it was paused by a spell cast.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6d2423b7334915c60225103863c3ffae3831719b)
2021-10-17 09:25:04 -04:00
hondacrx 6da7f7cb38 Core/BattlePets: Fixes when adding pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/7c15ec00c7c1a4d5bd3ce37de6776b8a407b65b7)
2021-10-17 09:16:27 -04:00
hondacrx 0b64c4a02e Core/Auras: Implemented SPELL_AURA_ADD_PCT_MODIFIER_BY_SPELL_LABEL and SPELL_AURA_ADD_FLAT_MODIFIER_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/ba4fa060d765a35507f1a73287504c3f2e440fdb)
2021-10-17 09:11:00 -04:00
hondacrx 68c4407840 Core/Auras: Implemented SPELL_AURA_CAST_WHILE_WALKING_BY_SPELL_LABEL and SPELL_AURA_CAST_WHILE_WALKING_ALL
Port From (https://github.com/TrinityCore/TrinityCore/commit/3e81db7b9380269d4561eb5deb21fbef26913779)
2021-10-16 18:33:43 -04:00
hondacrx 5ad5b8ef18 Core/Spells: Implemented SPELL_AURA_SUPPRESS_ITEM_PASSIVE_EFFECT_BY_SPELL_LABEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/6e4a90d2749c7675eebbb3eb41cd50ecaab78b7e)
2021-10-16 18:26:30 -04:00