Files

428 B
Raw Permalink Blame History

MercanRey1.js — applyPotion() (satır 251)

← MercanRey1.js · ← Master

function applyPotion(entity, id, duration, amplifier)
{
    if (entity == null || !entity.isLivingBase())
    {
        return;
    }

    var potion = mappet.getPotion(id);

    if (potion != null)
    {
        entity.applyPotion(potion, duration, amplifier, false);
    }
}