The second iteration of 2v8 is now LIVE - find out more information here: https://forums.bhvr.com/dead-by-daylight/kb/articles/480-2v8-developer-update

I made a DBD Skillcheck machine

This snippet of Python will "trigger" a "Skillcheck" based on random odds. The odds here are 2/8 chances for a Skillcheck

Source:

#dbd skillcheck odds machine

#Importing modules

import random

from time import sleep

#Setting up odds and timer. 1 is skillcheck and 0 is not

odds= ["1", "0", "0", "0", "1", "0", "0", "0", "0", "0"]

#The Odds of a skillcheck/second is 2/8

timer= []

#Loop at 1/sec for 80 seconds

while (len(timer)) != 80:

  timer.append(len(timer))

  sleep(1)

  sc=random.choice(odds)

  if sc == "0":

    print ("You did not get a skillcheck")

     

  else:

    print ("You got a skillcheck")

Comments