File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed
Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 149149 </Button >
150150 </Border >
151151
152- <!-- Custom -->
153- <StackPanel >
154- <Label Content =" Custom Level:"
152+ <Label Content =" Custom Level:"
155153 Padding =" 0,5" />
156154
157- <TextBox BorderThickness =" 0"
155+ <TextBox BorderThickness =" 0"
158156 BorderBrush =" #362f2d"
159157 Text =" {Binding CustomLevel}"
160158 Height =" 30"
165163 Background =" #3F362F2D"
166164 Foreground =" #362f2d" />
167165
168- <Border Margin =" 0,5" >
169- <Button Content =" ⬛ Set Custom Level"
166+ <Border Margin =" 0,5" >
167+ <Button Content =" ⬛ Set Custom Level"
170168 Click =" ApplyCustomLevel" >
171- </Button >
172- </Border >
173- </StackPanel >
169+ </Button >
170+ </Border >
174171
175172 <!-- Selected Slot -->
176173 <Grid Margin =" 0,15,0,0" >
Original file line number Diff line number Diff line change 66 public class ExpCalculate : ICalculate
77 {
88 /// <summary>
9- /// Array of EXP that correspond to levels 1-99.
9+ /// Array of EXPs that correspond to levels 1-99.
1010 /// </summary>
1111 int [ ] expValues =
1212 {
@@ -29,7 +29,7 @@ public class ExpCalculate : ICalculate
2929 /// <returns>The EXP required for the provided level.</returns>
3030 public int Calculate ( int value )
3131 {
32- return expValues [ value - 0x1 ] ;
32+ return expValues [ value - 1 ] ;
3333 }
3434 }
3535}
You can’t perform that action at this time.
0 commit comments