SHARE
TWEET

Untitled

a guest Oct 13th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rule("Rule 1")
  2. {
  3.     event
  4.     {
  5.         Ongoing - Each Player;
  6.         All;
  7.         Slot 0;
  8.     }
  9.  
  10.     conditions
  11.     {
  12.         Is Button Held(Event Player, Interact) == True;
  13.     }
  14.  
  15.     actions
  16.     {
  17.         Wait(1, Abort When False);
  18.         Create Dummy Bot(Hero(Reinhardt), All Teams, -1.000, Vector(0, 0, 0), Vector(0, 0, 0));
  19.         Create Dummy Bot(Hero(Ana), All Teams, -1.000, Vector(0, 0, 0), Vector(0, 0, 0));
  20.         Create Dummy Bot(Hero(Ashe), All Teams, -1.000, Vector(0, 0, 0), Vector(0, 0, 0));
  21.     }
  22. }
  23.  
  24. rule("Rule 3")
  25. {
  26.     event
  27.     {
  28.         Ongoing - Each Player;
  29.         All;
  30.         Slot 0;
  31.     }
  32.  
  33.     conditions
  34.     {
  35.         Is Button Held(Event Player, Secondary Fire) == True;
  36.     }
  37.  
  38.     actions
  39.     {
  40.         Wait(1, Abort When False);
  41.         Press Button(All Players(All Teams), Primary Fire);
  42.     }
  43. }
  44.  
  45. rule("reaperheal0")
  46. {
  47.     event
  48.     {
  49.         Player Took Damage;
  50.         All;
  51.         All;
  52.     }
  53.  
  54.     conditions
  55.     {
  56.         Hero Of(Victim) == Hero(Reinhardt);
  57.         Hero Of(Attacker) == Hero(Reaper);
  58.         Is Firing Primary(Attacker) == True;
  59.         Distance Between(Victim, Attacker) < 2;
  60.     }
  61.  
  62.     actions
  63.     {
  64.         Heal(Attacker, Null, 10);
  65.     }
  66. }
  67.  
  68. rule("reaperheal1")
  69. {
  70.     event
  71.     {
  72.         Player Took Damage;
  73.         All;
  74.         All;
  75.     }
  76.  
  77.     conditions
  78.     {
  79.         Hero Of(Victim) == Hero(Reinhardt);
  80.         Hero Of(Attacker) == Hero(Reaper);
  81.         Is Firing Primary(Attacker) == True;
  82.         Distance Between(Victim, Attacker) < 5;
  83.     }
  84.  
  85.     actions
  86.     {
  87.         Heal(Attacker, Null, 20);
  88.     }
  89. }
  90.  
  91. rule("reaperheal2")
  92. {
  93.     event
  94.     {
  95.         Player Took Damage;
  96.         All;
  97.         All;
  98.     }
  99.  
  100.     conditions
  101.     {
  102.         Hero Of(Victim) == Hero(Reinhardt);
  103.         Hero Of(Attacker) == Hero(Reaper);
  104.         Is Firing Primary(Attacker) == True;
  105.         Distance Between(Victim, Attacker) < 10;
  106.     }
  107.  
  108.     actions
  109.     {
  110.         Heal(Attacker, Null, 12);
  111.     }
  112. }
  113.  
  114. rule("reaperheal3")
  115. {
  116.     event
  117.     {
  118.         Player Took Damage;
  119.         All;
  120.         All;
  121.     }
  122.  
  123.     conditions
  124.     {
  125.         Hero Of(Victim) == Hero(Reinhardt);
  126.         Hero Of(Attacker) == Hero(Reaper);
  127.         Is Firing Primary(Attacker) == True;
  128.         Distance Between(Victim, Attacker) < 15;
  129.     }
  130.  
  131.     actions
  132.     {
  133.         Heal(Attacker, Null, 5);
  134.     }
  135. }
  136.  
  137. rule("reaperheal4")
  138. {
  139.     event
  140.     {
  141.         Player Took Damage;
  142.         All;
  143.         All;
  144.     }
  145.  
  146.     conditions
  147.     {
  148.         Hero Of(Victim) == Hero(Reinhardt);
  149.         Hero Of(Attacker) == Hero(Reaper);
  150.         Is Firing Primary(Attacker) == True;
  151.         Distance Between(Victim, Attacker) < 20;
  152.     }
  153.  
  154.     actions
  155.     {
  156.         Heal(Attacker, Null, 2);
  157.     }
  158. }
  159.  
  160. rule("damage dealt same hero 0")
  161. {
  162.     event
  163.     {
  164.         Player Dealt Damage;
  165.         All;
  166.         All;
  167.     }
  168.  
  169.     conditions
  170.     {
  171.         Hero Of(Victim) == Hero Of(Attacker);
  172.     }
  173.  
  174.     actions
  175.     {
  176.         Start Damage Modification(Victim, Attacker, 0, Receivers Damagers and Damage Percent);
  177.     }
  178. }
  179.  
  180. rule("projectile1")
  181. {
  182.     event
  183.     {
  184.         Ongoing - Each Player;
  185.         All;
  186.         Ana;
  187.     }
  188.  
  189.     conditions
  190.     {
  191.         Is Firing Primary(Event Player) == True;
  192.     }
  193.  
  194.     actions
  195.     {
  196.         Set Player Variable(Event Player, A, Ray Cast Hit Position(Eye Position(Event Player), Add(Eye Position(Event Player), Multiply(
  197.             Facing Direction Of(Event Player), 1000)), Null, Event Player, True));
  198.         Set Player Variable(Event Player, B, Eye Position(Event Player));
  199.         Create Effect(All Players(All Teams), Sphere, Green, Player Variable(Event Player, B), 0.250, Visible To Position and Radius);
  200.         Chase Player Variable At Rate(Event Player, B, Player Variable(Event Player, A), 125, Destination and Rate);
  201.     }
  202. }
  203.  
  204. rule("projectileheal")
  205. {
  206.     event
  207.     {
  208.         Ongoing - Each Player;
  209.         All;
  210.         All;
  211.     }
  212.  
  213.     conditions
  214.     {
  215.         Distance Between(Player Variable(Event Player, B), Filtered Array(Players On Hero(Hero(Ashe), All Teams), Compare(Player Variable(
  216.             Current Array Element, I), !=, 69))) < 2;
  217.     }
  218.  
  219.     actions
  220.     {
  221.         Start Heal Over Time(Closest Player To(Player Variable(Event Player, B), All Teams), Event Player, 1, 70);
  222.         Set Player Variable(Event Player, B, Vector(0, 0, 0));
  223.         Set Player Variable(Event Player, A, Vector(0, 0, 0));
  224.     }
  225. }
  226.  
  227. rule("projectile2")
  228. {
  229.     event
  230.     {
  231.         Ongoing - Each Player;
  232.         All;
  233.         Ana;
  234.     }
  235.  
  236.     conditions
  237.     {
  238.         Is Firing Primary(Event Player) == True;
  239.     }
  240.  
  241.     actions
  242.     {
  243.         Set Player Variable(Event Player, I, 69);
  244.         Wait(0.250, Ignore Condition);
  245.         Set Player Variable(Event Player, I, 0);
  246.     }
  247. }
  248.  
  249. rule("projectile3")
  250. {
  251.     event
  252.     {
  253.         Ongoing - Each Player;
  254.         All;
  255.         All;
  256.     }
  257.  
  258.     conditions
  259.     {
  260.         Distance Between(Player Variable(Event Player, B), Player Variable(Event Player, A)) < 0.020;
  261.     }
  262.  
  263.     actions
  264.     {
  265.         Set Player Variable(Event Player, B, Vector(0, 0, 0));
  266.         Set Player Variable(Event Player, A, Vector(0, 0, 0));
  267.     }
  268. }
  269.  
  270. rule("Rule 15")
  271. {
  272.     event
  273.     {
  274.         Ongoing - Each Player;
  275.         All;
  276.         All;
  277.     }
  278.  
  279.     actions
  280.     {
  281.         Create HUD Text(All Players(All Teams), String("{0} - {1} - {2}", Health(Players On Hero(Hero(Ashe), All Teams)), Null, Null),
  282.             Null, Null, Left, 0, White, White, White, Visible To and String, Default Visibility);
  283.     }
  284. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top