Files

1.3 KiB
Raw Permalink Blame History

MercanRey2.js — sendProfile() (satır 751)

← MercanRey2.js · ← Master

function sendProfile(player, profile)
{
    player.send("Ladron de Informacion tamamlandi: " + profile.name);
    player.send("Sinif: " + profile.className + " | Grup: " + profile.group + " | Bilgi: " + profile.knowledge + "%");
    player.send("Dovus/guc tarzi: " + profile.fightStyle);
    player.send("Aliskanlik: " + profile.habits);
    player.send("Korku/zayif pencere: " + profile.fears);
    player.send("Karar mekanizmasi: " + profile.decision);
    player.send("Direnc/irade: " + profile.will + " | PlayerData: " + (profile.playerData ? "var" : "yok"));
    player.send("Kural notu: " + profile.weakness);

    if (profile.itemWarnings.length > 0)
    {
        player.send("Item uyarisi: " + profile.itemWarnings.join(" | "));
    }

    if (profile.enemies.length > 0)
    {
        player.send("Dusman/gerilim: " + joinOrNone(profile.enemies, "yok"));
    }

    if (profile.access.length > 0)
    {
        player.send("Girebildigi/etkili oldugu yerler: " + joinOrNone(profile.access, "belirsiz"));
    }

    player.send("Baglantilar: " + joinOrNone(profile.contacts, "yakin cevrede okunabilir bag yok"));
}