Browse Source

anything?

shuvit 6 years ago
parent
commit
072e7d09a2
2 changed files with 5 additions and 4 deletions
  1. 1
    1
      co_ActionState.py
  2. 4
    3
      controller2.py

+ 1
- 1
co_ActionState.py View File

@@ -2738,7 +2738,7 @@ def main():
2738 2738
 ###################  
2739 2739
     
2740 2740
     #debug
2741
-    #print("rA:", requestAction, "|aS:", own['actionState'], "q", queueAction, own['actionTimer'])
2741
+    print("rA:", requestAction, "|aS:", own['actionState'], "q", queueAction, own['actionTimer'])
2742 2742
     cur_frame = skater.getActionFrame(trans_layer)
2743 2743
     #print(cur_frame)
2744 2744
     def printplaying():

+ 4
- 3
controller2.py View File

@@ -684,7 +684,8 @@ def stance():
684 684
     #print(flipping)
685 685
     #ground
686 686
     ground_since = own["framenum"] - own['lF_air_frame']
687
-    if r_ground.triggered == True and grindHit == False and flipping == False and own["wallride"] == None and own['revert_timer'] < 2 and ground_since > 40:
687
+    #if r_ground.triggered == True and grindHit == False and flipping == False and own["wallride"] == None and own['revert_timer'] < 2 and ground_since > 40:
688
+    if r_ground.triggered == True and grindHit == False and flipping == False and own["wallride"] == None and own['revert_timer'] < 2:    
688 689
         if STANCE == 0:
689 690
             reg_manual = own['reg_manual']
690 691
             fak_manual = own["fak_manual"]
@@ -2363,14 +2364,14 @@ def air_pos():
2363 2364
     grindpos = own['grindpos']
2364 2365
     GRAB_ON = own["GRAB_ON"]
2365 2366
     wr = own["wallride"]
2366
-    if rUD > .040 and r_ground.triggered == False and GRAB_ON == False and wr == None and jump_timer < 40:
2367
+    if rUD > .040 and r_ground.triggered == False and GRAB_ON == False and wr == None and jump_timer < 20:
2367 2368
         killact(2)
2368 2369
         killact(4)
2369 2370
         if STANCE == 0:
2370 2371
             own['requestAction'] = 'reg_air_tail'    
2371 2372
         else:
2372 2373
             own['requestAction'] = 'fak_air_tail' 
2373
-    elif rUD < -.040 and r_ground.triggered == False and GRAB_ON == False and wr == None and jump_timer < 40:
2374
+    elif rUD < -.040 and r_ground.triggered == False and GRAB_ON == False and wr == None and jump_timer < 20:
2374 2375
         killact(2)
2375 2376
         killact(4)
2376 2377
         if STANCE == 0:

Loading…
Cancel
Save