The-Cataclysm-Preservation-Project / TrinityCore

Archived repository for WoW 4.3.4.15595. The project will be reworked for Cataclysm Classic as an official new branch of TrinityCore at https://github.com/TrinityCore/TrinityCore
GNU General Public License v2.0
238 stars 100 forks source link

Game - Shaman Totems in Duels #87

Open Core002 opened 4 years ago

Core002 commented 4 years ago

Description:

Shaman Totems are currently friendly during /duels with players of the same faction, thus not attacking the target, etc.

Current behaviour:

Shaman Totems are currently friendly during /duels with players of the same faction, thus not attacking the target, etc.

Expected behaviour:

Summoning a totem during any duel should go hostile towards that player when the duel begins.

Steps to reproduce the problem:

  1. Create a Shaman.
  2. Create another character of the same faction.
  3. Cast any or all Totem(s).

TC rev. hash/commit: TrinityCore rev. 04b99ab8ac2f0730a7e652945daac1c5e5211175

TDB version:
434.20021

Operating system: Win 10 (x64)

gtestdev commented 2 years ago

Shouldn't totems have the UNIT_FLAG_PLAYER_CONTROLLED? this is quite an annoying problem also totems can't attack certain NPC like Training Dummies and same with elemental totems (earth and fire) don't have UNIT_FLAG_PLAYER_CONTROLLED

Maybe related with https://github.com/The-Cataclysm-Preservation-Project/TrinityCore/commit/d30c811d9e6ebf456604f3707cd65a55c40b2546 ?