Skip to content

Commit

Permalink
item/suspicious_stew_type.go: Correct effect durations
Browse files Browse the repository at this point in the history
  • Loading branch information
DaPigGuy committed Dec 21, 2024
1 parent cd0f50b commit 5bc1b7e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/item/suspicious_stew_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,23 +93,23 @@ func (s stewType) Effects() []effect.Effect {
var effects []effect.Effect
switch s.Uint8() {
case 0, 10:
effects = append(effects, effect.New(effect.NightVision, 1, time.Second*4))
effects = append(effects, effect.New(effect.NightVision, 1, time.Second*5))
case 1:
effects = append(effects, effect.New(effect.JumpBoost, 1, time.Second*4))
effects = append(effects, effect.New(effect.JumpBoost, 1, time.Second*5))
case 2:
effects = append(effects, effect.New(effect.Weakness, 1, time.Second*7))
case 3, 11:
effects = append(effects, effect.New(effect.Blindness, 1, time.Second*6))
case 4:
effects = append(effects, effect.New(effect.Poison, 1, time.Second*10))
effects = append(effects, effect.New(effect.Poison, 1, time.Second*11))
case 5, 6:
effects = append(effects, effect.New(effect.Saturation, 1, time.Second*3/10))
case 7:
effects = append(effects, effect.New(effect.FireResistance, 1, time.Second*2))
effects = append(effects, effect.New(effect.FireResistance, 1, time.Second*3))
case 8:
effects = append(effects, effect.New(effect.Regeneration, 1, time.Second*6))
effects = append(effects, effect.New(effect.Regeneration, 1, time.Second*7))
case 9:
effects = append(effects, effect.New(effect.Wither, 1, time.Second*6))
effects = append(effects, effect.New(effect.Wither, 1, time.Second*7))
case 12:
effects = append(effects, effect.New(effect.Nausea, 1, time.Second*7))
default:
Expand Down

0 comments on commit 5bc1b7e

Please sign in to comment.