mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
* Add: Shadowfiend damage and spellpower scaling, this will need feedback (are the numbers correct?)
Closes issue #129 - Patch by Kaelima --HG-- branch : trunk
This commit is contained in:
@@ -956,6 +956,19 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
|
||||
SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel * 4 + petlevel));
|
||||
break;
|
||||
}
|
||||
case 19668: // Shadowfiend
|
||||
{
|
||||
if (!pInfo)
|
||||
{
|
||||
SetCreateMana(28 + 10*petlevel);
|
||||
SetCreateHealth(28 + 30*petlevel);
|
||||
}
|
||||
int32 bonus_dmg = (int32(m_owner->SpellBaseDamageBonus(SPELL_SCHOOL_MASK_SHADOW)* 0.3f));
|
||||
SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float((petlevel * 4 - petlevel) + bonus_dmg));
|
||||
SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float((petlevel * 4 + petlevel) + bonus_dmg));
|
||||
|
||||
break;
|
||||
}
|
||||
case 19833: //Snake Trap - Venomous Snake
|
||||
{
|
||||
SetCreateHealth(uint32(107 * (petlevel - 40) * 0.025f));
|
||||
|
||||
Reference in New Issue
Block a user