Merge branch 'Development' of https://github.com/KayenEQ/Server into KayenEQ-Development

This commit is contained in:
KimLS
2014-08-22 00:21:11 -07:00
3 changed files with 105 additions and 104 deletions
+1 -5
View File
@@ -1569,11 +1569,7 @@ void Mob::AI_Process() {
//Do Ranged attack here
if(doranged)
{
int attacks = GetSpecialAbilityParam(SPECATK_RANGED_ATK, 0);
attacks = attacks > 0 ? attacks : 1;
for(int i = 0; i < attacks; ++i) {
RangedAttack(target);
}
RangedAttack(target);
}
}