Ive been trying to make a custom gamemode and changing each hero’s kit slightly. I changed ashe first but when I went onto venture I realized i couldnt do any damage. Went back to ashe and realized I could only do damage with her abilities. What went wrong in my code?
rule(“Match Timer”)
{
event
{
Ongoing - Global;
}
conditions
{
Is Game In Progress == True;
}
actions
{
Set Match Time(3599);
}
}
rule(“Start Ashe HoT”)
{
event
{
Ongoing - Each Player;
All;
Ashe;
}
conditions
{
Is In Air(Event Player) == True;
Is On Ground(Event Player) == False;
Is Using Ability 1(Event Player) == True;
}
actions
{
Start Heal Over Time(Event Player, Event Player, 3, 30);
}
}
rule(“Stop Ashe HoT”)
{
event
{
Ongoing - Each Player;
All;
Ashe;
}
conditions
{
Is In Air(Event Player) == False;
Is On Ground(Event Player) == True;
}
actions
{
Stop Heal Over Time(Event Player.A);
}
}
rule(“Spawn First Dummy Bot”)
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Button Held(Event Player, Button(Interact)) == True;
}
actions
{
Create Dummy Bot(Hero(Cassidy), Team 2, -1, Position Of(Event Player), Position Of(Event Player));
}
}
rule(“Spawn Dummy Bot”)
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Is Dummy Bot(Last Created Entity) == True;
Is Button Held(Event Player, Button(Interact)) == True;
}
actions
{
Destroy All Dummy Bots;
Create Dummy Bot(Hero(Cassidy), Team 2, -1, Position Of(Event Player), Position Of(Event Player));
}
}
rule(“Ashe Dynamite DMG”)
{
event
{
Player Dealt Damage;
All;
Ashe;
}
conditions
{
Event Ability == Button(Ability 2);
}
actions
{
Damage(Victim, Null, 200);
}
}
rule(“Ashe Coachgun DMG”)
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Hero Of(Event Player) == Hero(Ashe);
Is Using Ability 1(Event Player) == True;
}
actions
{
Set Damage Dealt(Event Player, 1);
}
}