From 11e017ccb9206e2015c00ba0980306abe0867c6a Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Mon, 25 Jul 2016 16:37:27 -0400 Subject: [PATCH] Fix bard mod in PP for UF --- common/patches/uf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/patches/uf.cpp b/common/patches/uf.cpp index a65e9cef0..80a266ebe 100644 --- a/common/patches/uf.cpp +++ b/common/patches/uf.cpp @@ -1871,17 +1871,17 @@ namespace UF { if (emu->buffs[r].spellid != 0xFFFF && emu->buffs[r].spellid != 0) { - eq->buffs[r].bard_modifier = 1.0f; + eq->buffs[r].bard_modifier = 1.0f + (emu->buffs[r].bard_modifier - 10) / 10.0f; eq->buffs[r].effect_type= 2; eq->buffs[r].player_id = 0x000717fd; } else { eq->buffs[r].effect_type = 0; + eq->buffs[r].bard_modifier = 1.0f; } OUT(buffs[r].effect_type); OUT(buffs[r].level); - OUT(buffs[r].bard_modifier); OUT(buffs[r].unknown003); OUT(buffs[r].spellid); OUT(buffs[r].duration);