Fix for bot compile

This commit is contained in:
KimLS 2013-07-13 13:53:13 -07:00
parent bdc83f4f37
commit 485fc2b2b7

View File

@ -3337,7 +3337,7 @@ void Bot::DoMeleeSkillAttackDmg(Mob* other, uint16 weapon_damage, SkillType skil
ApplyMeleeDamageBonus(skillinuse, damage); ApplyMeleeDamageBonus(skillinuse, damage);
damage += other->GetAdditionalDamage(this, 0, true, skillinuse); damage += other->GetAdditionalDamage(this, 0, true, skillinuse);
damage += (itembonuses.HeroicSTR / 10) + (damage * other->GetSkillDmgTaken(skillinuse) / 100) + GetSkillDmgAmt(skillinuse); damage += (itembonuses.HeroicSTR / 10) + (damage * other->GetSkillDmgTaken(skillinuse) / 100) + GetSkillDmgAmt(skillinuse);
TryCriticalHit(other, skillinuse, damage, opts); TryCriticalHit(other, skillinuse, damage, nullptr);
} }
} }
@ -4124,7 +4124,7 @@ void Bot::PetAIProcess() {
//aa_chance += botPet->GetOwner()->GetAA(aaCompanionsAlacrity) * 3; //aa_chance += botPet->GetOwner()->GetAA(aaCompanionsAlacrity) * 3;
if (MakeRandomInt(1, 100) < aa_chance) if (MakeRandomInt(1, 100) < aa_chance)
Flurry(); Flurry(nullptr);
} }
// Ok now, let's check pet's offhand. // Ok now, let's check pet's offhand.