Files

53 lines
1.8 KiB
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 — handleBloodPowerCommand() (satır 797)
[← Darklord.js](index.md) · [← Master](../../wiki.md)
Parça 1/2 · [sonraki](handleBloodPowerCommand-2.md)
```javascript
function handleBloodPowerCommand(c, p, key, msg)
{
var handled =
key === "kan_kovan" || key === "kankovan" || key === "durum" || key === "dbdurum" ||
key === "kan_yay" || key === "kanyay" || key === "kan_yayilim" || key === "kanyayilim" || key === "yayilim" ||
key === "kan_gecis" || key === "kangecis" || key === "gecis" ||
key === "kan_muhur" || key === "kanmuhur" || key === "muhur" ||
key === "kan_iz" || key === "kaniz" || key === "iz" ||
key === "muhur_gecis" || key === "muhurgecis" || key === "kan_cikis" || key === "kancikis" || key === "cikis" ||
key === "kara_kan" || key === "karakan" || key === "kaplama" || key === "zirh" ||
key === "alan" || key === "alan_kapan" || key === "alankapan" ||
key === "alan_ekle" || key === "alanekle" ||
key === "alan_cikar" || key === "alancikar";
if (!handled) return false;
safeCancel(c);
if (!isMemberPlayer(p.getName()))
{
p.send(TAG + "\u00a7cBu gucler sadece DarkBlood kardesleri icin.");
return true;
}
if (key === "kan_kovan" || key === "kankovan" || key === "durum" || key === "dbdurum")
{
showBloodHive(c, p);
return true;
}
if (key === "kan_yay" || key === "kanyay" || key === "kan_yayilim" || key === "kanyayilim" || key === "yayilim")
{
toggleBloodSpread(c, p);
return true;
}
if (key === "kan_gecis" || key === "kangecis" || key === "gecis")
{
bloodPoolTransit(c, p, commandTail(msg));
return true;
}
if (key === "kan_muhur" || key === "kanmuhur" || key === "muhur")
{
```