556 B
556 B
MercanRey3.js — slowInside() (satır 86)
function slowInside(entity)
{
applyPotion(entity, ["slowness", "slow"], 30, 3);
applyPotion(entity, ["blindness"], 30, 0);
applyPotion(entity, ["mining_fatigue", "dig_slowdown"], 30, 2);
applyPotion(entity, ["weakness"], 30, 1);
try
{
var motion = entity.getMotion();
entity.setMotion(motion.x * 0.2, motion.y * 0.6, motion.z * 0.2);
}
catch (e)
{}
}