Geç gördüm.
on leftclick:
[tab]loop entities in radius 3 of clicked entity:
[tab][tab]damage loop-entity by 1 heart
Üstteki tıklanılan varlığın bulunduğu 3x3 alana hasar verir.
Oyuncudan, tıklanılan varlığa düz bir çizgi üzerinde istiyorsan:
On leftclick:
[tab]Loop entities between the block below the player and the targeted entity:
[tab][tab]damage loop-entity by 1 heart
Oyuncudan, tıklanılan varlığa düz bir çizginin 3x3 alanında istiyorsan:
On leftclick:
[tab]Loop blocks between the block below the player and the targeted entity:
[tab][tab]Loop entities in radius 3 of loop-block:
[tab][tab]loop {_hasaraldi.%loop-entity%::*}:
[tab][tab][tab]if loop-value is not loop-entity
[tab][tab][tab]set {hasaraldi.%loop-entity%}
[tab][tab][tab]Damage loop-entity by 1 heart
[tab][tab][tab]add loop-entity to {_hasaraldi.%loop-entity%::*}
[tab]delete {_hasaraldi.%loop-entity%::*}
targeted "entity"/"player"/"zombie"/"block" şeklinde değiştirebilirsin hepsini. Nereye tıklanıldığını belirtmen lazım. Ben bloğa tıklanacak diye blok demiştim ama oyuncuya tıklanacaksa player demelisin. Şöyle yaparsan tüm canlıları ve blokları kapsar:
On leftclick:
[tab]if target is an entity:
[tab]Loop blocks between the block below the player and the targeted entity:
[tab][tab]Loop entities in radius 3 of loop-block:
[tab][tab]loop {_hasaraldi.%loop-entity%::*}:
[tab][tab][tab]if loop-value is not loop-entity
[tab][tab][tab]set {hasaraldi.%loop-entity%}
[tab][tab][tab]Damage loop-entity by 1 heart
[tab][tab][tab]add loop-entity to {_hasaraldi.%loop-entity%::*}
[tab]delete {_hasaraldi.%loop-entity%::*}
[tab]else:
[tab][tab]if target is a block:
[tab][tab][tab][tab]Loop blocks between the block below the player and the targeted block:
[tab][tab][tab][tab][tab]Loop entities in radius 3 of loop-block:
[tab][tab][tab][tab][tab]loop {_hasaraldi.%loop-entity%::*}:
[tab][tab][tab][tab][tab][tab]if loop-value is not loop-entity
[tab][tab][tab][tab][tab][tab]set {hasaraldi.%loop-entity%}
[tab][tab][tab][tab][tab][tab]Damage loop-entity by 1 heart
[tab][tab][tab][tab][tab][tab]add loop-entity to {_hasaraldi.%loop-entity%::*}
[tab][tab]delete {_hasaraldi.%loop-entity%::*}