14 lines
436 B
Markdown
14 lines
436 B
Markdown
# bariskeser_skills.js — applyPotionF() (satır 2151)
|
||
|
||
[← bariskeser_skills.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
```javascript
|
||
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; }
|
||
}
|
||
}
|
||
```
|