mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[11395] minor code cleanup for spell 26275
This commit is contained in:
parent
dd0b464a87
commit
0f7aaa865a
2 changed files with 4 additions and 7 deletions
|
|
@ -6308,11 +6308,8 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
if(unitTarget->HasAura(spells[j], EFFECT_INDEX_0))
|
if(unitTarget->HasAura(spells[j], EFFECT_INDEX_0))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// select spell
|
|
||||||
uint32 iTmpSpellId = spells[urand(0,3)];
|
|
||||||
|
|
||||||
// cast
|
// cast
|
||||||
unitTarget->CastSpell(unitTarget, iTmpSpellId, true);
|
unitTarget->CastSpell(unitTarget, spells[urand(0,3)], true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case 26465: // Mercurial Shield - need remove one 26464 Mercurial Shield aura
|
case 26465: // Mercurial Shield - need remove one 26464 Mercurial Shield aura
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11394"
|
#define REVISION_NR "11395"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue