1.8 KiB
1.8 KiB
MercanRey4.js — predictMove() (satır 169)
Parça 1/2 · sonraki
function predictMove(caster, target, profile)
{
var hpRatio = target.getMaxHp() <= 0 ? 1 : target.getHp() / target.getMaxHp();
var speed = getMotionSpeed(target);
var distance = Math.sqrt(distanceSq(caster.getPosition(), target.getPosition()));
var direction = getDirectionName(target);
if (getGameMode(target) === 3 || hasTag(profile, "gm3"))
{
return {
next: "gm3/yok olma penceresi acacak",
answer: "cikis noktasini degil, geri donecegi aciyi tut",
certainty: 100
};
}
if (hasTag(profile, "spine"))
{
return {
next: "spine gun ile baglama deneyecek",
answer: "yan aciya kir, atis hattini bos bir hedefe yedir",
certainty: 100
};
}
if (hasTag(profile, "circle") || hasTag(profile, "red_circle"))
{
return {
next: "daire kurup cikisi kapatacak",
answer: "merkezden kay, patlama zamanini say",
certainty: 100
};
}
if (hasTag(profile, "dimension") || hasTag(profile, "black_dimension") || hasTag(profile, "lifeless_dimension"))
{
return {
next: "boyut/evren kapisi acacak",
answer: "kapinin eksenini boz, temas olmadan mesafeyi koru",
certainty: 100
};
}
if (hasTag(profile, "digital"))
{
return {
next: "data/glitch uzerinden sistemi bozacak",
answer: "playerdata temelli hamleyi bekle, item temasini azalt",
certainty: 100
};
}
if (hasTag(profile, "mind"))
{
return {