Skip to content

Commit

Permalink
Fixed wrong duration of Forest aura effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Emafire003 committed Jul 30, 2024
1 parent e6e9e3d commit b7ea802
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void execute(){
//ALL section (drowneds)
if(component.getTargets().equals(TargetType.SELF)){
//The -1 is because status effect levels start from 0
caster.addStatusEffect(new StatusEffectInstance(LightEffects.FOREST_AURA, this.duration, (int) this.power_multiplier-1));
caster.addStatusEffect(new StatusEffectInstance(LightEffects.FOREST_AURA, this.duration*20, (int) this.power_multiplier-1));

}
else if(component.getTargets().equals(TargetType.ALL)){
Expand Down

0 comments on commit b7ea802

Please sign in to comment.