COF e15 update
This commit is contained in:
parent
b92bc0cbf9
commit
5abfc03555
@ -466,8 +466,7 @@ class Dice(commands.Cog):
|
|||||||
'#heading=h.7oj0v3t1kc6o'
|
'#heading=h.7oj0v3t1kc6o'
|
||||||
|
|
||||||
if args:
|
if args:
|
||||||
if args[0][:2].upper() == '1B' or args[0][:2].upper() == '2B' or args[0][:2].upper() == '3B' \
|
if args[0][:2].upper() in ['1B', '2B', '3B', 'SS']:
|
||||||
or args[0][:2].upper() == 'SS':
|
|
||||||
x_chart = 'https://sombaseball.ddns.net/static/images/season04/range-infield.png'
|
x_chart = 'https://sombaseball.ddns.net/static/images/season04/range-infield.png'
|
||||||
|
|
||||||
# Build range note
|
# Build range note
|
||||||
@ -735,7 +734,7 @@ class Dice(commands.Cog):
|
|||||||
error_note = '2-base error for e10, e12, e28 -> e32, e48, e84\n' \
|
error_note = '2-base error for e10, e12, e28 -> e32, e48, e84\n' \
|
||||||
'1-base error for e2, e5, e7, e23, e27'
|
'1-base error for e2, e5, e7, e23, e27'
|
||||||
|
|
||||||
elif args[0][:2].upper() == 'LF' or args[0][:2].upper() == 'RF' or args[0][:2].upper() == 'CF':
|
elif args[0][:2].upper() in ['LF', 'CF', 'RF']:
|
||||||
x_chart = 'https://sombaseball.ddns.net/static/images/season04/range-outfield.png'
|
x_chart = 'https://sombaseball.ddns.net/static/images/season04/range-outfield.png'
|
||||||
|
|
||||||
# Build range note
|
# Build range note
|
||||||
@ -810,7 +809,7 @@ class Dice(commands.Cog):
|
|||||||
'--------F3---------\n' \
|
'--------F3---------\n' \
|
||||||
'```\n\n'
|
'```\n\n'
|
||||||
|
|
||||||
if args[0][:2].upper() == 'LF' or args[0][:2].upper() == 'RF':
|
if args[0][:2].upper() in ['LF', 'RF']:
|
||||||
error_chart += 'corner-outfield.png'
|
error_chart += 'corner-outfield.png'
|
||||||
|
|
||||||
if error_dice == 18:
|
if error_dice == 18:
|
||||||
@ -854,7 +853,7 @@ class Dice(commands.Cog):
|
|||||||
f'**DO3**: {OUTFIELD_X_CHART["do3"]["rp"]}\n' \
|
f'**DO3**: {OUTFIELD_X_CHART["do3"]["rp"]}\n' \
|
||||||
f'**TR3**: {OUTFIELD_X_CHART["tr3"]["rp"]}\n'
|
f'**TR3**: {OUTFIELD_X_CHART["tr3"]["rp"]}\n'
|
||||||
elif error_dice == 4:
|
elif error_dice == 4:
|
||||||
error_note = '2-base error for e13, e16, e20, e23 -> e25\n' \
|
error_note = '2-base error for e13, e15, e20, e23 -> e25\n' \
|
||||||
'1-base error for e4 -> e6, e10 -> 12, e16 -> e18'
|
'1-base error for e4 -> e6, e10 -> 12, e16 -> e18'
|
||||||
elif error_dice == 3:
|
elif error_dice == 3:
|
||||||
error_note = '3-base error for e8 -> e12, e24, e25\n' \
|
error_note = '3-base error for e8 -> e12, e24, e25\n' \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user