Commit Graph

1666 Commits

Author SHA1 Message Date
hondacrx d5bdf04cca Misc updates. 2021-11-03 12:34:28 -04:00
hondacrx 5a90a3ddde Scripts/Auras: Lookup aura scripts by their type, not name
Port From (https://github.com/TrinityCore/TrinityCore/commit/9fc8c86e9a47194a1b271fbcf7bf9e85cb3f0826)
2021-11-03 12:31:46 -04:00
hondacrx b1e6aabee7 Scripts/Spells: Implement Demon Hunter Havoc talent "First Blood"
Port From (https://github.com/TrinityCore/TrinityCore/commit/62e444e4b0ef7199e5ce40b216c13fb57a6e56ec)
2021-11-03 12:25:48 -04:00
hondacrx f649596651 Core/Unit: Erm, so it turns out that releasing your spirit actually never set your death state to DEAD. It stayed as CORPSE. That's wrong, of course, but we didn't notice because zombie corpses.
Port From (https://github.com/TrinityCore/TrinityCore/commit/fdb3f4159e5e7865429e5b7212fba1ef602e6839)
2021-11-03 11:59:34 -04:00
hondacrx 049f8c758f Core/Unit: Successfully (?) prevented the zombie apocalypse. Corpses can no longer gain HP.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c8b11f7e3db8b40a0c02a759d722dff0f7c55fe8)
2021-11-03 11:55:52 -04:00
hondacrx fde411266d Core/EscortAI: initialize run state before filling waypoints
Port From (https://github.com/TrinityCore/TrinityCore/commit/b606c22dfdf204f8b49bce78304ed1ad1eec9029)
2021-11-03 11:54:05 -04:00
hondacrx daa72123a2 Core/PacketIO: Fixed SMSG_SPELLNONMELEEDAMAGELOG structure
Port From (https://github.com/TrinityCore/TrinityCore/commit/4e294f54e400816905e9748b0cd3186d2e6d8642)
2021-11-03 11:53:05 -04:00
hondacrx 02ad0a2284 Core/Threat: Properly sequence checking offline state _after_ adding the reference to the threat list. This ensures IsEngagedWith reports consistent values for downstack calls in Creature.
Port From (https://github.com/TrinityCore/TrinityCore/commit/35e53839291c3782acca46d2f88f84b86d6e15b1)
2021-11-03 11:50:57 -04:00
hondacrx f4c1e8cbbe Core/Creature: Get rid of a few Creature::getAttackerForHelper misuses. That's not what the function does, folks.
Port From (https://github.com/TrinityCore/TrinityCore/commit/26ca7b0fc2907f861d2cdbf1e8699b364518501b)
2021-11-03 11:49:08 -04:00
hondacrx 3a49852fa7 Core/Conditions: Added conditions for old areatrigger system (AreaTrigger.db2)
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ebd5926fb61a5457d7048504d2f92bc3c9318ab)
2021-11-03 11:47:35 -04:00
hondacrx 0bfef874de Core/Conversations: Dropped time fields and calculate them using db2 data
Port From (https://github.com/TrinityCore/TrinityCore/commit/94b14e4f6355a7bab8004dcc2ecadadbc52833de)
2021-11-03 11:44:33 -04:00
hondacrx 46e896cbc6 Core/Conditions: Added conversation line source type
Port From (https://github.com/TrinityCore/TrinityCore/commit/03c0f787a1390eb50789f5bda104bbe40dda3c77)
2021-11-03 11:12:40 -04:00
hondacrx e255a0b3e5 Core/Threat: Suppressed threat is now re-evaluated on taunt state update, and taunting units can no longer be suppressed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/c323758631fe5e414e7e2bb002b5ba89aa449834)
2021-11-03 11:07:12 -04:00
hondacrx af21142819 Core/Entities: Minor refactor to viewer dependent updatefield writing to allow using viewer dependent dynamic updatefields
Port From (https://github.com/TrinityCore/TrinityCore/commit/b8227f92d54e1e3130adb06fdd75c2338afa9414)
2021-11-02 17:15:12 -04:00
hondacrx e7421549c3 Core/RBAC: Simplification part 1. Nobody needs different permissions for each type of .go command.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f1ecb976ec9db8569f8c7601a05282c9d29778b4)
2021-11-02 17:05:18 -04:00
hondacrx 6e5159bde3 Core/Conditions: allow CONDITION_QUEST_COMPLETE to handle spellclick conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/def2e699b046d888e43aefe9479176488e545ac0)
2021-11-02 17:01:36 -04:00
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