701 B
701 B
MercanRey3.js — punishLeaving() (satır 103)
function punishLeaving(entity, casterName)
{
applyPotion(entity, ["nausea", "confusion"], 90, 0);
applyPotion(entity, ["blindness"], 45, 0);
try
{
var yaw = Number(entity.getYaw()) + 100 + Math.floor(mappet.random(80));
entity.setRotations(entity.getPitch(), yaw, yaw);
}
catch (e)
{}
try
{
entity.damage(4.0);
}
catch (e)
{}
if (entity.isPlayer())
{
entity.sendActionBar("Insignia de Caballero: isaretten kopunca yon algin kirildi.");
}
}