Update main.swift

removed unnecessary debugging comments
This commit is contained in:
Burnus 2021-02-14 11:27:50 +01:00 committed by GitHub
parent 9597f59174
commit 62bb38a43d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -215,21 +215,3 @@ func main() {
} }
} }
} }
/* * *
* Debugging Calls
*
for i in (-1...21) {
print ("\(i): \(getACforCR(CR: i))")
}
*
let dieRolls=["2d3", "4d6+3", "2d12-3", "23", "2d12+3-6", "+0", "d2d3"]
for r in dieRolls {print("\(r) will yield \(parseDice(rollArray: [r])).")}
*
var thisCheck = checkRoll()
for i in (0...40) {
thisCheck.DC = i
print("d20+\(thisCheck.modifier): \(100*thisCheck.getProbToHit()) % to hit DC \(thisCheck.DC).")
print("d20+\(thisCheck.modifier): \(100*thisCheck.getProbToCrit()) % to crit DC \(thisCheck.DC).")
}
* * */