Hey,
So I'm trying to make a little duel plugin with wands and stuff. I want to detect when a player dies, which isn't that difficult with
I want to damage any players that are in a 3 block radius of the targeted block of the executor.
Here's the catch:
When you damage a player with that code, it doesn't count as if the player has hit the victim.
Hope this makes any sense
So I'm trying to make a little duel plugin with wands and stuff. I want to detect when a player dies, which isn't that difficult with
code_language.skript:
on death of player:
#event
I want to damage any players that are in a 3 block radius of the targeted block of the executor.
code_language.skript:
loop all entities in radius 3 around location of targeted block of executor:
if loop-entities isn't "%player%":
damage loop-entities by 4 hearts
Here's the catch:
When you damage a player with that code, it doesn't count as if the player has hit the victim.
Hope this makes any sense