bsuckers get their objectives and also limits thrallling to 1 per 10 levels

This commit is contained in:
CygnusB
2020-12-01 23:25:37 -03:00
parent 8c56e05f91
commit e9adea5d9f
2 changed files with 16 additions and 14 deletions
@@ -255,7 +255,7 @@
if(user.blood_volume < convert_cost + 5)
to_chat(user, "<span class='notice'>You don't have enough blood to initiate the Dark Communion with [target].</span>")
return
if(bloodsuckerdatum.count_vassals(user)*5 > bloodsuckerdatum.vamplevel)
if(!bloodsuckerdatum || bloodsuckerdatum.vassals.len * 10 > bloodsuckerdatum.vamplevel)
to_chat(user, "<span class='notice'>Your power is yet too weak to bring more vassals under your control....</span>")
return
// Prep...