vmangos / core

Progressive Vanilla Core aimed at all versions from 1.2 to 1.12
GNU General Public License v2.0
646 stars 529 forks source link

🦂 [Bug] Hunters can earn money by constantly killing bosses in the Scarlet Abbey Cathedral #2677

Open fangshun2004 opened 2 weeks ago

fangshun2004 commented 2 weeks ago

🦂 Bug report - Dungeon

The Hunter only needs to kill Mograine, or one of the 2 bosses in Whitemane. Pick up equipment -- Fake Death After leaving the fight, wait for the boss to respawn

Expected behavior

Blizzard servers. When out of battle if Mograine dies and Whitemane is alive, Whitemayne will be reborn with the gates closed. Players cannot fight again outside the gate. If Whitemane dies, Mograine is alive. When out of combat, Mograini will be destroyed. When both survive out of the fight, both bosses respawn

Steps to reproduce

1. 2. 3.

  1. ...
  2. Profit

Version & Environment

Client Version: 1.12.1.5875

Commit Hash:
ff2b96d

OS Client: windows10 OS Server:

Crashlog

fangshun2004 commented 2 weeks ago

The problem is that in lines 213-220 there is no need to die and respawn

1.                 if (Creature* pWhitemane = GetCreature(m_uiWhitemaneGUID)) 
2.                      if (pWhitemane->IsDead()) 
3.                          pWhitemane->Respawn(); 
4.   
5.                  if (Creature* pMograine = GetCreature(m_uiMograineGUID)) 
6.                  { 
7.                      if (pMograine->IsDead()) 
8.                          pMograine->Respawn();