mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
Merge branch 'Development' of https://github.com/KayenEQ/Server into KayenEQ-Development
This commit is contained in:
+1
-5
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user