mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11802] Implement quest-credit for spell 51858
Note: Many other dummy spells should work the same, please inform about them Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
46e869a454
commit
2baf5f8c6e
2 changed files with 11 additions and 1 deletions
|
|
@ -2141,6 +2141,16 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
|
||||
return;
|
||||
}
|
||||
case 51858: // Siphon of Acherus
|
||||
{
|
||||
if (!m_originalCaster || !unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||
return;
|
||||
|
||||
if (Player* pPlayer = m_originalCaster->GetCharmerOrOwnerPlayerOrPlayerItself())
|
||||
pPlayer->KilledMonsterCredit(unitTarget->GetEntry(), unitTarget->GetObjectGuid());
|
||||
|
||||
return;
|
||||
}
|
||||
case 52308: // Take Sputum Sample
|
||||
{
|
||||
switch(eff_idx)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11801"
|
||||
#define REVISION_NR "11802"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue