Fixed rppm proc chance calculation
This commit is contained in:
@@ -1799,9 +1799,11 @@ namespace Game.Spells
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool success = RandomHelper.randChance(CalcProcChance(procEntry, eventInfo));
|
||||||
|
|
||||||
SetLastProcAttemptTime(now);
|
SetLastProcAttemptTime(now);
|
||||||
|
|
||||||
if (RandomHelper.randChance(CalcProcChance(procEntry, eventInfo)))
|
if (success)
|
||||||
return procEffectMask;
|
return procEffectMask;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user