This is in Shattered Pixel Dungeon. Went into the shop after getting enough money to buy the Ankh and was followed by a bat. Without paying attention I fought the bat and my shocking sword’s ability went off twice, bouncing into the shopkeep and making him leave. Maybe I’m just a bit salty and it’s my fault for not paying attention to the first hit/warning from the shopkeep, but I don’t think the shocking sword enchantment should threaten the shopkeep like that.
No fightin in da shoppe!
Shopkeeper probably.
Seriously though, never fight anything in the shop, just kite enemies, get away, finish them outside.
It’s fine if you get a few blows from a faster enemy Careful with scrolls that affect all visible creatures too.