mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[8691] fix battleground spiritguides
they are now alive and so some spellchecks got invalid
This commit is contained in:
parent
20e8982075
commit
ac6e13d0e3
3 changed files with 2 additions and 5 deletions
|
|
@ -3930,7 +3930,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
|||
if(m_spellInfo->TargetAuraStateNot && target->HasAuraState(AuraState(m_spellInfo->TargetAuraStateNot)))
|
||||
return SPELL_FAILED_TARGET_AURASTATE;
|
||||
|
||||
if (IsDeathOnlySpell(m_spellInfo) && target->isAlive())
|
||||
if (!m_IsTriggeredSpell && IsDeathOnlySpell(m_spellInfo) && target->isAlive())
|
||||
return SPELL_FAILED_TARGET_NOT_DEAD;
|
||||
|
||||
// Target aura req check if need
|
||||
|
|
|
|||
|
|
@ -6265,9 +6265,6 @@ void Aura::HandleSchoolAbsorb(bool apply, bool Real)
|
|||
|
||||
void Aura::PeriodicTick()
|
||||
{
|
||||
if (!m_target->isAlive() != IsDeathOnlySpell(GetSpellProto()))
|
||||
return;
|
||||
|
||||
switch(m_modifier.m_auraname)
|
||||
{
|
||||
case SPELL_AURA_PERIODIC_DAMAGE:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8690"
|
||||
#define REVISION_NR "8691"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue