Files
MAPPET-ULTIMATE-WIKI/scripts/Ae/transparentOwnerMorphNbt-26.md

1.9 KiB
Raw Permalink Blame History

Ae.js — transparentOwnerMorphNbt() (satır 808)

← Ae.js · ← Master

Parça 26/38 · önceki · sonraki

        var world = target.getWorld ? target.getWorld() : c.getWorld();
        var pos = target.getPosition();
        spawnFx(world, "spellWitch", pos.x, pos.y + 1.1, pos.z, 55, 0.35, 0.55, 0.35, 0.05);
        spawnFx(world, "portal", pos.x, pos.y + 1.0, pos.z, 34, 0.22, 0.45, 0.22, 0.04);
        play(world, "minecraft:entity.evocation_illager.cast_spell", pos.x, pos.y + 1.0, pos.z, 1.0, 0.65);
        play(world, "minecraft:entity.elder_guardian.curse", pos.x, pos.y + 1.0, pos.z, 0.7, 1.15);
    }
    catch (e) {}
}

function sendBondManipulation(c, owner, bondName)
{
    bondName = trim(bondName);
    if (bondName.length === 0)
    {
        owner.send(TAG + "\u00a7eKullanim: \u00a7f!Bag isim");
        return;
    }

    var target = getLookedBondTarget(owner, RAY_RANGE);
    if (!target)
    {
        owner.send(TAG + "\u00a7eBir oyuncuya bakip \u00a7f!Bag " + bondName + "\u00a7e yaz.");
        return;
    }

    target.send(BAR);
    target.send("\u00a75\u00a7lBa\u011f Manip\u00fclasyonu");
    target.send("\u00a7d\u00dczerinde Ba\u011f Manip\u00fclasyonu G\u00fcc\u00fc Kullan\u0131ld\u0131;");
    target.send("\u00a77Art\u0131k \u00a7f" + ownerName() + "\u00a77 Senin \u0130\u00e7in \u00a7f" + bondName + "\u00a77 Gibidir.");
    target.send("\u00a7f" + bondName + "\u00a77 \u0130le Olan Ba\u011f\u0131n An\u0131lar\u0131n Hepsi Art\u0131k \u00a7f" + ownerName() + "\u00a77 \u0130\u00e7in Ge\u00e7erlidir.");
    target.send("\u00a7f" + bondName + "\u00a77 \u0130le Ba\u011f\u0131n Kalmad\u0131");
    target.send("\u00a74[Herkese \u0130\u015fler Uymak Zorundas\u0131n]");
    target.send(BAR);

    owner.send(BAR);