mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +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)
|
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)
|
case 7671: // Transformation (human<->worgen)
|
||||||
{
|
{
|
||||||
if (!unitTarget)
|
if (!unitTarget)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11141"
|
#define REVISION_NR "11142"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue