|
@@ -4085,35 +4085,27 @@ def grind_turn():
|
4085
|
4085
|
if own['gt_cd2'] == 51:
|
4086
|
4086
|
#print('outforce')
|
4087
|
4087
|
if STANCE == False:
|
4088
|
|
- print("applying force1")
|
4089
|
4088
|
own.applyForce([-200, 0, 0], True)
|
4090
|
4089
|
own['stance'] = True
|
4091
|
4090
|
STANCE = True
|
4092
|
4091
|
if STANCE == True:
|
4093
|
|
- print("applying force2")
|
4094
|
4092
|
own.applyForce([200, 0, 0], True)
|
4095
|
4093
|
own['stance'] = False
|
4096
|
4094
|
STANCE = False
|
4097
|
4095
|
if own['grind_out_type'] == 'bs reg back' or own['grind_out_type'] == 'bs fak forward':
|
4098
|
4096
|
if own['gt_cd2'] > 50:
|
4099
|
4097
|
if STANCE == True:
|
4100
|
|
- print("applying force3")
|
4101
|
4098
|
own.applyForce([bsforce, 0, 0], True)
|
4102
|
4099
|
if STANCE == False:
|
4103
|
|
- print("applying force4")
|
4104
|
4100
|
own.applyForce([bsforce, 0, 0], True)
|
4105
|
|
- own.applyMovement([bs_dloc,0,0], True)
|
4106
|
|
- print("applying movement1")
|
|
4101
|
+ own.applyMovement([bs_dloc,0,0], True)
|
4107
|
4102
|
if own['grind_out_type'] == 'bs fak back' or own['grind_out_type'] == 'bs reg forward':
|
4108
|
4103
|
if own['gt_cd2'] > 50:
|
4109
|
4104
|
if STANCE == True:
|
4110
|
|
- print("applying force5")
|
4111
|
4105
|
own.applyForce([-bsforce, 0, 0], True)
|
4112
|
4106
|
if STANCE == False:
|
4113
|
|
- print("applying force6")
|
4114
|
4107
|
own.applyForce([-bsforce, 0, 0], True)
|
4115
|
|
- own.applyMovement([-bs_dloc,0,0], True)
|
4116
|
|
- print("applying movement2")
|
|
4108
|
+ own.applyMovement([-bs_dloc,0,0], True)
|
4117
|
4109
|
|
4118
|
4110
|
if own['gt_cd2'] > 0:
|
4119
|
4111
|
own['gt_cd2'] -= 1
|