• Hey! Register here to create your account, engage with the community, and talk about what is new!

How to use %victim

Endermastaren

New member
Joined
Apr 3, 2022
Messages
4
Reaction score
2
Trying to make a sword that gives withering on the victim of the attack but I don't understand how I make it so the victim of the attack gets the potion effect
 

JustSticky

Well-known member
Overlord
Joined
Mar 4, 2021
Messages
77
Reaction score
43
Sneak + Right Click the block that will be damaging the victim (in this case the Player Action: Give Potion) and press victim.

This should give the victim a wither effect.
 

Faultaph

New member
Joined
Sep 30, 2020
Messages
25
Reaction score
3
First, you need a Player Event: Player Damage Player. then, make a player action that gives them the effect (give potion effect in the Status category i think) and shift click the player action, then select "victim" in the targets menu. It will give the victim of the attack wither whenever they are hit.
 

SamMan_

Forum adept
Joined
Sep 6, 2020
Messages
120
Reaction score
72
First, you need a Player Event: Player Damage Player. then, make a player action that gives them the effect (give potion effect in the Status category i think) and shift click the player action, then select "victim" in the targets menu. It will give the victim of the attack wither whenever they are hit.
check for dupes
 
Top Bottom