From 102a7cb6cd79749030bd76bf26edc651e241f22b Mon Sep 17 00:00:00 2001 From: Toby Date: Wed, 13 Jan 2021 13:28:58 +0000 Subject: [PATCH] Fixed several skill bugs --- Dragon Ball Universe/DragonBallV2.css | 8 +- Dragon Ball Universe/DragonBallV2.html | 100 ++++++++++++++----------- 2 files changed, 64 insertions(+), 44 deletions(-) diff --git a/Dragon Ball Universe/DragonBallV2.css b/Dragon Ball Universe/DragonBallV2.css index ce2c76491e..ee36e0c38a 100644 --- a/Dragon Ball Universe/DragonBallV2.css +++ b/Dragon Ball Universe/DragonBallV2.css @@ -187,7 +187,11 @@ button[type="roll"].sheet-attack-button{ grid-area: ccol1; justify-content: center; } - +.sheet-saves{ + display: grid; + grid-template-areas: + 'save1 save2 save3 save4'; +} .sheet-custom-attack-table{ display: grid; border: 2px solid rgb(156, 155, 155); @@ -306,7 +310,7 @@ button[type="roll"].sheet-attack-button{ .sheet-attacks{ background-image: url(https://i.pinimg.com/564x/cf/db/99/cfdb99728dfe48c17957810e9c65f23a.jpg); - background-position: center top; + background-position: center; background-repeat: no-repeat; background-color: rgb(38, 44, 58); text-align: center; diff --git a/Dragon Ball Universe/DragonBallV2.html b/Dragon Ball Universe/DragonBallV2.html index c454a2d903..5f486e02ab 100644 --- a/Dragon Ball Universe/DragonBallV2.html +++ b/Dragon Ball Universe/DragonBallV2.html @@ -35,7 +35,23 @@ if(!changed){ if(pl<5){ setAttrs({ - "hidden_power":"0" + "hidden_power":"1d0" + }); + }else if(pl<10){ + setAttrs({ + "hidden_power":"1d4" + }); + }else if(pl<15){ + setAttrs({ + "hidden_power":"1d6" + }); + }else if(pl<20){ + setAttrs({ + "hidden_power":"1d8" + }); + }else if(pl<25){ + setAttrs({ + "hidden_power":"1d10" }); }; }; @@ -264,7 +280,7 @@
-
+
@@ -342,30 +358,30 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
@@ -381,7 +397,8 @@

Soak / Modifier:

Dodge

-

Hit Modifier:

Wound Modifier:

+

Hit Modifier:

Wound Modifier:

+
\ No newline at end of file +