Commit Graph

90 Commits

Author SHA1 Message Date
hondacrx 87b4c91319 Fix an issue where temp summons were ignoring m_regenHealth.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ec9fbaceb057e5beb8dda066b2c4773abe3dba7e)
2020-07-24 16:29:29 -04:00
hondacrx 3c054eb054 Core/Player: Keep shared quests through map changes instead of getting stuck in busy state
Port From (https://github.com/TrinityCore/TrinityCore/commit/c12ee97f122acfd77bd81cf178a77d5054c312b6)
2020-07-24 14:55:22 -04:00
hondacrx 286a200178 Core/Movement: Get zone/area IDs from vmap data in the liquid update
Port From (https://github.com/TrinityCore/TrinityCore/commit/51ce3b1c1dc6a53938ed6f240bac00681d18a44f)
2020-07-23 18:22:46 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -04:00
hondacrx 1a2411ae0f Ports from (https://github.com/TrinityCore/TrinityCore)
Core/Unit: don't clear low health aura states on death
Core/Gossip: Fix gossip bug on modify money
Core/Spells: Change the radius of PBAoEs following the feedback received on
Core/Player: update interaction checks, some info taken from client
Core/Spell: abort channeling if no valid targets are found after searching
Core/Creature: fix _DespawnAtEvade saving wrong respawn time
Core/Spell: fixed some problems with per caster aura states
Quickfix a bug introduced by 2f19d97 which prevented GTAoE from being cast.
Core/SmartAI: allow SMART_ACTION_SEND_GOSSIP_MENU to override default gossip
Core/Spell: in case of immunity, check all effects to choose correct procFlags, as none has technically hit
Fix evade issues when a spell hits the target just before evading.
Scripts/Command: implement .debug play music command
Partial revert, Unit::getAttackerForHelper() shouldn't return units that we aren't in combat with (victim can be such a unit for players/player pets, which can startattack from a distance without entering combat).
Fix an issue where CanSpawn would never get invoked on creatures without per-guid script.
Core/Players: fix null dereference crash
2020-06-21 13:01:24 -04:00
hondacrx 4fb3805d8a Core/Creature: drop method SetPosition
Port From (https://github.com/TrinityCore/TrinityCore/commit/55576d20d837a9b4575c11a73940c29c0e8e605b)
2020-06-19 19:51:09 -04:00
hondacrx d7954f4fc7 Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7306439e7004288fb85890d6a5f730cf1761d71)
2020-06-18 12:39:39 -04:00
hondacrx 708c37b78c DB updates/ Misc Fixes 2020-06-02 17:44:07 -04:00
hondacrx c2aee387a8 Core/Scripts: unified scripted gossip/quest api
Port From (https://github.com/TrinityCore/TrinityCore/commit/6604849716bc73d82a4cdbf8c66bb188086ceae4)
2020-05-22 13:28:20 -04:00
hondacrx ea80678e9a Core/Creatures: Fixed level 240 guards and updated scaling level calculation
Port From (https://github.com/TrinityCore/TrinityCore/commit/82b4ca3b7c2329e571d0a341b8a5ab366a5d26f4)
2020-05-20 20:04:00 -04:00
hondacrx c1dbec58bd Core/Creatures: Update creature scaling to use content tuning
Port From (https://github.com/TrinityCore/TrinityCore/commit/314a35f0cd912daed7c0663f4f13552b6747fd98)
2020-05-20 15:27:22 -04:00
hondacrx 2fc4e3e71f TC Ports:
Core/Misc: 522f537048 followup (https://github.com/TrinityCore/TrinityCore/commit/9a57e95f102a9d35ac8416d02e24c0dddbc755ed)
Core/CreatureAI: b6b0353bff followup (https://github.com/TrinityCore/TrinityCore/commit/5d411e0b21b1f1a4653d274d9b1cc7fef17f232b)
Core/Spell: move creature focus (https://github.com/TrinityCore/TrinityCore/commit/8c12f36915b2fddd48a5e4c9244c2b0498a64ae9)
Core/Unit: 2170541a51 followup (https://github.com/TrinityCore/TrinityCore/commit/2d4549023a6655d19671f7f7e6b4f7c9b71ae632)
Core/Misc: cleanup SetInFront uses (https://github.com/TrinityCore/TrinityCore/commit/104e745edfb89f95e34cad7840eae0b6e183bf94)
Core/Unit: 229444b74a follow-up (https://github.com/TrinityCore/TrinityCore/commit/6a96addadd5dea633b3066b8d0427302ba514364)
Core/Unit: revert 3ea46e57af (https://github.com/TrinityCore/TrinityCore/commit/a46286a803b41b375ed9352858c742626bb85720)
Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hook (https://github.com/TrinityCore/TrinityCore/commit/1929ca3aa14f6cd83ea3ac9d7e8c0e2ed0e87a26)
Core/Entities: moved PetAura handling to Player where it belongs (https://github.com/TrinityCore/TrinityCore/commit/4f6d38fe9d5c07e6e8eb88e517af71b6cdc4f9f8)
Core/Spells: Fixed Chilled to the Bone (https://github.com/TrinityCore/TrinityCore/commit/08635c740a7ee04da9b0cd5045075a9432121b06)
Core/Spell: implement pvp trinket immunity against Judgement of Justice (https://github.com/TrinityCore/TrinityCore/commit/05ba662d5daaa3428cc01cdaa3794bf5a073ef17)
2020-05-19 14:49:37 -04:00
hondacrx d5e2f1e646 Core/Movement: allow focused spells to not break movement if it's movement allowed spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ef39fa5d2f76459e3e529a0877655b0f69b98d6)
2020-05-18 22:57:14 -04:00
hondacrx a1699494d5 Core/Creature: fix integer overflow in Creature.Update leading to endless thrashing of characters database
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d8c1b49b82081eac42ca68ec0d9ee199bb1eda3)
2020-05-12 17:13:36 -04:00
hondacrx 415d6d84ba Core/Movement: FormationMovementGenerator
Port From (https://github.com/TrinityCore/TrinityCore/commit/84df2c57a385df4503fc1f8ff5dfdf445ea2e31f)
2020-05-07 14:34:16 -04:00
hondacrx 859109f472 Core/Scripts: Fix a logic fail that overriden the script of an entity that changed entry
Port From (https://github.com/TrinityCore/TrinityCore/commit/649009552065940ab0f03d905b945f1a16d603bb)
2020-05-06 15:19:17 -04:00
hondacrx 15d56be6ce Added new creature extra flag which makes npc visible only to dead units
Port From (https://github.com/TrinityCore/TrinityCore/commit/70d5775d3f679e77c2b00418375f180f6209484d)
2020-05-06 14:55:22 -04:00
hondacrx e81b1e3ba7 Core/Unit: cleanup UnitState enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f0dc07ef183eefab5ad2c4a4f857d5184f5ad6f)
2020-05-06 14:46:11 -04:00
hondacrx ba885908b7 Core/Spells: fix wrong distance calculations in AoE spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d076cfe291980bc5be9d44ffbae887e3dd5ad59)
2020-05-06 14:34:20 -04:00
hondacrx 24cee23c13 Core/Pet: load template immunities when creating (except for hunters)
Port From (https://github.com/TrinityCore/TrinityCore/commit/053d0cfda5a96160f9e480e29bd432bc59568f86)
2020-05-06 13:38:48 -04:00
hondacrx 9ec956becf Core/Auras: reworked multiplicative AuraEffects calculation
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebc06b1d0401be69066986e18d0e926170c58023)
2020-05-05 18:38:43 -04:00
hondacrx 24a1bb6331 Core/Items: Add helper function to get item name including suffix
Port From (https://github.com/TrinityCore/TrinityCore/commit/ecdf3d1a141af4cc0c1ced1bd23e8148ed3a2000)
2020-04-26 01:04:13 -04:00
hondacrx 0f1cbbb502 Core/Entities: Fixed saving spawn difficulties to db for .npc add and .gob add (and other commands that modify creature/gameobject spawns table)
Port From (https://github.com/TrinityCore/TrinityCore/commit/5526e14bcf1efe7a4b1f96760a1816d2e0e1c1b9)
2020-04-25 00:23:26 -04:00
hondacrx 25feacd08e Core/Misc: Fixed animation issues after 8.3.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2020-04-24 23:59:32 -04:00
hondacrx 230453c451 New Year 2020 :) 2020-01-09 11:35:00 -05:00
hondacrx 5b9ad41953 Core/Items: Implement azerite empowered items
Port From (https://github.com/TrinityCore/TrinityCore/commit/d934824421c83598853487c5cc9e4cbb3c5d0006)
2019-12-05 22:55:44 -05:00
hondacrx c6e53b2ba7 Core/PacketIO: Update opcodes and packet structures to 8.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee2e49429f4383732b4e0f39b493470b9c1dd10c)
2019-10-28 14:33:43 -04:00
hondacrx 570aebce26 More refactoring of code. 2019-09-23 21:41:13 -04:00
hondacrx 35c06c09fd Some refactoring of code. and some cleanups 2019-09-21 12:11:16 -04:00
hondacrx 4128cc8516 Core/Quests: Implement new logic for selecting spell casters for accept/reward spells based on quest flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/7d2cbd4e7cec5737c742437e126ddb745d65f6a9)
2019-09-03 23:57:18 -04:00
hondacrx ca20365855 Core/Creature: restore previous behavior of random gender on respawn
Port From (https://github.com/TrinityCore/TrinityCore/commit/c0b5e074c47bd8722b76e582336278bc55aa9320)
2019-09-03 15:50:08 -04:00
hondacrx 43a94b4897 Core/Creature: Load template immunities into m_spellImmune container.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f4205b760eecce436af204d973f7876db8948407)
2019-09-01 11:05:57 -04:00
hondacrx 6080afea5b Core/Creature: remove some redundant code
Port From (https://github.com/TrinityCore/TrinityCore/commit/fe2602b772a0ce6017f5fa4398a9b1ba06e2f2f6)
2019-09-01 11:01:31 -04:00
hondacrx 73c422eedd Core/Creature: don't override display id if addon tables load a morph aura
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f2790815a7eadd0e1781488a4d4442f1dc08228)
2019-09-01 10:58:29 -04:00
hondacrx 4f66987965 Core/Creature: redo some logical checks in _IsTargetAcceptable
Port From (https://github.com/TrinityCore/TrinityCore/commit/3d52ba93fc59070ef0a8c3411440ad979399c954)
2019-09-01 10:52:52 -04:00
hondacrx 87d30caa49 Ensure that all actions are compared to fixed point in time (ie. world update start)
Port From (https://github.com/TrinityCore/TrinityCore/commit/60663d1374beef3103f4787152654034fa4a8897)
2019-09-01 10:37:14 -04:00
hondacrx c79a31dfff Core/Entities: spawned movementtype should override template movementtype
Port From (https://github.com/TrinityCore/TrinityCore/commit/a24cb8a057d53c4df15b97e536c14640d9d08610)
2019-08-31 15:25:49 -04:00
hondacrx 966c1fff33 Core/Cache: Implement QueryCache system
Ideas/Port From (https://github.com/TrinityCore/TrinityCore/commit/b4d30bb92cbfc8411d8d91b0f4f2981f2cecc148)
2019-08-31 10:06:35 -04:00
hondacrx 1657f720dc Core/SmartAI: Various fixes and extensions for smart scripts:
Port From (https://github.com/TrinityCore/TrinityCore/commit/a32d5cfa1762ae1158ee2f40b4c9b36e5b41913a)
2019-08-30 12:00:42 -04:00
hondacrx 58b142f26e Misc Fixes 2019-08-17 14:03:21 -04:00
hondacrx 835c67483b DB/Creature: The instance_encounters extra flag (CREATURE_FLAG_EXTRA_DUNGEON_BOSS) now properly propagates to all difficulty entries (not just difficulty 0).
Port From (https://github.com/TrinityCore/TrinityCore/commit/6455f1c256e566da43d55583bca9c94c0d3139ce)
2019-08-17 13:08:46 -04:00
hondacrx f2f8afb7a4 Core/Creatures: Remove template immunities only for hunter pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/ecb44f82a41c6053ddbd30dd087974134b53810b)
2019-08-17 12:56:03 -04:00
hondacrx 0a29281557 Core/Misc: Fixed player corpse looting, added player corpse loot and some more
Port From (https://github.com/TrinityCore/TrinityCore/commit/89f728cd5b6ae3041fdae3c853ac4b0ac5f0a848)
2019-08-17 11:42:16 -04:00
hondacrx d3cbe70f56 Core/Creatures: Various fixes for creatures, regarding combat conditions, despawning, and few others
Port From (https://github.com/TrinityCore/TrinityCore/commit/fe63cd3dbb66f4fda743858db4284a24bc2bd400)
2019-08-17 10:47:55 -04:00
hondacrx bdfea4ecad Implemented binary resistances and some more
Port From (https://github.com/TrinityCore/TrinityCore/commit/ca26c33145cb40ae7fd2c84fc7577fc6f11bdbbf)
2019-08-16 23:15:19 -04:00
hondacrx d3bce6a75c Core/Misc: Fix various crashes, also related to multithreading
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad008c43b75080ec59aa973f1e2e4424332c34a4)
2019-08-16 22:03:02 -04:00
hondacrx 3634bc7133 Core/Misc: Moved CharacterInfo out of world to separate class
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad4e63bae145ae49b584ab2fc621660430cec0d3)
2019-08-16 13:43:17 -04:00
hondacrx fc76ec26be Core/Creature: Prevent boss creatures from ever respawning naturally.
Port From (https://github.com/TrinityCore/TrinityCore/commit/cc020b2a0f36f91bf7fe6f3775c47c83305816bc)
2019-08-15 11:59:13 -04:00
hondacrx e35ba6d97f Core/Creature: don't allow turning if spell would cancel due to turning to face target
Port TrinityCore Commit: https://github.com/TrinityCore/TrinityCore/commit/6135ee1ad7052992093ad392347f4ef2c2ef4cf6
2019-08-14 11:45:38 -04:00
hondacrx 125e3b3ac7 Updated to 8.2.0.31429 (scripts disabled atm, they still need updated)
Code Port from TrinityCore https://github.com/TrinityCore/TrinityCore
Casc from WoW-Tools https://github.com/WoW-Tools/CASCExplorer
2019-08-14 11:20:42 -04:00