Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rule("Rule 1")
- {
- event
- {
- Ongoing - Each Player;
- All;
- Slot 0;
- }
- conditions
- {
- Is Button Held(Event Player, Interact) == True;
- }
- actions
- {
- Wait(1, Abort When False);
- Create Dummy Bot(Hero(Reinhardt), All Teams, -1.000, Vector(0, 0, 0), Vector(0, 0, 0));
- Create Dummy Bot(Hero(Ana), All Teams, -1.000, Vector(0, 0, 0), Vector(0, 0, 0));
- Create Dummy Bot(Hero(Ashe), All Teams, -1.000, Vector(0, 0, 0), Vector(0, 0, 0));
- }
- }
- rule("Rule 3")
- {
- event
- {
- Ongoing - Each Player;
- All;
- Slot 0;
- }
- conditions
- {
- Is Button Held(Event Player, Secondary Fire) == True;
- }
- actions
- {
- Wait(1, Abort When False);
- Press Button(All Players(All Teams), Primary Fire);
- }
- }
- rule("Rule 3")
- {
- event
- {
- Ongoing - Each Player;
- All;
- Slot 0;
- }
- conditions
- {
- Is Button Held(Event Player, Crouch) == True;
- }
- actions
- {
- Wait(1, Abort When False);
- Damage(All Players(All Teams), Null, 100);
- }
- }
- rule("reaperheal0")
- {
- event
- {
- Player Took Damage;
- All;
- All;
- }
- conditions
- {
- Hero Of(Victim) == Hero(Reinhardt);
- Hero Of(Attacker) == Hero(Reaper);
- Is Firing Primary(Attacker) == True;
- Distance Between(Victim, Attacker) < 2;
- }
- actions
- {
- Heal(Attacker, Null, 10);
- }
- }
- rule("reaperheal1")
- {
- event
- {
- Player Took Damage;
- All;
- All;
- }
- conditions
- {
- Hero Of(Victim) == Hero(Reinhardt);
- Hero Of(Attacker) == Hero(Reaper);
- Is Firing Primary(Attacker) == True;
- Distance Between(Victim, Attacker) < 5;
- }
- actions
- {
- Heal(Attacker, Null, 20);
- }
- }
- rule("reaperheal2")
- {
- event
- {
- Player Took Damage;
- All;
- All;
- }
- conditions
- {
- Hero Of(Victim) == Hero(Reinhardt);
- Hero Of(Attacker) == Hero(Reaper);
- Is Firing Primary(Attacker) == True;
- Distance Between(Victim, Attacker) < 10;
- }
- actions
- {
- Heal(Attacker, Null, 12);
- }
- }
- rule("reaperheal3")
- {
- event
- {
- Player Took Damage;
- All;
- All;
- }
- conditions
- {
- Hero Of(Victim) == Hero(Reinhardt);
- Hero Of(Attacker) == Hero(Reaper);
- Is Firing Primary(Attacker) == True;
- Distance Between(Victim, Attacker) < 15;
- }
- actions
- {
- Heal(Attacker, Null, 5);
- }
- }
- rule("reaperheal4")
- {
- event
- {
- Player Took Damage;
- All;
- All;
- }
- conditions
- {
- Hero Of(Victim) == Hero(Reinhardt);
- Hero Of(Attacker) == Hero(Reaper);
- Is Firing Primary(Attacker) == True;
- Distance Between(Victim, Attacker) < 20;
- }
- actions
- {
- Heal(Attacker, Null, 2);
- }
- }
- rule("damage dealt same hero 0")
- {
- event
- {
- Player Dealt Damage;
- All;
- All;
- }
- conditions
- {
- Hero Of(Victim) == Hero Of(Attacker);
- }
- actions
- {
- Start Damage Modification(Victim, Attacker, 0, Receivers Damagers and Damage Percent);
- }
- }
- rule("projectile1")
- {
- event
- {
- Ongoing - Each Player;
- All;
- Ana;
- }
- conditions
- {
- Is Firing Primary(Event Player) == True;
- }
- actions
- {
- Set Player Variable(Event Player, A, Ray Cast Hit Position(Eye Position(Event Player), Add(Eye Position(Event Player), Multiply(
- Facing Direction Of(Event Player), 1000)), Null, Event Player, True));
- Set Player Variable(Event Player, B, Eye Position(Event Player));
- Create Effect(All Players(All Teams), Sphere, Green, Player Variable(Event Player, B), 0.250, Visible To Position and Radius);
- Chase Player Variable At Rate(Event Player, B, Player Variable(Event Player, A), 125, Destination and Rate);
- }
- }
- rule("projectileheal")
- {
- event
- {
- Ongoing - Each Player;
- All;
- All;
- }
- conditions
- {
- Distance Between(Player Variable(Event Player, B), Filtered Array(Players On Hero(Hero(Ana), All Teams), Compare(Player Variable(
- Current Array Element, I), !=, 69))) < 2;
- }
- actions
- {
- Start Heal Over Time(Closest Player To(Player Variable(Event Player, B), All Teams), Event Player, 1, 70);
- Set Player Variable(Event Player, B, Vector(0, 0, 0));
- Set Player Variable(Event Player, A, Vector(0, 0, 0));
- }
- }
- rule("projectile2")
- {
- event
- {
- Ongoing - Each Player;
- All;
- Ana;
- }
- conditions
- {
- Is Firing Primary(Event Player) == True;
- }
- actions
- {
- Set Player Variable(Event Player, I, 69);
- Wait(0.250, Ignore Condition);
- Set Player Variable(Event Player, I, 0);
- }
- }
- rule("projectile3")
- {
- event
- {
- Ongoing - Each Player;
- All;
- All;
- }
- conditions
- {
- Distance Between(Player Variable(Event Player, B), Player Variable(Event Player, A)) < 0.020;
- }
- actions
- {
- Set Player Variable(Event Player, B, Vector(0, 0, 0));
- Set Player Variable(Event Player, A, Vector(0, 0, 0));
- }
- }
- rule("Rule 15")
- {
- event
- {
- Ongoing - Each Player;
- All;
- All;
- }
- actions
- {
- Create HUD Text(All Players(All Teams), String("{0} - {1} - {2}", Health(Players On Hero(Hero(Ana), All Teams)), Null, Null), Null,
- Null, Left, 0, White, White, White, Visible To and String, Default Visibility);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement