Added A Roll Modifier Picker
Currently the roll modifier is from -5 to + 50. This can be updated via values/mod.xml Change-Id: I32c5d7ed1c67e0d8bc1b1434025d14134f8bc583 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -13,6 +13,12 @@
|
||||
<NumberPicker
|
||||
android:id="@+id/d_Picker"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="20dip" />
|
||||
|
||||
<NumberPicker
|
||||
android:id="@+id/mod_Picker"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -15,7 +15,7 @@
|
||||
<RelativeLayout
|
||||
android:layout_width="0px"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" >
|
||||
android:layout_weight="2" >
|
||||
|
||||
<include
|
||||
android:id="@+id/die_selector"
|
||||
|
||||
63
ExaltedDice/res/values/mod.xml
Normal file
63
ExaltedDice/res/values/mod.xml
Normal file
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<string-array name="mods">
|
||||
<item>-5</item>
|
||||
<item>-4</item>
|
||||
<item>-3</item>
|
||||
<item>-2</item>
|
||||
<item>-1</item>
|
||||
<item>0</item>
|
||||
<item>+1</item>
|
||||
<item>+2</item>
|
||||
<item>+3</item>
|
||||
<item>+4</item>
|
||||
<item>+5</item>
|
||||
<item>+6</item>
|
||||
<item>+7</item>
|
||||
<item>+8</item>
|
||||
<item>+9</item>
|
||||
<item>+10</item>
|
||||
<item>+11</item>
|
||||
<item>+12</item>
|
||||
<item>+13</item>
|
||||
<item>+14</item>
|
||||
<item>+15</item>
|
||||
<item>+16</item>
|
||||
<item>+17</item>
|
||||
<item>+18</item>
|
||||
<item>+19</item>
|
||||
<item>+20</item>
|
||||
<item>+21</item>
|
||||
<item>+22</item>
|
||||
<item>+23</item>
|
||||
<item>+24</item>
|
||||
<item>+25</item>
|
||||
<item>+26</item>
|
||||
<item>+27</item>
|
||||
<item>+28</item>
|
||||
<item>+29</item>
|
||||
<item>+30</item>
|
||||
<item>+31</item>
|
||||
<item>+32</item>
|
||||
<item>+33</item>
|
||||
<item>+34</item>
|
||||
<item>+35</item>
|
||||
<item>+36</item>
|
||||
<item>+37</item>
|
||||
<item>+38</item>
|
||||
<item>+39</item>
|
||||
<item>+40</item>
|
||||
<item>+41</item>
|
||||
<item>+42</item>
|
||||
<item>+43</item>
|
||||
<item>+44</item>
|
||||
<item>+45</item>
|
||||
<item>+46</item>
|
||||
<item>+47</item>
|
||||
<item>+48</item>
|
||||
<item>+49</item>
|
||||
<item>+50</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
@@ -26,5 +26,6 @@
|
||||
<string name="roll_again_summary">Rolls the with the same presets as the selected roll from history</string>
|
||||
<string name="calc_successes">Calculate Successes</string>
|
||||
<string name="calc_successes_summary">Calculates the total amount of success for each roll</string>
|
||||
<string name="total_plus_mod">\nTotal + Mod: </string>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user