Skip to content

Commit

Permalink
Removed M4 & Kukri Fade badges
Browse files Browse the repository at this point in the history
  • Loading branch information
GODrums committed Oct 18, 2024
1 parent d4273e2 commit 06c32b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "betterfloat",
"displayName": "BetterFloat",
"version": "2.8.0",
"version": "2.8.1",
"description": "Enhance your experience on CSFloat.com, Skinport.com & Skinbid.com!",
"author": "Rums",
"license": "CC BY NC SA 4.0",
Expand Down
8 changes: 1 addition & 7 deletions src/lib/util/helperfunctions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AcidFadeCalculator, AmberFadeCalculator, FadeCalculator } from 'csgo-fade-percentage-calculator';
import { AcidFadeCalculator, AmberFadeCalculator } from 'csgo-fade-percentage-calculator';
import Decimal from 'decimal.js';
import type { DopplerPhase, ItemStyle } from '../@typings/FloatTypes';
import { getPriceMapping } from '../handlers/mappinghandler';
Expand All @@ -12,12 +12,6 @@ export function getFadePercentage(weapon: string, skin: string, paintSeed: numbe
if (skin.includes('Acid Fade')) {
return { ...AcidFadeCalculator.getFadePercentage(weapon, paintSeed), background: 'linear-gradient(to right,#6d5f55,#76c788, #574828)' };
}
if (skin.includes('Kukri Knife | Fade')) {
return { ...FadeCalculator.getFadePercentage('Kukri Knife', paintSeed), background: 'linear-gradient(to right,#d9bba5,#e5903b,#db5977,#6775e1)' };
}
if (skin.includes('M4A1-S | Fade')) {
return { ...FadeCalculator.getFadePercentage('M4A1-S', paintSeed), background: 'linear-gradient(to right,#d9bba5,#e5903b,#db5977,#6775e1)' };
}
return null;
}

Expand Down

0 comments on commit 06c32b0

Please sign in to comment.