[AB-xxx] fixing rank template for low experience

This commit is contained in:
Sheldan
2022-12-21 15:48:07 +01:00
parent 6b60228313
commit 801bdddac9

View File

@@ -32,7 +32,7 @@
}, },
{ {
"name": "<@safe_include "rank_level_progress_field_title"/>", "name": "<@safe_include "rank_level_progress_field_title"/>",
"value": "${inLevelExperience} <#list 1..currentLevelPercentage/10?floor as cent>🔹</#list><#if (currentLevelPercentage % 10) gt 4>🔸<#else>▫</#if><#assign restCent></#assign><#list 0..(10 - currentLevelPercentage/10?ceiling) as cent><#if cent gt 0>▫</#if></#list> ${nextLevelExperience - experienceForCurrentLevel}", "value": "${inLevelExperience} <#list 0..currentLevelPercentage/10?floor as cent><#if cent gt 0>🔹</#if></#list><#if (currentLevelPercentage % 10) gt 4>🔸<#else>▫</#if><#assign restCent></#assign><#list 0..(10 - currentLevelPercentage/10?ceiling) as cent><#if cent gt 0>▫</#if></#list> ${nextLevelExperience - experienceForCurrentLevel}",
"inline": "false" "inline": "false"
} }
] ]