mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-17 20:42:54 +00:00
[AB-xxx] fixing rank template for low experience
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user