mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[7085] Restore work 12975 after client switch, patch by MaS0n
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
09659a0377
commit
31722c1c0c
2 changed files with 16 additions and 12 deletions
|
|
@ -721,12 +721,6 @@ void Spell::EffectDummy(uint32 i)
|
||||||
m_caster->CastCustomSpell(unitTarget, 12721, &deepWoundsDotBasePoints0, NULL, NULL, true, NULL);
|
m_caster->CastCustomSpell(unitTarget, 12721, &deepWoundsDotBasePoints0, NULL, NULL, true, NULL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case 12975: //Last Stand
|
|
||||||
{
|
|
||||||
int32 healthModSpellBasePoints0 = int32(m_caster->GetMaxHealth()*0.3);
|
|
||||||
m_caster->CastCustomSpell(m_caster, 12976, &healthModSpellBasePoints0, NULL, NULL, true, NULL);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
case 13120: // net-o-matic
|
case 13120: // net-o-matic
|
||||||
{
|
{
|
||||||
if(!unitTarget)
|
if(!unitTarget)
|
||||||
|
|
@ -1276,14 +1270,24 @@ void Spell::EffectDummy(uint32 i)
|
||||||
m_caster->SetPower(POWER_RAGE,0);
|
m_caster->SetPower(POWER_RAGE,0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(m_spellInfo->Id==21977) //Warrior's Wrath
|
switch(m_spellInfo->Id)
|
||||||
|
{
|
||||||
|
// Warrior's Wrath
|
||||||
|
case 21977:
|
||||||
{
|
{
|
||||||
if(!unitTarget)
|
if(!unitTarget)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_caster->CastSpell(unitTarget,21887,true); // spell mod
|
m_caster->CastSpell(unitTarget,21887,true); // spell mod
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// Last Stand
|
||||||
|
case 12975:
|
||||||
|
{
|
||||||
|
int32 healthModSpellBasePoints0 = int32(m_caster->GetMaxHealth()*0.3);
|
||||||
|
m_caster->CastCustomSpell(m_caster, 12976, &healthModSpellBasePoints0, NULL, NULL, true, NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case SPELLFAMILY_WARLOCK:
|
case SPELLFAMILY_WARLOCK:
|
||||||
// Life Tap
|
// Life Tap
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7084"
|
#define REVISION_NR "7085"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue