Skip to content

Commit

Permalink
v0.9.2: fixed rare vfx issues with barkskin buff icon
Browse files Browse the repository at this point in the history
  • Loading branch information
00-Evan committed Feb 25, 2021
1 parent 13588b1 commit 4a31acf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public int icon() {
public float iconFadePercent() {
if (target instanceof Hero){
float max = ((Hero) target).lvl;
return (max-level)/max;
return Math.max(0, (max-level)/max);
}
return 0;
}
Expand Down

0 comments on commit 4a31acf

Please sign in to comment.