Workshop.codes
Create

This code is over 6 months old. The code may have expired and might no longer function.

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

If you only want the isolated rules, copy them here:

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;
    }
}
Players | 1 - 1
Heroes: D.va, Orisa, Reinhardt, Roadhog, Sigma, and 27 more...
Maps: King's Row
Created at:
Last updated:
Current version: 1.0

Users Also Like

Similar Codes

Workshop.codes
Join the Workshop.codes Discord