From 1da33f59f386cb33be7264a692fdff5443cbe653 Mon Sep 17 00:00:00 2001 From: ferricles Date: Wed, 6 Jan 2021 08:21:55 -0800 Subject: [PATCH] basic constructor in build --- build.js | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/build.js b/build.js index c0c1bae..945da34 100644 --- a/build.js +++ b/build.js @@ -11,10 +11,16 @@ function skillPointsToPercentage(skp){ } -for (i = 0; i < 151; i++) { - console.log(i, ", ",skillPointsToPercentage(i)); -} - class Build{ - + constructor(helmet,chestplate,leggings,boots,ring1,ring2,bracelet,necklace,level){ + this.helmet = helmet; + this.chestplate = chestplate; + this.leggings = leggings; + this.boots = boots; + this.ring1 = ring1; + this.ring2 = ring2; + this.bracelet = bracelet; + this.necklace = necklace; + this.level = level; + } } \ No newline at end of file