jordonwow / bigdebuffs

https://www.curseforge.com/wow/addons/bigdebuffs
46 stars 86 forks source link

Cataclysm: Bug; "Divine Shield" and "Divine Protection" under the same option point #727

Closed piddi19900 closed 5 months ago

piddi19900 commented 5 months ago

Hi,

If I select Divine Shield (immune against every damage) in the options, it shoes Divine Shild and Divine Protection at the target. Divine Protection (reduce dmg by 20%) needs to be seperated from Divine Shield as there are different attacks. Please also put Divine Protection in another section (from Immunity to Defense).

Thank you.

piddi19900 commented 5 months ago

I did it by my own, you just need to replace

"[642] = { type = IMMUNITY }, -- Divine Shield [498] = { parent = 642 },"

to:

"[642] = { type = IMMUNITY }, -- Divine Shield [498] = { type = BUFF_DEFENSIVE }, -- Divine Protection"

in the lua file.