Login
Create

Flamethrower Moira

G34PG

Add some AI and have fun.
Damage per second can be changed in settings.

If you only want the rules, here they are.

rule("Global")
{
    event
    {
        Ongoing - Global;
    }

    actions
    {
        Global.Z = Workshop Setting Integer(Custom String("GENERAL"), Custom String("DAMAGE PER SECOND"), 180, 0, 1000);
    }
}

rule("Flame")
{
    event
    {
        Ongoing - Each Player;
        All;
        All;
    }

    conditions
    {
        Is Firing Primary(Event Player) == True;
        Hero Of(Event Player) == Hero(Moira);
    }

    actions
    {
        Wait(0.100, Ignore Condition);
        Set Status(Filtered Array(Remove From Array(Players Within Radius(Eye Position(Event Player), 13, All Teams,
            Surfaces And Enemy Barriers), Event Player), Is In View Angle(Event Player, Current Array Element, 14)), Event Player, Burning,
            0.110);
        Damage(Filtered Array(Remove From Array(Players Within Radius(Eye Position(Event Player), 13, All Teams,
            Surfaces And Enemy Barriers), Event Player), Is In View Angle(Event Player, Current Array Element, 14)), Event Player,
            Global.Z / 10);
        Loop If Condition Is True;
    }
}
Categories | Miscellaneous
Heroes | All
Maps | King's Row
Created at |
Last updated |
Current version | 1.0

4 Comments

Log in or Sign up to place a comment.
Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord
Workshop.codes - Background image