From 73facca44db00b6cfff9599341dbc8c2e375f405 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Fri, 15 Jan 2021 13:11:02 +0100 Subject: chore(spell_proc_event.md): update ppmRate (#374) --- docs/spell_proc_event.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/spell_proc_event.md b/docs/spell_proc_event.md index 734290f..c7e2f38 100644 --- a/docs/spell_proc_event.md +++ b/docs/spell_proc_event.md @@ -140,6 +140,11 @@ PROC_EX_NO_AURA_REFRESH | 1048576 | 0x0100000 | Proc if aura was not refreshed ### ppmRate Proc per minute. If 0 the value will be taken from DBC. +ppmRate is a rate and therefore will not be guaranteed to prox X amount of times per minute. ppm is calculated by this formula +``` +((WeaponSpeed * PPM) / 600.0f); // result is chance in percents (probability = Speed_in_sec * (PPM / 60)) +``` + ### CustomChance If non-zero, chance for spell to trigger. -- cgit