Fixed rppm proc chance calculation

This commit is contained in:
hondacrx
2017-11-25 16:41:46 -05:00
parent 4c6fb27054
commit df19975fea
+3 -1
View File
@@ -1799,9 +1799,11 @@ namespace Game.Spells
}
}
bool success = RandomHelper.randChance(CalcProcChance(procEntry, eventInfo));
SetLastProcAttemptTime(now);
if (RandomHelper.randChance(CalcProcChance(procEntry, eventInfo)))
if (success)
return procEffectMask;
return 0;