Skip to content

Commit

Permalink
Update configuring-a-condition.md
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP authored Apr 14, 2024
1 parent ef198e8 commit ce6bc9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/effects/configuring-a-condition.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ effects:
So here, MVP players would get $100 for breaking a block, whereas non-MVP players would be told to buy the rank to get the perk when they try to break a block. This functions as an alternative to not-met-lines.
## Victim Conditions

You can also check if the victim (player/entity) meets the conditions before running the effects by using the `victim_conditions` filter, [here](plugins.auxilor.io/effects/all-filters/victim_conditions). You can combine these with usual conditions to create intricate effects with comprehensive lists of criteria to be met.
You can also check if the victim (player/entity) meets the conditions before running the effects by using the `victim_conditions` filter, [here](https://plugins.auxilor.io/effects/all-filters/victim_conditions). You can combine these with usual conditions to create intricate effects with comprehensive lists of criteria to be met.

In config, they look like this:

Expand All @@ -84,4 +84,4 @@ effects:
- melee_attack
```

So here, the player will gain $100 when they attack a player/entity wielding a diamond sword in their main-hand, whilst the player is below Y level 0.
So here, the player will gain $100 when they attack a player/entity wielding a diamond sword in their main-hand, whilst the player is below Y level 0.

0 comments on commit ce6bc9e

Please sign in to comment.