Skip to content

Commit

Permalink
fix 107% completion
Browse files Browse the repository at this point in the history
  • Loading branch information
bucketfish committed Feb 23, 2023
1 parent 5f50666 commit 8fc8c45
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
10 changes: 4 additions & 6 deletions base.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -2769,16 +2769,15 @@ anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 60.0
margin_top = 600.0
margin_right = 774.0
margin_bottom = 840.0
margin_right = 10.0
margin_bottom = 240.0
grow_horizontal = 2
grow_vertical = 0
alignment = 2

[node name="name" type="Label" parent="gui/boss/VBoxContainer"]
margin_top = 72.0
margin_right = 2242.0
margin_right = 3006.0
margin_bottom = 159.0
custom_colors/font_color = Color( 0.843137, 0.921569, 0.729412, 1 )
custom_colors/font_color_shadow = Color( 0.494118, 0.678431, 0.45098, 1 )
Expand All @@ -2803,7 +2802,7 @@ autowrap = true

[node name="HBoxContainer" type="HBoxContainer" parent="gui/boss/VBoxContainer"]
margin_top = 200.0
margin_right = 2242.0
margin_right = 3006.0
margin_bottom = 240.0
custom_constants/separation = 50

Expand Down Expand Up @@ -3660,7 +3659,6 @@ centered = false
position = Vector2( 403, 261 )
scale = Vector2( 0.5, 0.5 )
frames = SubResource( 46 )
frame = 1
playing = true
centered = false

Expand Down
7 changes: 3 additions & 4 deletions functions.gd
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ func get_room_percent():
if Persistent.places[room] == []:
if !(room in Persistent.genbosses):
room_count += 1
else:
if Persistent.genbosses[room]["alive"] == false:
room_count += 1
elif Persistent.genbosses[room]["alive"] == false:
room_count += 1

return "%03.1f%%" % ((float(room_count) / 411) * 100)
return "%03.1f%%" % ((float(room_count) / 441) * 100)


func make_time(timetaken):
Expand Down

0 comments on commit 8fc8c45

Please sign in to comment.