mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
fix(Scripts/Spell): 52308 Sample container clears Hydra Sputum (#23955)
This commit is contained in:
@@ -1308,6 +1308,7 @@ class spell_q12683_take_sputum_sample : public SpellScript
|
|||||||
{
|
{
|
||||||
uint32 spellId = GetSpellInfo()->Effects[EFFECT_0].CalcValue();
|
uint32 spellId = GetSpellInfo()->Effects[EFFECT_0].CalcValue();
|
||||||
caster->CastSpell(caster, spellId, true, nullptr);
|
caster->CastSpell(caster, spellId, true, nullptr);
|
||||||
|
caster->RemoveAurasDueToSpell(reqAuraId); // consuming the sample clears Hydra Sputum
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user