Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Random Staffcast Script

RaemondRaemond Member Posts: 9 ✭✭ - Stalwart
Here you go!

//Cast Random staff blast------------------------------------------------
var cast = "";
var random = Math.floor(Math.random() * 4);
switch (random) {
    case 0:
        cast = "DISSOLUTION";
        break;
    case 1:
        cast = "LIGHTNING";
        break;
    case 2:
        cast = "SCINTILLA";
        break;
    case 3:
        cast = "HORRIPILATION";
}
send_command("staffcast " + cast + " at " + get_variable("tar"), true);
SeverinaIsrayhlLucianus

Comments

Sign In to Comment.