Jump to content
Sign in to follow this  
voxlltv

Get zombies to drop perk books

Recommended Posts

I want zombies to start dropping perk books. Seems like this should be my code for my modlet for loot.xml, but I don't think it's working:

 

<append xpath="/lootcontainers/lootcontainer[@id='70']">
   <item group='perkBooks' prob='0.75'/>
</append>

<append xpath="/lootcontainers/lootcontainer[@id='71']">
   <item group='perkBooks' prob='0.75'/>
</append>

 

What am I doing wrong?

Share this post


Link to post
Share on other sites

Actually... I was assuming 0.75 was 75%, but I see other items in the EntityLootContainerRegular have a `prob` of 10 or 13, so that's probably why I'm not seeing the books drop. I'm going to try altering that number.

Share this post


Link to post
Share on other sites

Yeah I changed the prob to 13 and 2 perk books dropped right away.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...