aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/zone/zulaman/boss_nalorakk.cpp16
-rw-r--r--src/game/Pet.cpp2
-rw-r--r--src/game/Unit.cpp2
3 files changed, 5 insertions, 15 deletions
diff --git a/src/bindings/scripts/scripts/zone/zulaman/boss_nalorakk.cpp b/src/bindings/scripts/scripts/zone/zulaman/boss_nalorakk.cpp
index 44e68f0dfbf..844e4a6c0ce 100644
--- a/src/bindings/scripts/scripts/zone/zulaman/boss_nalorakk.cpp
+++ b/src/bindings/scripts/scripts/zone/zulaman/boss_nalorakk.cpp
@@ -467,25 +467,13 @@ struct TRINITY_DLL_DECL boss_nalorakkAI : public ScriptedAI
else {
if(LaceratingSlash_Timer < diff)
{
- if(!m_creature->getVictim()->HasAura(SPELL_MANGLEEFFECT, 0))
- DoCast(m_creature->getVictim(), SPELL_LACERATINGSLASH);
- else
- {
- int32 bp0 = 3470;
- m_creature->CastCustomSpell(m_creature->getVictim(), SPELL_LACERATINGSLASH, &bp0, NULL, NULL, false);
- }
+ DoCast(m_creature->getVictim(), SPELL_LACERATINGSLASH);
LaceratingSlash_Timer = 18000 + rand()%5000;
}else LaceratingSlash_Timer -= diff;
if(RendFlesh_Timer < diff)
{
- if(!m_creature->getVictim()->HasAura(SPELL_MANGLEEFFECT, 0))
- DoCast(m_creature->getVictim(), SPELL_RENDFLESH);
- else
- {
- int32 bp1 = 4670;
- m_creature->CastCustomSpell(m_creature->getVictim(), SPELL_RENDFLESH, NULL, &bp1, NULL, false);
- }
+ DoCast(m_creature->getVictim(), SPELL_RENDFLESH);
RendFlesh_Timer = 5000 + rand()%5000;
}else RendFlesh_Timer -= diff;
diff --git a/src/game/Pet.cpp b/src/game/Pet.cpp
index 72d9f725a3b..d42ab2af746 100644
--- a/src/game/Pet.cpp
+++ b/src/game/Pet.cpp
@@ -1165,7 +1165,7 @@ bool Pet::InitStatsForLevel(uint32 petlevel)
SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel + (petlevel / 4)));
break;
case 15438: //fire elemental
- SetCreateHealth(30 + 40*petlevel);
+ SetCreateHealth(40*petlevel);
SetCreateMana(28 + 10*petlevel);
SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel * 4 - petlevel));
SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel * 4 + petlevel));
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index a9c822bddec..a079964ce3e 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -8606,8 +8606,10 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
TakenTotalMod *= (mod+100.0f)/100.0f;
}
break;
+ //This is changed in WLK, using aura 255
//Mangle
case 2312:
+ case 44955:
for(int j=0;j<3;j++)
{
if(GetEffectMechanic(spellProto, j)==MECHANIC_BLEED)