mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
fix(Core/Spells): Hunter snake trap damage (#16326)
This commit is contained in:
@@ -1124,11 +1124,11 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
|
||||
SetModifierValue(UNIT_MOD_MANA, BASE_VALUE, GetCreateMana());
|
||||
|
||||
// xinef: added some multipliers so debuffs can affect pets in any way...
|
||||
SetCreateStat(STAT_STRENGTH, 22 + 2 * petlevel);
|
||||
SetCreateStat(STAT_AGILITY, 22 + 1.5f * petlevel);
|
||||
SetCreateStat(STAT_STAMINA, 25 + 2 * petlevel);
|
||||
SetCreateStat(STAT_INTELLECT, 28 + 2 * petlevel);
|
||||
SetCreateStat(STAT_SPIRIT, 27 + 1.5f * petlevel);
|
||||
SetCreateStat(STAT_STRENGTH, 22);
|
||||
SetCreateStat(STAT_AGILITY, 22);
|
||||
SetCreateStat(STAT_STAMINA, 25);
|
||||
SetCreateStat(STAT_INTELLECT, 28);
|
||||
SetCreateStat(STAT_SPIRIT, 27);
|
||||
}
|
||||
|
||||
switch (petType)
|
||||
@@ -1348,6 +1348,14 @@ bool Guardian::InitStatsForLevel(uint8 petlevel)
|
||||
SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel + (petlevel / 4)));
|
||||
break;
|
||||
}
|
||||
case NPC_VENOMOUS_SNAKE:
|
||||
SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(petlevel * 0.7 - 38));
|
||||
SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(petlevel * 0.8 - 40));
|
||||
break;
|
||||
case NPC_VIPER:
|
||||
SetBaseWeaponDamage(BASE_ATTACK, MINDAMAGE, float(1.3 * petlevel - 64));
|
||||
SetBaseWeaponDamage(BASE_ATTACK, MAXDAMAGE, float(1.5 * petlevel - 68));
|
||||
break;
|
||||
case NPC_GENERIC_IMP:
|
||||
case NPC_GENERIC_VOIDWALKER:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user