mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11142] Implement dummy effect for spell [3360]
Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
parent
f4e8c3d679
commit
4483cbc06d
2 changed files with 11 additions and 1 deletions
|
|
@ -769,6 +769,16 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
{
|
||||
switch(m_spellInfo->Id)
|
||||
{
|
||||
case 3360: // Curse of the Eye
|
||||
{
|
||||
if(!unitTarget)
|
||||
return;
|
||||
|
||||
uint32 spell_id = (unitTarget->getGender() == GENDER_MALE) ? 10651: 10653;
|
||||
|
||||
m_caster->CastSpell(unitTarget, spell_id, true);
|
||||
return;
|
||||
}
|
||||
case 7671: // Transformation (human<->worgen)
|
||||
{
|
||||
if (!unitTarget)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue