Commit Graph

  • bddde92a0f Entities/Player: Clean up client control handling behavior around possession. Mind Control should no longer cause various weirdness. hondacrx 2021-12-26 19:54:55 -05:00
  • 6d73a59f63 Core/Player: add helper methods GetNativeGender/SetNativeGender/SetGender hondacrx 2021-12-26 19:51:26 -05:00
  • 39dd51370f Scripts/Spells: Dimensional Ripper - Everlook hondacrx 2021-12-26 19:36:53 -05:00
  • ce3b99471d Core/Quest: do not send SMSG_QUESTGIVER_OFFER_REWARD right after SMSG_QUESTGIVER_QUEST_FAILED. hondacrx 2021-12-26 19:32:56 -05:00
  • 5ba1f34108 Core/Instance: add new method hondacrx 2021-12-26 19:27:28 -05:00
  • b456a0403f Core/Instance: add new hook & method hondacrx 2021-12-26 19:25:32 -05:00
  • f624076063 Core/Instances: improve DoRemoveAurasDueToSpellOnPlayers & DoCastSpellOnPlayers handling hondacrx 2021-12-26 19:21:16 -05:00
  • 73fa489610 Misc: some corrections after recent merges hondacrx 2021-12-24 21:38:37 -05:00
  • 409be0be01 Scripts/Spells: Ultrasafe Transporter: Toshley's Station hondacrx 2021-12-24 21:34:18 -05:00
  • 7ca6823705 Core/Loot: fix issue that prevented players from rolling for an unique-category item while an equipped item shares the same unique-category. hondacrx 2021-12-24 21:28:30 -05:00
  • b835ecddc1 Scripts/Spells: Dimensional Ripper - Area 52 hondacrx 2021-12-24 21:27:09 -05:00
  • 5c41122916 Core/GameObject: do not allow consumable chests to restock while partially looted. hondacrx 2021-12-24 21:22:21 -05:00
  • 5c4a42317e Core/GameObject: fix some cases where summoned gameobjects of a type different than chest or goober would behave wrongly. hondacrx 2021-12-24 21:20:14 -05:00
  • 89661001d5 Core/Spell: fix some issues with taunt spells hondacrx 2021-12-24 21:18:27 -05:00
  • f39f4ce120 Core/Mail: include 100g in the mail sent after turning in the quest The Wrath of Neptulon hondacrx 2021-12-24 21:15:33 -05:00
  • 2a9a1a1d6b Core/GameObject: implement restock mechanic for non-consumable gameobjects hondacrx 2021-12-24 21:14:21 -05:00
  • 958dbbb4d9 Core/SAI: add param3 to SMART_ACTION_CALL_TIMED_ACTIONLIST to allow it to override a currently running actionlist. hondacrx 2021-12-24 21:09:51 -05:00
  • 85d81d39fc Core/GameObject: restore old behavior for non-consumable chests with restock timer (make them despawn). hondacrx 2021-12-24 21:08:08 -05:00
  • 445b24188f Core/GameObject: don't allow non-consumable goobers to despawn on use hondacrx 2021-12-24 21:07:14 -05:00
  • a75bc5188f Core/Spell: allow damage from binary spells to go through elemental resistance's damage reduction. hondacrx 2021-12-24 21:05:41 -05:00
  • 0f248e2faa Core/SAI: allow creatures to handle gameobject spellhit SAI events. hondacrx 2021-12-24 21:05:03 -05:00
  • b3759bb7b0 Core/SAI: do not pass old creatureData to UpdateEntry() and keep current health when changing a NPC's entry. hondacrx 2021-12-24 20:57:58 -05:00
  • 5a7d42530e Core/AI: Actually accurately reproduce the logic from before 8499434 that determines what summons start following on appearance. Third time's the charm? hondacrx 2021-12-24 20:55:55 -05:00
  • 3126ac721d Core/SAI: silence wrong SAI error when using SMART_ACTION_SET_DATA on a creature using CreatureAI. hondacrx 2021-12-24 20:51:13 -05:00
  • 31e0a1f476 Core/Spells: Moved SpellVisual functions from Unit to WorldObject hondacrx 2021-12-24 20:50:24 -05:00
  • 5de09a5046 Core/BattlePets: Added default cooldown to revive battle pets hondacrx 2021-12-24 20:41:51 -05:00
  • 8ff2e2d75b Core/Creatures: Fixed crash in CreatureAI::JustAppeared caused by scripted summons without SummonProperties hondacrx 2021-12-24 20:25:47 -05:00
  • d255912aa6 Core/AI: minimize further undesired behaviours hondacrx 2021-12-24 20:22:19 -05:00
  • bd3768c4ef AI/TotemAI: Tell Shaman Totems to stay put and stop moving. hondacrx 2021-12-24 20:20:05 -05:00
  • 925119c2ca AI/SmartAI: Properly forward to inherited CreatureAI::JustAppeared in SmartAI::JustAppeared. hondacrx 2021-12-24 20:16:01 -05:00
  • 3cf7f6b831 Combat/Threat: Split ThreatManager::NotifyDisengaged off from ThreatManager::ClearAllThreat. NotifyDisengaged signifies intent to clear the engagement flag, and should only be called from AI. hondacrx 2021-12-24 20:15:10 -05:00
  • 3c38758f09 AI/SmartAI: Move SMART_EVENT_RESPAWN invocation from ::InitializeAI() to ::JustAppeared(). hondacrx 2021-12-23 20:24:47 -05:00
  • 2d87d0c75d Core/AI: Remove EnterEvadeMode calls from Guardian/Summon spell handlers. Add follow logic to CreatureAI::JustAppeared. hondacrx 2021-12-23 20:23:16 -05:00
  • e28b42b270 Entities/Unit: Fix an issue where Unit pointers could be left dangling if a channeled Charm was interrupted by a control aura application. hondacrx 2021-12-23 20:19:55 -05:00
  • 1f58dc2b53 Entities/Unit: Cleanup all the direct accesses to m_unitMovedByMe. Refactor the field to be protected. Add assertions to catch dangling pointers. hondacrx 2021-12-23 20:17:08 -05:00
  • 4584543d45 some more cleanup hondacrx 2021-12-23 20:03:50 -05:00
  • cd1edd609f Core/Creature: Attach out-of-combat health regen to the Engaged system, not the Combat flag. hondacrx 2021-12-23 20:03:03 -05:00
  • 749b77d060 Core/Misc: Rename Unit::AttackedTarget to Unit::AtTargetAttacked to match naming scheme for these notifiers hondacrx 2021-12-23 20:02:14 -05:00
  • 8694a2ae24 Core/Entities: Kick engagement logic upstairs to Unit (from ThreatManager), since all Units with AI need it (not just those with threat list). hondacrx 2021-12-23 20:00:45 -05:00
  • ff48f2cab9 Core/Instance : Fix instance resetting exploit hondacrx 2021-12-22 20:54:24 -05:00
  • 8a64e18f31 Oops clicked too soon. hondacrx 2021-12-22 20:47:37 -05:00
  • 579774a556 Core/RBAC: add permission that prevents accounts from earning all achievements or only realm firsts hondacrx 2021-12-22 20:47:09 -05:00
  • 74c88b43b3 Scripts/Spells: Migrate Teleporting to Script hondacrx 2021-12-22 20:39:59 -05:00
  • 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. hondacrx 2021-12-22 20:33:47 -05:00
  • 8b23a77c5f Core/Loot: don't allow to regenerate chest loot inside instances and raids. hondacrx 2021-12-22 20:32:04 -05:00
  • 97730e14ad Core/Conditions: Sync CONDITION_QUEST_OBJECTIVE_PROGRESS implementation hondacrx 2021-12-22 20:30:31 -05:00
  • ca64ca25f6 Core/FlightPath: teleport players at destination on floor Z when the flight ends hondacrx 2021-12-22 20:25:56 -05:00
  • 7a4882731d Core/SAI: allow to start waypoint movement for a creature that is in combat. hondacrx 2021-12-22 20:24:27 -05:00
  • 8510f01035 Misc fixes hondacrx 2021-12-22 20:23:48 -05:00
  • c38509222c Core/Spell: Jump Speed Calculations hondacrx 2021-12-22 20:22:58 -05:00
  • 79e33b6a4a Core/Misc: don't allow FindNearestCreature() and FindNearestGameObject() searches to return the entity that called them. hondacrx 2021-12-22 20:16:49 -05:00
  • 6a295f7fe4 Core/SAI: add cooldownMin (event_param2) and cooldownMax (event_param3) to SMART_EVENT_ACCEPTED_QUEST and SMART_EVENT_REWARD_QUEST. hondacrx 2021-12-22 20:13:01 -05:00
  • 2cbed03883 Core/SAI: don't allow to start a new SAI actionlist while the entity is already running one. hondacrx 2021-12-22 20:09:35 -05:00
  • 47ddf51999 Core/RDF: fix counting issue with the achievement Looking for More (and similar) hondacrx 2021-12-17 19:46:25 -05:00
  • 3bae896803 Core/Loot: fix some other cases where a creature should not be able to set focus. hondacrx 2021-12-17 19:41:25 -05:00
  • fc95164995 Core/Unit: Ignore On Transport spline movements if the Unit isn't on a transport anymore hondacrx 2021-12-17 19:39:58 -05:00
  • aeb266b090 Core/Misc: Change some logs from INFO to ERROR when loading invalid creature template resistances and spells hondacrx 2021-12-17 19:38:23 -05:00
  • 85f24d047e Core/Player: Fix teleporting FlyPath dismounting the player hondacrx 2021-12-17 19:37:23 -05:00
  • 8f24c82944 Core/Loot: make Loot::AddItem() honor LootItem::AllowedForPlayer() so that items that cannot be looted don't prevent skinning. hondacrx 2021-12-17 19:36:36 -05:00
  • 1bd33fce8e Core/Loot: implement automatic pass in group loot for items that cannot be looted. hondacrx 2021-12-17 19:33:22 -05:00
  • b349f922b2 Core/Spells: don't allow spells with SPELL_EFFECT_CREATE_LOOT to be cast if there isn't enough space in inventory hondacrx 2021-12-17 19:26:43 -05:00
  • 112803c149 Core/Creature: prevent dead creatures from setting a focus target, so they won't turn when hit by certain spells. hondacrx 2021-12-17 19:17:29 -05:00
  • b367f70d6c Core/CreatureTemplate: Outsourced resistances and spells into creature hondacrx 2021-12-17 19:16:52 -05:00
  • 05e3cfc118 Core/Group: implement automatic party/raid leader change when the leader has been offline for two minutes hondacrx 2021-12-17 19:04:23 -05:00
  • 1021eadd36 Core/Loot: fix some issues with master loot and don't allow players to see soulbound recipes that they already learned in the loot window. hondacrx 2021-12-17 18:44:59 -05:00
  • 853b589348 game event respawn hondacrx 2021-12-17 17:55:34 -05:00
  • d5aa3ed8ab Core/Spell: allow Northrend Inscription Research to unlock three recipes the first time it is cast. hondacrx 2021-12-17 17:52:44 -05:00
  • 613fa25096 Core/Player: allow AutoStoreLoot to specify if the looted item should be shown as if created by the player. hondacrx 2021-12-17 17:47:14 -05:00
  • b84f88d98f Core/Player: Remove all Motion Masters when teleporting hondacrx 2021-12-17 17:44:45 -05:00
  • f1bfc12b9d Core/Logs: Allow to log startup logs into Database appender hondacrx 2021-12-17 17:42:36 -05:00
  • 5caa50ad4b Core/Logging: Split logs for unknown and zero triggered spells hondacrx 2021-12-17 17:39:33 -05:00
  • f91842d6f2 Spell/Script: Stasis Field hondacrx 2021-12-17 17:29:27 -05:00
  • 6035dc5224 Script/Creature: calculate Traveler's Tundra Mammoth's NPCs' exit position based on current player's position hondacrx 2021-12-17 17:20:01 -05:00
  • 8858e58f46 Core/SAI: add action_param3 to SMART_ACTION_REMOVEAURASFROMSPELL to allow it to remove only auras from spells that were cast by the entity itself. hondacrx 2021-12-17 17:15:30 -05:00
  • da41af6279 Core/BattlePets: Improvements when enabling battle pets hondacrx 2021-12-16 13:10:24 -05:00
  • f7023cb290 Core/Spells: Implemented SPELL_ATTR1_CAST_WHEN_LEARNED hondacrx 2021-12-16 13:00:53 -05:00
  • 599eb14a16 Core/Map: Don't log errors about Area ID 0 hondacrx 2021-12-16 12:59:09 -05:00
  • 4bda3c1b78 Core/Groups: do not allow lfg groups to change the loot mode hondacrx 2021-12-16 12:58:24 -05:00
  • 736892998f Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura hondacrx 2021-12-16 12:56:20 -05:00
  • 40f6c9a9fd Core/Script: add script hook to allow overriding of a vehicle passenger's exit position hondacrx 2021-12-16 12:47:54 -05:00
  • 589d845093 Core/Movement: Fix assertion triggered in SplineChainMovementGenerator hondacrx 2021-12-16 12:43:45 -05:00
  • a39fdef7c3 Core/Players: out of range group updates will now get sent every 5 seconds instead of as soon as they are available to reflect retail behaivior. hondacrx 2021-12-16 12:42:19 -05:00
  • 9ba51bd120 Core/Console: start CliRunnable thread after all log messages have been printed. hondacrx 2021-12-16 12:39:12 -05:00
  • 85359b129f Core/GameObjects: goober gameobjects may reset only if they have a lock id or a reset time specified hondacrx 2021-12-16 12:38:00 -05:00
  • cf3bc71a74 Core/SmartAI: Improve SMART_EVENT_GOSSIP_HELLO hondacrx 2021-12-16 12:36:53 -05:00
  • 24b0f058a9 Core/AreaTriggers: Added helper static function AreaTrigger::CreateNewMovementForceId for use in scripts with movement forces hondacrx 2021-12-16 12:33:53 -05:00
  • f77b631422 Core/Movement: Defined movement force type enum hondacrx 2021-12-10 17:33:33 -05:00
  • 3c6f584f33 Core: Updated allowed build to 9.1.5.41359 hondacrx 2021-12-10 17:29:59 -05:00
  • 9c31943278 DB Updates hondacrx 2021-12-07 20:57:13 -05:00
  • eef0e8e875 Misc fixes hondacrx 2021-12-07 20:57:02 -05:00
  • 2a086b6d3c Core/Misc: Add helper table phase_name and improve .npc info and .gps hondacrx 2021-12-07 20:56:05 -05:00
  • 753faaeee1 Core/Spells: Fix spells with Health Leech effect, now check damage absorb when calculate Heal hondacrx 2021-12-07 20:46:01 -05:00
  • 5081e1aa69 Core/SmartAI: Implement SMART_EVENT_SUMMONED_UNIT and SMART_EVENT_SUMMON_DESPAWNED for GameObject owners hondacrx 2021-12-07 20:44:30 -05:00
  • c37e1c9f7d gameobject summoner hondacrx 2021-12-07 20:42:47 -05:00
  • b7e4c2fd76 Core/SmartAI: Fix SMART_EVENT_SUMMON_DESPAWNED hondacrx 2021-12-07 20:21:31 -05:00
  • e1d1157f87 Core/GameObjects: Validate rotation quaternion at startup hondacrx 2021-12-07 20:20:39 -05:00
  • 73b84ca811 Core/PetAI: apply some movement related corrections hondacrx 2021-12-07 20:15:06 -05:00
  • d5735d68d3 Core/Handlers: apply some movement related corrections hondacrx 2021-12-07 20:14:31 -05:00
  • 67acfe01c5 Core/Spell: add proper cooldowns to some spells used by vehicles hondacrx 2021-12-07 18:38:48 -05:00
  • 6d332243c4 Core/Movement: implement MotionMasterDelayedAction validator hondacrx 2021-12-07 18:32:20 -05:00