0.5.6: Enemy gained duplicate barrier buffs by casting Elemental barrier

I didn’t think buffs could have duplicates.
Here’s the realm properties (End of Turn Cast)


Here’s a screenshot of the inspect command showing buffs

Here’s the battle history
KFirebrand+Concessio took 228.85M damage. (Realm)
Lich Hellcaster took 9.83B damage. (Live to Labor)
Lich Hellcaster was killed.
Forbidden Grimoire took 5.92M damage. (Bleed)
KFirebrand+Concessio took 218.05M damage. (Realm)
Forbidden Grimoire took 9.36B damage. (Live to Labor)
Forbidden Grimoire was killed.
Valkyrie Champion took 9.14M damage. (Bleed)
KFirebrand+Concessio took 211.38M damage. (Realm)
Valkyrie Champion took 9.07B damage. (Live to Labor)
Valkyrie Champion was killed.
KFirebrand+Concessio took 220.00M damage. (Realm)
Nix Creeper took 9.45B damage. (Live to Labor)
Nix Creeper was killed.
KFirebrand+Concessio took 201.73M damage. (Realm)
Monstrous Gargantuan took 8.66B damage. (Live to Labor)
Monstrous Gargantuan was killed.
Monstrous Gargantuan Can’t Act ( Frozen)
***** The enemy Monstrous Gargantuan casts Elemental Barrier. *****
Cinder Devil buffed: Barrier.
***** The enemy Monstrous Gargantuan casts Elemental Barrier. *****
Cinder Devil buffed: Barrier.
***** The enemy Monstrous Gargantuan casts Elemental Barrier. *****
Cinder Devil buffed: Barrier.
CClaw+Solace took 245.73M damage. (Realm)
***** Your CClaw+Solace is defending. *****
DRebel+Singularity took 279.06M damage. (Realm)
***** Your DRebel+Singularity is defending. *****
DCommand + PhBoon took 277.56M damage. (Realm)

Were you using the Defiler spec?

I changed to that spec and started casting elemental barrier.
That had another enemy gain 3 barrier buffs after I cast the spell a couple times. Not sure what triggered it.
The Tremor does have the Elemental Barrier spell as well.

Thanks for the info! I think this bug is caused by the Impiety perk.

Yep, just tried casting barrier on an enemy for a second time. It has 2 barriers now.