Files

436 B
Raw Permalink Blame History

bariskeser_skills.js — applyPotionF() (satır 2151)

← bariskeser_skills.js · ← Master

function applyPotionF(entity, ids, dur, amp) {
    if (entity == null || !entity.isLivingBase()) return;
    for (var i = 0; i < ids.length; i++) {
        var po = mappet.getPotion(ids[i]);
        if (po != null) { entity.applyPotion(po, dur, amp, false); return; }
    }
}