Merge pull request #389 from refractored/patch-1

Fix(stun.yml): Stun no longer activates 100% of the time
This commit is contained in:
Will FP 2024-03-20 15:54:49 +00:00 committed by GitHub
commit 026544b8cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,5 @@
display-name: "Stun" display-name: "Stun"
description: "Gives a &a%placeholder%%&r chance to stun attacked mobs for &a1&r second" description: "Gives a &a%placeholder%%&r chance to stun attacked mobs for &a2&r seconds"
placeholder: "2.5 + 2.5 * %level%" placeholder: "2.5 + 2.5 * %level%"
type: normal type: normal
@ -20,6 +20,7 @@ effects:
- id: strip_ai - id: strip_ai
args: args:
duration: 40 duration: 40
chance: "2.5 + 2.5 * %level%"
triggers: triggers:
- melee_attack - melee_attack
- bow_attack - bow_attack