Advertisement
Guest User

Untitled

a guest
Jan 30th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int orianna_draw()
  2. {
  3.    
  4.     draw_circle_indicator_local(825.0f,0x00003F) ; // Orianna Q range is 825
  5. }
  6.  
  7. int orianna_auto_q()
  8. {
  9.     int slot = get_spell_slot(1); // Checks if orianna has q unlocked/has enough mana
  10.     int spell_state = slot.spellslot_state; // Checks if orianna can use q???
  11.  
  12.  
  13.     targetselector_get_priority_champion(790.0f);   // program scearching for champion selected as target in 800 range, 35 less then the real range for slows/travel time Q
  14.  
  15.     if (reg_get(eax)!=0)
  16.     {
  17.  
  18.     if (spell_state ==1) // if spell is available
  19.     {
  20.         cast_spell_on_target(?); // idk if this works
  21.     }
  22. }
  23.  
  24.  
  25. int orianna_harass() // Program knows the ranges but how/when does it know how to cast...
  26. {
  27.     champion_use_generic_cirlce_accurate(0,825.0f,2,0.9f,175.0f) // 25 less range for slows or something
  28. }
  29.  
  30. int orianna_game_update()                           // Announces refresher, checks if the drawings and auto Q part of the script are active and working.       
  31. {
  32.     orianna_draw();
  33.     orianna_auto_q();
  34.     orianna_harras()
  35.  
  36.     is_key_down(44);                                // Checks if user presses Z, enables combo mode if they do.
  37.     if (reg_get(eax) != 0)
  38.     {
  39.         orianna_autoq();       
  40.     }
  41.  
  42.     is_key_down(46);
  43.     if (reg_get(eax) != 0)                          // Checks if user presses C, enables harass mode.
  44.     {
  45.         orianna_harass();
  46.     }
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement