Files

21 lines
590 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Darklord.js — startBloodArmor() (satır 2698)
[← Darklord.js](index.md) · [← Master](../../wiki.md)
```javascript
function startBloodArmor(c, p)
{
var runId = nowMs();
setArmorActive(p.getName(), true);
setArmorRun(p.getName(), runId);
var pos = p.getPosition();
play(p.getWorld(), "minecraft:block.anvil.land", pos.x, pos.y + 1.0, pos.z, 0.8, 0.45);
p.send(TAG + "\u00a70Kara kan kaplama bedenini sardı.");
c.scheduleScript(ARMOR_LOOP_TICKS, function(ctx) {
bloodArmorLoop(ctx, p.getName(), runId, 1);
});
}
```