This is obviously this is too complex codewise to implement;
Yakhmar killed: 3 piece bonus
Vistrix killed: 5 piece bonus
Kyllikki killed: 8 piece bonus
More realistically;
Add the 5 piece bonus for 30 relics with no kill requirements, and add the 3 piece bonus as a drop from Yakhmar.