Commit Graph
25834 Commits
Author SHA1 Message Date
Wyrserth d2b27bc43c Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura (#23319)
* Core/Misc: don't allow players to use/activate/loot non-allowed gameobjects while under the effect of a damage immunity aura.

* Forgot to change this in last-second rename.

* Apply suggested changes, thanks Shauren!

# Conflicts:
#	src/server/game/Entities/GameObject/GameObject.cpp
#	src/server/game/Entities/Unit/UnitDefines.h
#	src/server/game/Entities/Unit/enuminfo_UnitDefines.cpp
#	src/server/scripts/Outland/CoilfangReservoir/TheSlavePens/boss_ahune.cpp
2020-09-11 15:06:15 +02:00
OcelotGear 1fd66b4621 Script/Hunter: fix Snake Trap's snakes' initialization.
Closes #23570.
2020-09-11 15:02:33 +02:00
Killyana 8c4ce86525 SAI/GameObject: Despawn the linked trap with the gameobject
Closes #23105
2020-09-11 15:02:17 +02:00
Treeston 8b81f1d9f0 revert 5df7ffa, hack 2020-09-11 15:01:42 +02:00
Treeston 77233dd073 Core/GameObject: Hunter traps now always put the Hunter in combat with the target when triggered. Closes #21847. 2020-09-11 15:00:58 +02:00
Killyana 5677d65eed Core/GameObject: Fix linked traps not being despawned properly and remove deprecated code
Closes #20159
2020-09-11 14:59:12 +02:00
Ovahlord 44f89c7dae Scripts/BWD: store Magmaw's body parts via guids instead of smelly pointers and validate the body parts on engage 2020-09-10 21:15:07 +02:00
Ovahlord d78cfb2843 Scripts/DS: corrected damage reduction formula logic for Elementium Blast 2020-09-10 15:02:31 +02:00
Ovahlord 3274117cec Core/Spells: cleaned up and improved spell focusing behavior
* removed hacky update_object call from SetSpellFocus helper
* corrected facing behaivior in SetSpellFocus
* spells with SPELL_ATTR5_DONT_TURN_DURING_CAST will no longer set a target guid for proper clientside facing behaivior
* channeled spells with a destination target will no longer pick a objectTarget
* update serverside orientation for channeled spells with SPELL_ATTR1_CHANNEL_TRACK_TARGET
2020-09-09 20:08:35 +02:00
HelloKitty a4e5afed50 Core/Addon: Correct Banned Addon length in SMSG_ADDON_INFO packet (#25424) 2020-09-09 16:18:32 +02:00
Treeston 5073370126 Core/Combat: When entering a vehicle, transfer any current threat to that vehicle. Closes #1340. 2020-09-08 21:02:23 +02:00
jackpoz 129614cbf8 Core/PathFinding: Enable pathfinding (MMaps) by default 2020-09-08 20:58:37 +02:00
Keader 2159703022 Core/Spells: Implemented PROC_ATTR_CANT_PROC_FROM_ITEM_CAST 2020-09-08 20:58:11 +02:00
Shauren fb11c148c8 Core/Spells: Removed PROC_ATTR_DISABLE_EFF_* attributes and store that in a separate column 2020-09-08 20:56:11 +02:00
Treeston 8385c3ffd3 Core/Movement: MoveSplineFlag::animId -> animTier, MoveSpline::GetAnimation() -> GetAnimationTier() 2020-09-08 20:52:34 +02:00
Shauren 64bc20bf35 Core/Players: Directly store PlayerSpell in m_spells, not as pointer 2020-09-07 21:36:13 +02:00
Ovahlord 74cf7fa413 Scripts/BWD: allow Shadow Conductor to be affected by resistances and other damage reduction auras instead of enforcing damage valuews 2020-09-05 00:22:49 +02:00
Ovahlord 82a1374fa9 Scripts/ZA:
* improved Vol'jin's intro script
* added some waypoints for some trash npcs
2020-09-02 18:19:26 +02:00
Ovahlord c46ae64384 fixed nopch build 2020-09-02 10:32:44 +02:00
Ovahlord 64dd02acb0 Core/Vendors: converted SMSG_VENDOR_INVENTORY to packet class 2020-09-02 00:09:28 +02:00
Ovahlord 9bf26d19fa Core/Spells: Divine Purpose will no longer get consumed by Divine Storm 2020-08-31 18:18:54 +02:00
Ovahlord d57332ca5d Core/Spells: Selfless Healer's damage bonus will now scale with the amount of holy power 2020-08-31 18:06:15 +02:00
Ovahlord 3eee6f3559 Scripts/DM: ensure that Helix' vehicle aura is no longer present on players after a wipe 2020-08-31 13:07:22 +02:00
Ovahlord 32cf373719 Core/Spells: updated Focus Magic spell script to Cataclysm 2020-08-30 17:28:32 +02:00
Ovahlord aba4da0898 Core/Spells: revert ec997a4715 and apply stricter rules to avoid unwanted behaivior 2020-08-30 14:30:55 +02:00
Ovahlord ec997a4715 Core/Spells: revert SPELL_ATTR5_INCLUDE_MELEE_RANGE naming since all non-generic aoe spells are suposed to use hitbox sums instead 2020-08-30 14:17:01 +02:00
Ovahlord 2db08bb0e0 Scripts/BWD: Magmaw's Ignition fire dummy npcs will now move in circles with their correct radius value and corrected the amount of steps 2020-08-30 13:08:46 +02:00
Ovahlord 8e339ba164 Scripts/BWD: Lord Victor Nefarius will now manipulate the abilities of any Omnotron golem with a cooldown instead of always picking the longest active golem 2020-08-30 12:48:35 +02:00
Ovahlord ce5d28617d Core/Packets: converted CMSG_GENERATE_RANDOM_CHARACTER_NAME, SMSG_GENERATE_RANDOM_CHARACTER_NAME_RESULT, CMSG_CHAR_DELETE, SMSG_CREATE_CHAR, SMSG_DELETE_CHAR and CMSG_PLAYER_LOGIN to packet class 2020-08-30 02:23:39 +02:00
Ovahlord 62a96c8f30 Core/AI: SortByDistance will now sort the referenced list instead of a copy of it. This fixes MinDistance and MaxDistance target selection 2020-08-30 00:15:35 +02:00
Ovahlord 94ad82b4e1 Core/Spells: fixed several miss chance calculations in melee and spell hit result calculations 2020-08-30 00:14:42 +02:00
Ovahlord 27bbba32aa Core/Spells:
* fixed Protector of the Innocent talent
* fixed Tower of Radiance talent
* fixed Blessed Life talent
* fixed Gift of the Earthmother Rejuvenation instant heal effect
2020-08-29 21:33:16 +02:00
Giacomo Pozzoni 6a8ecc3ee3 Core/Misc: Fix issues reported by static analysis (#25351)
* Core/Misc: Fix issues reported by static analysis

* Core/Vmaps: Code cleanup after e777161888
# Conflicts:
#	src/common/Collision/DynamicTree.cpp
#	src/server/game/Entities/Object/Object.cpp
#	src/server/game/World/World.cpp
2020-08-29 13:49:21 +02:00
Ovahlord 85018f9421 Core/Spells: fixed name clash between local variables and class member corpseTarget 2020-08-29 13:15:43 +02:00
Ovahlord b85168975f fixed a warning 2020-08-29 11:43:24 +02:00
kvipka e6e20bd574 Scripts/InstanceScript: Fix an issue where LoadAllGrids would load creatures before TeamInInstance was properly set (PR #25340)
# Conflicts:
#	src/server/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp
2020-08-29 00:48:20 +02:00
Shauren bdb6705911 Core/Misc: Use "proper" type for respawn info map key 2020-08-29 00:47:28 +02:00
Ovahlord bb5e8a11b7 Core/Creatures: initialize LeaderGUID in FormationInfo struct 2020-08-29 00:45:16 +02:00
Ovahlord 9d345f0d87 Core/Creatures: creature groups no longer unnecessarily throw their data on the heap and formations now support inversing angles when waypoint Ids are 0 2020-08-28 23:02:05 +02:00
Ovahlord 89fdfd5d7f Core/Spells: corrected Furor behaivior and fixed an exploit that was allowing druids to get full energy when turning into cat form 2020-08-28 15:51:29 +02:00
Warpten 2b2fc5fb8a Core/Spells: remove PrepareSpellScript and PrepareAuraScript macros and make Hooklist use emplace behaivior (#174) 2020-08-28 15:40:26 +02:00
Ovahlord 677990a1b8 Core/Spells: removed more unused parameters for 4.x since SPELL_AURA_MOD_CRIT_PERCENT_VERSUS is not used at all 2020-08-28 12:20:35 +02:00
Ovahlord dccd460088 Core/Spells: corrected Shatter bonus logic and fixed another warning 2020-08-28 12:10:53 +02:00
Ovahlord 74b44c91a7 fixed warnings 2020-08-28 11:54:53 +02:00
Ovahlord 25c980c390 Core/Units: ported spell crit chance updates from 335 branch 2020-08-28 11:46:07 +02:00
Ovahlord afba1ba347 Core/Quests: launch gossips on rewarding quests only when the corresponding quest flag is present 2020-08-27 23:22:28 +02:00
Ovahlord 30e787d5a4 Core/Player: update agility dodge coefficients 2020-08-27 21:41:21 +02:00
Ovahlord 4ab66b1462 Core/Units: added crit chance supression
According to blueposts and wikis, there is a supression to crit chances if the target is having a higher level than the attacker. Each level that the target is above the one of the attacker, the crit chance is reduced by 1%. Though this number is solely based on bluepost data so this needs extensive testing since fan made calculations point more towards 0.7%.
2020-08-27 17:00:00 +02:00
Ovahlord 6e257a5123 Core/Spells: Warrior's Deep Wounds periodic damage is now based on normalized weapon damage and will only use the mainhand weapon as reference 2020-08-25 15:18:44 +02:00
Roc13x 0d95ea24bc Core/Command: Make new access take effect immediately on GM level change 2020-08-24 23:49:47 +02:00